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

<Bundle xmlns="http://hl7.org/fhir">
  <id value="exempel-journalhandling"/>
  <meta>
    <profile value="https://fhir.aiidera.se/StructureDefinition/AiideraJournalDocument|0.1.0"/>
  </meta>
  <identifier>
    <system value="https://id.aiidera.se/document"/>
    <value value="00000000-0000-4000-8000-000000000006"/>
  </identifier>
  <type value="document"/>
  <timestamp value="2026-08-09T10:00:00+02:00"/>
  <entry>
    <fullUrl value="urn:uuid:00000000-0000-4000-8000-000000000001"/>
    <resource>
      <Composition>
        <meta>
          <profile value="https://fhir.aiidera.se/StructureDefinition/AiideraJournalComposition|0.1.0"/>
        </meta>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Composition_null"> </a><p class="res-header-id"><b>Generated Narrative: Composition </b></p><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-AiideraJournalComposition.html">Aiidera journalhandlingens Composition</a> version: 0.1.0</p></div><p><b>identifier</b>: <a href="NamingSystem-AiideraDocumentNamingSystem.html" title="Identifierar en signerad journalhandling. Värdet står i Bundle.identifier inuti de signerade bytesen och på varje resurs signeringstransaktionen skriver, och är nyckeln som binder en projektion till sitt original. Varje handling får ett eget värde; en rättelse får ett nytt och länkas med relatesTo enligt ADR-5 beslut 12. Ett värde återanvänds aldrig mellan två signerade handlingar.">AiideraDocumentIdentifier</a>/00000000-0000-4000-8000-000000000006</p><p><b>status</b>: Final</p><p><b>type</b>: <span title="Codes:{http://snomed.info/sct 371530004}">Clinical consultation report</span></p><p><b>category</b>: <span title="Codes:">Mottagningsbesök</span></p><p><b>encounter</b>: <a href="Bundle-exempel-journalhandling.html#urn-uuid-00000000-0000-4000-8000-000000000004">Encounter: status = finished; class = ambulatory (ActCode#AMB); type = </a></p><p><b>date</b>: 2026-08-09 10:00:00+0200</p><p><b>author</b>: <a href="Bundle-exempel-journalhandling.html#urn-uuid-00000000-0000-4000-8000-000000000003">Practitioner Lena Läkare </a></p><p><b>title</b>: Uppföljning blodtryck</p></div>
        </text>
        <identifier>
          <system value="https://id.aiidera.se/document"/>
          <value value="00000000-0000-4000-8000-000000000006"/>
        </identifier>
        <status value="final"/>
        <type>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="371530004"/>
            <display value="Clinical consultation report"/>
          </coding>
        </type>
        <category>
          <text value="Mottagningsbesök"/>
        </category>
        <subject>
          <reference value="urn:uuid:00000000-0000-4000-8000-000000000002"/>
        </subject>
        <encounter>
          <reference value="urn:uuid:00000000-0000-4000-8000-000000000004"/>
        </encounter>
        <date value="2026-08-09T10:00:00+02:00"/>
        <author>
          <reference value="urn:uuid:00000000-0000-4000-8000-000000000003"/>
        </author>
        <title value="Uppföljning blodtryck"/>
        <section>
          <title value="Status"/>
          <code>
            <coding>
              <system value="http://loinc.org"/>
              <code value="29545-1"/>
            </coding>
          </code>
          <text>
            <status value="additional"/><div xmlns="http://www.w3.org/1999/xhtml">Patienten mår väl. Blodtrycket kontrollerat och stabilt sedan förra besöket.</div>
          </text>
          <entry>
            <reference value="urn:uuid:00000000-0000-4000-8000-000000000005"/>
          </entry>
        </section>
      </Composition>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:00000000-0000-4000-8000-000000000002"/>
    <resource>
      <Patient>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Patient_null"> </a><p class="res-header-id"><b>Generated Narrative: Patient </b></p><p style="border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;">Signe Syntetisk  (no stated gender), DoB: 1970-01-01 ( http://electronichealth.se/identifier/personnummer#19700101-1234)</p><hr/></div>
        </text>
        <identifier>
          <system value="http://electronichealth.se/identifier/personnummer"/>
          <value value="19700101-1234"/>
        </identifier>
        <name>
          <family value="Syntetisk"/>
          <given value="Signe"/>
        </name>
        <birthDate value="1970-01-01"/>
      </Patient>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:00000000-0000-4000-8000-000000000003"/>
    <resource>
      <Practitioner>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Practitioner_null"> </a><p class="res-header-id"><b>Generated Narrative: Practitioner </b></p><p><b>identifier</b>: <code>urn:oid:1.2.752.29.4.19</code>/SE2321000016-1A2B</p><p><b>name</b>: Lena Läkare </p></div>
        </text>
        <identifier>
          <system value="urn:oid:1.2.752.29.4.19"/>
          <value value="SE2321000016-1A2B"/>
        </identifier>
        <name>
          <family value="Läkare"/>
          <given value="Lena"/>
        </name>
      </Practitioner>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:00000000-0000-4000-8000-000000000004"/>
    <resource>
      <Encounter>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Encounter_null"> </a><p class="res-header-id"><b>Generated Narrative: Encounter </b></p><p><b>status</b>: Finished</p><p><b>class</b>: <a href="http://terminology.hl7.org/7.3.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB">ActCode: AMB</a> (ambulatory)</p><p><b>type</b>: <span title="Codes:">Mottagningsbesök</span></p><p><b>subject</b>: <a href="Bundle-exempel-journalhandling.html#urn-uuid-00000000-0000-4000-8000-000000000002">Signe Syntetisk  (no stated gender), DoB: 1970-01-01 ( http://electronichealth.se/identifier/personnummer#19700101-1234)</a></p></div>
        </text>
        <status value="finished"/>
        <class>
          <system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
          <code value="AMB"/>
        </class>
        <type>
          <text value="Mottagningsbesök"/>
        </type>
        <subject>
          <reference value="urn:uuid:00000000-0000-4000-8000-000000000002"/>
        </subject>
      </Encounter>
    </resource>
  </entry>
  <entry>
    <fullUrl value="urn:uuid:00000000-0000-4000-8000-000000000005"/>
    <resource>
      <Observation>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Observation_null"> </a><p class="res-header-id"><b>Generated Narrative: Observation </b></p><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 85354-9}">Blood pressure panel with all children optional</span></p><p><b>subject</b>: <a href="Bundle-exempel-journalhandling.html#urn-uuid-00000000-0000-4000-8000-000000000002">Signe Syntetisk  (no stated gender), DoB: 1970-01-01 ( http://electronichealth.se/identifier/personnummer#19700101-1234)</a></p><p><b>effective</b>: 2026-08-09 10:00:00+0200</p><p><b>performer</b>: <a href="Bundle-exempel-journalhandling.html#urn-uuid-00000000-0000-4000-8000-000000000003">Practitioner Lena Läkare </a></p><blockquote><p><b>component</b></p><p><b>code</b>: <span title="Codes:{http://loinc.org 8480-6}">Systolic blood pressure</span></p><p><b>value</b>: 128 mmHg<span style="background: LightGoldenRodYellow"> (Details: UCUM  codemm[Hg] = 'mm[Hg]')</span></p></blockquote><blockquote><p><b>component</b></p><p><b>code</b>: <span title="Codes:{http://loinc.org 8462-4}">Diastolic blood pressure</span></p><p><b>value</b>: 82 mmHg<span style="background: LightGoldenRodYellow"> (Details: UCUM  codemm[Hg] = 'mm[Hg]')</span></p></blockquote></div>
        </text>
        <status value="final"/>
        <category>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
            <code value="vital-signs"/>
            <display value="Vital Signs"/>
          </coding>
        </category>
        <code>
          <coding>
            <system value="http://loinc.org"/>
            <code value="85354-9"/>
          </coding>
        </code>
        <subject>
          <reference value="urn:uuid:00000000-0000-4000-8000-000000000002"/>
        </subject>
        <effectiveDateTime value="2026-08-09T10:00:00+02:00"/>
        <performer>
          <reference value="urn:uuid:00000000-0000-4000-8000-000000000003"/>
        </performer>
        <component>
          <code>
            <coding>
              <system value="http://loinc.org"/>
              <code value="8480-6"/>
            </coding>
          </code>
          <valueQuantity>
            <value value="128"/>
            <unit value="mmHg"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mm[Hg]"/>
          </valueQuantity>
        </component>
        <component>
          <code>
            <coding>
              <system value="http://loinc.org"/>
              <code value="8462-4"/>
            </coding>
          </code>
          <valueQuantity>
            <value value="82"/>
            <unit value="mmHg"/>
            <system value="http://unitsofmeasure.org"/>
            <code value="mm[Hg]"/>
          </valueQuantity>
        </component>
      </Observation>
    </resource>
  </entry>
</Bundle>