public class SupplyRequest extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
SupplyRequest.SupplyRequestStatus |
static class |
SupplyRequest.SupplyRequestStatusEnumFactory |
static class |
SupplyRequest.SupplyRequestWhenComponent |
| Modifier and Type | Field and Description |
|---|---|
protected DateTimeType |
date
When the request was made.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
DATE
Fluent Client search parameter constant for date
|
protected Identifier |
identifier
Unique identifier for this supply request.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SOURCE
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUPPLIER
Constant for fluent queries to be used to add include statements.
|
protected CodeableConcept |
kind
Category of supply, e.g.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
KIND
Fluent Client search parameter constant for kind
|
protected Reference |
orderedItem
The item that is requested to be supplied.
|
protected Resource |
orderedItemTarget
The actual object that is the target of the reference (The item that is requested to be supplied.)
|
protected Reference |
patient
A link to a resource representing the person whom the ordered item is for.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Patient |
patientTarget
The actual object that is the target of the reference (A link to a resource representing the person whom the ordered item is for.)
|
protected Type |
reason
Why the supply item was requested.
|
protected Reference |
source
The Practitioner , Organization or Patient who initiated this order for the supply.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SOURCE
Fluent Client search parameter constant for source
|
protected Resource |
sourceTarget
The actual object that is the target of the reference (The Practitioner , Organization or Patient who initiated this order for the supply.)
|
static String |
SP_DATE
Search parameter: date
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_KIND
Search parameter: kind
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_SOURCE
Search parameter: source
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUPPLIER
Search parameter: supplier
|
protected Enumeration<SupplyRequest.SupplyRequestStatus> |
status
Status of the supply request.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected List<Reference> |
supplier
Who is intended to fulfill the request.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUPPLIER
Fluent Client search parameter constant for supplier
|
protected List<Organization> |
supplierTarget
The actual objects that are the target of the reference (Who is intended to fulfill the request.)
|
protected SupplyRequest.SupplyRequestWhenComponent |
when
When the request should be fulfilled.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
SupplyRequest()
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, setIdcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected Reference patient
protected Patient patientTarget
protected Reference source
protected Resource sourceTarget
protected DateTimeType date
protected Identifier identifier
protected Enumeration<SupplyRequest.SupplyRequestStatus> status
protected CodeableConcept kind
protected Reference orderedItem
protected Resource orderedItemTarget
protected List<Organization> supplierTarget
protected SupplyRequest.SupplyRequestWhenComponent when
public static final String SP_PATIENT
Description: Patient for whom the item is supplied
Type: reference
Path: SupplyRequest.patient
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: Patient for whom the item is supplied
Type: reference
Path: SupplyRequest.patient
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_SOURCE
Description: Who initiated this order
Type: reference
Path: SupplyRequest.source
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE
Description: Who initiated this order
Type: reference
Path: SupplyRequest.source
public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE
public static final String SP_STATUS
Description: requested | completed | failed | cancelled
Type: token
Path: SupplyRequest.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: requested | completed | failed | cancelled
Type: token
Path: SupplyRequest.status
public static final String SP_DATE
Description: When the request was made
Type: date
Path: SupplyRequest.date
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE
Description: When the request was made
Type: date
Path: SupplyRequest.date
public static final String SP_IDENTIFIER
Description: Unique identifier
Type: token
Path: SupplyRequest.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Unique identifier
Type: token
Path: SupplyRequest.identifier
public static final String SP_SUPPLIER
Description: Who is intended to fulfill the request
Type: reference
Path: SupplyRequest.supplier
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUPPLIER
Description: Who is intended to fulfill the request
Type: reference
Path: SupplyRequest.supplier
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUPPLIER
public static final String SP_KIND
Description: The kind of supply (central, non-stock, etc.)
Type: token
Path: SupplyRequest.kind
public static final ca.uhn.fhir.rest.gclient.TokenClientParam KIND
Description: The kind of supply (central, non-stock, etc.)
Type: token
Path: SupplyRequest.kind
public SupplyRequest()
public Reference getPatient()
patient (A link to a resource representing the person whom the ordered item is for.)public boolean hasPatient()
public SupplyRequest setPatient(Reference value)
value - patient (A link to a resource representing the person whom the ordered item is for.)public Patient getPatientTarget()
patient 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 link to a resource representing the person whom the ordered item is for.)public SupplyRequest setPatientTarget(Patient value)
value - patient 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 link to a resource representing the person whom the ordered item is for.)public Reference getSource()
source (The Practitioner , Organization or Patient who initiated this order for the supply.)public boolean hasSource()
public SupplyRequest setSource(Reference value)
value - source (The Practitioner , Organization or Patient who initiated this order for the supply.)public Resource getSourceTarget()
source 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 Practitioner , Organization or Patient who initiated this order for the supply.)public SupplyRequest setSourceTarget(Resource value)
value - source 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 Practitioner , Organization or Patient who initiated this order for the supply.)public DateTimeType getDateElement()
date (When the request was made.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the valuepublic boolean hasDateElement()
public boolean hasDate()
public SupplyRequest setDateElement(DateTimeType value)
value - date (When the request was made.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the valuepublic SupplyRequest setDate(Date value)
value - When the request was made.public Identifier getIdentifier()
identifier (Unique identifier for this supply request.)public boolean hasIdentifier()
public SupplyRequest setIdentifier(Identifier value)
value - identifier (Unique identifier for this supply request.)public Enumeration<SupplyRequest.SupplyRequestStatus> getStatusElement()
status (Status of the supply request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public SupplyRequest setStatusElement(Enumeration<SupplyRequest.SupplyRequestStatus> value)
value - status (Status of the supply request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic SupplyRequest.SupplyRequestStatus getStatus()
public SupplyRequest setStatus(SupplyRequest.SupplyRequestStatus value)
value - Status of the supply request.public CodeableConcept getKind()
kind (Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)public boolean hasKind()
public SupplyRequest setKind(CodeableConcept value)
value - kind (Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)public Reference getOrderedItem()
orderedItem (The item that is requested to be supplied.)public boolean hasOrderedItem()
public SupplyRequest setOrderedItem(Reference value)
value - orderedItem (The item that is requested to be supplied.)public Resource getOrderedItemTarget()
orderedItem 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 item that is requested to be supplied.)public SupplyRequest setOrderedItemTarget(Resource value)
value - orderedItem 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 item that is requested to be supplied.)public List<Reference> getSupplier()
supplier (Who is intended to fulfill the request.)public boolean hasSupplier()
public Reference addSupplier()
supplier (Who is intended to fulfill the request.)public SupplyRequest addSupplier(Reference t)
public List<Organization> getSupplierTarget()
supplier (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. Who is intended to fulfill the request.)public Organization addSupplierTarget()
supplier (Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. Who is intended to fulfill the request.)public CodeableConcept getReasonCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
reason (Why the supply item was requested.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasReasonCodeableConcept()
public Reference getReasonReference() throws org.hl7.fhir.exceptions.FHIRException
reason (Why the supply item was requested.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasReasonReference()
public boolean hasReason()
public SupplyRequest setReason(Type value)
value - reason (Why the supply item was requested.)public SupplyRequest.SupplyRequestWhenComponent getWhen()
when (When the request should be fulfilled.)public boolean hasWhen()
public SupplyRequest setWhen(SupplyRequest.SupplyRequestWhenComponent value)
value - when (When the request should be fulfilled.)protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic SupplyRequest copy()
copy in class DomainResourceprotected SupplyRequest typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.