Class OrderResponse

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

public class OrderResponse extends DomainResource
A response to an order.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getIdentifier

      Returns:
      identifier (Identifiers assigned to this order. The identifiers are usually assigned by the system responding to the order, but they may be provided or added to by other systems.)
    • hasIdentifier

      public boolean hasIdentifier()
    • addIdentifier

      Returns:
      identifier (Identifiers assigned to this order. The identifiers are usually assigned by the system responding to the order, but they may be provided or added to by other systems.)
    • addIdentifier

    • getRequest

      Returns:
      request (A reference to the order that this is in response to.)
    • hasRequest

      public boolean hasRequest()
    • setRequest

      Parameters:
      value - request (A reference to the order that this is in response to.)
    • getRequestTarget

      Returns:
      request The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A reference to the order that this is in response to.)
    • setRequestTarget

      Parameters:
      value - request The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A reference to the order that this is in response to.)
    • getDateElement

      Returns:
      date (The date and time at which this order response was made (created/posted).). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
    • hasDateElement

      public boolean hasDateElement()
    • hasDate

      public boolean hasDate()
    • setDateElement

      Parameters:
      value - date (The date and time at which this order response was made (created/posted).). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
    • getDate

      public Date getDate()
      Returns:
      The date and time at which this order response was made (created/posted).
    • setDate

      public OrderResponse setDate(Date value)
      Parameters:
      value - The date and time at which this order response was made (created/posted).
    • getWho

      public Reference getWho()
      Returns:
      who (The person, organization, or device credited with making the response.)
    • hasWho

      public boolean hasWho()
    • setWho

      public OrderResponse setWho(Reference value)
      Parameters:
      value - who (The person, organization, or device credited with making the response.)
    • getWhoTarget

      Returns:
      who The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The person, organization, or device credited with making the response.)
    • setWhoTarget

      Parameters:
      value - who The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The person, organization, or device credited with making the response.)
    • getOrderStatusElement

      Returns:
      orderStatus (What this response says about the status of the original order.). This is the underlying object with id, value and extensions. The accessor "getOrderStatus" gives direct access to the value
    • hasOrderStatusElement

      public boolean hasOrderStatusElement()
    • hasOrderStatus

      public boolean hasOrderStatus()
    • setOrderStatusElement

      Parameters:
      value - orderStatus (What this response says about the status of the original order.). This is the underlying object with id, value and extensions. The accessor "getOrderStatus" gives direct access to the value
    • getOrderStatus

      Returns:
      What this response says about the status of the original order.
    • setOrderStatus

      Parameters:
      value - What this response says about the status of the original order.
    • getDescriptionElement

      Returns:
      description (Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
    • hasDescriptionElement

      public boolean hasDescriptionElement()
    • hasDescription

      public boolean hasDescription()
    • setDescriptionElement

      Parameters:
      value - description (Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
    • getDescription

      Returns:
      Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.
    • setDescription

      Parameters:
      value - Additional description about the response - e.g. a text description provided by a human user when making decisions about the order.
    • getFulfillment

      Returns:
      fulfillment (Links to resources that provide details of the outcome of performing the order; e.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order.)
    • hasFulfillment

      public boolean hasFulfillment()
    • addFulfillment

      Returns:
      fulfillment (Links to resources that provide details of the outcome of performing the order; e.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order.)
    • addFulfillment

    • getFulfillmentTarget

      Returns:
      fulfillment (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Links to resources that provide details of the outcome of performing the order; e.g. Diagnostic Reports in a response that is made to an order that referenced a diagnostic order.)
    • listChildren

      protected void listChildren(List<Property> childrenList)
      Overrides:
      listChildren in class DomainResource
    • setProperty

      public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class DomainResource
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class DomainResource
    • copy

      public OrderResponse copy()
      Specified by:
      copy in class DomainResource
    • typedCopy

      protected OrderResponse typedCopy()
    • equalsDeep

      public boolean equalsDeep(Base other)
      Overrides:
      equalsDeep in class DomainResource
    • equalsShallow

      public boolean equalsShallow(Base other)
      Overrides:
      equalsShallow in class DomainResource
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class DomainResource
    • getResourceType

      Specified by:
      getResourceType in class Resource