Interface Event

  • All Superinterfaces:
    PatternBase

    public interface Event
    extends PatternBase
    A pattern to be followed by resources that represent the performance of some activity, possibly in accordance with a request or service definition.
    • Method Detail

      • getIdentifier

        List<IdentifiergetIdentifier()
                                throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #identifier (Business identifiers assigned to this {{title}} by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setIdentifier

        Event setIdentifier​(List<Identifier> theIdentifier)
                     throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasIdentifier

        boolean hasIdentifier()
        Returns:
        whether there is more than zero values for identifier
      • getIdentifierMin

        int getIdentifierMin()
        Returns:
        minimum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
      • getIdentifierMax

        int getIdentifierMax()
        Returns:
        maximum allowed cardinality for identifier. Note that with patterns, this may be different for the underlying resource
      • addIdentifier

        Identifier addIdentifier()
                          throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addIdentifier

        Event addIdentifier​(Identifier t)
                     throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getIdentifierFirstRep

        Identifier getIdentifierFirstRep()
                                  throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The first repetition of repeating field #identifier, creating it if it does not already exist
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getInstantiatesCanonical

        List<CanonicalTypegetInstantiatesCanonical()
                                              throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #instantiatesCanonical (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setInstantiatesCanonical

        Event setInstantiatesCanonical​(List<CanonicalType> theInstantiatesCanonical)
                                throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasInstantiatesCanonical

        boolean hasInstantiatesCanonical()
        Returns:
        whether there is more than zero values for instantiatesCanonical
      • getInstantiatesCanonicalMin

        int getInstantiatesCanonicalMin()
        Returns:
        minimum allowed cardinality for instantiatesCanonical. Note that with patterns, this may be different for the underlying resource
      • getInstantiatesCanonicalMax

        int getInstantiatesCanonicalMax()
        Returns:
        maximum allowed cardinality for instantiatesCanonical. Note that with patterns, this may be different for the underlying resource
      • addInstantiatesCanonicalElement

        CanonicalType addInstantiatesCanonicalElement()
                                               throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #instantiatesCanonical (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addInstantiatesCanonical

        Event addInstantiatesCanonical​(String value)
                                throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #instantiatesCanonical (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasInstantiatesCanonical

        boolean hasInstantiatesCanonical​(String value)
                                  throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #instantiatesCanonical (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getInstantiatesUri

        List<UriTypegetInstantiatesUri()
                                  throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #instantiatesUri (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setInstantiatesUri

        Event setInstantiatesUri​(List<UriType> theInstantiatesUri)
                          throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasInstantiatesUri

        boolean hasInstantiatesUri()
        Returns:
        whether there is more than zero values for instantiatesUri
      • getInstantiatesUriMin

        int getInstantiatesUriMin()
        Returns:
        minimum allowed cardinality for instantiatesUri. Note that with patterns, this may be different for the underlying resource
      • getInstantiatesUriMax

        int getInstantiatesUriMax()
        Returns:
        maximum allowed cardinality for instantiatesUri. Note that with patterns, this may be different for the underlying resource
      • addInstantiatesUriElement

        UriType addInstantiatesUriElement()
                                   throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #instantiatesUri (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addInstantiatesUri

        Event addInstantiatesUri​(String value)
                          throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #instantiatesUri (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasInstantiatesUri

        boolean hasInstantiatesUri​(String value)
                            throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #instantiatesUri (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getBasedOn

        List<ReferencegetBasedOn()
                            throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #basedOn (A plan, proposal or order that is fulfilled in whole or in part by this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setBasedOn

        Event setBasedOn​(List<Reference> theBasedOn)
                  throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasBasedOn

        boolean hasBasedOn()
        Returns:
        whether there is more than zero values for basedOn
      • getBasedOnMin

        int getBasedOnMin()
        Returns:
        minimum allowed cardinality for basedOn. Note that with patterns, this may be different for the underlying resource
      • getBasedOnMax

        int getBasedOnMax()
        Returns:
        maximum allowed cardinality for basedOn. Note that with patterns, this may be different for the underlying resource
      • addBasedOn

        Reference addBasedOn()
                      throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addBasedOn

        Event addBasedOn​(Reference t)
                  throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getBasedOnFirstRep

        Reference getBasedOnFirstRep()
                              throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The first repetition of repeating field #basedOn, creating it if it does not already exist
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getPartOf

        List<ReferencegetPartOf()
                           throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #partOf (A larger event of which this particular {{title}} is a component or step.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setPartOf

        Event setPartOf​(List<Reference> thePartOf)
                 throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasPartOf

        boolean hasPartOf()
        Returns:
        whether there is more than zero values for partOf
      • getPartOfMin

        int getPartOfMin()
        Returns:
        minimum allowed cardinality for partOf. Note that with patterns, this may be different for the underlying resource
      • getPartOfMax

        int getPartOfMax()
        Returns:
        maximum allowed cardinality for partOf. Note that with patterns, this may be different for the underlying resource
      • addPartOf

        Reference addPartOf()
                     throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addPartOf

        Event addPartOf​(Reference t)
                 throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getPartOfFirstRep

        Reference getPartOfFirstRep()
                             throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The first repetition of repeating field #partOf, creating it if it does not already exist
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getResearchStudy

        List<ReferencegetResearchStudy()
                                  throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #researchStudy (Indicates that this {{title}} is relevant to the specified research study(ies).)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setResearchStudy

        Event setResearchStudy​(List<Reference> theResearchStudy)
                        throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasResearchStudy

        boolean hasResearchStudy()
        Returns:
        whether there is more than zero values for researchStudy
      • getResearchStudyMin

        int getResearchStudyMin()
        Returns:
        minimum allowed cardinality for researchStudy. Note that with patterns, this may be different for the underlying resource
      • getResearchStudyMax

        int getResearchStudyMax()
        Returns:
        maximum allowed cardinality for researchStudy. Note that with patterns, this may be different for the underlying resource
      • addResearchStudy

        Reference addResearchStudy()
                            throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addResearchStudy

        Event addResearchStudy​(Reference t)
                        throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getResearchStudyFirstRep

        Reference getResearchStudyFirstRep()
                                    throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The first repetition of repeating field #researchStudy, creating it if it does not already exist
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getStatusElement

        Enumeration<Event.EventStatusgetStatusElement()
                                                 throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #status (The current state of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasStatus

        boolean hasStatus()
        Returns:
        whether there is more than zero values for status
      • getStatusMin

        int getStatusMin()
                  throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        minimum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getStatusMax

        int getStatusMax()
                  throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        maximum allowed cardinality for status. Note that with patterns, this may be different for the underlying resource
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setStatusElement

        Event setStatusElement​(Enumeration<Event.EventStatus> value)
                        throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #status (The current state of the {{title}}.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getStatus

        Event.EventStatus getStatus()
                             throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The current state of the {{title}}.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setStatus

        Event setStatus​(Event.EventStatus value)
                 throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - The current state of the {{title}}.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getStatusReason

        CodeableConcept getStatusReason()
                                 throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #statusReason (Captures the reason for the current state of the {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasStatusReason

        boolean hasStatusReason()
        Returns:
        whether there is more than zero values for statusReason
      • getStatusReasonMin

        int getStatusReasonMin()
        Returns:
        minimum allowed cardinality for statusReason. Note that with patterns, this may be different for the underlying resource
      • getStatusReasonMax

        int getStatusReasonMax()
        Returns:
        maximum allowed cardinality for statusReason. Note that with patterns, this may be different for the underlying resource
      • setStatusReason

        Event setStatusReason​(CodeableConcept value)
                       throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #statusReason (Captures the reason for the current state of the {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getCode

        CodeableConcept getCode()
                         throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #code (A code that identifies the specific service or action that was or is being performed.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasCode

        boolean hasCode()
        Returns:
        whether there is more than zero values for code
      • getCodeMin

        int getCodeMin()
        Returns:
        minimum allowed cardinality for code. Note that with patterns, this may be different for the underlying resource
      • getCodeMax

        int getCodeMax()
        Returns:
        maximum allowed cardinality for code. Note that with patterns, this may be different for the underlying resource
      • setCode

        Event setCode​(CodeableConcept value)
               throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #code (A code that identifies the specific service or action that was or is being performed.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getSubject

        Reference getSubject()
                      throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #subject (The individual or set of individuals the action is being or was performed on.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasSubject

        boolean hasSubject()
        Returns:
        whether there is more than zero values for subject
      • getSubjectMin

        int getSubjectMin()
        Returns:
        minimum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
      • getSubjectMax

        int getSubjectMax()
        Returns:
        maximum allowed cardinality for subject. Note that with patterns, this may be different for the underlying resource
      • setSubject

        Event setSubject​(Reference value)
                  throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #subject (The individual or set of individuals the action is being or was performed on.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getEncounter

        Reference getEncounter()
                        throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #encounter (The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasEncounter

        boolean hasEncounter()
        Returns:
        whether there is more than zero values for encounter
      • getEncounterMin

        int getEncounterMin()
        Returns:
        minimum allowed cardinality for encounter. Note that with patterns, this may be different for the underlying resource
      • getEncounterMax

        int getEncounterMax()
        Returns:
        maximum allowed cardinality for encounter. Note that with patterns, this may be different for the underlying resource
      • setEncounter

        Event setEncounter​(Reference value)
                    throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #encounter (The Encounter during which this {{title}} was created or to which the creation of this record is tightly associated.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getOccurrence

        DataType getOccurrence()
                        throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #occurrence (The date, period or timing when the {{title}} did occur or is occurring.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getOccurrenceDateTimeType

        DateTimeType getOccurrenceDateTimeType()
                                        throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #occurrence (The date, period or timing when the {{title}} did occur or is occurring.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getOccurrencePeriod

        Period getOccurrencePeriod()
                            throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #occurrence (The date, period or timing when the {{title}} did occur or is occurring.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getOccurrenceTiming

        Timing getOccurrenceTiming()
                            throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #occurrence (The date, period or timing when the {{title}} did occur or is occurring.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasOccurrence

        boolean hasOccurrence()
        Returns:
        whether there is more than zero values for occurrence
      • getOccurrenceMin

        int getOccurrenceMin()
        Returns:
        minimum allowed cardinality for occurrence. Note that with patterns, this may be different for the underlying resource
      • getOccurrenceMax

        int getOccurrenceMax()
        Returns:
        maximum allowed cardinality for occurrence. Note that with patterns, this may be different for the underlying resource
      • setOccurrence

        Event setOccurrence​(DataType value)
                     throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #occurrence (The date, period or timing when the {{title}} did occur or is occurring.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getRecordedElement

        DateTimeType getRecordedElement()
                                 throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #recorded (The date the occurrence of the {{title}} was first captured in the record - potentially significantly after the occurrence of the event.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasRecorded

        boolean hasRecorded()
        Returns:
        whether there is more than zero values for recorded
      • getRecordedMin

        int getRecordedMin()
                    throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        minimum allowed cardinality for recorded. Note that with patterns, this may be different for the underlying resource
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getRecordedMax

        int getRecordedMax()
                    throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        maximum allowed cardinality for recorded. Note that with patterns, this may be different for the underlying resource
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setRecordedElement

        Event setRecordedElement​(DateTimeType value)
                          throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #recorded (The date the occurrence of the {{title}} was first captured in the record - potentially significantly after the occurrence of the event.). This is the underlying object with id, value and extensions. The accessor "getRecorded" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getRecorded

        Date getRecorded()
                  throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The date the occurrence of the {{title}} was first captured in the record - potentially significantly after the occurrence of the event.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setRecorded

        Event setRecorded​(Date value)
                   throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - The date the occurrence of the {{title}} was first captured in the record - potentially significantly after the occurrence of the event.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getReported

        DataType getReported()
                      throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #reported (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getReportedBooleanType

        BooleanType getReportedBooleanType()
                                    throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #reported (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getReportedReference

        Reference getReportedReference()
                                throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #reported (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasReported

        boolean hasReported()
        Returns:
        whether there is more than zero values for reported
      • getReportedMin

        int getReportedMin()
        Returns:
        minimum allowed cardinality for reported. Note that with patterns, this may be different for the underlying resource
      • getReportedMax

        int getReportedMax()
        Returns:
        maximum allowed cardinality for reported. Note that with patterns, this may be different for the underlying resource
      • setReported

        Event setReported​(DataType value)
                   throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #reported (Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getPerformer

        List<Event.EventPerformerComponentgetPerformer()
                                                  throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #performer (Indicates who or what performed the {{title}} and how they were involved.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasPerformer

        boolean hasPerformer()
        Returns:
        whether there is more than zero values for performer
      • getPerformerMin

        int getPerformerMin()
        Returns:
        minimum allowed cardinality for performer. Note that with patterns, this may be different for the underlying resource
      • getPerformerMax

        int getPerformerMax()
        Returns:
        maximum allowed cardinality for performer. Note that with patterns, this may be different for the underlying resource
      • getPerformerFirstRep

        Event.EventPerformerComponent getPerformerFirstRep()
                                                    throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The first repetition of repeating field #performer, creating it if it does not already exist
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getLocation

        Reference getLocation()
                       throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #location (The principal physical location where the {{title}} was performed.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasLocation

        boolean hasLocation()
        Returns:
        whether there is more than zero values for location
      • getLocationMin

        int getLocationMin()
        Returns:
        minimum allowed cardinality for location. Note that with patterns, this may be different for the underlying resource
      • getLocationMax

        int getLocationMax()
        Returns:
        maximum allowed cardinality for location. Note that with patterns, this may be different for the underlying resource
      • setLocation

        Event setLocation​(Reference value)
                   throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #location (The principal physical location where the {{title}} was performed.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getReasonCode

        List<CodeableConceptgetReasonCode()
                                     throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #reasonCode (Describes why the {{title}} occurred in coded or textual form.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setReasonCode

        Event setReasonCode​(List<CodeableConcept> theReasonCode)
                     throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasReasonCode

        boolean hasReasonCode()
        Returns:
        whether there is more than zero values for reasonCode
      • getReasonCodeMin

        int getReasonCodeMin()
        Returns:
        minimum allowed cardinality for reasonCode. Note that with patterns, this may be different for the underlying resource
      • getReasonCodeMax

        int getReasonCodeMax()
        Returns:
        maximum allowed cardinality for reasonCode. Note that with patterns, this may be different for the underlying resource
      • getReasonCodeFirstRep

        CodeableConcept getReasonCodeFirstRep()
                                       throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The first repetition of repeating field #reasonCode, creating it if it does not already exist
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getReasonReference

        List<ReferencegetReasonReference()
                                    throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #reasonReference (Indicates another resource whose existence justifies this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setReasonReference

        Event setReasonReference​(List<Reference> theReasonReference)
                          throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasReasonReference

        boolean hasReasonReference()
        Returns:
        whether there is more than zero values for reasonReference
      • getReasonReferenceMin

        int getReasonReferenceMin()
        Returns:
        minimum allowed cardinality for reasonReference. Note that with patterns, this may be different for the underlying resource
      • getReasonReferenceMax

        int getReasonReferenceMax()
        Returns:
        maximum allowed cardinality for reasonReference. Note that with patterns, this may be different for the underlying resource
      • addReasonReference

        Reference addReasonReference()
                              throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getReasonReferenceFirstRep

        Reference getReasonReferenceFirstRep()
                                      throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The first repetition of repeating field #reasonReference, creating it if it does not already exist
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getNote

        List<AnnotationgetNote()
                          throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #note (Comments made about the {{title}} by the performer, subject or other participants.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setNote

        Event setNote​(List<Annotation> theNote)
               throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasNote

        boolean hasNote()
        Returns:
        whether there is more than zero values for note
      • getNoteMin

        int getNoteMin()
        Returns:
        minimum allowed cardinality for note. Note that with patterns, this may be different for the underlying resource
      • getNoteMax

        int getNoteMax()
        Returns:
        maximum allowed cardinality for note. Note that with patterns, this may be different for the underlying resource
      • addNote

        Annotation addNote()
                    throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • addNote

        Event addNote​(Annotation t)
               throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getNoteFirstRep

        Annotation getNoteFirstRep()
                            throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The first repetition of repeating field #note, creating it if it does not already exist
        Throws:
        org.hl7.fhir.exceptions.FHIRException