@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/Bundle/Message-CRP-Report-Example> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Message-CRP-Report-Example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://examplesihe.org.uk/StructureDefinition/BundleMessage" ;
       fhir:index -1 ;
       fhir:link <https://examplesihe.org.uk/StructureDefinition/BundleMessage>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:Bundle.identifier [
     fhir:Identifier.value [ fhir:value "NHSE-EX-0002" ]
  ] ;
  fhir:Bundle.type [ fhir:value "message"] ;
  fhir:Bundle.timestamp [ fhir:value "2022-03-08T12:09:00+00:00"^^xsd:dateTime] ;
  fhir:Bundle.entry [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:3a88677e-14b3-5361-a8ef-79d4fd6f5271" ] ;
     fhir:Bundle.entry.resource <urn:uuid:3a88677e-14b3-5361-a8ef-79d4fd6f5271>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5" ] ;
     fhir:Bundle.entry.resource <urn:uuid:bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:84c94bb1-4336-5607-9124-6b82052db22a" ] ;
     fhir:Bundle.entry.resource <urn:uuid:84c94bb1-4336-5607-9124-6b82052db22a>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:0cdeab88-67e7-5686-917c-8acdc1afea8d" ] ;
     fhir:Bundle.entry.resource <urn:uuid:0cdeab88-67e7-5686-917c-8acdc1afea8d>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:e1fae66a-128e-57f2-a3c0-41647ca6076b" ] ;
     fhir:Bundle.entry.resource <urn:uuid:e1fae66a-128e-57f2-a3c0-41647ca6076b>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:91ceb301-c1ed-55df-9a11-2210056014ee" ] ;
     fhir:Bundle.entry.resource <urn:uuid:91ceb301-c1ed-55df-9a11-2210056014ee>
  ], [
     fhir:index -1 ;
     fhir:Bundle.entry.fullUrl [ fhir:value "urn:uuid:ca9ac56e-7305-5f9f-9e3e-01fd746b0384" ] ;
     fhir:Bundle.entry.resource <urn:uuid:ca9ac56e-7305-5f9f-9e3e-01fd746b0384>
  ] .

