
Package org.hl7.fhir.dstu2.model
Class SupplyRequest
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.SupplyRequest
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
A record of a request for a medication, substance or device used in the
healthcare setting.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateTimeTypeWhen the request was made.protected IdentifierUnique identifier for this supply request.protected CodeableConceptCategory of supply, e.g. central, non-stock, etc.protected ReferenceThe item that is requested to be supplied.protected ResourceThe actual object that is the target of the reference (The item that is requested to be supplied.)protected ReferenceA link to a resource representing the person whom the ordered item is for.protected PatientThe actual object that is the target of the reference (A link to a resource representing the person whom the ordered item is for.)protected TypeWhy the supply item was requested.protected ReferenceThe Practitioner , Organization or Patient who initiated this order for the supply.protected ResourceThe actual object that is the target of the reference (The Practitioner , Organization or Patient who initiated this order for the supply.)static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected Enumeration<SupplyRequest.SupplyRequestStatus> Status of the supply request.Who is intended to fulfill the request.protected List<Organization> The actual objects that are the target of the reference (Who is intended to fulfill the request.)protected SupplyRequest.SupplyRequestWhenComponentWhen the request should be fulfilled.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getDate()getKind()getWhen()booleanhasDate()booleanbooleanbooleanhasKind()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasWhen()booleanisEmpty()protected voidlistChildren(List<Property> childrenList) setDateElement(DateTimeType value) setIdentifier(Identifier value) setKind(CodeableConcept value) setOrderedItem(Reference value) setOrderedItemTarget(Resource value) setPatient(Reference value) setPatientTarget(Patient value) voidsetProperty(String name, Base value) setSourceTarget(Resource value) protected SupplyRequestMethods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setTextMethods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
patient
A link to a resource representing the person whom the ordered item is for. -
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.) -
source
The Practitioner , Organization or Patient who initiated this order for the supply. -
sourceTarget
The actual object that is the target of the reference (The Practitioner , Organization or Patient who initiated this order for the supply.) -
date
When the request was made. -
identifier
Unique identifier for this supply request. -
status
Status of the supply request. -
kind
Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process. -
orderedItem
The item that is requested to be supplied. -
orderedItemTarget
The actual object that is the target of the reference (The item that is requested to be supplied.) -
supplier
Who is intended to fulfill the request. -
supplierTarget
The actual objects that are the target of the reference (Who is intended to fulfill the request.) -
reason
Why the supply item was requested. -
when
When the request should be fulfilled. -
SP_DATE
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_KIND
- See Also:
-
SP_PATIENT
- See Also:
-
SP_SUPPLIER
- See Also:
-
SP_SOURCE
- See Also:
-
SP_STATUS
- See Also:
-
-
Constructor Details
-
SupplyRequest
public SupplyRequest()
-
-
Method Details
-
getPatient
- Returns:
patient(A link to a resource representing the person whom the ordered item is for.)
-
hasPatient
-
setPatient
- Parameters:
value-patient(A link to a resource representing the person whom the ordered item is for.)
-
getPatientTarget
- Returns:
patientThe 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.)
-
setPatientTarget
- Parameters:
value-patientThe 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.)
-
getSource
- Returns:
source(The Practitioner , Organization or Patient who initiated this order for the supply.)
-
hasSource
-
setSource
- Parameters:
value-source(The Practitioner , Organization or Patient who initiated this order for the supply.)
-
getSourceTarget
- Returns:
sourceThe 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.)
-
setSourceTarget
- Parameters:
value-sourceThe 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.)
-
getDateElement
- Returns:
date(When the request was made.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
-
hasDate
-
setDateElement
- Parameters:
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 value
-
getDate
- Returns:
- When the request was made.
-
setDate
- Parameters:
value- When the request was made.
-
getIdentifier
- Returns:
identifier(Unique identifier for this supply request.)
-
hasIdentifier
-
setIdentifier
- Parameters:
value-identifier(Unique identifier for this supply request.)
-
getStatusElement
- Returns:
status(Status of the supply request.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
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 value
-
getStatus
- Returns:
- Status of the supply request.
-
setStatus
- Parameters:
value- Status of the supply request.
-
getKind
- Returns:
kind(Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)
-
hasKind
-
setKind
- Parameters:
value-kind(Category of supply, e.g. central, non-stock, etc. This is used to support work flows associated with the supply process.)
-
getOrderedItem
- Returns:
orderedItem(The item that is requested to be supplied.)
-
hasOrderedItem
-
setOrderedItem
- Parameters:
value-orderedItem(The item that is requested to be supplied.)
-
getOrderedItemTarget
- Returns:
orderedItemThe 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.)
-
setOrderedItemTarget
- Parameters:
value-orderedItemThe 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.)
-
getSupplier
- Returns:
supplier(Who is intended to fulfill the request.)
-
hasSupplier
-
addSupplier
- Returns:
supplier(Who is intended to fulfill the request.)
-
addSupplier
-
getSupplierTarget
- Returns:
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.)
-
addSupplierTarget
- Returns:
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.)
-
getReason
- Returns:
reason(Why the supply item was requested.)
-
getReasonCodeableConcept
- Returns:
reason(Why the supply item was requested.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonCodeableConcept
-
getReasonReference
- Returns:
reason(Why the supply item was requested.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonReference
-
hasReason
-
setReason
- Parameters:
value-reason(Why the supply item was requested.)
-
getWhen
- Returns:
when(When the request should be fulfilled.)
-
hasWhen
-
setWhen
- Parameters:
value-when(When the request should be fulfilled.)
-
listChildren
- Overrides:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-