Cross-Version Extension for MedicationDispense.medication in R5

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

Cross-Version Extension for MedicationDispense.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..1ExtensionWhat medication was supplied
... extension ..0
... value[x] 1..CodeableReference(Medication)
... url "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.medication"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r5-mdd.medication",
  "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationDispense.medication",
  "name" : "XVerExtensionMedicationDispense.medicationR5",
  "title" : "Cross-Version Extension for MedicationDispense.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 MedicationDispense.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" : "MedicationDispense"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationDispense"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationDispense"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationDispense"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "3.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "3.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationDispense"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationDispense"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationDispense"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationDispense"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "What medication was supplied",
      "definition" : "Identifies the medication supplied. This is either a link to a resource representing the details of the medication or a simple 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, then you must reference the Medication resource.",
      "min" : 1,
      "max" : "1",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.code"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "v2",
        "map" : "RXD-2 Dispense/Give Code"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PRD].role"
      },
      {
        "identity" : "rx-dispense-rmim",
        "map" : "CombinedMedicationRequest.component1.AdministrationRequest.consumable"
      }]
    },
    {
      "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-MedicationDispense.medication"
    }]
  }
}