@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://examplesihe.org.uk/Observation/ResultFBCRedCellCount> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ResultFBCRedCellCount"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://examplesihe.org.uk/StructureDefinition/LaboratoryResult" ;
       fhir:index -1 ;
       fhir:link <https://examplesihe.org.uk/StructureDefinition/LaboratoryResult>
     ]
  ] ;
  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 ResultFBCRedCellCount</b></p><a name=\"ResultFBCRedCellCount\"> </a><a name=\"hcResultFBCRedCellCount\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-LaboratoryResult.html\">Laboratory Result</a></p></div><p><b>basedOn</b>: <a href=\"ServiceRequest-LaboratoryOrderFBC.html\">ServiceRequest FBC - full blood count</a></p><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category laboratory}\">Laboratory</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 1022451000000103}, {http://loinc.org 789-8}\">Red blood cell count</span></p><p><b>subject</b>: <a href=\"Patient-PatientOctaviaCHISLETT.html\">Octavia CHISLETT  Female, DoB: 2008-09-20 ( National Health Plan Identifier: NHS Number#9449305552)</a></p><p><b>effective</b>: 2026-11-03 09:15:00+0000</p><p><b>issued</b>: 2026-11-03 16:05:00+0000</p><p><b>performer</b>: <a href=\"Organization-OrganizationMFT.html\">Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A)</a></p><p><b>value</b>: 4.2 10*12/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code10*12/L = '10*12/L')</span></p><p><b>interpretation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation N}\">Normal</span></p><p><b>specimen</b>: <a href=\"Specimen-SpecimenFBC.html\">Specimen: identifier = Placer Identifier: GP-SPC-000123; accessionIdentifier = Accession ID: 26H012345; status = available; type = Blood specimen; receivedTime = 2026-11-03 13:40:00+0000</a></p><h3>ReferenceRanges</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Low</b></td><td><b>High</b></td></tr><tr><td style=\"display: none\">*</td><td>3.8 10*12/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code10*12/L = '10*12/L')</span></td><td>5.8 10*12/L<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code10*12/L = '10*12/L')</span></td></tr></table></div>"
  ] ;
  fhir:Observation.basedOn [
     fhir:index -1 ;
     fhir:link <https://examplesihe.org.uk/ServiceRequest/LaboratoryOrderFBC> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/LaboratoryOrderFBC" ]
  ] ;
  fhir:Observation.status [ fhir:value "final"] ;
  fhir:Observation.category [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ] ;
       fhir:Coding.code [ fhir:value "laboratory" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a sct:1022451000000103 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "1022451000000103" ] ;
       fhir:Coding.display [ fhir:value "Red blood cell count" ]
     ], [
       fhir:index -1 ;
       a loinc:789-8 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "789-8" ] ;
       fhir:Coding.display [ fhir:value "Erythrocytes [#/volume] in Blood by Automated count" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <https://examplesihe.org.uk/Patient/PatientOctaviaCHISLETT> ;
     fhir:Reference.reference [ fhir:value "Patient/PatientOctaviaCHISLETT" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-11-03T09:15:00Z"^^xsd:dateTime] ;
  fhir:Observation.issued [ fhir:value "2026-11-03T16:05:00Z"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index -1 ;
     fhir:link <https://examplesihe.org.uk/Organization/OrganizationMFT> ;
     fhir:Reference.reference [ fhir:value "Organization/OrganizationMFT" ]
  ] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "4.2"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "10*12/L" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "10*12/L" ]
  ] ;
  fhir:Observation.interpretation [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" ] ;
       fhir:Coding.code [ fhir:value "N" ] ;
       fhir:Coding.display [ fhir:value "Normal" ]
     ]
  ] ;
  fhir:Observation.specimen [
     fhir:link <https://examplesihe.org.uk/Specimen/SpecimenFBC> ;
     fhir:Reference.reference [ fhir:value "Specimen/SpecimenFBC" ]
  ] ;
  fhir:Observation.referenceRange [
     fhir:index -1 ;
     fhir:Observation.referenceRange.low [
       fhir:Quantity.value [ fhir:value "3.8"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "10*12/L" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "10*12/L" ]
     ] ;
     fhir:Observation.referenceRange.high [
       fhir:Quantity.value [ fhir:value "5.8"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "10*12/L" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "10*12/L" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://examplesihe.org.uk/Observation/ResultFBCRedCellCount.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

