Da Vinci - Coverage Requirements Discovery
2.2.0-snapshot - STU 2.2 Peer Review

Da Vinci - Coverage Requirements Discovery, published by HL7 International / Financial Management. This guide is not an authorized publication; it is the continuous build for version 2.2.0-snapshot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-crd/ and changes regularly. See the Directory of published versions

## Logical Model: CRD CDS Hooks Specific Context for appointment-book (Logical Definition) - TTL Profile

Page standards status: Informative

TTL representation of the CRDAppointmentBookContext logical model.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "CRDAppointmentBookContext"] ; #
      fhir:language [ fhir:v "en"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition CRDAppointmentBookContext</b></p><a name=\"CRDAppointmentBookContext\"> </a><a name=\"hcCRDAppointmentBookContext\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDAppointmentBookContext-definitions.html#CDSHookAppointmentBookContext\">CDSHookAppointmentBookContext</a><a name=\"CDSHookAppointmentBookContext\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/tools/1.0.0/StructureDefinition-CDSHookAppointmentBookContext.html\">CDSHookAppointmentBookContext</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The context for the appointment-book hook</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CRDAppointmentBookContext-definitions.html#CDSHookAppointmentBookContext.appointments\">appointments</a><a name=\"CDSHookAppointmentBookContext.appointments\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-profile-bundle-appointment.html\" title=\"Bundle\">CRDAppointmentBundle</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Contains a collection of resources</span></td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral ]
      ] ; #
      fhir:extension ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/json-suppress-resourcetype"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/json-suppress-resourcetype>     ] ;
    fhir:value [
    a fhir:Boolean ;
    fhir:v true     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>     ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "fm"     ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>     ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "informative" ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>         ] ;
    fhir:value [
    a fhir:Canonical ;
    fhir:v "http://hl7.org/fhir/us/davinci-crd/ImplementationGuide/davinci-crd"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/ImplementationGuide/davinci-crd>         ]       ] )     ]
      ] ) ; #
      fhir:url [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDAppointmentBookContext"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/CRDAppointmentBookContext>
      ] ; #
      fhir:identifier ( [
    fhir:system [
    fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
    fhir:l <urn:ietf:rfc:3986>     ] ;
    fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.18.42.32" ]
      ] ) ; #
      fhir:version [ fhir:v "2.2.0-snapshot"] ; #
      fhir:name [ fhir:v "CRDAppointmentBookContext"] ; #
      fhir:title [ fhir:v "CRD CDS Hooks Specific Context for appointment-book (Logical Definition)"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:experimental [ fhir:v true] ; #
      fhir:date [ fhir:v "2026-02-19T15:54:35+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "HL7 International / Financial Management"] ; #
      fhir:contact ( [
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fm" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "CRD-specific constraints on the appointment-book CDS Hook context"] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [
    fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
    fhir:l <urn:iso:std:iso:3166>       ] ;
    fhir:code [ fhir:v "US" ]     ] )
      ] ) ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:uri [
    fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
    fhir:l <http://hl7.org/v3>     ] ;
    fhir:name [ fhir:v "RIM Mapping" ]
      ] ) ; #
      fhir:kind [ fhir:v "logical"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHookAppointmentBookContext"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHookAppointmentBookContext>
      ] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/CDSHookAppointmentBookContext"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/CDSHookAppointmentBookContext>
      ] ; #
      fhir:derivation [ fhir:v "constraint"] ; #
      fhir:snapshot [
        ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>       ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "1.0.0"       ]     ] ) ;
        ( fhir:element [
    fhir:id [ fhir:v "CDSHookAppointmentBookContext" ] ;
    fhir:path [ fhir:v "CDSHookAppointmentBookContext" ] ;
    fhir:short [ fhir:v "The context for the appointment-book hook" ] ;
    fhir:definition [ fhir:v "The context (hook specific)" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Base" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:isModifier [ fhir:v false ]     ] [
    fhir:id [ fhir:v "CDSHookAppointmentBookContext.userId" ] ;
    fhir:path [ fhir:v "CDSHookAppointmentBookContext.userId" ] ;
    fhir:short [ fhir:v "The id of the current user. Must be in the format [ResourceType]/[id]." ] ;
    fhir:definition [ fhir:v "For this hook, the user is expected to be of type Practitioner, PractitionerRole, Patient, or RelatedPerson. Patient or RelatedPerson are appropriate when a patient or their proxy are viewing the record. For example, Practitioner/abc or Patient/123." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHookAppointmentBookContext.userId" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "url"^^xsd:anyURI ;
    fhir:l fhir:url         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHookAppointmentBookContext.patientId" ] ;
    fhir:path [ fhir:v "CDSHookAppointmentBookContext.patientId" ] ;
    fhir:short [ fhir:v "The FHIR Patient.id of the current patient in context" ] ;
    fhir:definition [ fhir:v "The FHIR Patient.id of the current patient in context" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHookAppointmentBookContext.patientId" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "id"^^xsd:anyURI ;
    fhir:l fhir:id         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHookAppointmentBookContext.encounterId" ] ;
    fhir:path [ fhir:v "CDSHookAppointmentBookContext.encounterId" ] ;
    fhir:short [ fhir:v "The FHIR Encounter.id of the current encounter in context" ] ;
    fhir:definition [ fhir:v "The FHIR Encounter.id of the current encounter in context" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHookAppointmentBookContext.encounterId" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "id"^^xsd:anyURI ;
    fhir:l fhir:id         ]       ] )     ] [
    fhir:id [ fhir:v "CDSHookAppointmentBookContext.appointments" ] ;
          ( fhir:extension [
    fhir:url [
    fhir:v "http://hl7.org/fhir/tools/StructureDefinition/id-expectation"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/tools/StructureDefinition/id-expectation>         ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "optional"         ]       ] ) ;
    fhir:path [ fhir:v "CDSHookAppointmentBookContext.appointments" ] ;
    fhir:short [ fhir:v "Contains a collection of resources" ] ;
    fhir:definition [ fhir:v "A container for a collection of resources." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CDSHookAppointmentBookContext.appointments" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Bundle"^^xsd:anyURI ;
    fhir:l fhir:Bundle         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-bundle-appointment"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-bundle-appointment>         ] )       ] ) ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Entity. Role, or Act" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "cda" ] ;
    fhir:map [ fhir:v "ClinicalDocument, if bundle.type = document" ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "CDSHookAppointmentBookContext" ] ;
    fhir:path [ fhir:v "CDSHookAppointmentBookContext" ]     ] [
    fhir:id [ fhir:v "CDSHookAppointmentBookContext.appointments" ] ;
    fhir:path [ fhir:v "CDSHookAppointmentBookContext.appointments" ] ;
          ( fhir:type [
    fhir:code [
    fhir:v "Bundle"^^xsd:anyURI ;
    fhir:l fhir:Bundle         ] ;
            ( fhir:profile [
    fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-bundle-appointment"^^xsd:anyURI ;
    fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-bundle-appointment>         ] )       ] )     ] )
      ] . #