Cross-Version Extension for Reference.type in R4

URLhttp://hl7.org/fhir/4.0/StructureDefinition/extension-Reference.type
Version
Statusactive
Description

Cross-Version Extension for Reference.type. Valid in versions R2, R3

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..1ExtensionType the reference refers to (e.g. "Patient")
... extension ..0
... value[x] 1..uriBinding: todo (extensible): Aa resource (or, for logical models, the URI of the logical model).

... url "http://hl7.org/fhir/4.0/StructureDefinition/extension-Reference.type"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r4-ref.type",
  "url" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-Reference.type",
  "name" : "XVerExtensionReference.typeR4",
  "title" : "Cross-Version Extension for Reference.type in R4",
  "status" : "active",
  "experimental" : false,
  "publisher" : "HL7 FHIR Standard",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "Cross-Version Extension for Reference.type. Valid in versions R2, R3\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" : "3.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "3.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "Reference"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-Reference"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "Reference"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-Reference"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "Type the reference refers to (e.g. \"Patient\")",
      "definition" : "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
      "comment" : "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
      "min" : 0,
      "max" : "1",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "uri"
      }],
      "binding" : {
        "strength" : "extensible",
        "description" : "Aa resource (or, for logical models, the URI of the logical model).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/resource-types|4.0.1"
      }
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-Reference.type"
    }]
  }
}