1.0.1 - release Switzerland flag

KisimScheduling - Local Development build (v1.0.1). See the Directory of published versions

: Example of a ServiceRequest after appointment booking - TTL Representation

Raw ttl | Download


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

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

 a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ServiceRequestWithContainedPatient"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://fhir.kisimdocs.ch/ig/KisimScheduling/StructureDefinition/KisimSchedulingServiceRequest"^^xsd:anyURI ;
fhir:link <http://fhir.kisimdocs.ch/ig/KisimScheduling/StructureDefinition/KisimSchedulingServiceRequest>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: ServiceRequest</b><a name=\"ServiceRequestWithContainedPatient\"> </a></p><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\">Resource ServiceRequest &quot;ServiceRequestWithContainedPatient&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-KisimSchedulingServiceRequest.html\">KisimSchedulingServiceRequest</a></p></div><p><b>identifier</b>: id: yourproduct_id</p><p><b>status</b>: active</p><p><b>intent</b>: plan</p><p><b>subject</b>: <a name=\"JamesBondInline\"> </a></p><blockquote><p/><p><a name=\"JamesBondInline\"> </a></p><p><b>name</b>: James Bond </p><p><b>telecom</b>: ph: 0792387805(MOBILE), ph: 0441234567(HOME), ph: 0441234567(WORK), <a href=\"mailto:test@test.com\">test@test.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1950-01-01</p><p><b>address</b>: TestStrasse 12 Baden 5400 (HOME)</p></blockquote><p><b>requester</b>: <a name=\"JamesBondInline\"> </a></p><blockquote><p/><p><a name=\"JamesBondInline\"> </a></p><p><b>name</b>: James Bond </p><p><b>telecom</b>: ph: 0792387805(MOBILE), ph: 0441234567(HOME), ph: 0441234567(WORK), <a href=\"mailto:test@test.com\">test@test.com</a></p><p><b>gender</b>: male</p><p><b>birthDate</b>: 1950-01-01</p><p><b>address</b>: TestStrasse 12 Baden 5400 (HOME)</p></blockquote><p><b>supportingInfo</b>: <a href=\"Appointment-BookedAppointment.html\">Appointment/BookedAppointment</a></p><hr/><blockquote><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>James Bond </b> male, DoB: 1950-01-01</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Details:</td><td colspan=\"3\"><ul><li>ph: 0792387805(MOBILE)</li><li>ph: 0441234567(HOME)</li><li>ph: 0441234567(WORK)</li><li><a href=\"mailto:test@test.com\">test@test.com</a></li><li>TestStrasse 12 Baden 5400 (HOME)</li></ul></td></tr></table></blockquote></div>"
  ] ; # 
  fhir:contained ( [
a fhir:Patient ;
fhir:id [ fhir:v "JamesBondInline" ] ;
    ( fhir:name [
fhir:family [ fhir:v "Bond" ] ;
      ( fhir:given [ fhir:v "James" ] )     ] ) ;
    ( fhir:telecom [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0792387805" ] ;
fhir:use [ fhir:v "mobile" ]     ] [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0441234567" ] ;
fhir:use [ fhir:v "home" ]     ] [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0441234567" ] ;
fhir:use [ fhir:v "work" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "test@test.com" ]     ] ) ;
fhir:gender [ fhir:v "male" ] ;
fhir:birthDate [ fhir:v "1950-01-01"^^xsd:date ] ;
    ( fhir:address [
fhir:use [ fhir:v "home" ] ;
      ( fhir:line [ fhir:v "TestStrasse 12" ] ) ;
fhir:city [ fhir:v "Baden" ] ;
fhir:postalCode [ fhir:v "5400" ]     ] )
  ] ) ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "http://yourproduct-example.com/fhir/apps/referralids"^^xsd:anyURI ] ;
fhir:value [ fhir:v "yourproduct_id" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "plan"] ; # 
  fhir:subject [
fhir:reference [ fhir:v "#JamesBondInline" ]
  ] ; # 
  fhir:requester [
fhir:reference [ fhir:v "#JamesBondInline" ]
  ] ; # 
  fhir:supportingInfo ( [
fhir:reference [ fhir:v "Appointment/BookedAppointment" ]
  ] ) . #