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

    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 Detail

    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.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 interface ca.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 return null.

        Definition: Describes the clinical encounter or type of care that the document content is associated with

      • getEvent

        public List<CodeableConceptDtgetEvent()
        Gets the value(s) for event (). creating it if it does not exist. Will not return null.

        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 be null)
      • 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 return null.

        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 return null.

        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 return null.

        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 return null.

        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.ContextRelatedgetRelated()
        Gets the value(s) for related (). creating it if it does not exist. Will not return null.

        Definition: Related identifiers or resources associated with the DocumentReference.

      • 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.