PackagesCanonicalsLogsProblems
    Packages
    gpc.stu3.fhir-assets@1.4.1
    https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationRequest-1
{
  "description": "This MedicationRequest Resource represents an order for both supply of the medication and the instructions for administration of the medication to a patient.",
  "_filename": "CareConnect-GPC-MedicationRequest-1.json",
  "package_name": "gpc.stu3.fhir-assets",
  "date": "2023-07-23",
  "derivation": "constraint",
  "meta": {
    "lastUpdated": "2026-10-29T16:52:26.8579644+00:00"
  },
  "publisher": "HL7 UK",
  "fhirVersion": "3.0.2",
  "name": "CareConnect-GPC-MedicationRequest-1",
  "abstract": false,
  "copyright": "Copyright © 2020 HL7 UK\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\r\n\r\nhttp://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\r\n\r\nHL7® FHIR® standard Copyright © 2011+ HL7\r\n\r\nThe HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at\r\n\r\nhttps://www.hl7.org/fhir/license.html",
  "type": "MedicationRequest",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.4.1",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode": "phx"
  } ],
  "status": "active",
  "id": "3db8aa90-33a9-4fb5-8251-615a0f302343",
  "kind": "resource",
  "url": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationRequest-1",
  "version": "1.7.0",
  "differential": {
    "element": [ {
      "id": "MedicationRequest.meta",
      "path": "MedicationRequest.meta"
    }, {
      "id": "MedicationRequest.meta.profile",
      "min": 1,
      "path": "MedicationRequest.meta.profile"
    }, {
      "id": "MedicationRequest.extension:repeatInformation",
      "path": "MedicationRequest.extension",
      "type": [ {
        "code": "Extension",
        "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationRepeatInformation-1"
      } ],
      "sliceName": "repeatInformation"
    }, {
      "id": "MedicationRequest.extension:repeatInformation.extension",
      "min": 1,
      "path": "MedicationRequest.extension.extension"
    }, {
      "id": "MedicationRequest.extension:repeatInformation.extension:numberOfRepeatPrescriptionsAllowed",
      "path": "MedicationRequest.extension.extension",
      "sliceName": "numberOfRepeatPrescriptionsAllowed",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.extension:repeatInformation.extension:numberOfRepeatPrescriptionsIssued",
      "path": "MedicationRequest.extension.extension",
      "sliceName": "numberOfRepeatPrescriptionsIssued",
      "mustSupport": false
    }, {
      "id": "MedicationRequest.extension:repeatInformation.extension:authorisationExpiryDate",
      "path": "MedicationRequest.extension.extension",
      "sliceName": "authorisationExpiryDate",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.extension:statusReason",
      "path": "MedicationRequest.extension",
      "type": [ {
        "code": "Extension",
        "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationStatusReason-1"
      } ],
      "sliceName": "statusReason",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.extension:statusReason.extension",
      "min": 2,
      "path": "MedicationRequest.extension.extension"
    }, {
      "id": "MedicationRequest.extension:prescriptionType",
      "path": "MedicationRequest.extension",
      "type": [ {
        "code": "Extension",
        "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-PrescriptionType-1"
      } ],
      "sliceName": "prescriptionType",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.identifier",
      "min": 1,
      "path": "MedicationRequest.identifier"
    }, {
      "id": "MedicationRequest.identifier.system",
      "min": 1,
      "path": "MedicationRequest.identifier.system"
    }, {
      "id": "MedicationRequest.identifier.value",
      "min": 1,
      "path": "MedicationRequest.identifier.value"
    }, {
      "id": "MedicationRequest.basedOn",
      "path": "MedicationRequest.basedOn",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationRequest-1"
      } ],
      "mustSupport": true
    }, {
      "id": "MedicationRequest.groupIdentifier",
      "path": "MedicationRequest.groupIdentifier",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.groupIdentifier.assigner",
      "path": "MedicationRequest.groupIdentifier.assigner",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1"
      } ]
    }, {
      "id": "MedicationRequest.status",
      "min": 1,
      "path": "MedicationRequest.status"
    }, {
      "id": "MedicationRequest.medication[x]",
      "path": "MedicationRequest.medication[x]",
      "type": [ {
        "code": "CodeableConcept"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Medication-1"
      } ],
      "binding": {
        "strength": "example",
        "valueSetUri": "http://hl7.org/fhir/ValueSet/medication-codes"
      }
    }, {
      "id": "MedicationRequest.subject",
      "path": "MedicationRequest.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1"
      } ]
    }, {
      "id": "MedicationRequest.context",
      "path": "MedicationRequest.context",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1"
      } ],
      "mustSupport": true
    }, {
      "id": "MedicationRequest.authoredOn",
      "min": 1,
      "path": "MedicationRequest.authoredOn"
    }, {
      "id": "MedicationRequest.requester",
      "path": "MedicationRequest.requester",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.requester.agent",
      "path": "MedicationRequest.requester.agent",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
      }, {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1"
      } ]
    }, {
      "id": "MedicationRequest.requester.onBehalfOf",
      "path": "MedicationRequest.requester.onBehalfOf",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1"
      } ]
    }, {
      "id": "MedicationRequest.recorder",
      "min": 1,
      "path": "MedicationRequest.recorder",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1"
      } ]
    }, {
      "id": "MedicationRequest.reasonReference",
      "path": "MedicationRequest.reasonReference",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Observation-1"
      } ]
    }, {
      "id": "MedicationRequest.note",
      "path": "MedicationRequest.note",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.note.author[x]",
      "path": "MedicationRequest.note.author[x]",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
      }, {
        "code": "string"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Patient-1"
      }, {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Practitioner-1"
      } ]
    }, {
      "id": "MedicationRequest.dosageInstruction",
      "min": 1,
      "path": "MedicationRequest.dosageInstruction"
    }, {
      "id": "MedicationRequest.dosageInstruction.text",
      "min": 1,
      "path": "MedicationRequest.dosageInstruction.text"
    }, {
      "id": "MedicationRequest.dosageInstruction.additionalInstruction.coding",
      "path": "MedicationRequest.dosageInstruction.additionalInstruction.coding",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationRequest.dosageInstruction.additionalInstruction.coding:snomedCT",
      "max": "1",
      "path": "MedicationRequest.dosageInstruction.additionalInstruction.coding",
      "sliceName": "snomedCT"
    }, {
      "id": "MedicationRequest.dosageInstruction.additionalInstruction.coding:snomedCT.extension:snomedCTDescriptionID",
      "path": "MedicationRequest.dosageInstruction.additionalInstruction.coding.extension",
      "type": [ {
        "code": "Extension",
        "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
      } ],
      "sliceName": "snomedCTDescriptionID"
    }, {
      "id": "MedicationRequest.dosageInstruction.additionalInstruction.coding:snomedCT.extension:snomedCTDescriptionID.extension",
      "min": 1,
      "path": "MedicationRequest.dosageInstruction.additionalInstruction.coding.extension.extension"
    }, {
      "id": "MedicationRequest.dosageInstruction.additionalInstruction.coding:snomedCT.system",
      "min": 1,
      "path": "MedicationRequest.dosageInstruction.additionalInstruction.coding.system",
      "fixedUri": "http://snomed.info/sct"
    }, {
      "id": "MedicationRequest.dosageInstruction.additionalInstruction.coding:snomedCT.version",
      "max": "0",
      "path": "MedicationRequest.dosageInstruction.additionalInstruction.coding.version"
    }, {
      "id": "MedicationRequest.dosageInstruction.additionalInstruction.coding:snomedCT.code",
      "min": 1,
      "path": "MedicationRequest.dosageInstruction.additionalInstruction.coding.code"
    }, {
      "id": "MedicationRequest.dosageInstruction.additionalInstruction.coding:snomedCT.display",
      "min": 1,
      "path": "MedicationRequest.dosageInstruction.additionalInstruction.coding.display"
    }, {
      "id": "MedicationRequest.dosageInstruction.patientInstruction",
      "path": "MedicationRequest.dosageInstruction.patientInstruction",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.dosageInstruction.route.coding",
      "path": "MedicationRequest.dosageInstruction.route.coding",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      }
    }, {
      "id": "MedicationRequest.dosageInstruction.route.coding:snomedCT",
      "max": "1",
      "path": "MedicationRequest.dosageInstruction.route.coding",
      "binding": {
        "strength": "preferred",
        "description": "A code from the SNOMED Clinical Terminology UK coding system that describes the e-Prescribing route of administration.",
        "valueSetReference": {
          "reference": "https://fhir.nhs.uk/STU3/ValueSet/CareConnect-MedicationDosageRoute-1"
        }
      },
      "sliceName": "snomedCT"
    }, {
      "id": "MedicationRequest.dosageInstruction.route.coding:snomedCT.extension:snomedCTDescriptionID",
      "path": "MedicationRequest.dosageInstruction.route.coding.extension",
      "type": [ {
        "code": "Extension",
        "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
      } ],
      "sliceName": "snomedCTDescriptionID"
    }, {
      "id": "MedicationRequest.dosageInstruction.route.coding:snomedCT.extension:snomedCTDescriptionID.extension",
      "min": 1,
      "path": "MedicationRequest.dosageInstruction.route.coding.extension.extension"
    }, {
      "id": "MedicationRequest.dosageInstruction.route.coding:snomedCT.system",
      "min": 1,
      "path": "MedicationRequest.dosageInstruction.route.coding.system",
      "fixedUri": "http://snomed.info/sct"
    }, {
      "id": "MedicationRequest.dosageInstruction.route.coding:snomedCT.version",
      "max": "0",
      "path": "MedicationRequest.dosageInstruction.route.coding.version"
    }, {
      "id": "MedicationRequest.dosageInstruction.route.coding:snomedCT.code",
      "min": 1,
      "path": "MedicationRequest.dosageInstruction.route.coding.code"
    }, {
      "id": "MedicationRequest.dosageInstruction.route.coding:snomedCT.display",
      "min": 1,
      "path": "MedicationRequest.dosageInstruction.route.coding.display"
    }, {
      "id": "MedicationRequest.dispenseRequest",
      "min": 1,
      "path": "MedicationRequest.dispenseRequest"
    }, {
      "id": "MedicationRequest.dispenseRequest.validityPeriod",
      "min": 1,
      "path": "MedicationRequest.dispenseRequest.validityPeriod"
    }, {
      "id": "MedicationRequest.dispenseRequest.validityPeriod.start",
      "min": 1,
      "path": "MedicationRequest.dispenseRequest.validityPeriod.start"
    }, {
      "id": "MedicationRequest.dispenseRequest.quantity",
      "path": "MedicationRequest.dispenseRequest.quantity",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.dispenseRequest.quantity.extension:quantityText",
      "max": "1",
      "path": "MedicationRequest.dispenseRequest.quantity.extension",
      "type": [ {
        "code": "Extension",
        "profile": "https://fhir.nhs.uk/STU3/StructureDefinition/Extension-CareConnect-GPC-MedicationQuantityText-1"
      } ],
      "sliceName": "quantityText",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
      "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
      "mustSupport": true
    }, {
      "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.value",
      "min": 1,
      "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.value"
    }, {
      "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator",
      "max": "0",
      "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.comparator"
    }, {
      "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.system",
      "min": 1,
      "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.system",
      "fixedUri": "http://unitsofmeasure.org"
    }, {
      "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration.code",
      "min": 1,
      "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration.code",
      "binding": {
        "strength": "required",
        "description": "A unit of time (units from UCUM).",
        "valueSetReference": {
          "reference": "http://hl7.org/fhir/ValueSet/units-of-time"
        }
      }
    }, {
      "id": "MedicationRequest.dispenseRequest.performer",
      "path": "MedicationRequest.dispenseRequest.performer",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-Organization-1"
      } ],
      "mustSupport": true
    }, {
      "id": "MedicationRequest.priorPrescription",
      "path": "MedicationRequest.priorPrescription",
      "type": [ {
        "code": "Reference",
        "targetProfile": "https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-GPC-MedicationRequest-1"
      } ]
    }, {
      "id": "MedicationRequest.detectedIssue",
      "path": "MedicationRequest.detectedIssue",
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
}