FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagesynapxe.sgcdi
Resource TypeBundle
IdBundleEDNotesRequest.Example.json
FHIR VersionR5

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

No narrative content found in resource


Source1

{
  "resourceType": "Bundle",
  "type": "transaction",
  "entry": [
    {
      "fullUrl": "urn:uuid:ednotes-composition-001",
      "resource": {
        "resourceType": "Composition",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-ednotes"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.synapxe.sg/NamingSystem/record-id",
            "value": "ED-COMP-2026-00456"
          },
          {
            "system": "https://fhir.synapxe.sg/NamingSystem/accession-no",
            "value": "ACC-ED-2026-00456"
          }
        ],
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "https://fhir.synapxe.sg/CodeSystem/doc-types",
              "code": "EDNOTE",
              "display": "ED Notes"
            }
          ],
          "text": "ED Notes"
        },
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "encounter": [
          {
            "reference": "urn:uuid:edvisit-encounter-001"
          }
        ],
        "date": "2026-02-05T16:45:00+08:00",
        "author": [
          {
            "type": "Practitioner",
            "identifier": {
              "system": "https://fhir.synapxe.sg/NamingSystem/mcr",
              "value": "M67890"
            },
            "display": "Dr. Wei Lin"
          }
        ],
        "title": "Emergency Department (ED) Notes",
        "custodian": {
          "type": "Organization",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/hci-code",
            "value": "HCI-98765"
          },
          "display": "Tan Tock Seng Hospital"
        },
        "note": [
          {
            "text": "Patient presented with acute chest pain. ECG and troponin performed. Managed conservatively in ED with GTN and observation. Discharged with follow-up."
          }
        ],
        "section": [
          {
            "title": "Glasgow Coma Scale",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "gcs",
                  "display": "Glasgow Coma Scale"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:observation-gcs-001"
              }
            ]
          },
          {
            "title": "Vital Signs",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "vital-signs",
                  "display": "Vital Signs"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:observation-vitals-001"
              }
            ]
          },
          {
            "title": "Medication Orders",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "medication-orders",
                  "display": "Medication Orders"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:medicationrequest-001"
              }
            ]
          },
          {
            "title": "Infusion Orders",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "infusion-orders",
                  "display": "Infusion Orders"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:medicationrequest-infusion-001"
              }
            ]
          },
          {
            "title": "Prescription Orders",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "prescription-orders",
                  "display": "Prescription Orders"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:medicationrequest-prescription-001"
              }
            ]
          },
          {
            "title": "Procedures Performed",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "procedures-performed",
                  "display": "Procedures Performed"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:procedure-main-001"
              }
            ]
          },
          {
            "title": "Allergies and Intolerances",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "allergies",
                  "display": "Allergies and Intolerances"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:allergy-001"
              }
            ]
          },
          {
            "title": "Clinical Alerts",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "alerts",
                  "display": "Clinical Alerts"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:flag-001"
              }
            ]
          },
          {
            "title": "Triage Assessment",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "triage-questions",
                  "display": "Triage Assessment"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:questionnaire-triage-001"
              }
            ]
          },
          {
            "title": "Consultation",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "consultation",
                  "display": "Consultation"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:questionnaire-consultation-001"
              }
            ]
          },
          {
            "title": "Medical Certificates",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "medical-certificates",
                  "display": "Medical Certificates"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:medcert-001"
              }
            ]
          },
          {
            "title": "Attachments",
            "code": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ednotes-section-type",
                  "code": "file-attachments",
                  "display": "Attachments"
                }
              ]
            },
            "entry": [
              {
                "reference": "urn:uuid:fileattachment-001"
              }
            ]
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Composition"
      }
    },
    {
      "fullUrl": "urn:uuid:edvisit-encounter-001",
      "resource": {
        "resourceType": "Encounter",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-edvisit"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.synapxe.sg/NamingSystem/record-id",
            "value": "ED-ENC-2026-00456"
          },
          {
            "system": "https://fhir.synapxe.sg/NamingSystem/ed-ref-no",
            "value": "EDREF-2026-00456"
          }
        ],
        "status": "completed",
        "class": [
          {
            "coding": [
              {
                "system": "https://fhir.synapxe.sg/CodeSystem/patient-type",
                "code": "EMER",
                "display": "Emergency"
              }
            ]
          }
        ],
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "serviceProvider": {
          "type": "Organization",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/hci-code",
            "value": "HCI-98765"
          },
          "display": "Tan Tock Seng Hospital"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "https://fhir.synapxe.sg/CodeSystem/edvisit-participant-type",
                    "code": "triage-nurse",
                    "display": "Triage Nurse"
                  }
                ]
              }
            ],
            "period": {
              "start": "2026-02-05T13:00:00+08:00",
              "end": "2026-02-05T13:15:00+08:00"
            },
            "actor": {
              "type": "Practitioner",
              "identifier": {
                "system": "https://fhir.synapxe.sg/NamingSystem/mcr-no",
                "value": "N45678"
              },
              "display": "Nurse Mary Lim"
            }
          },
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "https://fhir.synapxe.sg/CodeSystem/edvisit-participant-type",
                    "code": "attending-doctor",
                    "display": "Attending Doctor"
                  }
                ]
              }
            ],
            "period": {
              "start": "2026-02-05T13:15:00+08:00",
              "end": "2026-02-05T16:45:00+08:00"
            },
            "actor": {
              "type": "Practitioner",
              "identifier": {
                "system": "https://fhir.synapxe.sg/NamingSystem/mcr-no",
                "value": "M67890"
              },
              "display": "Dr. Wei Lin"
            }
          }
        ],
        "actualPeriod": {
          "start": "2026-02-05T13:00:00+08:00",
          "end": "2026-02-05T16:45:00+08:00"
        },
        "reason": [
          {
            "use": [
              {
                "coding": [
                  {
                    "system": "https://fhir.synapxe.sg/CodeSystem/edvisit-reason-type",
                    "code": "chief-complaint",
                    "display": "Chief Complaint"
                  }
                ]
              }
            ],
            "value": [
              {
                "concept": {
                  "coding": [
                    {
                      "system": "http://snomed.info/sct",
                      "code": "29857009",
                      "display": "Chest pain"
                    }
                  ],
                  "text": "Chest pain radiating to left arm for 30 minutes"
                }
              }
            ]
          }
        ],
        "diagnosis": [
          {
            "condition": [
              {
                "concept": {
                  "text": "Acute coronary syndrome - non-ST elevation"
                }
              }
            ],
            "use": [
              {
                "coding": [
                  {
                    "system": "https://fhir.synapxe.sg/CodeSystem/edvisit-condition-type",
                    "code": "principal",
                    "display": "Principal Diagnosis"
                  }
                ]
              }
            ]
          },
          {
            "condition": [
              {
                "concept": {
                  "text": "Essential hypertension"
                }
              }
            ],
            "use": [
              {
                "coding": [
                  {
                    "system": "https://fhir.synapxe.sg/CodeSystem/edvisit-condition-type",
                    "code": "secondary",
                    "display": "Secondary Diagnosis"
                  }
                ]
              }
            ]
          }
        ],
        "admission": {
          "admitSource": {
            "text": "Self-referred / Walk-in"
          },
          "dischargeDisposition": {
            "extension": [
              {
                "url": "https://fhir.synapxe.sg/StructureDefinition/ext-ed-disposition",
                "extension": [
                  {
                    "url": "use",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "https://fhir.synapxe.sg/CodeSystem/edvisit-disposition-type",
                          "code": "primary",
                          "display": "Primary Disposition"
                        }
                      ]
                    }
                  },
                  {
                    "url": "code",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "https://fhir.synapxe.sg/CodeSystem/discharge-disposition",
                          "code": "01",
                          "display": "Discharged"
                        }
                      ]
                    }
                  }
                ]
              },
              {
                "url": "https://fhir.synapxe.sg/StructureDefinition/ext-ed-dischargeAdvice",
                "valueString": "Return immediately if chest pain recurs, worsens, or is accompanied by shortness of breath, dizziness, or sweating."
              }
            ],
            "coding": [
              {
                "system": "https://fhir.synapxe.sg/CodeSystem/discharge-disposition",
                "code": "01",
                "display": "Discharged"
              }
            ],
            "text": "Patient discharged from ED with outpatient follow-up"
          }
        },
        "location": [
          {
            "location": {
              "type": "Location",
              "identifier": {
                "system": "https://fhir.synapxe.sg/NamingSystem/location-id",
                "value": "ED-RESUS-01"
              },
              "display": "ED Resuscitation Bay 1"
            },
            "form": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ed-location-type",
                  "code": "resuscitation",
                  "display": "Resuscitation"
                }
              ]
            },
            "period": {
              "start": "2026-02-05T13:00:00+08:00",
              "end": "2026-02-05T14:30:00+08:00"
            }
          },
          {
            "location": {
              "type": "Location",
              "identifier": {
                "system": "https://fhir.synapxe.sg/NamingSystem/location-id",
                "value": "ED-OBS-05"
              },
              "display": "ED Observation Bed 5"
            },
            "form": {
              "coding": [
                {
                  "system": "https://fhir.synapxe.sg/CodeSystem/ed-location-type",
                  "code": "observation",
                  "display": "Observation"
                }
              ]
            },
            "period": {
              "start": "2026-02-05T14:30:00+08:00",
              "end": "2026-02-05T16:45:00+08:00"
            }
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Encounter"
      }
    },
    {
      "fullUrl": "urn:uuid:observation-gcs-001",
      "resource": {
        "resourceType": "Observation",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-observation"
          ]
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "survey",
                "display": "Survey"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "9269-2",
              "display": "Glasgow coma score total"
            }
          ]
        },
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "encounter": {
          "reference": "urn:uuid:edvisit-encounter-001"
        },
        "effectiveDateTime": "2026-02-05T13:10:00+08:00",
        "valueQuantity": {
          "value": 15,
          "system": "http://unitsofmeasure.org",
          "code": "{score}"
        },
        "component": [
          {
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "9268-4",
                  "display": "Glasgow coma score motor"
                }
              ]
            },
            "valueQuantity": {
              "value": 6,
              "system": "http://unitsofmeasure.org",
              "code": "{score}"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "9270-0",
                  "display": "Glasgow coma score verbal"
                }
              ]
            },
            "valueQuantity": {
              "value": 5,
              "system": "http://unitsofmeasure.org",
              "code": "{score}"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "9267-6",
                  "display": "Glasgow coma score eye opening"
                }
              ]
            },
            "valueQuantity": {
              "value": 4,
              "system": "http://unitsofmeasure.org",
              "code": "{score}"
            }
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Observation"
      }
    },
    {
      "fullUrl": "urn:uuid:observation-vitals-001",
      "resource": {
        "resourceType": "Observation",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-observation"
          ]
        },
        "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",
              "display": "Blood pressure panel with all children optional"
            }
          ]
        },
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "encounter": {
          "reference": "urn:uuid:edvisit-encounter-001"
        },
        "effectiveDateTime": "2026-02-05T13:05:00+08:00",
        "component": [
          {
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "8480-6",
                  "display": "Systolic blood pressure"
                }
              ]
            },
            "valueQuantity": {
              "value": 145,
              "unit": "mmHg",
              "system": "http://unitsofmeasure.org",
              "code": "mm[Hg]"
            }
          },
          {
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "8462-4",
                  "display": "Diastolic blood pressure"
                }
              ]
            },
            "valueQuantity": {
              "value": 92,
              "unit": "mmHg",
              "system": "http://unitsofmeasure.org",
              "code": "mm[Hg]"
            }
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Observation"
      }
    },
    {
      "fullUrl": "urn:uuid:medicationrequest-001",
      "resource": {
        "resourceType": "MedicationRequest",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-ed-medicationrequest"
          ]
        },
        "status": "active",
        "intent": "order",
        "category": [
          {
            "coding": [
              {
                "system": "https://fhir.synapxe.sg/CodeSystem/order-type",
                "code": "medication",
                "display": "Medication"
              }
            ]
          }
        ],
        "medication": {
          "concept": {
            "coding": [
              {
                "system": "https://fhir.synapxe.sg/CodeSystem/med-code",
                "code": "GTN05",
                "display": "Glyceryl Trinitrate 0.5mg Sublingual Tablet"
              }
            ],
            "text": "GTN 0.5mg sublingual tablet"
          }
        },
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "encounter": {
          "reference": "urn:uuid:edvisit-encounter-001"
        },
        "authoredOn": "2026-02-05T14:00:00+08:00",
        "requester": {
          "type": "Practitioner",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mcr",
            "value": "M67890"
          },
          "display": "Dr. Wei Lin"
        },
        "performer": [
          {
            "type": "Practitioner",
            "identifier": {
              "system": "https://fhir.synapxe.sg/NamingSystem/mcr",
              "value": "N45678"
            },
            "display": "Nurse Mary Lim"
          }
        ],
        "reason": [
          {
            "concept": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "29857009",
                  "display": "Chest pain"
                }
              ]
            }
          }
        ],
        "note": [
          {
            "text": "Administered in resuscitation bay. Monitor BP before and after administration."
          }
        ],
        "dosageInstruction": [
          {
            "sequence": 1,
            "text": "Place 1 tablet under tongue, may repeat every 5 minutes as needed for chest pain, maximum 3 doses",
            "additionalInstruction": [
              {
                "text": "Monitor blood pressure before and after each dose"
              }
            ],
            "asNeededFor": [
              {
                "text": "Chest pain"
              }
            ],
            "route": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "37839007",
                  "display": "Sublingual route"
                }
              ],
              "text": "Sublingual"
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 1,
                  "unit": "Tablet",
                  "system": "http://unitsofmeasure.org",
                  "code": "{tablet}"
                }
              }
            ],
            "maxDosePerPeriod": [
              {
                "numerator": {
                  "value": 3,
                  "unit": "Tablet",
                  "system": "http://unitsofmeasure.org",
                  "code": "{tablet}"
                },
                "denominator": {
                  "value": 15,
                  "unit": "minutes",
                  "system": "http://unitsofmeasure.org",
                  "code": "min"
                }
              }
            ]
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "MedicationRequest"
      }
    },
    {
      "fullUrl": "urn:uuid:medicationrequest-infusion-001",
      "resource": {
        "resourceType": "MedicationRequest",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-ed-medicationrequest"
          ]
        },
        "status": "active",
        "intent": "order",
        "category": [
          {
            "coding": [
              {
                "system": "https://fhir.synapxe.sg/CodeSystem/order-type",
                "code": "infusion",
                "display": "Infusion"
              }
            ]
          }
        ],
        "medication": {
          "concept": {
            "coding": [
              {
                "system": "https://fhir.synapxe.sg/CodeSystem/med-code",
                "code": "NS1000",
                "display": "Normal Saline 0.9% 1000ml IV Solution"
              }
            ],
            "text": "Normal Saline 0.9% 1000ml"
          }
        },
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "encounter": {
          "reference": "urn:uuid:edvisit-encounter-001"
        },
        "authoredOn": "2026-02-05T13:30:00+08:00",
        "requester": {
          "type": "Practitioner",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mcr",
            "value": "M67890"
          },
          "display": "Dr. Wei Lin"
        },
        "dosageInstruction": [
          {
            "sequence": 1,
            "text": "Infuse 1000ml Normal Saline over 4 hours",
            "additionalInstruction": [
              {
                "text": "Monitor fluid balance and urine output"
              }
            ],
            "route": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "47625008",
                  "display": "Intravenous route"
                }
              ],
              "text": "IV"
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 1000,
                  "unit": "mL",
                  "system": "http://unitsofmeasure.org",
                  "code": "mL"
                }
              }
            ]
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "MedicationRequest"
      }
    },
    {
      "fullUrl": "urn:uuid:medicationrequest-prescription-001",
      "resource": {
        "resourceType": "MedicationRequest",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-ed-medicationrequest"
          ]
        },
        "status": "active",
        "intent": "order",
        "category": [
          {
            "coding": [
              {
                "system": "https://fhir.synapxe.sg/CodeSystem/order-type",
                "code": "prescription",
                "display": "Prescription"
              }
            ]
          }
        ],
        "medication": {
          "concept": {
            "coding": [
              {
                "system": "https://fhir.synapxe.sg/CodeSystem/med-code",
                "code": "ASP100",
                "display": "Aspirin 100mg Oral Tablet"
              }
            ],
            "text": "Aspirin 100mg"
          }
        },
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "encounter": {
          "reference": "urn:uuid:edvisit-encounter-001"
        },
        "authoredOn": "2026-02-05T16:30:00+08:00",
        "requester": {
          "type": "Practitioner",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mcr",
            "value": "M67890"
          },
          "display": "Dr. Wei Lin"
        },
        "dosageInstruction": [
          {
            "sequence": 1,
            "text": "Take 1 tablet once daily after food",
            "additionalInstruction": [
              {
                "text": "Take with food to reduce gastric irritation"
              }
            ],
            "route": {
              "coding": [
                {
                  "system": "http://snomed.info/sct",
                  "code": "26643006",
                  "display": "Oral route"
                }
              ],
              "text": "Oral"
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 1,
                  "unit": "Tablet",
                  "system": "http://unitsofmeasure.org",
                  "code": "{tablet}"
                }
              }
            ]
          }
        ],
        "dispenseRequest": {
          "quantity": {
            "value": 14,
            "unit": "tablets",
            "system": "http://unitsofmeasure.org",
            "code": "{tbl}"
          },
          "expectedSupplyDuration": {
            "value": 14,
            "unit": "days",
            "system": "http://unitsofmeasure.org",
            "code": "d"
          }
        }
      },
      "request": {
        "method": "POST",
        "url": "MedicationRequest"
      }
    },
    {
      "fullUrl": "urn:uuid:procedure-main-001",
      "resource": {
        "resourceType": "Procedure",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-ed-procedure"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.synapxe.sg/NamingSystem/procedure-id",
            "value": "ED-PROC-2026-00456"
          }
        ],
        "status": "completed",
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "29303009",
              "display": "Electrocardiographic procedure"
            }
          ],
          "text": "12-lead ECG"
        },
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "encounter": {
          "reference": "urn:uuid:edvisit-encounter-001"
        },
        "occurrenceDateTime": "2026-02-05T13:20:00+08:00",
        "performer": [
          {
            "actor": {
              "type": "Practitioner",
              "identifier": {
                "system": "https://fhir.synapxe.sg/NamingSystem/mcr",
                "value": "M67890"
              },
              "display": "Dr. Wei Lin"
            }
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Procedure"
      }
    },
    {
      "fullUrl": "urn:uuid:stepprocedure-001",
      "resource": {
        "resourceType": "Procedure",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-ed-stepProcedure"
          ]
        },
        "partOf": [
          {
            "reference": "urn:uuid:procedure-main-001"
          }
        ],
        "status": "completed",
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "397740003",
              "display": "Prepare patient for electrocardiogram"
            }
          ],
          "text": "Patient preparation and electrode placement"
        },
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "encounter": {
          "reference": "urn:uuid:edvisit-encounter-001"
        },
        "occurrenceDateTime": "2026-02-05T13:15:00+08:00"
      },
      "request": {
        "method": "POST",
        "url": "Procedure"
      }
    },
    {
      "fullUrl": "urn:uuid:stepprocedure-002",
      "resource": {
        "resourceType": "Procedure",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-ed-stepProcedure"
          ]
        },
        "partOf": [
          {
            "reference": "urn:uuid:procedure-main-001"
          }
        ],
        "status": "completed",
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "252465000",
              "display": "Pulse oximetry"
            }
          ],
          "text": "Continuous oxygen saturation monitoring"
        },
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "encounter": {
          "reference": "urn:uuid:edvisit-encounter-001"
        },
        "occurrencePeriod": {
          "start": "2026-02-05T13:10:00+08:00",
          "end": "2026-02-05T16:30:00+08:00"
        }
      },
      "request": {
        "method": "POST",
        "url": "Procedure"
      }
    },
    {
      "fullUrl": "urn:uuid:allergy-001",
      "resource": {
        "resourceType": "AllergyIntolerance",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance"
          ]
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
              "code": "active",
              "display": "Active"
            }
          ]
        },
        "verificationStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
              "code": "confirmed",
              "display": "Confirmed"
            }
          ]
        },
        "type": "allergy",
        "category": [
          "medication"
        ],
        "criticality": "high",
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "387458008",
              "display": "Aspirin"
            }
          ],
          "text": "Aspirin allergy"
        },
        "patient": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "recordedDate": "2026-02-05T13:05:00+08:00",
        "reaction": [
          {
            "manifestation": [
              {
                "concept": {
                  "coding": [
                    {
                      "system": "http://snomed.info/sct",
                      "code": "267036007",
                      "display": "Dyspnea"
                    }
                  ],
                  "text": "Dyspnea"
                }
              },
              {
                "concept": {
                  "coding": [
                    {
                      "system": "http://snomed.info/sct",
                      "code": "271807003",
                      "display": "Skin rash"
                    }
                  ],
                  "text": "Skin rash"
                }
              }
            ],
            "severity": "severe"
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "AllergyIntolerance"
      }
    },
    {
      "fullUrl": "urn:uuid:flag-001",
      "resource": {
        "resourceType": "Flag",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-flag"
          ]
        },
        "status": "active",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/flag-category",
                "code": "clinical",
                "display": "Clinical"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "161663000",
              "display": "History of myocardial infarction"
            }
          ],
          "text": "Cardiac risk - history of MI"
        },
        "subject": {
          "type": "Patient",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mrn",
            "value": "MRN-9876543"
          }
        },
        "period": {
          "start": "2026-02-05T13:00:00+08:00"
        },
        "encounter": {
          "reference": "urn:uuid:edvisit-encounter-001"
        }
      },
      "request": {
        "method": "POST",
        "url": "Flag"
      }
    },
    {
      "fullUrl": "urn:uuid:questionnaire-triage-001",
      "resource": {
        "resourceType": "QuestionnaireResponse",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-ed-questionnaireresponse"
          ]
        },
        "language": "en-SG",
        "questionnaire": "https://fhir.synapxe.sg/Questionnaire/ed-triage",
        "status": "completed",
        "authored": "2026-02-05T13:02:00+08:00",
        "author": {
          "type": "Practitioner",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mcr",
            "value": "N45678"
          },
          "display": "Nurse Mary Lim"
        },
        "source": {
          "display": "ED Triage System"
        },
        "item": [
          {
            "linkId": "1",
            "text": "Chief complaint",
            "answer": [
              {
                "valueString": "Chest pain radiating to left arm for 30 minutes"
              }
            ]
          },
          {
            "linkId": "2",
            "text": "Pain severity (0-10)",
            "answer": [
              {
                "valueString": "8"
              }
            ]
          },
          {
            "linkId": "3",
            "text": "Associated symptoms",
            "answer": [
              {
                "valueString": "Shortness of breath, nausea, sweating"
              }
            ]
          },
          {
            "linkId": "4",
            "text": "Triage category",
            "answer": [
              {
                "valueString": "P2 - Emergency"
              }
            ]
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "QuestionnaireResponse"
      }
    },
    {
      "fullUrl": "urn:uuid:questionnaire-consultation-001",
      "resource": {
        "resourceType": "QuestionnaireResponse",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-ed-questionnaireresponse"
          ]
        },
        "language": "en-SG",
        "questionnaire": "https://fhir.synapxe.sg/Questionnaire/ed-consultation",
        "status": "completed",
        "authored": "2026-02-05T14:30:00+08:00",
        "author": {
          "type": "Practitioner",
          "identifier": {
            "system": "https://fhir.synapxe.sg/NamingSystem/mcr",
            "value": "M67890"
          },
          "display": "Dr. Wei Lin"
        },
        "source": {
          "display": "ED Clinical Documentation System"
        },
        "item": [
          {
            "linkId": "1",
            "text": "History of presenting illness",
            "answer": [
              {
                "valueString": "58-year-old male with sudden onset of retrosternal chest pain radiating to left arm, associated with diaphoresis and nausea. Pain started 30 minutes prior to arrival. No prior history of angina. Known hypertensive on Amlodipine."
              }
            ]
          },
          {
            "linkId": "2",
            "text": "Physical examination findings",
            "answer": [
              {
                "valueString": "Alert and oriented. Diaphoretic. BP 145/92, HR 95, SpO2 97% on RA. Heart sounds dual, no murmur. Lungs clear bilaterally. No peripheral edema."
              }
            ]
          },
          {
            "linkId": "3",
            "text": "Clinical impression and plan",
            "answer": [
              {
                "valueString": "Acute coronary syndrome. Serial troponin, ECG monitoring. GTN for pain relief. IV access with NS infusion. Cardiology consult if troponin elevated."
              }
            ]
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "QuestionnaireResponse"
      }
    },
    {
      "fullUrl": "urn:uuid:medcert-001",
      "resource": {
        "resourceType": "DocumentReference",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-medicalcertificate"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.synapxe.sg/NamingSystem/mc-no",
            "value": "MC-ED-2026-00456"
          }
        ],
        "status": "current",
        "type": {
          "coding": [
            {
              "system": "https://fhir.synapxe.sg/CodeSystem/mc-type",
              "code": "sick-leave",
              "display": "Sick Leave"
            }
          ],
          "text": "Medical Certificate - 2 days rest"
        },
        "author": [
          {
            "type": "Practitioner",
            "identifier": {
              "system": "https://fhir.synapxe.sg/NamingSystem/mcr",
              "value": "M67890"
            },
            "display": "Dr. Wei Lin"
          }
        ],
        "period": {
          "start": "2026-02-05T00:00:00+08:00",
          "end": "2026-02-06T23:59:59+08:00"
        },
        "content": [
          {
            "attachment": {
              "contentType": "application/pdf",
              "title": "Medical Certificate - 2 days rest"
            }
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "DocumentReference"
      }
    },
    {
      "fullUrl": "urn:uuid:fileattachment-001",
      "resource": {
        "resourceType": "DocumentReference",
        "meta": {
          "profile": [
            "https://fhir.synapxe.sg/StructureDefinition/profile-fileattachment"
          ]
        },
        "identifier": [
          {
            "system": "https://fhir.synapxe.sg/NamingSystem/sequence-no",
            "value": "SEQ-ED-FILE-001"
          }
        ],
        "status": "current",
        "type": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "11524-6",
              "display": "EKG study"
            }
          ],
          "text": "ECG Report"
        },
        "content": [
          {
            "attachment": {
              "contentType": "application/pdf",
              "url": "https://example.org/files/ecg-report-2026-02-05.pdf",
              "title": "12-lead ECG Report",
              "creation": "2026-02-05T13:25:00+08:00"
            }
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "DocumentReference"
      }
    }
  ]
}