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 |
|---|---|
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 |
| Constructor and Description |
|---|
SupplyRequest() |
addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, 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, setMetasetIdchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getMeta, setIdsetIdpublic 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 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 Date getDate()
public 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 Exception
public boolean hasReasonCodeableConcept()
throws Exception
Exceptionpublic 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.)public SupplyRequest copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2015 University Health Network. All rights reserved.