Interface Request

  • All Superinterfaces:
    PatternBase

    public interface Request
    extends PatternBase
    A pattern to be followed by resources that represent a specific proposal, plan and/or order for some sort of action or service.
    • Method Detail

      • getIdentifier

        List<IdentifiergetIdentifier()
                                throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #identifier (Business identifiers assigned to this {{title}} by the author 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

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

        Request 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

        Request 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

        Request 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

        Request 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

        Request 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

        Request 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
      • getReplaces

        List<ReferencegetReplaces()
                             throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #replaces (Completed or terminated request(s) whose function is taken by this new {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setReplaces

        Request setReplaces​(List<Reference> theReplaces)
                     throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasReplaces

        boolean hasReplaces()
        Returns:
        whether there is more than zero values for replaces
      • getReplacesMin

        int getReplacesMin()
        Returns:
        minimum allowed cardinality for replaces. Note that with patterns, this may be different for the underlying resource
      • getReplacesMax

        int getReplacesMax()
        Returns:
        maximum allowed cardinality for replaces. Note that with patterns, this may be different for the underlying resource
      • addReplaces

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

        Request addReplaces​(Reference t)
                     throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getReplacesFirstRep

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

        Identifier getGroupIdentifier()
                               throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #groupIdentifier (A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasGroupIdentifier

        boolean hasGroupIdentifier()
        Returns:
        whether there is more than zero values for groupIdentifier
      • getGroupIdentifierMin

        int getGroupIdentifierMin()
        Returns:
        minimum allowed cardinality for groupIdentifier. Note that with patterns, this may be different for the underlying resource
      • getGroupIdentifierMax

        int getGroupIdentifierMax()
        Returns:
        maximum allowed cardinality for groupIdentifier. Note that with patterns, this may be different for the underlying resource
      • setGroupIdentifier

        Request setGroupIdentifier​(Identifier value)
                            throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #groupIdentifier (A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getStatusElement

        Enumeration<Request.RequestStatusgetStatusElement()
                                                     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

        Request setStatusElement​(Enumeration<Request.RequestStatus> 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

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

        Request setStatus​(Request.RequestStatus 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

        Request 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
      • getIntentElement

        Enumeration<Request.RequestIntentgetIntentElement()
                                                     throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #intent (Indicates the level of authority/intentionality associated with the {{title}} and where the request fits into the workflow chain.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasIntent

        boolean hasIntent()
        Returns:
        whether there is more than zero values for intent
      • getIntentMin

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

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

        Request setIntentElement​(Enumeration<Request.RequestIntent> value)
                          throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #intent (Indicates the level of authority/intentionality associated with the {{title}} and where the request fits into the workflow chain.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getIntent

        Request.RequestIntent getIntent()
                                 throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Indicates the level of authority/intentionality associated with the {{title}} and where the request fits into the workflow chain.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setIntent

        Request setIntent​(Request.RequestIntent value)
                   throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - Indicates the level of authority/intentionality associated with the {{title}} and where the request fits into the workflow chain.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getPriorityElement

        Enumeration<Request.RequestPrioritygetPriorityElement()
                                                         throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #priority (Indicates how quickly the {{title}} should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasPriority

        boolean hasPriority()
        Returns:
        whether there is more than zero values for priority
      • getPriorityMin

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

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

        Request setPriorityElement​(Enumeration<Request.RequestPriority> value)
                            throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #priority (Indicates how quickly the {{title}} should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getPriority

        Request.RequestPriority getPriority()
                                     throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Indicates how quickly the {{title}} should be addressed with respect to other requests.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setPriority

        Request setPriority​(Request.RequestPriority value)
                     throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - Indicates how quickly the {{title}} should be addressed with respect to other requests.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getDoNotPerformElement

        BooleanType getDoNotPerformElement()
                                    throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #doNotPerform (If true indicates that the {{title}} is asking for the specified action to *not* occur.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasDoNotPerform

        boolean hasDoNotPerform()
        Returns:
        whether there is more than zero values for doNotPerform
      • getDoNotPerformMin

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

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

        Request setDoNotPerformElement​(BooleanType value)
                                throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #doNotPerform (If true indicates that the {{title}} is asking for the specified action to *not* occur.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getDoNotPerform

        boolean getDoNotPerform()
                         throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        If true indicates that the {{title}} is asking for the specified action to *not* occur.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setDoNotPerform

        Request setDoNotPerform​(boolean value)
                         throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - If true indicates that the {{title}} is asking for the specified action to *not* occur.
        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 being asked to be done (or not done).)
        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

        Request setCode​(CodeableConcept value)
                 throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #code (A code that identifies the specific service or action being asked to be done (or not done).)
        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 to be performed/not performed on or for.)
        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

        Request setSubject​(Reference value)
                    throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #subject (The individual or set of individuals the action is to be performed/not performed on or for.)
        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

        Request 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 or time(s) at which the activity or service is desired to occur or not occur.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getOccurrenceDateTimeType

        DateTimeType getOccurrenceDateTimeType()
                                        throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #occurrence (The date or time(s) at which the activity or service is desired to occur or not occur.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getOccurrencePeriod

        Period getOccurrencePeriod()
                            throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #occurrence (The date or time(s) at which the activity or service is desired to occur or not occur.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getOccurrenceTiming

        Timing getOccurrenceTiming()
                            throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #occurrence (The date or time(s) at which the activity or service is desired to occur or not occur.)
        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

        Request setOccurrence​(DataType value)
                       throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #occurrence (The date or time(s) at which the activity or service is desired to occur or not occur.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getAuthoredOnElement

        DateTimeType getAuthoredOnElement()
                                   throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #authoredOn (For draft {{title}}s, indicates the date of initial creation. For requests with other statuses, indicates the date of activation.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasAuthoredOn

        boolean hasAuthoredOn()
        Returns:
        whether there is more than zero values for authoredOn
      • getAuthoredOnMin

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

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

        Request setAuthoredOnElement​(DateTimeType value)
                              throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #authoredOn (For draft {{title}}s, indicates the date of initial creation. For requests with other statuses, indicates the date of activation.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the value
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getAuthoredOn

        Date getAuthoredOn()
                    throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        For draft {{title}}s, indicates the date of initial creation. For requests with other statuses, indicates the date of activation.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setAuthoredOn

        Request setAuthoredOn​(Date value)
                       throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - For draft {{title}}s, indicates the date of initial creation. For requests with other statuses, indicates the date of activation.
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getRequester

        Reference getRequester()
                        throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #requester (Who initiated the {{request}} and has responsibility for its activation.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasRequester

        boolean hasRequester()
        Returns:
        whether there is more than zero values for requester
      • getRequesterMin

        int getRequesterMin()
        Returns:
        minimum allowed cardinality for requester. Note that with patterns, this may be different for the underlying resource
      • getRequesterMax

        int getRequesterMax()
        Returns:
        maximum allowed cardinality for requester. Note that with patterns, this may be different for the underlying resource
      • setRequester

        Request setRequester​(Reference value)
                      throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #requester (Who initiated the {{request}} and has responsibility for its activation.)
        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

        Request 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
      • getPerformerType

        CodeableConcept getPerformerType()
                                  throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #performerType (The type of individual that is desired to act upon/ not act upon the {{request}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasPerformerType

        boolean hasPerformerType()
        Returns:
        whether there is more than zero values for performerType
      • getPerformerTypeMin

        int getPerformerTypeMin()
        Returns:
        minimum allowed cardinality for performerType. Note that with patterns, this may be different for the underlying resource
      • getPerformerTypeMax

        int getPerformerTypeMax()
        Returns:
        maximum allowed cardinality for performerType. Note that with patterns, this may be different for the underlying resource
      • setPerformerType

        Request setPerformerType​(CodeableConcept value)
                          throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #performerType (The type of individual that is desired to act upon/ not act upon the {{request}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getPerformer

        Reference getPerformer()
                        throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #performer (Indicates who or what is being asked to perform (or not perform) the {{request}}.)
        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
      • setPerformer

        Request setPerformer​(Reference value)
                      throws org.hl7.fhir.exceptions.FHIRException
        Parameters:
        value - #performer (Indicates who or what is being asked to perform (or not perform) the {{request}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getReasonCode

        List<CodeableConceptgetReasonCode()
                                     throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #reasonCode (Describes why the request is being made in coded or textual form.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setReasonCode

        Request 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 request.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setReasonReference

        Request 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
      • getInsurance

        List<ReferencegetInsurance()
                              throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #insurance (Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant in delivering the requested service.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setInsurance

        Request setInsurance​(List<Reference> theInsurance)
                      throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasInsurance

        boolean hasInsurance()
        Returns:
        whether there is more than zero values for insurance
      • getInsuranceMin

        int getInsuranceMin()
        Returns:
        minimum allowed cardinality for insurance. Note that with patterns, this may be different for the underlying resource
      • getInsuranceMax

        int getInsuranceMax()
        Returns:
        maximum allowed cardinality for insurance. Note that with patterns, this may be different for the underlying resource
      • addInsurance

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

        Request addInsurance​(Reference t)
                      throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • getInsuranceFirstRep

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

        List<ReferencegetSupportingInfo()
                                   throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #supportingInfo (Information that may be needed by/relevant to the performer in their execution of this {{title}}.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setSupportingInfo

        Request setSupportingInfo​(List<Reference> theSupportingInfo)
                           throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasSupportingInfo

        boolean hasSupportingInfo()
        Returns:
        whether there is more than zero values for supportingInfo
      • getSupportingInfoMin

        int getSupportingInfoMin()
        Returns:
        minimum allowed cardinality for supportingInfo. Note that with patterns, this may be different for the underlying resource
      • getSupportingInfoMax

        int getSupportingInfoMax()
        Returns:
        maximum allowed cardinality for supportingInfo. Note that with patterns, this may be different for the underlying resource
      • addSupportingInfo

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

        Reference getSupportingInfoFirstRep()
                                     throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        The first repetition of repeating field #supportingInfo, 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 requester, performer, subject or other participants.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setNote

        Request 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

        Request 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
      • getRelevantHistory

        List<ReferencegetRelevantHistory()
                                    throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        #relevantHistory (Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.)
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • setRelevantHistory

        Request setRelevantHistory​(List<Reference> theRelevantHistory)
                            throws org.hl7.fhir.exceptions.FHIRException
        Returns:
        Returns a reference to this for easy method chaining
        Throws:
        org.hl7.fhir.exceptions.FHIRException
      • hasRelevantHistory

        boolean hasRelevantHistory()
        Returns:
        whether there is more than zero values for relevantHistory
      • getRelevantHistoryMin

        int getRelevantHistoryMin()
        Returns:
        minimum allowed cardinality for relevantHistory. Note that with patterns, this may be different for the underlying resource
      • getRelevantHistoryMax

        int getRelevantHistoryMax()
        Returns:
        maximum allowed cardinality for relevantHistory. Note that with patterns, this may be different for the underlying resource
      • addRelevantHistory

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

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