@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://opennursingcoreig.com/Observation/example-qsofa> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-qsofa"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://opennursingcoreig.com/StructureDefinition/onc-qsofa" ;
       fhir:index 0 ;
       fhir:link <https://opennursingcoreig.com/StructureDefinition/onc-qsofa>
     ]
  ] ;
  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 example-qsofa</b></p><a name=\"example-qsofa\"> </a><a name=\"hcexample-qsofa\"> </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-onc-qsofa.html\">qSOFA (Quick SOFA)</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category survey}\">Survey</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 96790-1}\">SOFA Total Score</span></p><p><b>subject</b>: <a href=\"Patient-example-patient.html\">Pat Example  Female, DoB: 1948-05-20</a></p><p><b>effective</b>: 2026-01-15 08:05:00+0000</p><p><b>performer</b>: <a href=\"Practitioner-example-nurse.html\">Practitioner Alex Nurse </a></p><p><b>value</b>: 1 {score}</p></div>"
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ] ;
       fhir:Coding.code [ fhir:value "survey" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:96790-1 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "96790-1" ] ;
       fhir:Coding.display [ fhir:value "SOFA Total Score" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://opennursingcoreig.com/Patient/example-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/example-patient" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-01-15T08:05:00Z"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index 0 ;
     fhir:link <https://opennursingcoreig.com/Practitioner/example-nurse> ;
     fhir:Reference.reference [ fhir:value "Practitioner/example-nurse" ]
  ] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "{score}" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://opennursingcoreig.com/Observation/example-qsofa.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

