@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 -------------------------------------------------------------------

<http://hl7.org/fhir/uv/pocd/Observation/HeartRateNumericObservation> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "HeartRateNumericObservation"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/pocd/StructureDefinition/NumericObservation" ;
       fhir:index -1 ;
       fhir:link <http://hl7.org/fhir/uv/pocd/StructureDefinition/NumericObservation>
     ]
  ] ;
  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 HeartRateNumericObservation</b></p><a name=\"HeartRateNumericObservation\"> </a><a name=\"hcHeartRateNumericObservation\"> </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-NumericObservation.html\">Numeric Observation profile</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category vital-signs}\">Vital Signs</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 8867-4}, {urn:iso:std:iso:11073:10101 147842}\">Heart rate</span></p><p><b>subject</b>: <a href=\"Patient-SomePatient.html\">John Doe  Male, DoB: 1967-05-04 ( Medical record number)</a></p><p><b>effective</b>: 2021-07-09 11:33:24+0200</p><p><b>value</b>: 60 bpm<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code/min = '/min')</span></p><p><b>device</b>: <a href=\"DeviceMetric-HeartRateNumericDeviceMetric.html\">DeviceMetric: extension = ,,; type = MDC_ECG_HEART_RATE; unit = MDC_DIM_BEAT_PER_MIN; operationalStatus = on; color = green; category = measurement</a></p></div>"
  ] ;
  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 "vital-signs" ] ;
       fhir:Coding.display [ fhir:value "Vital Signs" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       a loinc:8867-4 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "8867-4" ] ;
       fhir:Coding.display [ fhir:value "Heart rate" ]
     ], [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:11073:10101" ] ;
       fhir:Coding.code [ fhir:value "147842" ] ;
       fhir:Coding.display [ fhir:value "MDC_ECG_HEART_RATE" ]
     ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://hl7.org/fhir/uv/pocd/Patient/SomePatient> ;
     fhir:Reference.reference [ fhir:value "Patient/SomePatient" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2021-07-09T11:33:24+02:00"^^xsd:dateTime] ;
  fhir:Observation.valueQuantity [
     fhir:Quantity.value [ fhir:value "60"^^xsd:decimal ] ;
     fhir:Quantity.unit [ fhir:value "bpm" ] ;
     fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
     fhir:Quantity.code [ fhir:value "/min" ]
  ] ;
  fhir:Observation.device [
     fhir:link <http://hl7.org/fhir/uv/pocd/DeviceMetric/HeartRateNumericDeviceMetric> ;
     fhir:Reference.reference [ fhir:value "DeviceMetric/HeartRateNumericDeviceMetric" ]
  ] .

<http://hl7.org/fhir/uv/pocd/Patient/SomePatient> a fhir:uv .

<http://hl7.org/fhir/uv/pocd/DeviceMetric/HeartRateNumericDeviceMetric> a fhir:uv .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/uv/pocd/Observation/HeartRateNumericObservation.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/uv/pocd/Observation/HeartRateNumericObservation.ttl> .

# -------------------------------------------------------------------------------------

