Class SupplyRequest

  • All Implemented Interfaces:
    ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IResource, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseResource

    public class SupplyRequest
    extends BaseResource
    implements ca.uhn.fhir.model.api.IResource
    HAPI/FHIR SupplyRequest Resource ()

    Definition: A record of a request for a medication, substance or device used in the healthcare setting.

    Requirements:

    Profile Definition: http://hl7.org/fhir/profiles/SupplyRequest

    See Also:
    Serialized Form
    • Field Detail

      • KIND

        public static final ca.uhn.fhir.rest.gclient.TokenClientParam KIND
        Fluent Client search parameter constant for kind

        Description:
        Type: token
        Path: SupplyRequest.kind

      • IDENTIFIER

        public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
        Fluent Client search parameter constant for identifier

        Description:
        Type: token
        Path: SupplyRequest.identifier

      • STATUS

        public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
        Fluent Client search parameter constant for status

        Description:
        Type: token
        Path: SupplyRequest.status

      • PATIENT

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
        Fluent Client search parameter constant for patient

        Description:
        Type: reference
        Path: SupplyRequest.patient

      • SOURCE

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE
        Fluent Client search parameter constant for source

        Description:
        Type: reference
        Path: SupplyRequest.source

      • DATE

        public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
        Fluent Client search parameter constant for date

        Description:
        Type: date
        Path: SupplyRequest.date

      • SUPPLIER

        public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPLIER
        Fluent Client search parameter constant for supplier

        Description:
        Type: reference
        Path: SupplyRequest.supplier

      • INCLUDE_PATIENT

        public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
        Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:patient".
      • INCLUDE_SOURCE

        public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE
        Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:source".
      • INCLUDE_SUPPLIER

        public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPLIER
        Constant for fluent queries to be used to add include statements. Specifies the path value of "SupplyRequest:supplier".
    • 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
      • getPatient

        public ResourceReferenceDt getPatient()
        Gets the value(s) for patient (). creating it if it does not exist. Will not return null.

        Definition: A link to a resource representing the person whom the ordered item is for

      • getSource

        public ResourceReferenceDt getSource()
        Gets the value(s) for source (). creating it if it does not exist. Will not return null.

        Definition: The Practitioner , Organization or Patient who initiated this order for the supply

      • setSource

        public SupplyRequest setSource​(ResourceReferenceDt theValue)
        Sets the value(s) for source ()

        Definition: The Practitioner , Organization or Patient who initiated this order for the supply

      • getDateElement

        public ca.uhn.fhir.model.primitive.DateTimeDt getDateElement()
        Gets the value(s) for date (). creating it if it does not exist. Will not return null.

        Definition: When the request was made

      • getDate

        public Date getDate()
        Gets the value(s) for date (). creating it if it does not exist. This method may return null.

        Definition: When the request was made

      • setDate

        public SupplyRequest setDate​(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
        Sets the value(s) for date ()

        Definition: When the request was made

      • setDate

        public SupplyRequest setDate​(Date theDate,
                                     ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
        Sets the value for date ()

        Definition: When the request was made

      • getIdentifier

        public IdentifierDt getIdentifier()
        Gets the value(s) for identifier (). creating it if it does not exist. Will not return null.

        Definition: Unique identifier for this supply request

      • getStatusElement

        public ca.uhn.fhir.model.primitive.BoundCodeDt<SupplyRequestStatusEnumgetStatusElement()
        Gets the value(s) for status (). creating it if it does not exist. Will not return null.

        Definition: Status of the supply request

      • getStatus

        public String getStatus()
        Gets the value(s) for status (). creating it if it does not exist. This method may return null.

        Definition: Status of the supply request

      • getKind

        public CodeableConceptDt getKind()
        Gets the value(s) for kind (). creating it if it does not exist. Will not return null.

        Definition: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process

      • setKind

        public SupplyRequest setKind​(CodeableConceptDt theValue)
        Sets the value(s) for kind ()

        Definition: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process

      • getOrderedItem

        public ResourceReferenceDt getOrderedItem()
        Gets the value(s) for orderedItem (). creating it if it does not exist. Will not return null.

        Definition: The item that is requested to be supplied

      • getSupplier

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

        Definition: Who is intended to fulfill the request

      • addSupplier

        public ResourceReferenceDt addSupplier()
        Adds and returns a new value for supplier ()

        Definition: Who is intended to fulfill the request

      • getReason

        public ca.uhn.fhir.model.api.IDatatype getReason()
        Gets the value(s) for reason[x] (). creating it if it does not exist. Will not return null.

        Definition: Why the supply item was requested

      • setReason

        public SupplyRequest setReason​(ca.uhn.fhir.model.api.IDatatype theValue)
        Sets the value(s) for reason[x] ()

        Definition: Why the supply item was requested

      • getWhen

        public SupplyRequest.When getWhen()
        Gets the value(s) for when (). creating it if it does not exist. Will not return null.

        Definition: When the request should be fulfilled

      • getResourceName

        public String getResourceName()
        Specified by:
        getResourceName in interface ca.uhn.fhir.model.api.IResource
      • getStructureFhirVersionEnum

        public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
        Specified by:
        getStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResource
        Specified by:
        getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResource