Cross-Version Extension for Encounter.diagnosis.condition in R3

URLhttp://hl7.org/fhir/3.0/StructureDefinition/extension-Encounter.diagnosis.condition
Version
Statusactive
Description

Cross-Version Extension for Encounter.diagnosis.condition. Valid in versions R2

This is a valid extension because it has the target resources Procedure

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 1..1ExtensionReason the encounter takes place (resource)
... extension ..0
... value[x] 1..Reference()
... url "http://hl7.org/fhir/3.0/StructureDefinition/extension-Encounter.diagnosis.condition"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r3-enc.dia.condition",
  "url" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-Encounter.diagnosis.condition",
  "name" : "XVerExtensionEncounter.diagnosis.conditionR3",
  "title" : "Cross-Version Extension for Encounter.diagnosis.condition in R3",
  "status" : "active",
  "experimental" : false,
  "publisher" : "Health Level Seven International (Patient Administration)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/pafm/index.cfm"
    }]
  }],
  "description" : "Cross-Version Extension for Encounter.diagnosis.condition. Valid in versions R2\r\n\r\nThis is a valid extension because it has the target resources Procedure",
  "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" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "Encounter.hospitalization"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-Encounter.hospitalization"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "Reason the encounter takes place (resource)",
      "definition" : "Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.",
      "comment" : "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).",
      "alias" : ["Admission diagnosis",
      "discharge diagnosis",
      "indication"],
      "min" : 1,
      "max" : "1",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "v2",
        "map" : "Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively."
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=RSON].target"
      },
      {
        "identity" : "w5",
        "map" : "why"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "Reference"
      }]
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-Encounter.diagnosis.condition"
    }]
  }
}