@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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://fhir.ehdsi.eu/core/DiagnosticReport/a3b4c5d6-e7f8-9012-abcd-123456789012> a fhir:DiagnosticReport ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "a3b4c5d6-e7f8-9012-abcd-123456789012"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://fhir.ehdsi.eu/core/StructureDefinition/diagnosticReport-myhealtheu-core"^^xsd:anyURI ;
       fhir:l <http://fhir.ehdsi.eu/core/StructureDefinition/diagnosticReport-myhealtheu-core>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en-GB"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Laboratory Report - John Doe</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/report-ids"^^xsd:anyURI ;
       fhir:l <http://example.org/report-ids>
     ] ;
     fhir:value [ fhir:v "LAB-2024-001" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:58410-2 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "58410-2" ] ;
       fhir:display [ fhir:v "CBC panel - Blood by Automated count" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://fhir.ehdsi.eu/core/Patient/1d4bbc93-63b7-4f2b-8f0f-8380aa138f49> ;
     fhir:reference [ fhir:v "Patient/1d4bbc93-63b7-4f2b-8f0f-8380aa138f49" ]
  ] ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2024-01-10"^^xsd:date
  ] ; # 
  fhir:issued [ fhir:v "2024-01-10T14:00:00Z"^^xsd:dateTime] ; # 
  fhir:performer ( [
     fhir:l <http://fhir.ehdsi.eu/core/Organization/ff4d98d1-69c9-43db-896e-58d11c15662c> ;
     fhir:reference [ fhir:v "Organization/ff4d98d1-69c9-43db-896e-58d11c15662c" ]
  ] ) ; # 
  fhir:result ( [
     fhir:l <http://fhir.ehdsi.eu/core/Observation/e1f2a3b4-c5d6-7890-efab-901234567890> ;
     fhir:reference [ fhir:v "Observation/e1f2a3b4-c5d6-7890-efab-901234567890" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

