@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 -------------------------------------------------------------------

<http://hl7.org/fhir/uv/pc-incubator/ClinicalAssessment/example> a fhir:ClinicalAssessment ;
  fhir:resourceDefinition http://hl7.org/fhir/StructureDefinition/ClinicalAssessment|0.1.0 ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  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: ClinicalAssessment example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><p><b>identifier</b>: 12345</p><p><b>status</b>: Completed</p><p><b>description</b>: This 26 yo male patient is brought into ER by ambulance after being involved in a motor vehicle accident</p><p><b>subject</b>: <a href=\"Patient/example\">Patient/example</a></p><p><b>encounter</b>: <a href=\"Encounter/example\">Encounter/example</a></p><p><b>effective</b>: 2014-12-06 20:00:00+1100 --&gt; 2014-12-06 22:33:00+1100</p><p><b>date</b>: 2014-12-06 22:33:00+1100</p><p><b>performer</b>: <a href=\"Practitioner/example\">Practitioner/example</a></p><p><b>problem</b>: MVA</p><p><b>summary</b>: </p><div><p>provisional diagnoses of laceration of head and traumatic brain injury (TBI)</p>\n</div><blockquote><p><b>finding</b></p><h3>Items</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Concept</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/sid/icd-9 850.0}\">850.0</span></td></tr></table></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:value [ fhir:v "12345" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:description [ fhir:v "This 26 yo male patient is brought into ER by ambulance after being involved in a motor vehicle accident"] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/pc-incubator/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://hl7.org/fhir/uv/pc-incubator/Encounter/example> ;
     fhir:reference [ fhir:v "Encounter/example" ]
  ] ; # 
  fhir:effective [
     a fhir:Period ;
     fhir:start [ fhir:v "2014-12-06T20:00:00+11:00"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2014-12-06T22:33:00+11:00"^^xsd:dateTime ]
  ] ; # 
  fhir:date [ fhir:v "2014-12-06T22:33:00+11:00"^^xsd:dateTime] ; # 
  fhir:performer [
     fhir:l <http://hl7.org/fhir/uv/pc-incubator/Practitioner/example> ;
     fhir:reference [ fhir:v "Practitioner/example" ]
  ] ; # 
  fhir:problem ( [
     fhir:display [ fhir:v "MVA" ]
  ] ) ; #  todo: reference to condition with snomed code 418399005 : Motor vehicle accident (event) 
  fhir:summary [ fhir:v "provisional diagnoses of laceration of head and traumatic brain injury (TBI)"] ; # 
#   <investigation>
#    <code>
#      <text value="Initial Examination"/>
#    </code>
#    <item>
#      <display value="deep laceration of the scalp (left temporo-occipital)"/>
#    </item>
#    <item>
#      <display value="decreased level of consciousness"/>
#    </item>
#    <item>
#      <display value="disoriented to time and place"/>
#    </item>
#    <item>
#      <display value="restless"/>
#    </item>
#  </investigation>
#  
  fhir:finding ( [
     fhir:item [
       fhir:concept [
         fhir:coding ( [
           fhir:system [
             fhir:v "http://hl7.org/fhir/sid/icd-9"^^xsd:anyURI ;
             fhir:l <http://hl7.org/fhir/sid/icd-9>
           ] ;
           fhir:code [ fhir:v "850.0" ]
         ] )
       ]
     ]
  ] ) . # 

<http://hl7.org/fhir/uv/pc-incubator/Patient/example> a fhir:Uv .

<http://hl7.org/fhir/uv/pc-incubator/Encounter/example> a fhir:Uv .

<http://hl7.org/fhir/uv/pc-incubator/Practitioner/example> a fhir:Uv .

# -------------------------------------------------------------------------------------

