Skip to main content


class HS.FHIR.DTL.vDSTU2.Model.Resource.SupplyRequest extends HS.FHIR.DTL.vDSTU2.Model.Base.DomainResource

Request for a medication, substance or device.

Property Inventory


Inherited description: ELEMENTQUALIFIED controls the format of exported XML. The ELEMENTQUALIFIED specification should be based on the elementFormDefault attribute of the schema that defines the type. To maintain compatibility, ELEMENTQUALIFIED will default to 1 (true) for literal format export and will default to 0 (false) for encoded or encoded12 format export. These were the values always previously assumed for the elementFormDefault attribute.

NOTE: Direct use of XMLExport method does not support the ELEMENTQUALIFIED. The export must be done using %XML.Writer or SOAP support.

parameter XMLNAME = SupplyRequest;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.
parameter XMLSEQUENCE = 1;
Inherited description: If the XMLSEQUENCE = 1, then the order of the XML elements must match the order of the class properties. This allows us to deal with XML where the same field appears multiple times and is distinguished by the order.
parameter XMLTYPE = SupplyRequest;
Inherited description: This parameter provides the default XMLTYPE for the class. If it is empty then the class name will be used to construct a default XML type.

The default XMLTYPE is used when naming and referencing this type in a schema and the schema context did not provide an XML type name.


property date as %String (MAXLEN = 1000000, XMLNAME = "date", XMLPROJECTION = "ATTRIBUTE");

When the request was made.

Property methods: dateDisplayToLogical(), dateGet(), dateIsValid(), dateLogicalToDisplay(), dateLogicalToOdbc(), dateNormalize(), dateSet()
property identifier as HS.FHIR.DTL.vDSTU2.Model.Datatype.Identifier (XMLNAME = "identifier", XMLPROJECTION = "ELEMENT");

Unique identifier.

Property methods: identifierGet(), identifierGetSwizzled(), identifierIsValid(), identifierNewObject(), identifierSet()
property kind as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "kind", XMLPROJECTION = "ELEMENT");

The kind of supply (central, non-stock, etc.)

supplyrequest-kind is the REQUIRED FHIR2 ValueSet for codes; you may NOT extend supplyrequest-kind and you may NOT use codes from other ValueSets.

Property methods: kindGet(), kindGetSwizzled(), kindIsValid(), kindNewObject(), kindSet()
property orderedItem as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "orderedItem", XMLPROJECTION = "ELEMENT");

Medication, Substance, or Device requested to be supplied.

Medication | Substance | Device

Property methods: orderedItemGet(), orderedItemGetSwizzled(), orderedItemIsValid(), orderedItemNewObject(), orderedItemSet()
property patient as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "patient", XMLPROJECTION = "ELEMENT");

Patient for whom the item is supplied.


Property methods: patientGet(), patientGetSwizzled(), patientIsValid(), patientNewObject(), patientSet()
property reasonCodeableConcept as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "reasonCodeableConcept", XMLPROJECTION = "ELEMENT");

Why the supply item was requested.

any FHIR2 code may be used; supplyrequest-reason shows EXAMPLE codes, but you may use codes from any ValueSet.

Property methods: reasonCodeableConceptGet(), reasonCodeableConceptGetSwizzled(), reasonCodeableConceptIsValid(), reasonCodeableConceptNewObject(), reasonCodeableConceptSet()
property reasonReference as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "reasonReference", XMLPROJECTION = "ELEMENT");

Why the supply item was requested.

Any FHIR2 Resource may be indicated by this Reference.

Property methods: reasonReferenceGet(), reasonReferenceGetSwizzled(), reasonReferenceIsValid(), reasonReferenceNewObject(), reasonReferenceSet()
property source as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "source", XMLPROJECTION = "ELEMENT");

Who initiated this order.

Practitioner | Organization | Patient

Property methods: sourceGet(), sourceGetSwizzled(), sourceIsValid(), sourceNewObject(), sourceSet()
property status as %String (MAXLEN = 1000000, XMLNAME = "status", XMLPROJECTION = "ATTRIBUTE");

requested | completed | failed | cancelled

supplyrequest-status is the REQUIRED FHIR2 ValueSet for codes; you may NOT extend supplyrequest-status and you may NOT use codes from other ValueSets.

Property methods: statusDisplayToLogical(), statusGet(), statusIsValid(), statusLogicalToDisplay(), statusLogicalToOdbc(), statusNormalize(), statusSet()
property supplier as list of HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "supplier", XMLPROJECTION = "ELEMENT");

Who is intended to fulfill the request.


Property methods: supplierBuildValueArray(), supplierCollectionToDisplay(), supplierCollectionToOdbc(), supplierDisplayToCollection(), supplierGet(), supplierGetObject(), supplierGetObjectId(), supplierGetSwizzled(), supplierIsValid(), supplierOdbcToCollection(), supplierSet(), supplierSetObject(), supplierSetObjectId()
property when as HS.FHIR.DTL.vDSTU2.Model.Element.SupplyRequest.when (XMLNAME = "when", XMLPROJECTION = "ELEMENT");

When the request should be fulfilled.

Property methods: whenGet(), whenGetSwizzled(), whenIsValid(), whenNewObject(), whenSet()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab