Cross-Version Extension for MedicationStatement.adherence in R5

URLhttp://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence
Version
Statusactive
Description

Cross-Version Extension for MedicationStatement.adherence. Valid in versions R2, R3, R4, R4B

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..1ExtensionIndicates whether the medication is or is not being consumed or administered
... extension:codeR5 ?gen-e1? [CanonicalType[http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence.code]]URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence.code
... extension:reasonR5 ?gen-e1? [CanonicalType[http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence.reason]]URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence.reason
... extension 1..
... value[x] ..0
... url "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r5-mst.adherence",
  "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence",
  "name" : "XVerExtensionMedicationStatement.adherenceR5",
  "title" : "Cross-Version Extension for MedicationStatement.adherence 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 MedicationStatement.adherence. Valid in versions R2, R3, R4, R4B\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" : "4.3"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.3"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationStatement"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-MedicationStatement"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationStatement"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-MedicationStatement"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "3.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "3.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "MedicationStatement"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/3.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" : "Indicates whether the medication is or is not being consumed or administered",
      "definition" : "Indicates whether the medication is or is not being consumed or administered.",
      "comment" : "This element can be used to indicate whether a patient is following a course of treatment as instructed/prescribed or whether they are taking medications of their own volition.  It can also be used to indicate that a patient is not taking a medication, either because they were told not to or because they decided on their own.",
      "min" : 0,
      "max" : "1",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "outboundRelationship[typeCode=PERT].target[classCode=OBV,moodCode=EVN].value[xsi:type=BL]"
      }]
    },
    {
      "path" : "Extension.extension",
      "sliceName" : "codeR5",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence.code"]
      }]
    },
    {
      "path" : "Extension.extension",
      "sliceName" : "reasonR5",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence.reason"]
      }]
    },
    {
      "path" : "Extension.extension",
      "min" : 1
    },
    {
      "path" : "Extension.value[x]",
      "max" : "0"
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence"
    }]
  }
}