public class Basic extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
author
Indicates who was responsible for creating the resource instance.
|
static ReferenceClientParam |
AUTHOR
Fluent Client search parameter constant for author
|
protected Resource |
authorTarget
The actual object that is the target of the reference (Indicates who was responsible for creating the resource instance.)
|
protected CodeableConcept |
code
Identifies the 'type' of resource - equivalent to the resource name for other resources.
|
static TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
protected DateType |
created
Identifies when the resource was first created.
|
static DateClientParam |
CREATED
Fluent Client search parameter constant for created
|
protected List<Identifier> |
identifier
Identifier assigned to the resource for business purposes, outside the context of FHIR.
|
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: author
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_CREATED
Search parameter: created
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_SUBJECT
Search parameter: subject
|
protected Reference |
subject
Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.
|
static ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Basic()
Constructor
|
Basic(CodeableConcept code)
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Identifier> identifier
protected CodeableConcept code
protected Reference subject
protected Resource subjectTarget
protected Resource authorTarget
public static final String SP_IDENTIFIER
Description: Business identifier
Type: token
Path: Basic.identifier
public static final TokenClientParam IDENTIFIER
Description: Business identifier
Type: token
Path: Basic.identifier
public static final String SP_CODE
Description: Kind of Resource
Type: token
Path: Basic.code
public static final TokenClientParam CODE
Description: Kind of Resource
Type: token
Path: Basic.code
public static final String SP_SUBJECT
Description: Identifies the focus of this resource
Type: reference
Path: Basic.subject
public static final ReferenceClientParam SUBJECT
Description: Identifies the focus of this resource
Type: reference
Path: Basic.subject
public static final Include INCLUDE_SUBJECT
public static final String SP_CREATED
Description: When created
Type: date
Path: Basic.created
public static final DateClientParam CREATED
Description: When created
Type: date
Path: Basic.created
public static final String SP_PATIENT
Description: Identifies the focus of this resource
Type: reference
Path: Basic.subject
public static final ReferenceClientParam PATIENT
Description: Identifies the focus of this resource
Type: reference
Path: Basic.subject
public static final Include INCLUDE_PATIENT
public static final String SP_AUTHOR
Description: Who created
Type: reference
Path: Basic.author
public static final ReferenceClientParam AUTHOR
Description: Who created
Type: reference
Path: Basic.author
public static final Include INCLUDE_AUTHOR
public Basic()
public Basic(CodeableConcept code)
public List<Identifier> getIdentifier()
identifier (Identifier assigned to the resource for business purposes, outside the context of FHIR.)public Basic setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Basic addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic CodeableConcept getCode()
code (Identifies the 'type' of resource - equivalent to the resource name for other resources.)public boolean hasCode()
public Basic setCode(CodeableConcept value)
value - code (Identifies the 'type' of resource - equivalent to the resource name for other resources.)public Reference getSubject()
subject (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)public boolean hasSubject()
public Basic setSubject(Reference value)
value - subject (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)public Resource getSubjectTarget()
subject The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)public Basic setSubjectTarget(Resource value)
value - subject The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.)public DateType getCreatedElement()
created (Identifies when the resource was first created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the valuepublic boolean hasCreatedElement()
public boolean hasCreated()
public Basic setCreatedElement(DateType value)
value - created (Identifies when the resource was first created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the valuepublic Date getCreated()
public Basic setCreated(Date value)
value - Identifies when the resource was first created.public Reference getAuthor()
author (Indicates who was responsible for creating the resource instance.)public boolean hasAuthor()
public Basic setAuthor(Reference value)
value - author (Indicates who was responsible for creating the resource instance.)public Resource getAuthorTarget()
author The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Indicates who was responsible for creating the resource instance.)public Basic setAuthorTarget(Resource value)
value - author The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Indicates who was responsible for creating the resource instance.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Basic copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.