Cross-Version Extension for MedicationStatement.basedOn in R3

URLhttp://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationStatement.basedOn
Version
Statusactive
Description

Cross-Version Extension for MedicationStatement.basedOn. Valid in versions R2, R5

This is a valid cross-version extension because it's counted as a new element

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionFulfils plan, proposal or order
... extension ..0
... value[x] 1..Reference(MedicationRequest | CarePlan | ProcedureRequest | ReferralRequest)
... url "http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationStatement.basedOn"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r3-mst.basedOn",
  "url" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationStatement.basedOn",
  "name" : "XVerExtensionMedicationStatement.basedOnR3",
  "title" : "Cross-Version Extension for MedicationStatement.basedOn in R3",
  "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 MedicationStatement.basedOn. Valid in versions R2, R5\r\n\r\nThis is a valid cross-version extension because it's counted as a new element",
  "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" : "5.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "5.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationStatement"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationStatement"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "Fulfils plan, proposal or order",
      "definition" : "A plan, proposal or order that is fulfilled in whole or in part by this event.",
      "requirements" : "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.",
      "min" : 0,
      "max" : "*",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "…basedOn"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/MedicationRequest",
        "http://hl7.org/fhir/StructureDefinition/CarePlan",
        "http://hl7.org/fhir/StructureDefinition/ProcedureRequest",
        "http://hl7.org/fhir/StructureDefinition/ReferralRequest"]
      }]
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationStatement.basedOn"
    }]
  }
}