description: Defines CRD-specific constraints on the CDS Hooks Request logical model package_name: hl7.fhir.us.davinci-crd derivation: constraint name: CRDHooksRequest type: http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest elements: extension: {index: 0} hook: type: code short: Hook event triggering call binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-crd/ValueSet/cdsHookType'} mustSupport: true index: 1 hookInstance: {short: Unique id for hook invocation, mustSupport: true, index: 2} fhirServer: {short: Location to query for data, mustSupport: true, index: 3} fhirAuthorization: short: Auth to use in queries mustSupport: true index: 4 elements: accessToken: {short: Auth token for query header, mustSupport: true, index: 5} tokenType: {mustSupport: true, index: 6} expiresIn: {short: Seconds token is valid, mustSupport: true, index: 7} scope: {short: Granted access scopes, mustSupport: true, index: 8} subject: {short: Patient id for access, mustSupport: true, index: 9} context: {short: Context for decision support, mustSupport: true, index: 10} prefetch: short: Prefetch info requested by server mustSupport: true index: 11 elements: key: {short: Key as specfied in server prefetch config, mustSupport: true, index: 12} value: {short: Resource(s) matching prefetch criteria, mustSupport: true, index: 13} package_version: 2.2.0-ballot extensions: {} class: logical kind: logical url: http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDHooksRequest base: http://hl7.org/fhir/tools/StructureDefinition/CDSHooksRequest version: 2.2.0-ballot required: [fhirAuthorization, fhirServer]