@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://dips.no/fhir/R4/Observation/dips-QSOFAScore-create> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "dips-QSOFAScore-create"] ;
  fhir:Resource.meta [
     fhir:Meta.versionId [ fhir:value "0" ] ;
     fhir:Meta.lastUpdated [ fhir:value "2014-01-30T11:35:23+00:00"^^xsd:dateTime ] ;
     fhir:Meta.source [ fhir:value "dips" ] ;
     fhir:Meta.profile [
       fhir:value "http://dips.no/fhir/StructureDefinition/DIPSVitalSignsObservationQSOFAScore" ;
       fhir:index 0 ;
       fhir:link <http://dips.no/fhir/StructureDefinition/DIPSVitalSignsObservationQSOFAScore>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Observation dips-QSOFAScore-create</b></p><a name=\"dips-QSOFAScore-create\"> </a><a name=\"hcdips-QSOFAScore-create\"> </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\">version: 0; Last updated: 2014-01-30 11:35:23+0000; </p><p style=\"margin-bottom: 0px\">Information Source: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.no.basis@2.1.2&amp;canonical=http://fhir.org/packages/hl7.fhir.no.basis/dips\">dips</a></p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-DIPSVitalSignsObservationQSOFAScore.html\">DIPSVitalSignsObservationQSOFAScore</a></p></div><p><b>DIPSJournalId</b>: <a href=\"DocumentReference-ako124.html\">DocumentReference: status = current; docStatus = final</a></p><p><b>DIPSVitalSignsLocation</b>: <a href=\"CodeSystem-DIPSLocation.html#DIPSLocation-School\">DIPSLocation: School</a> (At School)</p><p><b>identifier</b>: <code>http://dips.no/fhir/namingsystem/dips-RelativeEhrUri</code>/ehr:compositions/6c41D37f-f173-45d6-8504-17c40454b9ee::default::1/content[openEHR-EHR-OBSERVATION.news2.v1 and name/value='NEWS2-Basic-Vitals'], <code>http://dips.no/fhir/namingsystem/dips-ObservationId</code>/dfdcd132-f0c0-e84a-a9b0-937bcb93c008, <code>http://dips.no/fhir/namingsystem/dips-VersionIndependentId</code>/bd96cd32-3bdb-f448-9d65-265828cae8c8, <code>http://dips.no/fhir/namingsystem/externalId</code>/testBPexternalId1</p><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://snomed.info/sct 63451000122107}\">qSOFA score (observable entity)</span></p><p><b>subject</b>: <a href=\"Patient-cdp1000239.html\">Anonymous Patient (no stated gender), DoB Unknown ( http://dips.no/fhir/namingsystem/dips-patientid#1000239)</a></p><p><b>effective</b>: 2021-10-25 09:30:33+0530</p><p><b>performer</b>: </p><ul><li><a href=\"PractitionerRole-agb1000204.html\">PractitionerRole: extension = Ward,Epikrise,id: urn:oid:1.3.6.1.4.1.9038.70.4#1000057 (use: official, ),id: urn:oid:2.16.578.1.12.4.1.4.101#970948139 (use: official, ),Habiliteringspost; identifier = urn:oid:1.3.6.1.4.1.9038.51#HA1 (use: official, ),urn:oid:1.3.6.1.4.1.9038.51.1#1000204 (use: official, ); telecom = ph: 75505000(Work)</a></li><li><a href=\"Organization-Organizationaks2.html\">Organization Testsykehuset Hf</a></li></ul><p><b>value</b>: 3 ScoreOf<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code{ScoreOf} = '{ScoreOf}')</span></p><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://dips.no/fhir/R4/CodeSystem/DIPSQSOFAcomponentCodeSystem QsofaResRate}\">QsofaResRate</span></p><p><b>value</b>: <span title=\"Codes:{http://dips.no/fhir/CodeSystem/DIPSQSOFAScoreResRateCodeSystem 1}\">1 - Respirasjonsfrekvens ≥22</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://dips.no/fhir/R4/CodeSystem/DIPSQSOFAcomponentCodeSystem QsofaSystolicBP}\">QsofaSystolicBP</span></p><p><b>value</b>: <span title=\"Codes:{http://dips.no/fhir/CodeSystem/DIPSQSOFAScoreBPCodeSystem 1}\">1 - Systolisk blodtrykk ≤100</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title=\"Codes:{http://dips.no/fhir/R4/CodeSystem/DIPSQSOFAcomponentCodeSystem QsofaMentalStatus}\">QsofaMentalStatus</span></p><p><b>value</b>: <span title=\"Codes:{http://dips.no/fhir/CodeSystem/DIPSQSOFAScoreMentalSatusCodeSystem 1}\">1 - Endret mental status</span></p></blockquote></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "http://dips.no/fhir/StructureDefinition/DIPSJournalId" ] ;
     fhir:Extension.valueReference [
       fhir:link <http://dips.no/fhir/R4/DocumentReference/ako124> ;
       fhir:Reference.reference [ fhir:value "DocumentReference/ako124" ] ;
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "http://dips.no/fhir/namingsystem/dips-journalid" ] ;
         fhir:Identifier.value [ fhir:value "4325645" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "http://dips.no/fhir/StructureDefinition/DIPSLocation" ] ;
     fhir:Extension.valueCoding [
       fhir:Coding.system [ fhir:value "http://dips.no/fhir/R4/CodeSystem/DIPSLocation" ] ;
       fhir:Coding.code [ fhir:value "School" ] ;
       fhir:Coding.display [ fhir:value "At School" ]
     ]
  ] ;
  fhir:Observation.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://dips.no/fhir/namingsystem/dips-RelativeEhrUri" ] ;
     fhir:Identifier.value [ fhir:value "ehr:compositions/6c41D37f-f173-45d6-8504-17c40454b9ee::default::1/content[openEHR-EHR-OBSERVATION.news2.v1 and name/value='NEWS2-Basic-Vitals']" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.system [ fhir:value "http://dips.no/fhir/namingsystem/dips-ObservationId" ] ;
     fhir:Identifier.value [ fhir:value "dfdcd132-f0c0-e84a-a9b0-937bcb93c008" ]
  ], [
     fhir:index 2 ;
     fhir:Identifier.system [ fhir:value "http://dips.no/fhir/namingsystem/dips-VersionIndependentId" ] ;
     fhir:Identifier.value [ fhir:value "bd96cd32-3bdb-f448-9d65-265828cae8c8" ]
  ], [
     fhir:index 3 ;
     fhir:Identifier.system [ fhir:value "http://dips.no/fhir/namingsystem/externalId" ] ;
     fhir:Identifier.value [ fhir:value "testBPexternalId1" ]
  ] ;
  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:Coding.display [ fhir:value "Survey" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:63451000122107 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "63451000122107" ] ;
       fhir:Coding.display [ fhir:value "qSOFA score (observable entity)" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://dips.no/fhir/R4/Patient/cdp1000239> ;
     fhir:Reference.reference [ fhir:value "Patient/cdp1000239" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "http://dips.no/fhir/namingsystem/dips-patientid" ] ;
       fhir:Identifier.value [ fhir:value "1000239" ]
     ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2021-10-25T09:30:33+05:30"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index 0 ;
     fhir:link <http://dips.no/fhir/R4/PractitionerRole/agb1000204> ;
     fhir:Reference.reference [ fhir:value "PractitionerRole/agb1000204" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "urn:oid:1.3.6.1.4.1.9038.51.1" ] ;
       fhir:Identifier.value [ fhir:value "1000204" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:link <http://dips.no/fhir/R4/Organization/Organizationaks2> ;
     fhir:Reference.reference [ fhir:value "Organization/Organizationaks2" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "urn:oid:1.3.6.1.4.1.9038.70.1" ] ;
       fhir:Identifier.value [ fhir:value "2" ]
     ]
  ] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "3"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "ScoreOf" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "{ScoreOf}" ]
  ] ;
  fhir:Observation.component [
     fhir:index 0 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://dips.no/fhir/R4/CodeSystem/DIPSQSOFAcomponentCodeSystem" ] ;
         fhir:Coding.code [ fhir:value "QsofaResRate" ] ;
         fhir:Coding.display [ fhir:value "QsofaResRate" ]
       ]
     ] ;
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://dips.no/fhir/CodeSystem/DIPSQSOFAScoreResRateCodeSystem" ] ;
         fhir:Coding.code [ fhir:value "1" ] ;
         fhir:Coding.display [ fhir:value "Respirasjonsfrekvens ≥22" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "1 - Respirasjonsfrekvens ≥22" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://dips.no/fhir/R4/CodeSystem/DIPSQSOFAcomponentCodeSystem" ] ;
         fhir:Coding.code [ fhir:value "QsofaSystolicBP" ] ;
         fhir:Coding.display [ fhir:value "QsofaSystolicBP" ]
       ]
     ] ;
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://dips.no/fhir/CodeSystem/DIPSQSOFAScoreBPCodeSystem" ] ;
         fhir:Coding.code [ fhir:value "1" ] ;
         fhir:Coding.display [ fhir:value "Systolisk blodtrykk ≤100" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "1 - Systolisk blodtrykk ≤100" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://dips.no/fhir/R4/CodeSystem/DIPSQSOFAcomponentCodeSystem" ] ;
         fhir:Coding.code [ fhir:value "QsofaMentalStatus" ] ;
         fhir:Coding.display [ fhir:value "QsofaMentalStatus" ]
       ]
     ] ;
     fhir:Observation.component.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://dips.no/fhir/CodeSystem/DIPSQSOFAScoreMentalSatusCodeSystem" ] ;
         fhir:Coding.code [ fhir:value "1" ] ;
         fhir:Coding.display [ fhir:value "Endret mental status" ]
       ] ;
       fhir:CodeableConcept.text [ fhir:value "1 - Endret mental status" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://dips.no/fhir/R4/Observation/dips-QSOFAScore-create.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

