{
  "resourceType": "Bundle",
  "id": "meddossier-order-36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f",
  "type": "collection",
  "timestamp": "2026-04-28T18:02:47+00:00",
  "identifier": {
    "system": "https://meddossier.com/orders",
    "value": "MED202604290002"
  },
  "meta": {
    "profile": [
      "https://meddossier.com/fhir/StructureDefinition/meddossier-order-bundle"
    ],
    "lastUpdated": "2026-04-28T18:02:47+00:00"
  },
  "entry": [
    {
      "fullUrl": "Patient/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f",
      "resource": {
        "resourceType": "Patient",
        "id": "36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f",
        "identifier": [
          {
            "system": "https://meddossier.com/orders",
            "value": "MED202604290002"
          }
        ],
        "name": [
          {
            "text": "Integration Sandbox Patient"
          }
        ],
        "telecom": [
          {
            "system": "email",
            "value": "sandbox.patient@example.com",
            "use": "home"
          },
          {
            "system": "phone",
            "value": "+61 400 555 010",
            "use": "mobile"
          }
        ],
        "extension": [
          {
            "url": "https://meddossier.com/fhir/StructureDefinition/authorization-scope",
            "valueString": "records_only"
          },
          {
            "url": "https://meddossier.com/fhir/StructureDefinition/authorization-status",
            "valueString": "pending"
          },
          {
            "url": "https://meddossier.com/fhir/StructureDefinition/target-hospital",
            "valueString": "Beijing Sample International Hospital"
          },
          {
            "url": "https://meddossier.com/fhir/StructureDefinition/appointment-date",
            "valueString": "2026-05-13"
          },
          {
            "url": "https://meddossier.com/fhir/StructureDefinition/package-type",
            "valueString": "standard"
          }
        ]
      }
    },
    {
      "fullUrl": "Encounter/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f",
      "resource": {
        "resourceType": "Encounter",
        "id": "36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f",
        "status": "finished",
        "class": {
          "code": "AMB",
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
        },
        "subject": {
          "reference": "Patient/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "period": {
          "start": "2026-04-28T18:02:47+00:00",
          "end": "2026-04-28T18:02:47.651492+00:00"
        },
        "serviceProvider": {
          "display": "Beijing Sample International Hospital"
        }
      }
    },
    {
      "fullUrl": "ServiceRequest/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f",
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f",
        "status": "completed",
        "intent": "order",
        "subject": {
          "reference": "Patient/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "encounter": {
          "reference": "Encounter/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "authoredOn": "2026-04-28T18:02:47+00:00",
        "category": [
          {
            "text": "Cross-border medical record preparation"
          }
        ],
        "code": {
          "text": "Oncology appointment"
        },
        "note": [
          {
            "text": "Integration sandbox order approved."
          }
        ]
      }
    },
    {
      "fullUrl": "Composition/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f",
      "resource": {
        "resourceType": "Composition",
        "id": "36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f",
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "60591-5",
              "display": "Patient summary Document"
            }
          ]
        },
        "subject": {
          "reference": "Patient/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "encounter": {
          "reference": "Encounter/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "date": "2026-04-28T18:02:47+00:00",
        "title": "MedDossier IPS export for Integration Sandbox Patient",
        "author": [
          {
            "display": "MedDossier review workflow"
          }
        ],
        "section": [
          {
            "title": "Diagnoses",
            "text": {
              "status": "generated",
              "div": "<div><p>Diagnoses</p><ul><li>icd10: C80; name_cn: 恶性肿瘤; name_orig: Cancer</li></ul></div>"
            }
          },
          {
            "title": "Medications",
            "text": {
              "status": "generated",
              "div": "<div><p>Medications</p><ul><li>cn_name: Letrozole; generic: 2.5mg daily</li></ul></div>"
            }
          },
          {
            "title": "Allergies",
            "text": {
              "status": "generated",
              "div": "<div><p>Allergies</p><ul><li>substance: Penicillin; reaction: Rash</li></ul></div>"
            }
          },
          {
            "title": "Alerts",
            "text": {
              "status": "generated",
              "div": "<div><p>Alerts</p><ul><li>level: critical; message: 存在过敏史，需人工确认。</li></ul></div>"
            }
          },
          {
            "title": "Patient story",
            "text": {
              "status": "generated",
              "div": "<div><p>英文病历已自动整理，等待审核员确认关键字段。</p></div>"
            }
          }
        ]
      }
    },
    {
      "fullUrl": "Condition/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f-1",
      "resource": {
        "resourceType": "Condition",
        "id": "36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f-1",
        "clinicalStatus": {
          "text": "active"
        },
        "code": {
          "text": "Diagnosis 1"
        },
        "subject": {
          "reference": "Patient/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "encounter": {
          "reference": "Encounter/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "recordedDate": "2026-04-28T18:02:47.637707+00:00",
        "note": [
          {
            "text": "icd10: C80; name_cn: 恶性肿瘤; name_orig: Cancer"
          }
        ]
      }
    },
    {
      "fullUrl": "AllergyIntolerance/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f-1",
      "resource": {
        "resourceType": "AllergyIntolerance",
        "id": "36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f-1",
        "clinicalStatus": {
          "text": "active"
        },
        "code": {
          "text": "Penicillin"
        },
        "patient": {
          "reference": "Patient/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "reaction": [
          {
            "manifestation": [
              {
                "text": "Rash"
              }
            ]
          }
        ],
        "note": [
          {
            "text": "substance: Penicillin; reaction: Rash"
          }
        ]
      }
    },
    {
      "fullUrl": "MedicationStatement/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f-1",
      "resource": {
        "resourceType": "MedicationStatement",
        "id": "36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f-1",
        "status": "active",
        "subject": {
          "reference": "Patient/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "medicationCodeableConcept": {
          "text": "Letrozole"
        },
        "dosage": [
          {
            "text": "cn_name: Letrozole; generic: 2.5mg daily"
          }
        ],
        "note": [
          {
            "text": "cn_name: Letrozole; generic: 2.5mg daily"
          }
        ]
      }
    },
    {
      "fullUrl": "Observation/alert-36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f-1",
      "resource": {
        "resourceType": "Observation",
        "id": "alert-36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f-1",
        "status": "final",
        "subject": {
          "reference": "Patient/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "encounter": {
          "reference": "Encounter/36fcfc94-e2d5-4ae6-b2a6-6f3cad99eb7f"
        },
        "code": {
          "text": "Alert 1"
        },
        "valueString": "level: critical; message: 存在过敏史，需人工确认。",
        "note": [
          {
            "text": "level: critical; message: 存在过敏史，需人工确认。"
          }
        ]
      }
    }
  ]
}