@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 -------------------------------------------------------------------

<http://fhir.nphl.go.ke/DiagnosticReport/example-cbc-diagnostic-report> a fhir:DiagnosticReport ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-cbc-diagnostic-report"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.nphl.go.ke/StructureDefinition/KenyaDiagnosticReport"^^xsd:anyURI ;
       fhir:link <http://fhir.nphl.go.ke/StructureDefinition/KenyaDiagnosticReport>
     ] )
  ] ; # 
  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: DiagnosticReport example-cbc-diagnostic-report</b></p><a name=\"example-cbc-diagnostic-report\"> </a><a name=\"hcexample-cbc-diagnostic-report\"> </a><a name=\"example-cbc-diagnostic-report-en-US\"> </a><h2><span title=\"Codes:{http://loinc.org 58410-2}\">CBC panel - Blood by Automated count</span> </h2><table class=\"grid\"><tr><td>Subject</td><td>John Patient  Male, DoB: 1990-01-01 ( National unique individual identifier)</td></tr><tr><td>When For</td><td>2021-01-01</td></tr><tr><td>Performer</td><td> <a href=\"Organization-example-lab-organization--cgrh.html\">Organization Coast General Teaching and Referal Hospital</a></td></tr><tr><td>Identifier</td><td> cbc-diagnostic-report-1</td></tr></table><p><b>Report Details</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>Value</b></td><td><b>Flags</b></td></tr><tr><td><a href=\"Observation-example-cbc-observation.html\"><span title=\"Codes:{http://loinc.org 58410-2}\">CBC panel - Blood by Automated count</span></a></td><td>0</td><td>Final</td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:value [ fhir:v "cbc-diagnostic-report-1" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:58410-2 ;
       fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "58410-2" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:link <http://fhir.nphl.go.ke/Patient/example-cbc-patient> ;
     fhir:reference [ fhir:v "Patient/example-cbc-patient" ]
  ] ; # 
  fhir:effective [ fhir:v "2021-01-01"^^xsd:date] ; # 
  fhir:performer ( [
     fhir:link <http://fhir.nphl.go.ke/Organization/example-lab-organization--cgrh> ;
     fhir:reference [ fhir:v "Organization/example-lab-organization--cgrh" ]
  ] ) ; # 
  fhir:specimen ( [
     fhir:link <http://fhir.nphl.go.ke/Specimen/example-cbc-specimen> ;
     fhir:reference [ fhir:v "Specimen/example-cbc-specimen" ]
  ] ) ; # 
  fhir:result ( [
     fhir:link <http://fhir.nphl.go.ke/Observation/example-cbc-observation> ;
     fhir:reference [ fhir:v "Observation/example-cbc-observation" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

