Cross-Version Extension for Appointment.reasonReference in R4

URLhttp://hl7.org/fhir/4.0/StructureDefinition/extension-Appointment.reasonReference
Version
Statusactive
Description

Cross-Version Extension for Appointment.reasonReference. Valid in versions R2, R3, R5

This is a valid extension because it has the target resources Observation, ImmunizationRecommendation

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionReason the appointment is to take place (resource)
... extension ..0
... value[x] 1..Reference()
... url "http://hl7.org/fhir/4.0/StructureDefinition/extension-Appointment.reasonReference"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r4-app.reasonReference",
  "url" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-Appointment.reasonReference",
  "name" : "XVerExtensionAppointment.reasonReferenceR4",
  "title" : "Cross-Version Extension for Appointment.reasonReference in R4",
  "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 Appointment.reasonReference. Valid in versions R2, R3, R5\r\n\r\nThis is a valid extension because it has the target resources Observation, ImmunizationRecommendation",
  "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" : "Appointment"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Appointment"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "3.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "3.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "Appointment"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-Appointment"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "Appointment"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-Appointment"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "Reason the appointment is to take place (resource)",
      "definition" : "Reason the appointment has been scheduled to take place, as specified using information from another resource. When the patient arrives and the encounter begins it may be used as the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.",
      "min" : 0,
      "max" : "*",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.reasonReference"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship[@typeCode = 'RSON'].observation"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "Reference"
      }]
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-Appointment.reasonReference"
    }]
  }
}