3.8.6 Extension: Medication Order Category - Detailed Descriptions
Definitions for the ext-medicationorder-category Extension
| 1. Extension | |
| Definition | Sub-categorizes medication prescriptions into drugs, devices, compounds, etc. May be used to apply sub-type-specific constraints  | 
| Control | 0..1 | 
| Comments | Conformance Rule: If no appropriate code exists, provide details using the 'text' component. Usage Note: The URL for this extension does not refer to an existing web-page as is a pre-adoption extension. Refer to the Shared Health implementation Guide for more information.  | 
| 2. Extension.id | |
| Definition | unique id for the element within a resource (for internal references).  | 
| Control | 0..1 | 
| Type | id | 
| 3. Extension.extension | |
| Definition | An Extension  | 
| Control | 0..0 | 
| Type | Extension | 
| 4. Extension.url | |
| Definition | Source of the definition for the extension code - a logical name or a URL.  | 
| Control | 1..1 | 
| Type | uri | 
| Must Support | true | 
| Comments | Fixed value: http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.category  | 
| Fixed Value | http://hl7.org/fhir/StructureDefinition/extension-MedicationRequest.category | 
| 5. Extension.value[x] | |
| Definition | A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.  | 
| Control | 1..1 | 
| Binding | The codes SHALL be taken from PrescriptionType (20190415); other codes may be used where these codes are not suitable | 
| Type | CodeableConcept(Shared Health CodeableConcept Text) | 
| [x] Note | See Choice of Data Types for further information about how to use [x] | 
| Must Support | true | 
| Comments | -  | 
| Max Length | 0 | 
| Invariants | Defined on this element inv-1: Must have coding or text but not both (: coding.exists() xor text.exists())  | 
| Slicing | This element introduces a set of slices on Extension.value[x]. The slices are unordered and Closed, and can be differentiated using the following discriminators: 
  | 
| 6. Extension.value[x]:valueCodeableConcept | |
| SliceName | valueCodeableConcept | 
| Definition | Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).  | 
| Control | 1..1 | 
| Type | CodeableConcept | 
| [x] Note | See Choice of Data Types for further information about how to use [x] |