<urn:uuid:3a88677e-14b3-5361-a8ef-79d4fd6f5271> a fhir:MessageHeader ;
  fhir:Resource.id [ fhir:value "3a88677e-14b3-5361-a8ef-79d4fd6f5271"] ;
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-03-08T12:09:00+00:00"^^xsd:dateTime ] ;
     fhir:Meta.profile [
       fhir:value "https://examplesihe.org.uk/StructureDefinition/MessageHeader" ;
       fhir:index -1 ;
       fhir:link <https://examplesihe.org.uk/StructureDefinition/MessageHeader>
     ]
  ] ;
  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\"><a name=\"MessageHeader_3a88677e-14b3-5361-a8ef-79d4fd6f5271\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader 3a88677e-14b3-5361-a8ef-79d4fd6f5271</b></p><a name=\"3a88677e-14b3-5361-a8ef-79d4fd6f5271\"> </a><a name=\"hc3a88677e-14b3-5361-a8ef-79d4fd6f5271\"> </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\">Last updated: 2022-03-08 12:09:00+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-MessageHeader.html\">Document Message (MessageHeader)</a></p></div><p><b>event</b>: <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-v2-0003.html#v2-0003-R01\">event: R01</a> (ORU/ACK - Unsolicited transmission of an observation message)</p><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td><td><b>Receiver</b></td></tr><tr><td style=\"display: none\">*</td><td>GPSYSTEM</td><td>urn:hl7-v2:GPSYSTEM</td><td>Identifier: <a href=\"NamingSystem-ods-organization-code-namingsystem.html\" title=\"The identifier system for an Organisation registered with the Organisation Data Service (ODS).\">ODS Organisation Code</a>/B82033</td></tr></table><p><b>sender</b>: Identifier: <a href=\"NamingSystem-ods-organization-code-namingsystem.html\" title=\"The identifier system for an Organisation registered with the Organisation Data Service (ODS).\">ODS Organisation Code</a>/Y8J7D</p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>LIMS</td><td>urn:hl7-v2:LIMS</td></tr></table><p><b>focus</b>: <a href=\"Bundle-Document-CRP-Report-Example.html#urn-uuid-ca9ac56e-7305-5f9f-9e3e-01fd746b0384\">Diagnostic Report for 'Diagnostic studies report' for '-&gt;ONE John EDITESTPATIENT  Male, DoB: 1925-01-27 ( Medical record number: RCB4719263)'</a></p><p><b>definition</b>: <a href=\"MessageDefinition-laboratory-result.html\">Laboratory Result (R01)</a></p></div>"
  ] ;
  fhir:MessageHeader.eventCoding [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0003" ] ;
     fhir:Coding.code [ fhir:value "R01" ] ;
     fhir:Coding.display [ fhir:value "ORU/ACK - Unsolicited transmission of an observation message" ]
  ] ;
  fhir:MessageHeader.destination [
     fhir:index -1 ;
     fhir:MessageHeader.destination.name [ fhir:value "GPSYSTEM" ] ;
     fhir:MessageHeader.destination.endpoint [ fhir:value "urn:hl7-v2:GPSYSTEM" ] ;
     fhir:MessageHeader.destination.receiver [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
         fhir:Identifier.value [ fhir:value "B82033" ]
       ]
     ]
  ] ;
  fhir:MessageHeader.sender [
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
       fhir:Identifier.value [ fhir:value "Y8J7D" ]
     ]
  ] ;
  fhir:MessageHeader.source [
     fhir:MessageHeader.source.name [ fhir:value "LIMS" ] ;
     fhir:MessageHeader.source.endpoint [ fhir:value "urn:hl7-v2:LIMS" ]
  ] ;
  fhir:MessageHeader.focus [
     fhir:index -1 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:ca9ac56e-7305-5f9f-9e3e-01fd746b0384" ]
  ] ;
  fhir:MessageHeader.definition [
     fhir:value "https://examplesihe.org.uk/MessageDefinition/laboratory-result" ;
     fhir:link <https://examplesihe.org.uk/MessageDefinition/laboratory-result>
  ] .

