FHIR Tooling Extensions IG
1.1.0 - Release 0.2.0 International flag

This page is part of the HL7 Tools Extension IG (v1.1.0: Release - Informative) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

Logical Model: CDS Hook Specific Context for patient-view (Logical Definition) ( Experimental )

Official URL: http://hl7.org/fhir/tools/StructureDefinition/CDSHookPatientViewContext Version: 1.1.0
Standards status: Informative Draft as of 2026-03-03 Maturity Level: 1 Computable Name: CDSHookPatientViewContext
Other Identifiers: OID:2.16.840.1.113883.4.642.40.1.42.4

This structure is defined to allow the FHIR Validator to validate a CDSHooks Patient-View context. TODO: This content will be moved to the CDS Hooks specification in the future

Usages:

  • This Logical Model is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description Differentials, Snapshots, and other representations.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CDSHookPatientViewContext 0..* CDSHookContext The context for the patient-view hook
... userId 1..1 url The id of the current user. Must be in the format [ResourceType]/[id].
... patientId 1..1 id The FHIR Patient.id of the current patient in context
... encounterId 0..1 id The FHIR Encounter.id of the current encounter in context

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CDSHookPatientViewContext 0..* CDSHookContext The context for the patient-view hook
... userId 1..1 url The id of the current user. Must be in the format [ResourceType]/[id].
... patientId 1..1 id The FHIR Patient.id of the current patient in context
... encounterId 0..1 id The FHIR Encounter.id of the current encounter in context

doco Documentation for this format

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 1

Differential View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CDSHookPatientViewContext 0..* CDSHookContext The context for the patient-view hook
... userId 1..1 url The id of the current user. Must be in the format [ResourceType]/[id].
... patientId 1..1 id The FHIR Patient.id of the current patient in context
... encounterId 0..1 id The FHIR Encounter.id of the current encounter in context

doco Documentation for this format

Snapshot ViewView

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CDSHookPatientViewContext 0..* CDSHookContext The context for the patient-view hook
... userId 1..1 url The id of the current user. Must be in the format [ResourceType]/[id].
... patientId 1..1 id The FHIR Patient.id of the current patient in context
... encounterId 0..1 id The FHIR Encounter.id of the current encounter in context

doco Documentation for this format

Summary

Mandatory: 0 element(2 nested mandatory elements)

Maturity: 1

 

Other representations of profile: CSV, Excel