public class Basic extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
protected Reference |
author
Indicates who was responsible for creating the resource instance.
|
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.
|
protected DateType |
created
Identifies when the resource was first created.
|
protected List<Identifier> |
identifier
Identifier assigned to the resource for business purposes, outside the context of FHIR.
|
static String |
SP_AUTHOR |
static String |
SP_CODE |
static String |
SP_CREATED |
static String |
SP_IDENTIFIER |
static String |
SP_PATIENT |
static String |
SP_SUBJECT |
protected Reference |
subject
Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.
|
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, meta| Constructor and Description |
|---|
Basic() |
Basic(CodeableConcept code) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected CodeableConcept code
protected Reference subject
protected Resource subjectTarget
protected Resource authorTarget
public static final String SP_IDENTIFIER
public static final String SP_CODE
public static final String SP_SUBJECT
public static final String SP_CREATED
public static final String SP_PATIENT
public static final String SP_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 boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Identifier assigned to the resource for business purposes, outside the context of FHIR.)public Basic addIdentifier(Identifier t)
public 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 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.)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.protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic 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 org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.