Class DocumentReference.Context
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.DocumentReference.Context
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- DocumentReference
public static class DocumentReference.Context extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: DocumentReference.context ()Definition: The clinical context in which the document was prepared
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Context()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeableConceptDtaddEvent()Adds and returns a new value for event ()DocumentReference.ContextaddEvent(CodeableConceptDt theValue)Adds a given new value for event ()DocumentReference.ContextRelatedaddRelated()Adds and returns a new value for related ()DocumentReference.ContextaddRelated(DocumentReference.ContextRelated theValue)Adds a given new value for related ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ResourceReferenceDtgetEncounter()Gets the value(s) for encounter (context).List<CodeableConceptDt>getEvent()Gets the value(s) for event ().CodeableConceptDtgetEventFirstRep()Gets the first repetition for event (), creating it if it does not already exist.CodeableConceptDtgetFacilityType()Gets the value(s) for facilityType ().PeriodDtgetPeriod()Gets the value(s) for period ().CodeableConceptDtgetPracticeSetting()Gets the value(s) for practiceSetting ().List<DocumentReference.ContextRelated>getRelated()Gets the value(s) for related ().DocumentReference.ContextRelatedgetRelatedFirstRep()Gets the first repetition for related (), creating it if it does not already exist.ResourceReferenceDtgetSourcePatientInfo()Gets the value(s) for sourcePatientInfo ().booleanisEmpty()DocumentReference.ContextsetEncounter(ResourceReferenceDt theValue)Sets the value(s) for encounter (context)DocumentReference.ContextsetEvent(List<CodeableConceptDt> theValue)Sets the value(s) for event ()DocumentReference.ContextsetFacilityType(CodeableConceptDt theValue)Sets the value(s) for facilityType ()DocumentReference.ContextsetPeriod(PeriodDt theValue)Sets the value(s) for period ()DocumentReference.ContextsetPracticeSetting(CodeableConceptDt theValue)Sets the value(s) for practiceSetting ()DocumentReference.ContextsetRelated(List<DocumentReference.ContextRelated> theValue)Sets the value(s) for related ()DocumentReference.ContextsetSourcePatientInfo(ResourceReferenceDt theValue)Sets the value(s) for sourcePatientInfo ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Context
public Context()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getEncounter
public ResourceReferenceDt getEncounter()
Gets the value(s) for encounter (context). creating it if it does not exist. Will not returnnull.Definition: Describes the clinical encounter or type of care that the document content is associated with
-
setEncounter
public DocumentReference.Context setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (context)Definition: Describes the clinical encounter or type of care that the document content is associated with
-
getEvent
public List<CodeableConceptDt> getEvent()
Gets the value(s) for event (). creating it if it does not exist. Will not returnnull.Definition: This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act
-
setEvent
public DocumentReference.Context setEvent(List<CodeableConceptDt> theValue)
Sets the value(s) for event ()Definition: This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act
-
addEvent
public CodeableConceptDt addEvent()
Adds and returns a new value for event ()Definition: This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act
-
addEvent
public DocumentReference.Context addEvent(CodeableConceptDt theValue)
Adds a given new value for event ()Definition: This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act
- Parameters:
theValue- The event to add (must not benull)
-
getEventFirstRep
public CodeableConceptDt getEventFirstRep()
Gets the first repetition for event (), creating it if it does not already exist.Definition: This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act
-
getPeriod
public PeriodDt getPeriod()
Gets the value(s) for period (). creating it if it does not exist. Will not returnnull.Definition: The time period over which the service that is described by the document was provided
-
setPeriod
public DocumentReference.Context setPeriod(PeriodDt theValue)
Sets the value(s) for period ()Definition: The time period over which the service that is described by the document was provided
-
getFacilityType
public CodeableConceptDt getFacilityType()
Gets the value(s) for facilityType (). creating it if it does not exist. Will not returnnull.Definition: The kind of facility where the patient was seen
-
setFacilityType
public DocumentReference.Context setFacilityType(CodeableConceptDt theValue)
Sets the value(s) for facilityType ()Definition: The kind of facility where the patient was seen
-
getPracticeSetting
public CodeableConceptDt getPracticeSetting()
Gets the value(s) for practiceSetting (). creating it if it does not exist. Will not returnnull.Definition: This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty
-
setPracticeSetting
public DocumentReference.Context setPracticeSetting(CodeableConceptDt theValue)
Sets the value(s) for practiceSetting ()Definition: This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty
-
getSourcePatientInfo
public ResourceReferenceDt getSourcePatientInfo()
Gets the value(s) for sourcePatientInfo (). creating it if it does not exist. Will not returnnull.Definition: The Patient Information as known when the document was published. May be a reference to a version specific, or contained
-
setSourcePatientInfo
public DocumentReference.Context setSourcePatientInfo(ResourceReferenceDt theValue)
Sets the value(s) for sourcePatientInfo ()Definition: The Patient Information as known when the document was published. May be a reference to a version specific, or contained
-
getRelated
public List<DocumentReference.ContextRelated> getRelated()
Gets the value(s) for related (). creating it if it does not exist. Will not returnnull.Definition: Related identifiers or resources associated with the DocumentReference.
-
setRelated
public DocumentReference.Context setRelated(List<DocumentReference.ContextRelated> theValue)
Sets the value(s) for related ()Definition: Related identifiers or resources associated with the DocumentReference.
-
addRelated
public DocumentReference.ContextRelated addRelated()
Adds and returns a new value for related ()Definition: Related identifiers or resources associated with the DocumentReference.
-
addRelated
public DocumentReference.Context addRelated(DocumentReference.ContextRelated theValue)
Adds a given new value for related ()Definition: Related identifiers or resources associated with the DocumentReference.
- Parameters:
theValue- The related to add (must not benull)
-
getRelatedFirstRep
public DocumentReference.ContextRelated getRelatedFirstRep()
Gets the first repetition for related (), creating it if it does not already exist.Definition: Related identifiers or resources associated with the DocumentReference.
-
-