Source | hl7.fhir.uv.tools#current:FHIR Tooling Extensions IG (v5.0.0) |
resourceType | StructureDefinition |
id | CDSHooksRequest |
canonical | http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest |
version | 1.0.0-candidate |
status | draft |
publisher | HL7 International / FHIR Infrastructure |
name | CDSHooksRequest |
title | CDSHooks Request (Logical Definition) |
date | 2023-09-04T23:06:57+00:00 |
experimental | true |
description | This structure is defined to allow the FHIR Validator to validate a CDSHooks Request Body. TODO: This content will be moved to the CDS Hooks specification in the future |
jurisdictions | uv |
fhirVersion | 5.0.0 |
kind | logical |
abstract | false |
sdTtype | http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest |
derivation | specialization |
base | http://hl7.org/fhir/tools/StructureDefinition/CDSHooksElement |
Usages | (none) |
Name | Flags | Card. | Type |
Description & Constraints
![]() |
---|---|---|---|---|
![]() ![]() |
C | CDSHooksElement |
The response to the discovery endpoint This logical model cannot be the target of a reference cds-r-1: if fhirAuthorization details are provided, a fhirServer SHALL be specified |
|
![]() ![]() ![]() |
1..1 | code | The hook that triggered this CDS Service call | |
![]() ![]() ![]() |
1..1 | uuid |
A universally unique identifier (UUID) for this particular hook call When this element is read urn:uuid:
is prefixed to the value before validation
|
|
![]() ![]() ![]() |
0..1 | url | The base URL of the CDS Client's FHIR server | |
![]() ![]() ![]() |
C | 0..1 | CDSHooksElement |
A structure holding an OAuth 2.0 bearer access token granting the CDS Service access to FHIR resources, along with supplemental information relating to the token cds-r-2: If the granted SMART scopes include patient scopes (i.e. 'patient/'), the patient field SHOULD be populated to identify the FHIR id of that patient. |
![]() ![]() ![]() ![]() |
1..1 | string |
This is the OAuth 2.0 access token that provides access to the FHIR server JSON Property Name: access_token |
|
![]() ![]() ![]() ![]() |
1..1 | code |
Fixed value: Bearer JSON Property Name: token_type Fixed Value: Bearer |
|
![]() ![]() ![]() ![]() |
1..1 | integer |
The lifetime in seconds of the access token. JSON Property Name: expires_in |
|
![]() ![]() ![]() ![]() |
1..1 | string | The scopes the access token grants the CDS Service | |
![]() ![]() ![]() ![]() |
1..1 | string | The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server | |
![]() ![]() ![]() ![]() |
0..1 | id | The OAuth 2.0 client identifier of the CDS Service, as registered with the CDS Client's authorization server | |
![]() ![]() ![]() |
1..1 | CDSHookContext |
Hook-specific contextual data that the CDS service will need JSON: If %resource.hook = 'patient-view'
then the type is CDSHookPatientViewContext
JSON: If %resource.hook = 'order-sign'
then the type is CDSHookOrderSignContext
JSON: If %resource.hook = 'order-select'
then the type is CDSHookOrderSelectContext
|
|
![]() ![]() ![]() |
0..* | Base |
Key/value pairs of FHIR queries the CDS Client provides on each call JSON: Represented as a single JSON Object with named properties using the value of the key child as the key |
|
![]() ![]() ![]() ![]() |
1..1 | code | Key of FHIR query - name for client to use when sending to Request | |
![]() ![]() ![]() ![]() |
1..1 | Resource |
Value of FHIR query - FHIR Query for client to perform Id may or not be present (this is the default for elements but not resources) JSON: This object can be represented as null in the JSON structure (which counts as 'present' for cardinality purposes) |
|
![]() |
Produced 08 Sep 2023