0.1.0 - ci-build

PatientScheduling - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: ExampleTaskBookAppointmentCompleted - TTL Representation

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:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "task-book-appt-ba-01JZ5Y7Y9VQ2"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://example.org/StructureDefinition/appointment-coordination-task"^^xsd:anyURI ;
fhir:l <http://example.org/StructureDefinition/appointment-coordination-task>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task task-book-appt-ba-01JZ5Y7Y9VQ2</b></p><a name=\"task-book-appt-ba-01JZ5Y7Y9VQ2\"> </a><a name=\"hctask-book-appt-ba-01JZ5Y7Y9VQ2\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-appointment-coordination-task.html\">Appointment Coordination Task</a></p></div><p><b>status</b>: Completed</p><p><b>businessStatus</b>: <span title=\"Codes:{http://example.org/CodeSystem/appointment-booking-outcome booked}\">Booked</span></p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://example.org/CodeSystem/appointment-coordination-task-type book-appointment}\">Book appointment</span></p><p><b>focus</b>: <a href=\"Appointment-appt-2026-01-12-0900-jdoe.html\">Appointment: identifier = https://haau3.com/identifiers/booking-attempt#ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9; status = booked; description = Primary care visit; start = 2026-01-12 09:00:00-0500; end = 2026-01-12 09:30:00-0500</a></p><p><b>for</b>: <a href=\"Patient-patient-jane-doe.html\">Jane Doe  Female, DoB: 1990-01-01</a></p><p><b>authoredOn</b>: 2026-01-10 14:22:00-0500</p><p><b>requester</b>: <a href=\"Patient-patient-jane-doe.html\">Jane Doe  Female, DoB: 1990-01-01</a></p><p><b>owner</b>: <a href=\"Patient-patient-jane-doe.html\">Jane Doe  Female, DoB: 1990-01-01</a></p><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:\">booking-state</span></p><p><b>value</b>: ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9</p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:\">booking-deeplink</span></p><p><b>value</b>: <a href=\"https://provider.example.org/scheduling/book?slot=slot-2026-01-12-0900&amp;state=ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9\">https://provider.example.org/scheduling/book?slot=slot-2026-01-12-0900&amp;state=ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9</a></p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:\">provider-confirmation-id</span></p><p><b>value</b>: CONF-4839201</p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:businessStatus [
    ( fhir:coding [
fhir:system [
fhir:v "http://example.org/CodeSystem/appointment-booking-outcome"^^xsd:anyURI ;
fhir:l <http://example.org/CodeSystem/appointment-booking-outcome>       ] ;
fhir:code [ fhir:v "booked" ]     ] ) ;
fhir:text [ fhir:v "Booked" ]
  ] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [
fhir:v "http://example.org/CodeSystem/appointment-coordination-task-type"^^xsd:anyURI ;
fhir:l <http://example.org/CodeSystem/appointment-coordination-task-type>       ] ;
fhir:code [ fhir:v "book-appointment" ]     ] ) ;
fhir:text [ fhir:v "Book appointment" ]
  ] ; # 
  fhir:focus [
fhir:l fhir:Appointment/appt-2026-01-12-0900-jdoe ;
fhir:reference [ fhir:v "Appointment/appt-2026-01-12-0900-jdoe" ]
  ] ; # 
  fhir:for [
fhir:l fhir:Patient/patient-jane-doe ;
fhir:reference [ fhir:v "Patient/patient-jane-doe" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2026-01-10T14:22:00-05:00"^^xsd:dateTime] ; # 
  fhir:requester [
fhir:l fhir:Patient/patient-jane-doe ;
fhir:reference [ fhir:v "Patient/patient-jane-doe" ]
  ] ; # 
  fhir:owner [
fhir:l fhir:Patient/patient-jane-doe ;
fhir:reference [ fhir:v "Patient/patient-jane-doe" ]
  ] ; # 
  fhir:output ( [
fhir:type [
fhir:text [ fhir:v "booking-state" ]     ] ;
fhir:value [
a fhir:String ;
fhir:v "ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9"     ]
  ] [
fhir:type [
fhir:text [ fhir:v "booking-deeplink" ]     ] ;
fhir:value [
a fhir:Url ;
fhir:v "https://provider.example.org/scheduling/book?slot=slot-2026-01-12-0900&state=ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9"^^xsd:anyURI ;
fhir:l <https://provider.example.org/scheduling/book?slot=slot-2026-01-12-0900&state=ba_01JZ5Y7Y9VQ2K3M4N5P6Q7R8S9>     ]
  ] [
fhir:type [
fhir:text [ fhir:v "provider-confirmation-id" ]     ] ;
fhir:value [
a fhir:String ;
fhir:v "CONF-4839201"     ]
  ] ) . #