Class Composition.Event

  • 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:
    Composition

    public static class Composition.Event
    extends ca.uhn.fhir.model.api.BaseIdentifiableElement
    implements ca.uhn.fhir.model.api.IResourceBlock
    Block class for child element: Composition.event ()

    Definition: The clinical service, such as a colonoscopy or an appendectomy, being documented

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

        public List<CodeableConceptDtgetCode()
        Gets the value(s) for code (). 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.

      • setCode

        public Composition.Event setCode​(List<CodeableConceptDt> theValue)
        Sets the value(s) for code ()

        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.

      • addCode

        public CodeableConceptDt addCode()
        Adds and returns a new value for code ()

        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.

      • addCode

        public Composition.Event addCode​(CodeableConceptDt theValue)
        Adds a given new value for code ()

        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 code to add (must not be null)
      • getCodeFirstRep

        public CodeableConceptDt getCodeFirstRep()
        Gets the first repetition for code (), 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 period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time

      • setPeriod

        public Composition.Event setPeriod​(PeriodDt theValue)
        Sets the value(s) for period ()

        Definition: The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time

      • getDetail

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

        Definition: The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy

      • setDetail

        public Composition.Event setDetail​(List<ResourceReferenceDt> theValue)
        Sets the value(s) for detail ()

        Definition: The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy

      • addDetail

        public ResourceReferenceDt addDetail()
        Adds and returns a new value for detail ()

        Definition: The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy