public class Basic extends BaseResource implements ca.uhn.fhir.model.api.IResource
Definition: Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.
Requirements: Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources.
Profile Definition: http://hl7.org/fhir/profiles/Basic
| Modifier and Type | Field and Description |
|---|---|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
AUTHOR
Fluent Client search parameter constant for author
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
CREATED
Fluent Client search parameter constant for created
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_AUTHOR
Search parameter constant for author
|
static String |
SP_CODE
Search parameter constant for code
|
static String |
SP_CREATED
Search parameter constant for created
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_SUBJECT
Search parameter constant for subject
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
Basic() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier ()
|
Basic |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()
|
<T extends ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
ResourceReferenceDt |
getAuthor()
Gets the value(s) for author ().
|
CodeableConceptDt |
getCode()
Gets the value(s) for code ().
|
Date |
getCreated()
Gets the value(s) for created ().
|
ca.uhn.fhir.model.primitive.DateDt |
getCreatedElement()
Gets the value(s) for created ().
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier ().
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (),
creating it if it does not already exist.
|
String |
getResourceName() |
ca.uhn.fhir.context.FhirVersionEnum |
getStructureFhirVersionEnum() |
ResourceReferenceDt |
getSubject()
Gets the value(s) for subject ().
|
boolean |
isEmpty() |
Basic |
setAuthor(ResourceReferenceDt theValue)
Sets the value(s) for author ()
|
Basic |
setCode(CodeableConceptDt theValue)
Sets the value(s) for code ()
|
Basic |
setCreated(ca.uhn.fhir.model.primitive.DateDt theValue)
Sets the value(s) for created ()
|
Basic |
setCreated(Date theDate,
ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for created ()
|
Basic |
setCreatedWithDayPrecision(Date theDate)
Sets the value for created ()
|
Basic |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()
|
Basic |
setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject ()
|
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String SP_SUBJECT
Description:
Type: reference
Path: Basic.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description:
Type: reference
Path: Basic.subject
public static final String SP_CREATED
Description:
Type: date
Path: Basic.created
public static final ca.uhn.fhir.rest.gclient.DateClientParam CREATED
Description:
Type: date
Path: Basic.created
public static final String SP_CODE
Description:
Type: token
Path: Basic.code
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Description:
Type: token
Path: Basic.code
public static final String SP_PATIENT
Description:
Type: reference
Path: Basic.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description:
Type: reference
Path: Basic.subject
public static final String SP_AUTHOR
Description:
Type: reference
Path: Basic.author
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR
Description:
Type: reference
Path: Basic.author
public static final String SP_IDENTIFIER
Description:
Type: token
Path: Basic.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description:
Type: token
Path: Basic.identifier
public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public Basic()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition: Identifier assigned to the resource for business purposes, outside the context of FHIR
public Basic setIdentifier(List<IdentifierDt> theValue)
Definition: Identifier assigned to the resource for business purposes, outside the context of FHIR
public IdentifierDt addIdentifier()
Definition: Identifier assigned to the resource for business purposes, outside the context of FHIR
public Basic addIdentifier(IdentifierDt theValue)
Definition: Identifier assigned to the resource for business purposes, outside the context of FHIR
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: Identifier assigned to the resource for business purposes, outside the context of FHIR
public CodeableConceptDt getCode()
null.
Definition: Identifies the 'type' of resource - equivalent to the resource name for other resources.
public Basic setCode(CodeableConceptDt theValue)
Definition: Identifies the 'type' of resource - equivalent to the resource name for other resources.
public ResourceReferenceDt getSubject()
null.
Definition: Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.
public Basic setSubject(ResourceReferenceDt theValue)
Definition: Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.
public ResourceReferenceDt getAuthor()
null.
Definition: Indicates who was responsible for creating the resource instance
public Basic setAuthor(ResourceReferenceDt theValue)
Definition: Indicates who was responsible for creating the resource instance
public ca.uhn.fhir.model.primitive.DateDt getCreatedElement()
null.
Definition: Identifies when the resource was first created
public Date getCreated()
null.
Definition: Identifies when the resource was first created
public Basic setCreated(ca.uhn.fhir.model.primitive.DateDt theValue)
Definition: Identifies when the resource was first created
public Basic setCreatedWithDayPrecision(Date theDate)
Definition: Identifies when the resource was first created
public Basic setCreated(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Definition: Identifies when the resource was first created
public String getResourceName()
getResourceName in interface ca.uhn.fhir.model.api.IResourcepublic ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResourcegetStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResourceCopyright © 2014–2018 University Health Network. All rights reserved.