{
  "resourceType" : "CodeSystem",
  "id" : "launchContext",
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem launchContext</b></p><a name=\"launchContext\"> </a><a name=\"hclaunchContext\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">patient<a name=\"launchContext-patient\"> </a></td><td>Patient</td><td>Patient in context at launch time (FHIR Patient resource). There can be at most 1 resource passed in for this context.</td></tr><tr><td style=\"white-space:nowrap\">encounter<a name=\"launchContext-encounter\"> </a></td><td>Encounter</td><td>Encounter context at launch time (FHIR Encounter resource). There can be at most 1 resource passed in for this context.</td></tr><tr><td style=\"white-space:nowrap\">location<a name=\"launchContext-location\"> </a></td><td>Location</td><td>Location context at launch time (FHIR Location resource). There can be at most 1 resource passed in for this context.</td></tr><tr><td style=\"white-space:nowrap\">user<a name=\"launchContext-user\"> </a></td><td>User</td><td>User in context at launch time (FHIR Device, PractitionerRole, Practitioner, RelatedPerson, Organization or Patient resource). There can be at most 1 resource passed in for this context.</td></tr><tr><td style=\"white-space:nowrap\">study<a name=\"launchContext-study\"> </a></td><td>ResearchStudy</td><td>ResearchStudy in context at launch time (FHIR ResearchStudy resource). There can be at most 1 resource passed in for this context.</td></tr><tr><td style=\"white-space:nowrap\">clinical<a name=\"launchContext-clinical\"> </a></td><td>Clinical</td><td>Indicates the current clinical resource being manipulated or reviewed by the user launching the Questionnaire.  Common uses included 'current diagnostic report', 'current diagnostic image', 'current order', etc.  In a situation where multiple clinical resources are being reviewed simultaneously, there could be multiple resources passed in as context.  (i.e. the 'clinical' variable set in the FHIRPath engine will be a collection.)</td></tr></table></div>"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "fhir"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 4,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.40.17.16.6"
  }],
  "version" : "4.0.0",
  "name" : "LaunchContext",
  "title" : "Launch Context",
  "status" : "active",
  "experimental" : false,
  "date" : "2026-03-24T16:31:45+11:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [{
    "name" : "HL7 International / FHIR Infrastructure",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/fiwg"
    }]
  }],
  "description" : "The standard context for Questionnaire at launch time",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001",
      "display" : "World"
    }]
  }],
  "caseSensitive" : true,
  "content" : "complete",
  "count" : 6,
  "concept" : [{
    "code" : "patient",
    "display" : "Patient",
    "definition" : "Patient in context at launch time (FHIR Patient resource). There can be at most 1 resource passed in for this context."
  },
  {
    "code" : "encounter",
    "display" : "Encounter",
    "definition" : "Encounter context at launch time (FHIR Encounter resource). There can be at most 1 resource passed in for this context."
  },
  {
    "code" : "location",
    "display" : "Location",
    "definition" : "Location context at launch time (FHIR Location resource). There can be at most 1 resource passed in for this context."
  },
  {
    "code" : "user",
    "display" : "User",
    "definition" : "User in context at launch time (FHIR Device, PractitionerRole, Practitioner, RelatedPerson, Organization or Patient resource). There can be at most 1 resource passed in for this context."
  },
  {
    "code" : "study",
    "display" : "ResearchStudy",
    "definition" : "ResearchStudy in context at launch time (FHIR ResearchStudy resource). There can be at most 1 resource passed in for this context."
  },
  {
    "code" : "clinical",
    "display" : "Clinical",
    "definition" : "Indicates the current clinical resource being manipulated or reviewed by the user launching the Questionnaire.  Common uses included 'current diagnostic report', 'current diagnostic image', 'current order', etc.  In a situation where multiple clinical resources are being reviewed simultaneously, there could be multiple resources passed in as context.  (i.e. the 'clinical' variable set in the FHIRPath engine will be a collection.)"
  }]
}