Class 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
Definition: The clinical context in which the document was prepared
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddEvent()
Adds and returns a new value for event ()addEvent
(CodeableConceptDt theValue) Adds a given new value for event ()Adds and returns a new value for related ()addRelated
(DocumentReference.ContextRelated theValue) Adds a given new value for related ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for encounter (context).getEvent()
Gets the value(s) for event ().Gets the first repetition for event (), creating it if it does not already exist.Gets the value(s) for facilityType ().Gets the value(s) for period ().Gets the value(s) for practiceSetting ().Gets the value(s) for related ().Gets the first repetition for related (), creating it if it does not already exist.Gets the value(s) for sourcePatientInfo ().boolean
isEmpty()
setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter (context)setEvent
(List<CodeableConceptDt> theValue) Sets the value(s) for event ()setFacilityType
(CodeableConceptDt theValue) Sets the value(s) for facilityType ()Sets the value(s) for period ()setPracticeSetting
(CodeableConceptDt theValue) Sets the value(s) for practiceSetting ()setRelated
(List<DocumentReference.ContextRelated> theValue) Sets the value(s) for related ()setSourcePatientInfo
(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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
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
Sets the value(s) for encounter (context)Definition: Describes the clinical encounter or type of care that the document content is associated with
-
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
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
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
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
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
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
Sets the value(s) for period ()Definition: The time period over which the service that is described by the document was provided
-
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
Sets the value(s) for facilityType ()Definition: The kind of facility where the patient was seen
-
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
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
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
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
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
Sets the value(s) for related ()Definition: Related identifiers or resources associated with the DocumentReference.
-
addRelated
Adds and returns a new value for related ()Definition: Related identifiers or resources associated with the DocumentReference.
-
addRelated
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
Gets the first repetition for related (), creating it if it does not already exist.Definition: Related identifiers or resources associated with the DocumentReference.
-