@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://digi-uw.github.io/openelis-global2-fhir-ig/Observation/8330c79d-ccd9-5ef4-876d-2b176e5e86a5> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "8330c79d-ccd9-5ef4-876d-2b176e5e86a5"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-observation" ;
       fhir:index -1 ;
       fhir:link <https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-observation>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  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: Observation 8330c79d-ccd9-5ef4-876d-2b176e5e86a5</b></p><a name=\"8330c79d-ccd9-5ef4-876d-2b176e5e86a5\"> </a><a name=\"hc8330c79d-ccd9-5ef4-876d-2b176e5e86a5\"> </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-openelis-observation.html\">OpenELIS Observation</a></p></div><p><b>identifier</b>: <a href=\"NamingSystem-oe-ns-result-uuid.html\" title=\"UUID of the OpenELIS result. Carried on Observation.\">OEResultUUID</a>/8330c79d-ccd9-5ef4-876d-2b176e5e86a5 (use: usual), <a href=\"NamingSystem-oe-ns-facility-id.html\" title=\"Identifier of the OpenELIS site (org.openelisglobal.facility.id). Added to most resources OpenELIS produces with the site Organization as assigner.\">OEFacilityId</a>/EDH-LAB (use: official)</p><p><b>basedOn</b>: <a href=\"ServiceRequest-3b2c3407-5430-5878-9c61-c4c9b9c013c4.html\">ServiceRequest HBsAg</a></p><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 5196-1}\">HBsAg</span></p><p><b>subject</b>: <a href=\"Patient-5b6f3f86-2a44-4c3c-9d0c-6f0c4a2d7e11.html\">Grace Banda (official) Female, DoB: 1991-04 ( http://openelis-global.org/pat_uuid#OEPatientUUID#5b6f3f86-2a44-4c3c-9d0c-6f0c4a2d7e11 (use: usual))</a></p><p><b>effective</b>: 2026-09-28 14:20:00+1000</p><p><b>issued</b>: 2026-09-28 14:20:00+1000</p><p><b>value</b>: <span title=\"Codes:{http://loinc.org LA6577-6}, {http://openelis-global.org/dictionary_entry Negative}\">Negative</span></p><p><b>specimen</b>: <a href=\"Specimen-97b37d86-fd55-529b-bbd7-4766f3988fab.html\">Specimen: identifier = http://openelis-global.org/sampleItem_uuid#OESampleItemUUID#97b37d86-fd55-529b-bbd7-4766f3988fab (use: usual),http://openelis-global.org/facility_id#OEFacilityId#EDH-LAB (use: official); accessionIdentifier = http://openelis-global.org/sampleItem_labNo#OESampleItemLabNumber#EDH26000000417-1 (use: usual); status = available; type = Serum; receivedTime = 2026-09-28 09:30:00+1000</a></p></div>"
  ] ;
  fhir:Observation.identifier [
     fhir:index -1 ;
     fhir:Identifier.use [ fhir:value "usual" ] ;
     fhir:Identifier.system [ fhir:value "http://openelis-global.org/result_uuid" ] ;
     fhir:Identifier.value [ fhir:value "8330c79d-ccd9-5ef4-876d-2b176e5e86a5" ]
  ], [
     fhir:index -1 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.system [ fhir:value "http://openelis-global.org/facility_id" ] ;
     fhir:Identifier.value [ fhir:value "EDH-LAB" ] ;
     fhir:Identifier.assigner [
       fhir:link <https://digi-uw.github.io/openelis-global2-fhir-ig/Organization/a845f2db-10e5-5117-ac75-553f615e301a> ;
       fhir:Reference.reference [ fhir:value "Organization/a845f2db-10e5-5117-ac75-553f615e301a" ]
     ]
  ] ;
  fhir:Observation.basedOn [
     fhir:index -1 ;
     fhir:link <https://digi-uw.github.io/openelis-global2-fhir-ig/ServiceRequest/3b2c3407-5430-5878-9c61-c4c9b9c013c4> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/3b2c3407-5430-5878-9c61-c4c9b9c013c4" ]
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a loinc:5196-1 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "5196-1" ] ;
       fhir:Coding.display [ fhir:value "Hepatitis B virus surface Ag [Presence] in Serum or Plasma by Immunoassay" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "HBsAg" ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://digi-uw.github.io/openelis-global2-fhir-ig/Patient/5b6f3f86-2a44-4c3c-9d0c-6f0c4a2d7e11> ;
     fhir:Reference.reference [ fhir:value "Patient/5b6f3f86-2a44-4c3c-9d0c-6f0c4a2d7e11" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-09-28T14:20:00+10:00"^^xsd:dateTime] ;
  fhir:Observation.issued [ fhir:value "2026-09-28T14:20:00+10:00"^^xsd:dateTime] ;
  fhir:Observation.valueCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a loinc:LA6577-6 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "LA6577-6" ] ;
       fhir:Coding.display [ fhir:value "Negative" ]
     ], [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://openelis-global.org/dictionary_entry" ] ;
       fhir:Coding.code [ fhir:value "Negative" ] ;
       fhir:Coding.display [ fhir:value "Negative" ]
     ]
  ] ;
  fhir:Observation.specimen [
     fhir:link <https://digi-uw.github.io/openelis-global2-fhir-ig/Specimen/97b37d86-fd55-529b-bbd7-4766f3988fab> ;
     fhir:Reference.reference [ fhir:value "Specimen/97b37d86-fd55-529b-bbd7-4766f3988fab" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://digi-uw.github.io/openelis-global2-fhir-ig/Observation/8330c79d-ccd9-5ef4-876d-2b176e5e86a5.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

