public class Supply extends BaseResource implements IResource
Definition: A supply - a request for something, and provision of what is supplied
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/Supply
| Modifier and Type | Class and Description |
|---|---|
static class |
Supply.Dispense
Block class for child element: Supply.dispense (Supply details)
|
| Modifier and Type | Field and Description |
|---|---|
static TokenClientParam |
DISPENSEID
Fluent Client search parameter constant for dispenseid
|
static TokenClientParam |
DISPENSESTATUS
Fluent Client search parameter constant for dispensestatus
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_DISPENSE_SUPPLIER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static TokenClientParam |
KIND
Fluent Client search parameter constant for kind
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static String |
SP_DISPENSEID
Search parameter constant for dispenseid
|
static String |
SP_DISPENSESTATUS
Search parameter constant for dispensestatus
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_KIND
Search parameter constant for kind
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_STATUS
Search parameter constant for status
|
static String |
SP_SUPPLIER
Search parameter constant for supplier
|
static TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
static ReferenceClientParam |
SUPPLIER
Fluent Client search parameter constant for supplier
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
Supply() |
| Modifier and Type | Method and Description |
|---|---|
Supply.Dispense |
addDispense()
Adds and returns a new value for dispense (Supply details)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
List<Supply.Dispense> |
getDispense()
Gets the value(s) for dispense (Supply details).
|
Supply.Dispense |
getDispenseFirstRep()
Gets the first repetition for dispense (Supply details),
creating it if it does not already exist.
|
IdentifierDt |
getIdentifier()
Gets the value(s) for identifier (Unique identifier).
|
BoundCodeableConceptDt<SupplyTypeEnum> |
getKind()
Gets the value(s) for kind (The kind of supply (central, non-stock, etc)).
|
ResourceReferenceDt |
getOrderedItem()
Gets the value(s) for orderedItem (Medication, Substance, or Device requested to be supplied).
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient (Patient for whom the item is supplied).
|
BoundCodeDt<SupplyStatusEnum> |
getStatus()
Gets the value(s) for status (requested | dispensed | received | failed | cancelled).
|
boolean |
isEmpty() |
Supply |
setDispense(List<Supply.Dispense> theValue)
Sets the value(s) for dispense (Supply details)
|
Supply |
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier (Unique identifier)
|
Supply |
setIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Sets the value for identifier (Unique identifier)
|
Supply |
setIdentifier(String theSystem,
String theValue)
Sets the value for identifier (Unique identifier)
|
Supply |
setKind(BoundCodeableConceptDt<SupplyTypeEnum> theValue)
Sets the value(s) for kind (The kind of supply (central, non-stock, etc))
|
Supply |
setKind(SupplyTypeEnum theValue)
Sets the value(s) for kind (The kind of supply (central, non-stock, etc))
|
Supply |
setOrderedItem(ResourceReferenceDt theValue)
Sets the value(s) for orderedItem (Medication, Substance, or Device requested to be supplied)
|
Supply |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient (Patient for whom the item is supplied)
|
Supply |
setStatus(BoundCodeDt<SupplyStatusEnum> theValue)
Sets the value(s) for status (requested | dispensed | received | failed | cancelled)
|
Supply |
setStatus(SupplyStatusEnum theValue)
Sets the value(s) for status (requested | dispensed | received | failed | cancelled)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_KIND
Description:
Type: token
Path: Supply.kind
public static final TokenClientParam KIND
Description:
Type: token
Path: Supply.kind
public static final String SP_IDENTIFIER
Description:
Type: token
Path: Supply.identifier
public static final TokenClientParam IDENTIFIER
Description:
Type: token
Path: Supply.identifier
public static final String SP_STATUS
Description:
Type: token
Path: Supply.status
public static final TokenClientParam STATUS
Description:
Type: token
Path: Supply.status
public static final String SP_PATIENT
Description:
Type: reference
Path: Supply.patient
public static final ReferenceClientParam PATIENT
Description:
Type: reference
Path: Supply.patient
public static final Include INCLUDE_PATIENT
public static final String SP_SUPPLIER
Description:
Type: reference
Path: Supply.dispense.supplier
public static final ReferenceClientParam SUPPLIER
Description:
Type: reference
Path: Supply.dispense.supplier
public static final Include INCLUDE_DISPENSE_SUPPLIER
public static final String SP_DISPENSEID
Description:
Type: token
Path: Supply.dispense.identifier
public static final TokenClientParam DISPENSEID
Description:
Type: token
Path: Supply.dispense.identifier
public static final String SP_DISPENSESTATUS
Description:
Type: token
Path: Supply.dispense.status
public static final TokenClientParam DISPENSESTATUS
Description:
Type: token
Path: Supply.dispense.status
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic BoundCodeableConceptDt<SupplyTypeEnum> getKind()
null.
Definition: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process
public Supply setKind(BoundCodeableConceptDt<SupplyTypeEnum> theValue)
Definition: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process
public Supply setKind(SupplyTypeEnum theValue)
Definition: Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process
public IdentifierDt getIdentifier()
null.
Definition: Unique identifier for this supply request
public Supply setIdentifier(IdentifierDt theValue)
Definition: Unique identifier for this supply request
public Supply setIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: Unique identifier for this supply request
public Supply setIdentifier(String theSystem, String theValue)
Definition: Unique identifier for this supply request
public BoundCodeDt<SupplyStatusEnum> getStatus()
null.
Definition: Status of the supply request
public Supply setStatus(BoundCodeDt<SupplyStatusEnum> theValue)
Definition: Status of the supply request
public Supply setStatus(SupplyStatusEnum theValue)
Definition: Status of the supply request
public ResourceReferenceDt getOrderedItem()
null.
Definition: The item that is requested to be supplied
public Supply setOrderedItem(ResourceReferenceDt theValue)
Definition: The item that is requested to be supplied
public ResourceReferenceDt getPatient()
null.
Definition: A link to a resource representing the person whom the ordered item is for
public Supply setPatient(ResourceReferenceDt theValue)
Definition: A link to a resource representing the person whom the ordered item is for
public List<Supply.Dispense> getDispense()
null.
Definition: Indicates the details of the dispense event such as the days supply and quantity of a supply dispensed.
public Supply setDispense(List<Supply.Dispense> theValue)
Definition: Indicates the details of the dispense event such as the days supply and quantity of a supply dispensed.
public Supply.Dispense addDispense()
Definition: Indicates the details of the dispense event such as the days supply and quantity of a supply dispensed.
public Supply.Dispense getDispenseFirstRep()
Definition: Indicates the details of the dispense event such as the days supply and quantity of a supply dispensed.
Copyright © 2014 University Health Network. All rights reserved.