<urn:uuid:bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5> a fhir:Patient ;
  fhir:Resource.id [ fhir:value "bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://examplesihe.org.uk/StructureDefinition/Patient" ;
       fhir:index -1 ;
       fhir:link <https://examplesihe.org.uk/StructureDefinition/Patient>
     ]
  ] ;
  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\"><a name=\"Patient_bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5</b></p><a name=\"bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5\"> </a><a name=\"hcbfe333d7-2a8c-5dae-a44a-5d3b120d2ef5\"> </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-Patient.html\">Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">ONE John EDITESTPATIENT  Male, DoB: 1925-01-27 ( Medical record number: RCB4719263)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li>Patient internal identifier/Y8J7D0381527</li><li>National Health Plan Identifier/9999999468</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">B6 5RQ </td></tr></table></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "MR" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://examplesihe.org.uk/Id/mrn/RCB" ] ;
     fhir:Identifier.value [ fhir:value "RCB4719263" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
         fhir:Identifier.value [ fhir:value "RCB" ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "PI" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://examplesihe.org.uk/Id/patient-internal/Y8J7D" ] ;
     fhir:Identifier.value [ fhir:value "Y8J7D0381527" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
         fhir:Identifier.value [ fhir:value "Y8J7D" ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "NH" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/nhs-number" ] ;
     fhir:Identifier.value [ fhir:value "9999999468" ]
  ] ;
  fhir:Patient.name [
     fhir:index -1 ;
     fhir:HumanName.family [ fhir:value "EDITESTPATIENT" ] ;
     fhir:HumanName.given [
       fhir:value "ONE" ;
       fhir:index -1
     ], [
       fhir:value "John" ;
       fhir:index -1
     ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "1925-01-27"^^xsd:date] ;
  fhir:Patient.address [
     fhir:index -1 ;
     fhir:Address.postalCode [ fhir:value "B6 5RQ" ]
  ] .

<urn:uuid:84c94bb1-4336-5607-9124-6b82052db22a> a fhir:PractitionerRole ;
  fhir:Resource.id [ fhir:value "84c94bb1-4336-5607-9124-6b82052db22a"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://examplesihe.org.uk/StructureDefinition/PractitionerRole" ;
       fhir:index -1 ;
       fhir:link <https://examplesihe.org.uk/StructureDefinition/PractitionerRole>
     ]
  ] ;
  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\"><a name=\"PractitionerRole_84c94bb1-4336-5607-9124-6b82052db22a\"> </a><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole 84c94bb1-4336-5607-9124-6b82052db22a</b></p><a name=\"84c94bb1-4336-5607-9124-6b82052db22a\"> </a><a name=\"hc84c94bb1-4336-5607-9124-6b82052db22a\"> </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-PractitionerRole.html\">PractitionerRole</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Dr Gale GASKELL at PICKERING MEDICAL PRACTICE</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"The practitioner who is able to provide the services in this role\">Practitioner:</td><td colspan=\"3\">Dr Gale GASKELL (Identifier: <a href=\"NamingSystem-gmcnumber-namingsystem.html\" title=\"General Medical Council Consultant Code. For more details see: [NHS Data Model Dictionary](https://www.datadictionary.nhs.uk/attributes/general_medical_council_reference_number.html)\">GMC Number</a>/C1008215)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The organization where the practitioner performs the roles\">Organization:</td><td colspan=\"3\">PICKERING MEDICAL PRACTICE (Identifier: <a href=\"NamingSystem-ods-organization-code-namingsystem.html\" title=\"The identifier system for an Organisation registered with the Organisation Data Service (ODS).\">ODS Organisation Code</a>/B82033)</td></tr></table></div>"
  ] ;
  fhir:PractitionerRole.practitioner [
     fhir:Reference.type [ fhir:value "Practitioner" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.hl7.org.uk/Id/gmc-number" ] ;
       fhir:Identifier.value [ fhir:value "C1008215" ]
     ] ;
     fhir:Reference.display [ fhir:value "Dr Gale GASKELL" ]
  ] ;
  fhir:PractitionerRole.organization [
     fhir:Reference.type [ fhir:value "Organization" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
       fhir:Identifier.value [ fhir:value "B82033" ]
     ] ;
     fhir:Reference.display [ fhir:value "PICKERING MEDICAL PRACTICE" ]
  ] .

<urn:uuid:0cdeab88-67e7-5686-917c-8acdc1afea8d> a fhir:ServiceRequest ;
  fhir:Resource.id [ fhir:value "0cdeab88-67e7-5686-917c-8acdc1afea8d"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://examplesihe.org.uk/StructureDefinition/LaboratoryOrder" ;
       fhir:index -1 ;
       fhir:link <https://examplesihe.org.uk/StructureDefinition/LaboratoryOrder>
     ]
  ] ;
  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\"><a name=\"ServiceRequest_0cdeab88-67e7-5686-917c-8acdc1afea8d\"> </a><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest 0cdeab88-67e7-5686-917c-8acdc1afea8d</b></p><a name=\"0cdeab88-67e7-5686-917c-8acdc1afea8d\"> </a><a name=\"hc0cdeab88-67e7-5686-917c-8acdc1afea8d\"> </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-LaboratoryOrder.html\">Laboratory Order</a></p></div><p><b>identifier</b>: Placer Identifier/REQ-20220307-000142, Filler Identifier/REP-20220308-004205</p><p><b>status</b>: Completed</p><p><b>intent</b>: Order</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 1001371000000100}, {http://snomed.info/sct 1106741000000105}\">Serum CRP (C reactive protein) level</span></p><p><b>subject</b>: <a href=\"Bundle-Document-CRP-Report-Example.html#urn-uuid-bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5\">ONE John EDITESTPATIENT  Male, DoB: 1925-01-27 ( Medical record number: RCB4719263)</a></p><p><b>authoredOn</b>: 2022-01-29 10:24:00+0000</p><p><b>requester</b>: <a href=\"Bundle-Document-CRP-Report-Example.html#urn-uuid-84c94bb1-4336-5607-9124-6b82052db22a\">Dr Gale GASKELL at PICKERING MEDICAL PRACTICE</a></p><p><b>performer</b>: TD008362 PATH LAB 001 (Identifier: <a href=\"NamingSystem-ods-organization-code-namingsystem.html\" title=\"The identifier system for an Organisation registered with the Organisation Data Service (ODS).\">ODS Organisation Code</a>/Y8J7D)</p><p><b>specimen</b>: <a href=\"Bundle-Document-CRP-Report-Example.html#urn-uuid-e1fae66a-128e-57f2-a3c0-41647ca6076b\">Specimen: identifier = Placer Identifier: SPC-REQ-20220307-000105; accessionIdentifier = Accession ID: SPC-Lab-20220307-007856; status = available; type = Venous blood specimen; receivedTime = 2022-03-07 14:58:00+0000</a></p></div>"
  ] ;
  fhir:ServiceRequest.identifier [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "PLAC" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://B82033-pickeringmedicalpractice.com/labrequest" ] ;
     fhir:Identifier.value [ fhir:value "REQ-20220307-000142" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
         fhir:Identifier.value [ fhir:value "B82033" ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "FILL" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://Y8J7D-pathlab001.com/report" ] ;
     fhir:Identifier.value [ fhir:value "REP-20220308-004205" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
         fhir:Identifier.value [ fhir:value "Y8J7D" ]
       ]
     ]
  ] ;
  fhir:ServiceRequest.status [ fhir:value "completed"] ;
  fhir:ServiceRequest.intent [ fhir:value "order"] ;
  fhir:ServiceRequest.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a sct:1001371000000100 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "1001371000000100" ] ;
       fhir:Coding.display [ fhir:value "Serum CRP (C reactive protein) level" ]
     ], [
       fhir:index -1 ;
       a sct:1106741000000105 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "1106741000000105" ] ;
       fhir:Coding.display [ fhir:value "CRP (C reactive protein) mass concentration in serum" ]
     ]
  ] ;
  fhir:ServiceRequest.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/nhs-number" ] ;
       fhir:Identifier.value [ fhir:value "9999999468" ]
     ]
  ] ;
  fhir:ServiceRequest.authoredOn [ fhir:value "2022-01-29T10:24:00+00:00"^^xsd:dateTime] ;
  fhir:ServiceRequest.requester [
     fhir:Reference.reference [ fhir:value "urn:uuid:84c94bb1-4336-5607-9124-6b82052db22a" ]
  ] ;
  fhir:ServiceRequest.performer [
     fhir:index -1 ;
     fhir:Reference.type [ fhir:value "Organization" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
       fhir:Identifier.value [ fhir:value "Y8J7D" ]
     ] ;
     fhir:Reference.display [ fhir:value "TD008362 PATH LAB 001" ]
  ] ;
  fhir:ServiceRequest.specimen [
     fhir:index -1 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:e1fae66a-128e-57f2-a3c0-41647ca6076b" ]
  ] .

