public class Basic extends BaseResource implements 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 ReferenceClientParam |
AUTHOR
Fluent Client search parameter constant for author
|
static TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
static DateClientParam |
CREATED
Fluent Client search parameter constant for created
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_AUTHOR
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static 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 ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| 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 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 ().
|
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() |
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(DateDt theValue)
Sets the value(s) for created ()
|
Basic |
setCreated(Date theDate,
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, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_SUBJECT
Description:
Type: reference
Path: Basic.subject
public static final ReferenceClientParam SUBJECT
Description:
Type: reference
Path: Basic.subject
public static final String SP_CREATED
Description:
Type: date
Path: Basic.created
public static final DateClientParam CREATED
Description:
Type: date
Path: Basic.created
public static final String SP_CODE
Description:
Type: token
Path: Basic.code
public static final TokenClientParam CODE
Description:
Type: token
Path: Basic.code
public static final String SP_PATIENT
Description:
Type: reference
Path: Basic.subject
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: Basic.subject
public static final String SP_AUTHOR
Description:
Type: reference
Path: Basic.author
public static final ReferenceClientParam AUTHOR
Description:
Type: reference
Path: Basic.author
public static final String SP_IDENTIFIER
Description:
Type: token
Path: Basic.identifier
public static final TokenClientParam IDENTIFIER
Description:
Type: token
Path: Basic.identifier
public static final Include INCLUDE_AUTHOR
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_SUBJECT
public Basic()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface 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 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(DateDt theValue)
Definition: Identifies when the resource was first created
public Basic setCreated(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: Identifies when the resource was first created
public Basic setCreatedWithDayPrecision(Date theDate)
Definition: Identifies when the resource was first created
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.