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.
|
protected Identifier |
identifier
Unique identifier for this supply request.
|
protected CodeableConcept |
kind
Category of supply, e.g.
|
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.
|
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.
|
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 |
static String |
SP_IDENTIFIER |
static String |
SP_KIND |
static String |
SP_PATIENT |
static String |
SP_SOURCE |
static String |
SP_STATUS |
static String |
SP_SUPPLIER |
protected Enumeration<SupplyRequest.SupplyRequestStatus> |
status
Status of the supply request.
|
protected List<Reference> |
supplier
Who is intended to fulfill the request.
|
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() |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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_DATE
public static final String SP_IDENTIFIER
public static final String SP_KIND
public static final String SP_PATIENT
public static final String SP_SUPPLIER
public static final String SP_SOURCE
public static final String SP_STATUS
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 void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty 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.