<urn:uuid:e1fae66a-128e-57f2-a3c0-41647ca6076b> a fhir:Specimen ;
  fhir:Resource.id [ fhir:value "e1fae66a-128e-57f2-a3c0-41647ca6076b"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://examplesihe.org.uk/StructureDefinition/Specimen" ;
       fhir:index -1 ;
       fhir:link <https://examplesihe.org.uk/StructureDefinition/Specimen>
     ]
  ] ;
  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\"><a name=\"Specimen_e1fae66a-128e-57f2-a3c0-41647ca6076b\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Specimen e1fae66a-128e-57f2-a3c0-41647ca6076b</b></p><a name=\"e1fae66a-128e-57f2-a3c0-41647ca6076b\"> </a><a name=\"hce1fae66a-128e-57f2-a3c0-41647ca6076b\"> </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-Specimen.html\">Specimen</a></p></div><p><b>identifier</b>: Placer Identifier/SPC-REQ-20220307-000105</p><p><b>accessionIdentifier</b>: Accession ID/SPC-Lab-20220307-007856</p><p><b>status</b>: Available</p><p><b>type</b>: <span title=\"Codes:\">Venous blood specimen</span></p><p><b>subject</b>: <a href=\"Bundle-Document-CRP-Report-Example.html#urn-uuid-bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5\">ONE John EDITESTPATIENT  Male, DoB: 1925-01-27 ( Medical record number: RCB4719263)</a></p><p><b>receivedTime</b>: 2022-03-07 14:58:00+0000</p><p><b>request</b>: <a href=\"Bundle-Document-CRP-Report-Example.html#urn-uuid-0cdeab88-67e7-5686-917c-8acdc1afea8d\">ServiceRequest Serum CRP (C reactive protein) level</a></p><h3>Collections</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Collected[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>2022-03-07 11:42:00+0000</td></tr></table></div>"
  ] ;
  fhir:Specimen.identifier [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "PLAC" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://B82033-pickeringmedicalpractice.com/specimen" ] ;
     fhir:Identifier.value [ fhir:value "SPC-REQ-20220307-000105" ]
  ] ;
  fhir:Specimen.accessionIdentifier [
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "ACSN" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://Y8J7D-pathlab001.com/specimen" ] ;
     fhir:Identifier.value [ fhir:value "SPC-Lab-20220307-007856" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
         fhir:Identifier.value [ fhir:value "Y8J7D" ]
       ]
     ]
  ] ;
  fhir:Specimen.status [ fhir:value "available"] ;
  fhir:Specimen.type [
     fhir:CodeableConcept.text [ fhir:value "Venous blood specimen" ]
  ] ;
  fhir:Specimen.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/nhs-number" ] ;
       fhir:Identifier.value [ fhir:value "9999999468" ]
     ]
  ] ;
  fhir:Specimen.receivedTime [ fhir:value "2022-03-07T14:58:00+00:00"^^xsd:dateTime] ;
  fhir:Specimen.request [
     fhir:index -1 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:0cdeab88-67e7-5686-917c-8acdc1afea8d" ]
  ] ;
  fhir:Specimen.collection [
     fhir:Specimen.collection.collectedDateTime [ fhir:value "2022-03-07T11:42:00+00:00"^^xsd:dateTime ]
  ] .

