{
  "resourceType": "Bundle",
  "entry": [
    {
      "fullUrl": "f4f42d3a-ffac-4d77-bc7e-789119aa7124",
      "request": {
        "method": "POST",
        "url": "Encounter",
        "ifNoneExist": "?identifier=PEKA-ENC-12345"
      },
      "resource": {
        "resourceType": "Encounter",
        "meta": {
          "source": "http://sample.com",
          "profile": [
            "http://fhir.hie.moh.gov.my/StructureDefinition/Encounter-my-core"
          ]
        },
        "extension": [
          {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/police-case-my-core",
            "valueBoolean": false
          },
          {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/visit-type-my-core",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://fhir.hie.moh.gov.my/CodeSystem/visit-type-my-core",
                  "code": "01",
                  "display": "New"
                }
              ]
            }
          },
          {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/internal-referral-my-core",
            "valueBoolean": false
          },
          {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core",
            "extension": [
              {
                "url": "recorder",
                "valueReference": {
                  "reference": "PractitionerRole/6c80bf07-d4a0-4c20-8c79-9ddf67dd875b/_history/14",
                  "display": "AZIELA"
                }
              },
              {
                "url": "recordedDate",
                "valueDateTime": "2024-07-18T02:26:06+00:00"
              },
              {
                "url": "lastUpdater",
                "valueReference": {
                  "reference": "PractitionerRole/6c80bf07-d4a0-4c20-8c79-9ddf67dd875b/_history/14",
                  "display": "AZIELA"
                }
              }
            ]
          }
        ],
        "identifier": [
          {
            "system": "http://fhir.hie.moh.gov.my/sid/encounter-id",
            "value": "PEKA-ENC-12345"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://fhir.hie.moh.gov.my/CodeSystem/encounter-class-my-core",
          "code": "AMB",
          "display": "Outpatient"
        },
        "type": [
          {
            "coding": [
              {
                "system": "http://fhir.hie.moh.gov.my/CodeSystem/specialty-my-core",
                "code": "561",
                "display": "National Health Screening (NHSI)"
              }
            ]
          }
        ],
        "serviceType": {
          "coding": [
            {
              "system": "http://fhir.hie.moh.gov.my/CodeSystem/service-type-my-core",
              "code": "03",
              "display": "Outpatient"
            }
          ]
        },
        "priority": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v3-ActPriority",
              "code": "R",
              "display": "Routine"
            }
          ]
        },
        "subject": {
          "reference": "Patient/ca211a37-a7b9-42f7-a853-70cbb2f8f295"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "ATND",
                    "display": "attender"
                  }
                ]
              }
            ],
            "period": {
              "start": "2024-07-18T02:26:44+00:00"
            },
            "individual": {
              "type": "PractitionerRole",
              "display": "AZIELA"
            }
          }
        ],
        "period": {
          "start": "2024-07-18T02:26:06+00:00"
        },
        "diagnosis": [
          {
            "condition": {
              "reference": "Condition/ca211a37-a7b9-42f7-a853-70cbb2f8f295"
            },
            "use": {
              "coding": [
                {
                  "system": "http://fhir.hie.moh.gov.my/CodeSystem/diagnosis-role-my-core",
                  "version": "1.0.0",
                  "code": "01",
                  "display": "Main Diagnosis"
                }
              ]
            }
          }
        ],
        "hospitalization": {
          "admitSource": {
            "coding": [
              {
                "system": "http://fhir.hie.moh.gov.my/CodeSystem/external-referral-source-type-my-core",
                "code": "99",
                "display": "Others (walk-in)"
              }
            ]
          }
        },
        "serviceProvider": {
          "reference": "Organization/11-05060009"
        }
      }
    }
  ]
}