{
  "resourceType" : "Bundle",
  "id" : "ktc-patient-shared-bundle-reconciled",
  "meta" : {
    "profile" : ["https://haau3.com/fhir/StructureDefinition/ktc-patient-shared-bundle"]
  },
  "type" : "collection",
  "timestamp" : "2026-09-29T15:00:00Z",
  "entry" : [{
    "fullUrl" : "https://haau3.com/fhir/Patient/us-core-patient",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "us-core-patient",
      "meta" : {
        "profile" : ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|6.1.0"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_us-core-patient\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient us-core-patient</b></p><a name=\"us-core-patient\"> </a><a name=\"hcus-core-patient\"> </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=\"http://hl7.org/fhir/us/core/STU6.1/StructureDefinition-us-core-patient.html\">US Core Patient Profile</a> version: 6.1.0</p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Derrick Lin  Male, DoB: 1965-04-12 ( Medical record number: 183464\u00a0(use:\u00a0usual))</p><hr/></div>"
      },
      "identifier" : [{
        "use" : "usual",
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "MR"
          }]
        },
        "system" : "http://example.hospital.org",
        "value" : "183464"
      }],
      "name" : [{
        "use" : "usual",
        "family" : "Lin",
        "given" : ["Derrick"]
      }],
      "gender" : "male",
      "birthDate" : "1965-04-12"
    }
  },
  {
    "fullUrl" : "https://haau3.com/fhir/DocumentReference/example-fhir-rendered-pdf",
    "resource" : {
      "resourceType" : "DocumentReference",
      "id" : "example-fhir-rendered-pdf",
      "meta" : {
        "profile" : ["https://haau3.com/fhir/StructureDefinition/ktc-patient-shared-document-reference"]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_example-fhir-rendered-pdf\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference example-fhir-rendered-pdf</b></p><a name=\"example-fhir-rendered-pdf\"> </a><a name=\"hcexample-fhir-rendered-pdf\"> </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-ktc-patient-shared-document-reference.html\">KTC Patient-Shared DocumentReference</a></p></div><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 60591-5}\">Patient summary Document</span></p><p><b>category</b>: <span title=\"Codes:{https://cms.gov/fhir/CodeSystem/patient-shared-category patient-shared}\">patient-shared</span></p><p><b>subject</b>: <a href=\"Patient-us-core-patient.html\">Derrick Lin  Male, DoB: 1965-04-12 ( Medical record number: 183464\u00a0(use:\u00a0usual))</a></p><p><b>date</b>: 2026-05-29 15:00:00+0000</p><p><b>author</b>: <a href=\"Patient-us-core-patient.html\">Derrick Lin  Male, DoB: 1965-04-12 ( Medical record number: 183464\u00a0(use:\u00a0usual))</a></p><p><b>description</b>: Shared health summary PDF</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Data</b></td><td><b>Title</b></td></tr><tr><td style=\"display: none\">*</td><td>application/pdf</td><td><code>VGVzdCBQREYgZGF0YQ==</code></td><td>Shared health summary</td></tr></table></blockquote></div>"
      },
      "status" : "current",
      "type" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "60591-5",
          "display" : "Patient summary Document"
        }]
      },
      "category" : [{
        "coding" : [{
          "system" : "https://cms.gov/fhir/CodeSystem/patient-shared-category",
          "code" : "patient-shared"
        }]
      }],
      "subject" : {
        "reference" : "Patient/us-core-patient"
      },
      "date" : "2026-05-29T15:00:00Z",
      "author" : [{
        "reference" : "Patient/us-core-patient"
      }],
      "description" : "Shared health summary PDF",
      "content" : [{
        "attachment" : {
          "contentType" : "application/pdf",
          "data" : "VGVzdCBQREYgZGF0YQ==",
          "title" : "Shared health summary"
        }
      }]
    }
  },
  {
    "fullUrl" : "https://haau3.com/fhir/MedicationRequest/ktc-reconciled-medication-entry",
    "resource" : {
      "resourceType" : "MedicationRequest",
      "id" : "ktc-reconciled-medication-entry",
      "meta" : {
        "profile" : ["https://haau3.com/fhir/StructureDefinition/haau3-reconciled-medication-request"],
        "tag" : [{
          "system" : "https://haau3.com/fhir/CodeSystem/derived-by",
          "code" : "medlist",
          "display" : "MedList"
        }]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MedicationRequest_ktc-reconciled-medication-entry\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MedicationRequest ktc-reconciled-medication-entry</b></p><a name=\"ktc-reconciled-medication-entry\"> </a><a name=\"hcktc-reconciled-medication-entry\"> </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-haau3-reconciled-medication-request.html\">haau3 Reconciled MedicationRequest</a></p><p style=\"margin-bottom: 0px\">Tag: <a href=\"CodeSystem-derived-by.html\">MedList (Details: haau3 Derived By code medlist = 'MedList')</a></p></div><p><b>status</b>: Active</p><p><b>intent</b>: Plan</p><p><b>reported</b>: true</p><p><b>medication</b>: <span title=\"Codes:{http://www.nlm.nih.gov/research/umls/rxnorm 861007}\">metFORMIN hydrochloride 500 MG Oral Tablet</span></p><p><b>subject</b>: <a href=\"Patient-us-core-patient.html\">Derrick Lin  Male, DoB: 1965-04-12 ( Medical record number: 183464\u00a0(use:\u00a0usual))</a></p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Text</b></td></tr><tr><td style=\"display: none\">*</td><td>One tablet daily</td></tr></table></div>"
      },
      "status" : "active",
      "intent" : "plan",
      "reportedBoolean" : true,
      "medicationCodeableConcept" : {
        "coding" : [{
          "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
          "code" : "861007"
        }],
        "text" : "metFORMIN hydrochloride 500 MG Oral Tablet"
      },
      "subject" : {
        "reference" : "Patient/us-core-patient"
      },
      "dosageInstruction" : [{
        "text" : "One tablet daily"
      }]
    }
  },
  {
    "fullUrl" : "https://haau3.com/fhir/Provenance/ktc-reconciled-medication-provenance",
    "resource" : {
      "resourceType" : "Provenance",
      "id" : "ktc-reconciled-medication-provenance",
      "meta" : {
        "profile" : ["https://haau3.com/fhir/StructureDefinition/haau3-reconciled-medication-provenance"],
        "tag" : [{
          "system" : "https://haau3.com/fhir/CodeSystem/derived-by",
          "code" : "medlist",
          "display" : "MedList"
        }]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Provenance_ktc-reconciled-medication-provenance\"> </a><p><b>Provenance of a reconciled medication entry, in a shared bundle</b></p><table class=\"grid\"><tr><td>Entry</td><td>MedicationRequest/ktc-reconciled-medication-entry</td></tr><tr><td>Recorded</td><td>2026-09-28T09:00:00Z</td></tr><tr><td>Evaluated as of</td><td>2026-09-28T09:00:00Z</td></tr><tr><td>Assembler</td><td>haau3 (a contained Organization)</td></tr><tr><td>Rule-set version</td><td>2026-09-27.v3</td></tr><tr><td>RxNorm release</td><td>09082026</td></tr></table><table class=\"grid\"><tr><th>Source record</th></tr><tr><td>MedicationStatement: Reported (date not stated)</td></tr></table></div>"
      },
      "contained" : [{
        "resourceType" : "Organization",
        "id" : "haau3",
        "meta" : {
          "profile" : ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|6.1.0"]
        },
        "active" : true,
        "name" : "haau3",
        "telecom" : [{
          "system" : "url",
          "value" : "https://haau3.com"
        }]
      }],
      "extension" : [{
        "url" : "https://haau3.com/fhir/StructureDefinition/medlist-ruleset-version",
        "valueString" : "2026-09-27.v3"
      },
      {
        "url" : "https://haau3.com/fhir/StructureDefinition/medlist-rxnorm-release",
        "valueString" : "09082026"
      }],
      "target" : [{
        "reference" : "MedicationRequest/ktc-reconciled-medication-entry"
      }],
      "occurredDateTime" : "2026-09-28T09:00:00Z",
      "recorded" : "2026-09-28T09:00:00Z",
      "agent" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
            "code" : "assembler",
            "display" : "Assembler"
          }]
        },
        "who" : {
          "reference" : "#haau3"
        }
      }],
      "entity" : [{
        "role" : "source",
        "what" : {
          "type" : "MedicationStatement",
          "display" : "Reported (date not stated)"
        }
      }]
    }
  }]
}