# Medication Request - Medtech ALEX® AU Implementation Guide v1.0.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Medication Request**

## Resource Profile: Medication Request 

| | |
| :--- | :--- |
| *Official URL*:https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-medicationrequest | *Version*:1.0.0 |
| Active as of 2026-01-12 | *Computable Name*:AlexMedicationRequest |

 
The Medication Request resource exposed by ALEX. 

**Usages:**

* Derived from this Profile: [Repeat Prescription](StructureDefinition-alex-repeatprescription.md)
* Use this Profile: [Medication Request Bundle](StructureDefinition-medicationrequest-search-bundle.md)
* Examples for this Profile: [MedicationRequest/medication-request-full-example](MedicationRequest-medication-request-full-example.md) and [MedicationRequest/medication-request-min-example](MedicationRequest-medication-request-min-example.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/medtechglobal.fhir.alex|current/StructureDefinition/alex-medicationrequest)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-alex-medicationrequest.csv), [Excel](StructureDefinition-alex-medicationrequest.xlsx), [Schematron](StructureDefinition-alex-medicationrequest.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "alex-medicationrequest",
  "url" : "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-medicationrequest",
  "version" : "1.0.0",
  "name" : "AlexMedicationRequest",
  "title" : "Medication Request",
  "status" : "active",
  "date" : "2026-01-12T22:43:00+00:00",
  "publisher" : "Medtech Global",
  "contact" : [
    {
      "name" : "Medtech Global",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://medtechglobal.com/au/"
        },
        {
          "system" : "email",
          "value" : "supportau@medtechglobal.com"
        }
      ]
    },
    {
      "name" : "Medtech Support",
      "telecom" : [
        {
          "system" : "email",
          "value" : "supportau@medtechglobal.com",
          "use" : "work"
        }
      ]
    }
  ],
  "description" : "The Medication Request resource exposed by ALEX.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001",
          "display" : "World"
        }
      ]
    }
  ],
  "fhirVersion" : "4.0.1",
  "mapping" : [
    {
      "identity" : "workflow",
      "uri" : "http://hl7.org/fhir/workflow",
      "name" : "Workflow Pattern"
    },
    {
      "identity" : "script10.6",
      "uri" : "http://ncpdp.org/SCRIPT10_6",
      "name" : "Mapping to NCPDP SCRIPT 10.6"
    },
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/fivews",
      "name" : "FiveWs Pattern Mapping"
    },
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2 Mapping"
    }
  ],
  "kind" : "resource",
  "abstract" : false,
  "type" : "MedicationRequest",
  "baseDefinition" : "http://hl7.org.au/fhir/StructureDefinition/au-medicationrequest",
  "derivation" : "constraint",
  "differential" : {
    "element" : [
      {
        "id" : "MedicationRequest",
        "path" : "MedicationRequest"
      },
      {
        "id" : "MedicationRequest.meta.security",
        "path" : "MedicationRequest.meta.security",
        "binding" : {
          "strength" : "required",
          "valueSet" : "https://alexapi.medtechglobal.com.au/fhir/ValueSet/confidentiality"
        }
      },
      {
        "id" : "MedicationRequest.meta.tag",
        "path" : "MedicationRequest.meta.tag",
        "binding" : {
          "strength" : "required",
          "valueSet" : "https://alexapi.medtechglobal.com.au/fhir/ValueSet/writeback-action-type"
        }
      },
      {
        "id" : "MedicationRequest.extension:subsidisedConcurrentSupply",
        "path" : "MedicationRequest.extension",
        "sliceName" : "subsidisedConcurrentSupply",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.extension:longTerm",
        "path" : "MedicationRequest.extension",
        "sliceName" : "longTerm",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-long-term"
            ]
          }
        ]
      },
      {
        "id" : "MedicationRequest.extension:scheme",
        "path" : "MedicationRequest.extension",
        "sliceName" : "scheme",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-scheme"
            ]
          }
        ]
      },
      {
        "id" : "MedicationRequest.extension:unusualDose",
        "path" : "MedicationRequest.extension",
        "sliceName" : "unusualDose",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-unusual-dose"
            ]
          }
        ]
      },
      {
        "id" : "MedicationRequest.extension:regulation24",
        "path" : "MedicationRequest.extension",
        "sliceName" : "regulation24",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-regulation-24"
            ]
          }
        ]
      },
      {
        "id" : "MedicationRequest.extension:approvedNumber",
        "path" : "MedicationRequest.extension",
        "sliceName" : "approvedNumber",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-approved-number"
            ]
          }
        ]
      },
      {
        "id" : "MedicationRequest.extension:authorityNumber",
        "path" : "MedicationRequest.extension",
        "sliceName" : "authorityNumber",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-authority-number"
            ]
          }
        ]
      },
      {
        "id" : "MedicationRequest.status",
        "path" : "MedicationRequest.status",
        "mustSupport" : true,
        "binding" : {
          "strength" : "required",
          "valueSet" : "https://alexapi.medtechglobal.com.au/fhir/ValueSet/medicationrequest-status"
        }
      },
      {
        "id" : "MedicationRequest.intent",
        "path" : "MedicationRequest.intent",
        "patternCode" : "order",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.priority",
        "path" : "MedicationRequest.priority",
        "binding" : {
          "strength" : "required",
          "valueSet" : "https://alexapi.medtechglobal.com.au/fhir/ValueSet/request-priority"
        }
      },
      {
        "id" : "MedicationRequest.medication[x]:medicationCodeableConcept",
        "path" : "MedicationRequest.medication[x]",
        "sliceName" : "medicationCodeableConcept",
        "min" : 1,
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.medication[x]:medicationCodeableConcept.coding",
        "path" : "MedicationRequest.medication[x].coding",
        "min" : 1
      },
      {
        "id" : "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs",
        "path" : "MedicationRequest.medication[x].coding",
        "sliceName" : "pbs",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.medication[x]:medicationCodeableConcept.coding:gtin",
        "path" : "MedicationRequest.medication[x].coding",
        "sliceName" : "gtin",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt",
        "path" : "MedicationRequest.medication[x].coding",
        "sliceName" : "amt",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.medication[x]:medicationCodeableConcept.coding:mimsPackage",
        "path" : "MedicationRequest.medication[x].coding",
        "sliceName" : "mimsPackage",
        "min" : 1
      },
      {
        "id" : "MedicationRequest.medication[x]:medicationCodeableConcept.coding:mimsPackage.system",
        "path" : "MedicationRequest.medication[x].coding.system",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.medication[x]:medicationCodeableConcept.coding:mimsPackage.code",
        "path" : "MedicationRequest.medication[x].coding.code",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.medication[x]:medicationCodeableConcept.coding:mimsPackage.display",
        "path" : "MedicationRequest.medication[x].coding.display",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.medication[x]:medicationCodeableConcept.text",
        "path" : "MedicationRequest.medication[x].text",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.subject",
        "path" : "MedicationRequest.subject",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.subject.reference",
        "path" : "MedicationRequest.subject.reference",
        "short" : "Reference to Patient resource"
      },
      {
        "id" : "MedicationRequest.subject.display",
        "path" : "MedicationRequest.subject.display",
        "short" : "External Name of Patient"
      },
      {
        "id" : "MedicationRequest.authoredOn",
        "path" : "MedicationRequest.authoredOn",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.requester",
        "path" : "MedicationRequest.requester",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.note.text",
        "path" : "MedicationRequest.note.text",
        "constraint" : [
          {
            "key" : "medication-request-note-length",
            "severity" : "error",
            "human" : "Note - text size validation",
            "expression" : "value.exists().not() or value.length() <= 256",
            "source" : "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-medicationrequest"
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dosageInstruction",
        "path" : "MedicationRequest.dosageInstruction",
        "constraint" : [
          {
            "key" : "dosage-instruction-text-length",
            "severity" : "error",
            "human" : "Dosage instruction - text size validation",
            "expression" : "text.length() <= 200",
            "source" : "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-medicationrequest"
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dosageInstruction.text",
        "path" : "MedicationRequest.dosageInstruction.text",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dosageInstruction.patientInstruction",
        "path" : "MedicationRequest.dosageInstruction.patientInstruction",
        "constraint" : [
          {
            "key" : "patient-instruction-length",
            "severity" : "error",
            "human" : "Dosage instruction - patient instruction size validation",
            "expression" : "value.exists().not() or value.length() <= 32",
            "source" : "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-medicationrequest"
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dosageInstruction.timing",
        "path" : "MedicationRequest.dosageInstruction.timing",
        "short" : "Since daily frequency is user defineable in PMS, it may contain other code defined with Medtech extension",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dosageInstruction.timing.event",
        "path" : "MedicationRequest.dosageInstruction.timing.event",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.dosageInstruction.timing.repeat",
        "path" : "MedicationRequest.dosageInstruction.timing.repeat",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.dosageInstruction.timing.code",
        "path" : "MedicationRequest.dosageInstruction.timing.code",
        "constraint" : [
          {
            "key" : "medreq-daily-frequency-system",
            "severity" : "error",
            "human" : "MedicationRequest dosage timing codes must use SNOMED CT or Medtech daily-frequency codes",
            "expression" : "coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/daily-frequency')",
            "source" : "https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-medicationrequest"
          }
        ],
        "mustSupport" : true,
        "binding" : {
          "strength" : "extensible",
          "valueSet" : "https://alexapi.medtechglobal.com.au/fhir/ValueSet/daily-frequency"
        }
      },
      {
        "id" : "MedicationRequest.dosageInstruction.route",
        "path" : "MedicationRequest.dosageInstruction.route",
        "binding" : {
          "strength" : "required",
          "valueSet" : "https://alexapi.medtechglobal.com.au/fhir/ValueSet/route-of-administration"
        }
      },
      {
        "id" : "MedicationRequest.dosageInstruction.doseAndRate",
        "path" : "MedicationRequest.dosageInstruction.doseAndRate",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dispenseRequest",
        "path" : "MedicationRequest.dispenseRequest",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dispenseRequest.initialFill",
        "path" : "MedicationRequest.dispenseRequest.initialFill",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.dispenseRequest.dispenseInterval",
        "path" : "MedicationRequest.dispenseRequest.dispenseInterval",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.dispenseRequest.validityPeriod",
        "path" : "MedicationRequest.dispenseRequest.validityPeriod",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "path" : "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dispenseRequest.quantity",
        "path" : "MedicationRequest.dispenseRequest.quantity",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dispenseRequest.quantity.value",
        "path" : "MedicationRequest.dispenseRequest.quantity.value",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dispenseRequest.quantity.unit",
        "path" : "MedicationRequest.dispenseRequest.quantity.unit",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dispenseRequest.quantity.system",
        "path" : "MedicationRequest.dispenseRequest.quantity.system",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.dispenseRequest.quantity.code",
        "path" : "MedicationRequest.dispenseRequest.quantity.code",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.dispenseRequest.expectedSupplyDuration.value",
        "path" : "MedicationRequest.dispenseRequest.expectedSupplyDuration.value",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator",
        "path" : "MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.dispenseRequest.expectedSupplyDuration.unit",
        "path" : "MedicationRequest.dispenseRequest.expectedSupplyDuration.unit",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dispenseRequest.expectedSupplyDuration.system",
        "path" : "MedicationRequest.dispenseRequest.expectedSupplyDuration.system",
        "patternUri" : "http://unitsofmeasure.org",
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.dispenseRequest.expectedSupplyDuration.code",
        "path" : "MedicationRequest.dispenseRequest.expectedSupplyDuration.code",
        "binding" : {
          "strength" : "required",
          "valueSet" : "https://alexapi.medtechglobal.com.au/fhir/ValueSet/duration"
        }
      },
      {
        "id" : "MedicationRequest.dispenseRequest.performer",
        "path" : "MedicationRequest.dispenseRequest.performer",
        "max" : "0"
      },
      {
        "id" : "MedicationRequest.substitution.allowed[x]",
        "path" : "MedicationRequest.substitution.allowed[x]",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "type",
              "path" : "$this"
            }
          ],
          "ordered" : false,
          "rules" : "open"
        }
      },
      {
        "id" : "MedicationRequest.substitution.allowed[x]:allowedBoolean",
        "path" : "MedicationRequest.substitution.allowed[x]",
        "sliceName" : "allowedBoolean",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "mustSupport" : true
      },
      {
        "id" : "MedicationRequest.eventHistory",
        "path" : "MedicationRequest.eventHistory",
        "max" : "0"
      }
    ]
  }
}

```
