<?xml version="1.0" encoding="UTF-8"?>

<Observation xmlns="http://hl7.org/fhir">
  <id value="CardioRemotoVitalSignsObservationExample"/>
  <meta>
    <profile value="http://example.org/fhir/CardioRemotoIG/StructureDefinition/cardioremoto-vital-signs"/>
  </meta>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">Pressão arterial sistólica registrada durante o monitoramento remoto.</div>
  </text>
  <identifier>
    <use value="official"/>
    <system value="https://cardioremoto.ufpb.br/fhir/NamingSystem/observation-id"/>
    <value value="VS-000001"/>
  </identifier>
  <status value="final"/>
  <category>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
      <code value="vital-signs"/>
    </coding>
  </category>
  <code>
    <coding>
      <system value="http://loinc.org"/>
      <code value="85354-9"/>
      <display value="Blood pressure panel with all children optional"/>
    </coding>
    <text value="Pressão arterial"/>
  </code>
  <subject>
    <reference value="Patient/CardioRemotoPatientExample"/>
  </subject>
  <encounter>
    <reference value="Encounter/CardioRemotoEncounterExample"/>
  </encounter>
  <effectiveDateTime value="2026-07-12T08:30:00Z"/>
  <issued value="2026-07-12T08:31:00Z"/>
  <performer>
    <reference value="Practitioner/CardioRemotoPractitionerExample"/>
  </performer>
  <interpretation>
    <text value="Dentro da meta terapêutica."/>
  </interpretation>
  <note>
    <text value="Valor registrado automaticamente pelo dispositivo domiciliar."/>
  </note>
  <component>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="8480-6"/>
        <display value="Systolic blood pressure"/>
      </coding>
    </code>
    <valueQuantity>
      <value value="128"/>
      <unit value="mm[Hg]"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="mm[Hg]"/>
    </valueQuantity>
  </component>
  <component>
    <code>
      <coding>
        <system value="http://loinc.org"/>
        <code value="8462-4"/>
        <display value="Diastolic blood pressure"/>
      </coding>
    </code>
    <valueQuantity>
      <value value="82"/>
      <unit value="mm[Hg]"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="mm[Hg]"/>
    </valueQuantity>
  </component>
</Observation>