Cross-Version Extension for MedicationRequest.medication in R5

URLhttp://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.medication
Version
Statusactive
Description

Cross-Version Extension for MedicationRequest.medication. Valid in versions R2, R3, R4, R4B

This is a valid extension because it has the types CodeableReference

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 1..1ExtensionMedication to be taken
... extension ..0
... value[x] 1..CodeableReference(Medication)
... url "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.medication"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r5-mps.medication",
  "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.medication",
  "name" : "XVerExtensionMedicationRequest.medicationR5",
  "title" : "Cross-Version Extension for MedicationRequest.medication in R5",
  "status" : "active",
  "experimental" : false,
  "publisher" : "Health Level Seven International (Pharmacy)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/medication/index.cfm"
    }]
  }],
  "description" : "Cross-Version Extension for MedicationRequest.medication. Valid in versions R2, R3, R4, R4B\r\n\r\nThis is a valid extension because it has the types CodeableReference",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "5.0.0",
  "kind" : "complex-type",
  "abstract" : false,
  "context" : [{
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.3"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.3"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationRequest"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationRequest"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationRequest"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationRequest"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "3.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "3.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationRequest"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationOrder"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationOrder"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "Medication to be taken",
      "definition" : "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.",
      "comment" : "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended.  For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.",
      "min" : 1,
      "max" : "1",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.code"
      },
      {
        "identity" : "script10.6",
        "map" : "Message/Body/NewRx/MedicationPrescribed\r\rMedication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode\r\rMedication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier\r\rMedication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "v2",
        "map" : "RXE-2-Give Code / RXO-1 Requested Give Code / RXC-2 Component Code"
      },
      {
        "identity" : "rim",
        "map" : "consumable.administrableMedication"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "CodeableReference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Medication"]
      }]
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.medication"
    }]
  }
}