Using CQL With FHIR
2.0.0 - STU 2 International flag

Publication Build: This will be filled in by the publication tooling

: Example Patient - TTL Representation

Page standards status: Informative

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:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Alana Asdf  (no stated gender), DoB: 1993-06-14</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">Somewhere </td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:name ( [
fhir:family [ fhir:v "Asdf" ] ;
    ( fhir:given [ fhir:v "Alana" ] )
  ] ) ; # 
  fhir:birthDate [ fhir:v "1993-06-14"^^xsd:date] ; # 
  fhir:address ( [
    ( fhir:line [ fhir:v "Somewhere" ] )
  ] ) . #