<urn:uuid:91ceb301-c1ed-55df-9a11-2210056014ee> a fhir:Observation ;
  fhir:Resource.id [ fhir:value "91ceb301-c1ed-55df-9a11-2210056014ee"] ;
  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\"><a name=\"Observation_91ceb301-c1ed-55df-9a11-2210056014ee\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation 91ceb301-c1ed-55df-9a11-2210056014ee</b></p><a name=\"91ceb301-c1ed-55df-9a11-2210056014ee\"> </a><a name=\"hc91ceb301-c1ed-55df-9a11-2210056014ee\"> </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=\"Bundle-Document-CRP-Report-Example.html#urn-uuid-0cdeab88-67e7-5686-917c-8acdc1afea8d\">ServiceRequest Serum CRP (C reactive protein) level</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 1001371000000100}, {http://snomed.info/sct 1106741000000105}\">Serum CRP (C reactive protein) level</span></p><p><b>subject</b>: <a href=\"Bundle-Document-CRP-Report-Example.html#urn-uuid-bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5\">ONE John EDITESTPATIENT  Male, DoB: 1925-01-27 ( Medical record number: RCB4719263)</a></p><p><b>effective</b>: 2022-03-07 11:42:00+0000</p><p><b>issued</b>: 2022-03-08 12:09:00+0000</p><p><b>performer</b>: TD008362 PATH LAB 001 (Identifier: <a href=\"NamingSystem-ods-organization-code-namingsystem.html\" title=\"The identifier system for an Organisation registered with the Organisation Data Service (ODS).\">ODS Organisation Code</a>/Y8J7D)</p><p><b>value</b>: 200 mg/L</p><p><b>interpretation</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation H}\">High</span></p><p><b>specimen</b>: <a href=\"Bundle-Document-CRP-Report-Example.html#urn-uuid-e1fae66a-128e-57f2-a3c0-41647ca6076b\">Specimen: identifier = Placer Identifier: SPC-REQ-20220307-000105; accessionIdentifier = Accession ID: SPC-Lab-20220307-007856; status = available; type = Venous blood specimen; receivedTime = 2022-03-07 14:58: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>0 mg/L</td><td>5 mg/L</td></tr></table></div>"
  ] ;
  fhir:Observation.basedOn [
     fhir:index -1 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:0cdeab88-67e7-5686-917c-8acdc1afea8d" ]
  ] ;
  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:Coding.display [ fhir:value "Laboratory" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a sct:1001371000000100 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "1001371000000100" ] ;
       fhir:Coding.display [ fhir:value "Serum CRP (C reactive protein) level" ]
     ], [
       fhir:index -1 ;
       a sct:1106741000000105 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "1106741000000105" ] ;
       fhir:Coding.display [ fhir:value "CRP (C reactive protein) mass concentration in serum" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/nhs-number" ] ;
       fhir:Identifier.value [ fhir:value "9999999468" ]
     ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2022-03-07T11:42:00+00:00"^^xsd:dateTime] ;
  fhir:Observation.issued [ fhir:value "2022-03-08T12:09:00+00:00"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index -1 ;
     fhir:Reference.type [ fhir:value "Organization" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
       fhir:Identifier.value [ fhir:value "Y8J7D" ]
     ] ;
     fhir:Reference.display [ fhir:value "TD008362 PATH LAB 001" ]
  ] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "200"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "mg/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 "H" ] ;
       fhir:Coding.display [ fhir:value "High" ]
     ]
  ] ;
  fhir:Observation.specimen [
     fhir:Reference.reference [ fhir:value "urn:uuid:e1fae66a-128e-57f2-a3c0-41647ca6076b" ]
  ] ;
  fhir:Observation.referenceRange [
     fhir:index -1 ;
     fhir:Observation.referenceRange.low [
       fhir:Quantity.value [ fhir:value "0"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mg/L" ]
     ] ;
     fhir:Observation.referenceRange.high [
       fhir:Quantity.value [ fhir:value "5"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mg/L" ]
     ]
  ] .

<urn:uuid:ca9ac56e-7305-5f9f-9e3e-01fd746b0384> a fhir:DiagnosticReport ;
  fhir:Resource.id [ fhir:value "ca9ac56e-7305-5f9f-9e3e-01fd746b0384"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://examplesihe.org.uk/StructureDefinition/LaboratoryReport" ;
       fhir:index -1 ;
       fhir:link <https://examplesihe.org.uk/StructureDefinition/LaboratoryReport>
     ]
  ] ;
  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\"><a name=\"DiagnosticReport_ca9ac56e-7305-5f9f-9e3e-01fd746b0384\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DiagnosticReport ca9ac56e-7305-5f9f-9e3e-01fd746b0384</b></p><a name=\"ca9ac56e-7305-5f9f-9e3e-01fd746b0384\"> </a><a name=\"hcca9ac56e-7305-5f9f-9e3e-01fd746b0384\"> </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-LaboratoryReport.html\">Laboratory Report</a></p></div><h2><span title=\"Codes:{http://snomed.info/sct 721981007}, {http://loinc.org 11502-2}\">Diagnostic studies report</span> (<span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0074 CH}\">Chemistry</span>) </h2><table class=\"grid\"><tr><td>Subject</td><td>ONE John EDITESTPATIENT  Male, DoB: 1925-01-27 ( Medical record number: RCB4719263)</td></tr><tr><td>Relevant Time</td><td>2022-03-07 11:42:00+0000</td></tr><tr><td>Reported</td><td>2022-03-08 12:09:00+0000</td></tr><tr><td>Performer</td><td> TD008362 PATH LAB 001 (Identifier: <a href=\"NamingSystem-ods-organization-code-namingsystem.html\" title=\"The identifier system for an Organisation registered with the Organisation Data Service (ODS).\">ODS Organisation Code</a>/Y8J7D)</td></tr><tr><td>Identifier</td><td> Filler Identifier/REP-20220308-004205</td></tr></table><p><b>Report Details</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>Value</b></td><td><b>Reference Range</b></td><td><b>Flags</b></td></tr><tr><td><a href=\"Bundle-Document-CRP-Report-Example.html#urn-uuid-91ceb301-c1ed-55df-9a11-2210056014ee\"><span title=\"Codes:{http://snomed.info/sct 1001371000000100}, {http://snomed.info/sct 1106741000000105}\">Serum CRP (C reactive protein) level</span></a></td><td>200 mg/L</td><td>0 mg/L - 5 mg/L</td><td>Final, <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation H}\">High</span></td></tr></table></div>"
  ] ;
  fhir:DiagnosticReport.identifier [
     fhir:index -1 ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index -1 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "FILL" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://Y8J7D-pathlab001.com/report" ] ;
     fhir:Identifier.value [ fhir:value "REP-20220308-004205" ] ;
     fhir:Identifier.assigner [
       fhir:Reference.identifier [
         fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
         fhir:Identifier.value [ fhir:value "Y8J7D" ]
       ]
     ]
  ] ;
  fhir:DiagnosticReport.basedOn [
     fhir:index -1 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:0cdeab88-67e7-5686-917c-8acdc1afea8d" ]
  ] ;
  fhir:DiagnosticReport.status [ fhir:value "final"] ;
  fhir:DiagnosticReport.category [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0074" ] ;
       fhir:Coding.code [ fhir:value "CH" ] ;
       fhir:Coding.display [ fhir:value "Chemistry" ]
     ]
  ] ;
  fhir:DiagnosticReport.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a sct:721981007 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "721981007" ] ;
       fhir:Coding.display [ fhir:value "Diagnostic studies report" ]
     ], [
       fhir:index -1 ;
       a loinc:11502-2 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "11502-2" ] ;
       fhir:Coding.display [ fhir:value "Laboratory report" ]
     ]
  ] ;
  fhir:DiagnosticReport.subject [
     fhir:Reference.reference [ fhir:value "urn:uuid:bfe333d7-2a8c-5dae-a44a-5d3b120d2ef5" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/nhs-number" ] ;
       fhir:Identifier.value [ fhir:value "9999999468" ]
     ]
  ] ;
  fhir:DiagnosticReport.effectiveDateTime [ fhir:value "2022-03-07T11:42:00+00:00"^^xsd:dateTime] ;
  fhir:DiagnosticReport.issued [ fhir:value "2022-03-08T12:09:00+00:00"^^xsd:dateTime] ;
  fhir:DiagnosticReport.performer [
     fhir:index -1 ;
     fhir:Reference.type [ fhir:value "Organization" ] ;
     fhir:Reference.identifier [
       fhir:Identifier.system [ fhir:value "https://fhir.nhs.uk/Id/ods-organization-code" ] ;
       fhir:Identifier.value [ fhir:value "Y8J7D" ]
     ] ;
     fhir:Reference.display [ fhir:value "TD008362 PATH LAB 001" ]
  ] ;
  fhir:DiagnosticReport.specimen [
     fhir:index -1 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:e1fae66a-128e-57f2-a3c0-41647ca6076b" ]
  ] ;
  fhir:DiagnosticReport.result [
     fhir:index -1 ;
     fhir:Reference.reference [ fhir:value "urn:uuid:91ceb301-c1ed-55df-9a11-2210056014ee" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://examplesihe.org.uk/Bundle/Message-CRP-Report-Example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

