@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 -------------------------------------------------------------------

<https://haau3.com/fhir/DiagnosticReport/haau3-diagnostic-report-lab-panel> a fhir:DiagnosticReport ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "haau3-diagnostic-report-lab-panel"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://haau3.com/fhir/StructureDefinition/haau3-diagnostic-report" ;
       fhir:index 0 ;
       fhir:link <https://haau3.com/fhir/StructureDefinition/haau3-diagnostic-report>
     ]
  ] ;
  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 haau3-diagnostic-report-lab-panel</b></p><a name=\"haau3-diagnostic-report-lab-panel\"> </a><a name=\"hchaau3-diagnostic-report-lab-panel\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-haau3-diagnostic-report.html\">haau3 Diagnostic Report</a></p></div><h2><span title=\"Codes:{http://loinc.org 24323-8}\">Comprehensive metabolic panel</span> (<span title=\"Codes:{http://loinc.org 30954-2}\">Relevant diagnostic tests/laboratory data note</span>) </h2><table class=\"grid\"><tr><td>Subject</td><td>Derrick Lin  Male, DoB: 1965-04-12 ( Medical record number (use: usual, ))</td></tr><tr><td>Relevant Time</td><td>2026-02-03 08:00:00+0000 --&gt; 2026-02-03 09:30:00+0000</td></tr><tr><td>Identifier</td><td> <code>https://haau3.com/fhir/NamingSystem/source-resource-id</code>/DiagnosticReport/example-source-record</td></tr><tr><td>Presented Forms</td><td>  text/html: PGh0bWw+PGJvZHk+RXhhbXBsZSByZXBv...</td></tr></table><p><b>Report Details</b></p></div>"
  ] ;
  fhir:DiagnosticReport.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://haau3.com/fhir/NamingSystem/source-resource-id" ] ;
     fhir:Identifier.value [ fhir:value "DiagnosticReport/example-source-record" ]
  ] ;
  fhir:DiagnosticReport.status [ fhir:value "final"] ;
  fhir:DiagnosticReport.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:30954-2 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "30954-2" ]
     ]
  ] ;
  fhir:DiagnosticReport.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:24323-8 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "24323-8" ] ;
       fhir:Coding.display [ fhir:value "Comprehensive metabolic panel" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Comprehensive metabolic panel" ]
  ] ;
  fhir:DiagnosticReport.subject [
     fhir:link <https://haau3.com/fhir/Patient/us-core-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/us-core-patient" ]
  ] ;
  fhir:DiagnosticReport.effectivePeriod [
     fhir:Period.start [ fhir:value "2026-02-03T08:00:00Z"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2026-02-03T09:30:00Z"^^xsd:dateTime ]
  ] ;
  fhir:DiagnosticReport.presentedForm [
     fhir:index 0 ;
     fhir:Attachment.contentType [ fhir:value "text/plain" ]
  ], [
     fhir:index 1 ;
     fhir:Attachment.contentType [ fhir:value "text/html" ] ;
     fhir:Attachment.data [ fhir:value "PGh0bWw+PGJvZHk+RXhhbXBsZSByZXBvcnQgcmVuZGVyaW5nPC9ib2R5PjwvaHRtbD4="^^xsd:base64Binary ]
  ] .

# - ontology header ------------------------------------------------------------

<https://haau3.com/fhir/DiagnosticReport/haau3-diagnostic-report-lab-panel.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

