@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://example.org/fhir/CardioRemotoIG/Observation/CardioRemotoVitalSignsObservationExample> a fhir:Observation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "CardioRemotoVitalSignsObservationExample"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://example.org/fhir/CardioRemotoIG/StructureDefinition/cardioremoto-vital-signs" ;
       fhir:index 0 ;
       fhir:link <http://example.org/fhir/CardioRemotoIG/StructureDefinition/cardioremoto-vital-signs>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Pressão arterial sistólica registrada durante o monitoramento remoto.</div>"
  ] ;
  fhir:Observation.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.system [ fhir:value "https://cardioremoto.ufpb.br/fhir/NamingSystem/observation-id" ] ;
     fhir:Identifier.value [ fhir:value "VS-000001" ]
  ] ;
  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 "vital-signs" ]
     ]
  ] ;
  fhir:Observation.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a loinc:85354-9 ;
       fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
       fhir:Coding.code [ fhir:value "85354-9" ] ;
       fhir:Coding.display [ fhir:value "Blood pressure panel with all children optional" ]
     ] ;
     fhir:CodeableConcept.text [ fhir:value "Pressão arterial" ]
  ] ;
  fhir:Observation.subject [
     fhir:link <http://example.org/fhir/CardioRemotoIG/Patient/CardioRemotoPatientExample> ;
     fhir:Reference.reference [ fhir:value "Patient/CardioRemotoPatientExample" ]
  ] ;
  fhir:Observation.encounter [
     fhir:link <http://example.org/fhir/CardioRemotoIG/Encounter/CardioRemotoEncounterExample> ;
     fhir:Reference.reference [ fhir:value "Encounter/CardioRemotoEncounterExample" ]
  ] ;
  fhir:Observation.effectiveDateTime [ fhir:value "2026-07-12T08:30:00Z"^^xsd:dateTime] ;
  fhir:Observation.issued [ fhir:value "2026-07-12T08:31:00Z"^^xsd:dateTime] ;
  fhir:Observation.performer [
     fhir:index 0 ;
     fhir:link <http://example.org/fhir/CardioRemotoIG/Practitioner/CardioRemotoPractitionerExample> ;
     fhir:Reference.reference [ fhir:value "Practitioner/CardioRemotoPractitionerExample" ]
  ] ;
  fhir:Observation.interpretation [
     fhir:index 0 ;
     fhir:CodeableConcept.text [ fhir:value "Dentro da meta terapêutica." ]
  ] ;
  fhir:Observation.note [
     fhir:index 0 ;
     fhir:Annotation.text [ fhir:value "Valor registrado automaticamente pelo dispositivo domiciliar." ]
  ] ;
  fhir:Observation.component [
     fhir:index 0 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:8480-6 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "8480-6" ] ;
         fhir:Coding.display [ fhir:value "Systolic blood pressure" ]
       ]
     ] ;
     fhir:Observation.component.valueQuantity [
       fhir:Quantity.value [ fhir:value "128"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mm[Hg]" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "mm[Hg]" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Observation.component.code [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         a loinc:8462-4 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "8462-4" ] ;
         fhir:Coding.display [ fhir:value "Diastolic blood pressure" ]
       ]
     ] ;
     fhir:Observation.component.valueQuantity [
       fhir:Quantity.value [ fhir:value "82"^^xsd:decimal ] ;
       fhir:Quantity.unit [ fhir:value "mm[Hg]" ] ;
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ] ;
       fhir:Quantity.code [ fhir:value "mm[Hg]" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://example.org/fhir/CardioRemotoIG/Observation/CardioRemotoVitalSignsObservationExample.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

