An order or request for both supply of the medication and the instructions for administration of the medication to a Patient: The resource is called "MedicationRequest" rather than "MedicationPrescription" or "MedicationOrder" to generalize the use across inpatient and outpatient settings,
including care plans,
etc.,
and to harmonize with workflow patterns.
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 = MedicationRequest;
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 XMLPROJECTION = ELEMENT;
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 = MedicationRequest;
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.
medication-request-category is the PREFERRED FHIR3 ValueSet for codes,
but if you need to express meanings not found in medication-request-category,
you may use codes from any ValueSet.
Whether the request is a proposal,
plan,
or an original order.
medication-request-intent is the REQUIRED FHIR3 ValueSet for codes;
you may NOT extend medication-request-intent and you may NOT use codes from other ValueSets.
medication-request-priority is the REQUIRED FHIR3 ValueSet for codes;
you may NOT extend medication-request-priority and you may NOT use codes from other ValueSets.
medication-request-status is the REQUIRED FHIR3 ValueSet for codes;
you may NOT extend medication-request-status and you may NOT use codes from other ValueSets.