{
    "resourceType": "Patient",
    "id": "example-patient",
    "meta": {
        "source": "http://provider.hie.moh.gov.my",
        "profile":  [
            "http://fhir.hie.moh.gov.my/StructureDefinition/Patient-my-core"
        ]
    },
    "extension":  [
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/religion-my-core",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://fhir.hie.moh.gov.my/CodeSystem/religion-my-core",
                        "code": "1",
                        "display": "Islam"
                    }
                ]
            }
        },
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/ethnic-my-core",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://fhir.hie.moh.gov.my/CodeSystem/ethnic-my-core",
                        "code": "01",
                        "display": "Melayu"
                    }
                ]
            }
        },
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/education-level-my-core",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://fhir.hie.moh.gov.my/CodeSystem/education-level-my-core",
                        "code": "4",
                        "display": "Tertiary"
                    }
                ]
            }
        },
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/nationality-my-core",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "urn:iso:std:iso:3166",
                        "code": "MYS",
                        "display": "Malaysia"
                    }
                ]
            }
        },
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/citizenship-my-core",
            "extension":  [
                {
                    "url": "citizenship",
                    "valueBoolean": true
                }
            ]
        },
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/monthly-household-income-my-core",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://fhir.hie.moh.gov.my/CodeSystem/monthly-household-income-my-core",
                        "code": "02",
                        "display": "< RM 500"
                    }
                ]
            }
        },
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/occupation-sector-my-core",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://fhir.hie.moh.gov.my/CodeSystem/occupation-sector-my-core",
                        "code": "2",
                        "display": "Art and Talent"
                    }
                ],
                "text": "JURU SENI"
            }
        },
        {
            "url": "http://fhir.hie.moh.gov.my/StructureDefinition/audit-my-core",
            "extension":  [
                {
                    "url": "recorder",
                    "valueReference": {
                        "reference": "b9797173-7e15-4fc3-8f85-d58627935956/_history/16",
                        "display": "SAIFULDAULAH BIN MOHD HAFIZ NGOO"
                    }
                },
                {
                    "url": "recordedDate",
                    "valueDateTime": "{{currentDate}}T{{currentTime}}+08:00"
                },
                {
                    "url": "lastUpdater",
                    "valueReference": {
                        "reference": "b9797173-7e15-4fc3-8f85-d58627935956/_history/16",
                        "display": "SAIFULDAULAH BIN MOHD HAFIZ NGOO"
                    }
                }
            ]
        }
    ],
    "identifier":  [
        {
            "use": "official",
            "system": "http://fhir.hie.moh.gov.my/sid/my-kad-no",
            "value": "{{patientMyKadNo}}"
        }
    ],
    "active": true,
    "name":  [
        {
            "use": "official",
            "text": "{{patientName}}",
            "given":  [
                "{{patientName}}"
            ]
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "01023135968",
            "use": "mobile"
        },
        {
            "system": "email",
            "value": "uat@gmail.com"
        }
    ],
    "gender": "{{patientGender}}",
    "birthDate": "{{patientBirthDate}}",
    "deceasedBoolean": false,
    "address":  [
        {
            "extension":  [
                {
                    "url": "http://fhir.hie.moh.gov.my/StructureDefinition/address-district-my-core",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "http://fhir.hie.moh.gov.my/CodeSystem/district-my-core",
                                "code": "1008",
                                "display": "Ulu Langat"
                            }
                        ]
                    }
                },
                {
                    "url": "http://fhir.hie.moh.gov.my/StructureDefinition/address-state-my-core",
                    "valueCodeableConcept": {
                        "coding":  [
                            {
                                "system": "http://fhir.hie.moh.gov.my/CodeSystem/state-my-core",
                                "code": "10",
                                "display": "Selangor"
                            }
                        ]
                    }
                }
            ],
            "line":  [
                "ALAM SARI"
            ],
            "city": "KAJANG",
            "postalCode": "43000",
            "country": "MYS"
        }
    ],
    "maritalStatus": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
                "code": "S",
                "display": "Never Married"
            }
        ]
    },
    "managingOrganization": {
        "reference": "Organization/11-05060009"
    }
}