{
  "resourceType" : "Bundle",
  "id" : "exempel-journalhandling",
  "meta" : {
    "profile" : ["https://fhir.aiidera.se/StructureDefinition/AiideraJournalDocument|0.1.0"]
  },
  "identifier" : {
    "system" : "https://id.aiidera.se/document",
    "value" : "00000000-0000-4000-8000-000000000006"
  },
  "type" : "document",
  "timestamp" : "2026-08-09T10:00:00+02:00",
  "entry" : [{
    "fullUrl" : "urn:uuid:00000000-0000-4000-8000-000000000001",
    "resource" : {
      "resourceType" : "Composition",
      "meta" : {
        "profile" : ["https://fhir.aiidera.se/StructureDefinition/AiideraJournalComposition|0.1.0"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "identifier" : {
        "system" : "https://id.aiidera.se/document",
        "value" : "00000000-0000-4000-8000-000000000006"
      },
      "status" : "final",
      "type" : {
        "coding" : [{
          "system" : "http://snomed.info/sct",
          "code" : "371530004",
          "display" : "Clinical consultation report"
        }]
      },
      "category" : [{
        "text" : "Mottagningsbesök"
      }],
      "subject" : {
        "reference" : "urn:uuid:00000000-0000-4000-8000-000000000002"
      },
      "encounter" : {
        "reference" : "urn:uuid:00000000-0000-4000-8000-000000000004"
      },
      "date" : "2026-08-09T10:00:00+02:00",
      "author" : [{
        "reference" : "urn:uuid:00000000-0000-4000-8000-000000000003"
      }],
      "title" : "Uppföljning blodtryck",
      "section" : [{
        "title" : "Status",
        "code" : {
          "coding" : [{
            "system" : "http://loinc.org",
            "code" : "29545-1"
          }]
        },
        "text" : {
          "status" : "additional",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Patienten mår väl. Blodtrycket kontrollerat och stabilt sedan förra besöket.</div>"
        },
        "entry" : [{
          "reference" : "urn:uuid:00000000-0000-4000-8000-000000000005"
        }]
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:00000000-0000-4000-8000-000000000002",
    "resource" : {
      "resourceType" : "Patient",
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "identifier" : [{
        "system" : "http://electronichealth.se/identifier/personnummer",
        "value" : "19700101-1234"
      }],
      "name" : [{
        "family" : "Syntetisk",
        "given" : ["Signe"]
      }],
      "birthDate" : "1970-01-01"
    }
  },
  {
    "fullUrl" : "urn:uuid:00000000-0000-4000-8000-000000000003",
    "resource" : {
      "resourceType" : "Practitioner",
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "identifier" : [{
        "system" : "urn:oid:1.2.752.29.4.19",
        "value" : "SE2321000016-1A2B"
      }],
      "name" : [{
        "family" : "Läkare",
        "given" : ["Lena"]
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:00000000-0000-4000-8000-000000000004",
    "resource" : {
      "resourceType" : "Encounter",
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "status" : "finished",
      "class" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "AMB"
      },
      "type" : [{
        "text" : "Mottagningsbesök"
      }],
      "subject" : {
        "reference" : "urn:uuid:00000000-0000-4000-8000-000000000002"
      }
    }
  },
  {
    "fullUrl" : "urn:uuid:00000000-0000-4000-8000-000000000005",
    "resource" : {
      "resourceType" : "Observation",
      "text" : {
        "status" : "generated",
        "div" : "<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>"
      },
      "status" : "final",
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
          "code" : "vital-signs",
          "display" : "Vital Signs"
        }]
      }],
      "code" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "85354-9"
        }]
      },
      "subject" : {
        "reference" : "urn:uuid:00000000-0000-4000-8000-000000000002"
      },
      "effectiveDateTime" : "2026-08-09T10:00:00+02:00",
      "performer" : [{
        "reference" : "urn:uuid:00000000-0000-4000-8000-000000000003"
      }],
      "component" : [{
        "code" : {
          "coding" : [{
            "system" : "http://loinc.org",
            "code" : "8480-6"
          }]
        },
        "valueQuantity" : {
          "value" : 128,
          "unit" : "mmHg",
          "system" : "http://unitsofmeasure.org",
          "code" : "mm[Hg]"
        }
      },
      {
        "code" : {
          "coding" : [{
            "system" : "http://loinc.org",
            "code" : "8462-4"
          }]
        },
        "valueQuantity" : {
          "value" : 82,
          "unit" : "mmHg",
          "system" : "http://unitsofmeasure.org",
          "code" : "mm[Hg]"
        }
      }]
    }
  }]
}