@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://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://hl7.org.nz/fhir/ig/bsa/DiagnosticReport/DR1> a fhir:DiagnosticReport ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "DR1"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport DR1</b></p><a name=\"DR1\"> </a><a name=\"hcDR1\"> </a><h2><span title=\"Codes:{http://loinc.org 18748-4}\">Diagnostic imaging study</span> (<span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0074 RAD}\">Radiology</span>) </h2><table class=\"grid\"><tr><td>Subject</td><td>Unable to get Patient Details</td></tr><tr><td>Reported</td><td>2005-05-16 00:00:00+0000</td></tr></table><p><b>Report Details</b></p></div>"
  ] ;
  fhir:DiagnosticReport.status [ fhir:value "final"] ;
  fhir:DiagnosticReport.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0074" ] ;
       fhir:Coding.code [ fhir:value "RAD" ]
     ]
  ] ;
  fhir:DiagnosticReport.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:18748-4 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "18748-4" ]
     ]
  ] ;
  fhir:DiagnosticReport.subject [
     fhir:Reference.type [ fhir:value "https://standards.digital.health.nz/ns/nhi-id" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.value [ fhir:value "ZKP3289" ]
     ] ;
     fhir:Reference.display [ fhir:value "Participant NHI Id" ]
  ] ;
  fhir:DiagnosticReport.issued [ fhir:value "2005-05-16T00:00:00+00:00"^^xsd:dateTime] ;
  fhir:DiagnosticReport.presentedForm [
     fhir:index 0 ;
     fhir:Attachment.contentType [ fhir:value "text/html" ] ;
     fhir:Attachment.data [ fhir:value "SGVsbG8gV29ybGQhISE="^^xsd:base64Binary ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org.nz/fhir/ig/bsa/DiagnosticReport/DR1.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

