{
    "resourceType": "OperationOutcome",
    "text": {
        "status": "generated"
    },
    "issue": [
        {
            "severity": "error",
            "code": "duplicate",
            "details": {
                "text": "Found duplicate resource: Encounter"
            }
        }
    ]
}



{
    "class": {
        "code": "AMB",
        "display": "ambulatory",
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode"
    },
    "id": "77fa0242-5465-4b77-98a7-2fce79582916",
    "identifier": [
        {
            "system": "http://sys-ids.kemkes.go.id/encounter/24027125-68be-4154-a573-79d6571679d5",
            "value": "P02029429670"
        }
    ],
    "location": [
        {
            "extension": [
                {
                    "extension": [
                        {
                            "url": "value",
                            "valueCodeableConcept": {
                                "coding": [
                                    {
                                        "code": "reguler",
                                        "display": "Kelas Reguler",
                                        "system": "http://terminology.kemkes.go.id/CodeSystem/locationServiceClass-Outpatient"
                                    }
                                ]
                            }
                        }
                    ],
                    "url": "https://fhir.kemkes.go.id/r4/StructureDefinition/ServiceClass"
                }
            ],
            "location": {
                "display": "Ruang 1A, Poliklinik Rawat Jalan",
                "reference": "Location/ef011065-38c9-46f8-9c35-d1fe68966a3e"
            }
        }
    ],
    "meta": {
        "lastUpdated": "2024-04-12T16:03:19.532648+00:00",
        "versionId": "MTcxMjkzNzc5OTUzMjY0ODAwMA"
    },
    "participant": [
        {
            "individual": {
                "display": "Dokter Bronsig",
                "reference": "Practitioner/N10000001"
            },
            "type": [
                {
                    "coding": [
                        {
                            "code": "ATND",
                            "display": "attender",
                            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"
                        }
                    ]
                }
            ]
        }
    ],
    "period": {
        "start": "2022-11-15T01:00:00+00:00"
    },
    "resourceType": "Encounter",
    "serviceProvider": {
        "reference": "Organization/24027125-68be-4154-a573-79d6571679d5"
    },
    "status": "arrived",
    "statusHistory": [
        {
            "period": {
                "start": "2022-11-15T01:00:00+00:00"
            },
            "status": "arrived"
        }
    ],
    "subject": {
        "display": "Budi Santoso",
        "reference": "Patient/P02029429670"
    }
}