{
  "resourceType" : "Patient",
  "id" : "patient-patient4",
  "meta" : {
    "profile" : ["https://fhir-ig.sil-th.org/th/mophpc1/StructureDefinition/mophpc-patient-base"]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>นาง สมควร ใจดี</b> female, DoB: 1990-04-25 ( เลขประจำตัวประชาชนไทย: 2650591524440\u00a0(use:\u00a0OFFICIAL,\u00a0period:\u00a02018-04-25 --&gt; 2022-04-25))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td>true</td><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td colspan=\"3\"><span title=\"Codes: {http://terminology.hl7.org/CodeSystem/v3-MaritalStatus M}, {https://terms.sil-th.org/core/CodeSystem/cs-thcc-marital 2}\">Married</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Ids (see the one above)\">Other Ids:</td><td colspan=\"3\"><ul><li>รหัสประจำตัวบุคคลของหน่วยบริการ: 65-XXXXX\u00a0(use:\u00a0SECONDARY,\u00a0period:\u00a02018-04-25 --&gt; (ongoing))</li><li>เลข Hospital Number (HN) ของหน่วยบริการ: 65-XXXXX\u00a0(use:\u00a0SECONDARY)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Details:</td><td colspan=\"3\"><ul><li>ph: 088-8888888(MOBILE)</li><li><a href=\"mailto:somkuanjaidee@jaidee.com\">somkuanjaidee@jaidee.com</a></li><li>123 หมู่ที่ 20 ถนนสมเด็จ ตำบลตาลสุม อำเภอตาลสุม จังหวัดอุบลราชธานี 34330(HOME)</li></ul></td></tr></table></div>"
  },
  "identifier" : [{
    "use" : "official",
    "type" : {
      "coding" : [{
        "system" : "https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type",
        "code" : "cid",
        "display" : "เลขประจำตัวประชาชนไทย"
      }]
    },
    "system" : "https://terms.sil-th.org/id/th-cid",
    "value" : "2650591524440",
    "period" : {
      "start" : "2018-04-25",
      "end" : "2022-04-25"
    }
  },
  {
    "use" : "secondary",
    "type" : {
      "coding" : [{
        "system" : "https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type",
        "code" : "localPid",
        "display" : "รหัสประจำตัวบุคคลของหน่วยบริการ"
      }]
    },
    "system" : "https://terms.sil-th.org/hcode/5/99999/PID",
    "value" : "65-XXXXX",
    "period" : {
      "start" : "2018-04-25"
    }
  },
  {
    "use" : "secondary",
    "type" : {
      "coding" : [{
        "system" : "https://terms.sil-th.org/core/CodeSystem/cs-th-identifier-type",
        "code" : "localHn",
        "display" : "เลข Hospital Number (HN) ของหน่วยบริการ"
      }]
    },
    "system" : "https://terms.sil-th.org/hcode/5/99999/HN",
    "value" : "65-XXXXX"
  }],
  "active" : true,
  "name" : [{
    "extension" : [{
      "url" : "http://hl7.org/fhir/StructureDefinition/language",
      "valueCode" : "th"
    }],
    "text" : "นาง สมควร ใจดี",
    "family" : "ใจดี",
    "given" : ["สมควร"],
    "prefix" : ["นาง"]
  }],
  "telecom" : [{
    "system" : "phone",
    "value" : "088-8888888",
    "use" : "mobile"
  },
  {
    "system" : "email",
    "value" : "somkuanjaidee@jaidee.com"
  }],
  "gender" : "female",
  "birthDate" : "1990-04-25",
  "address" : [{
    "extension" : [{
      "extension" : [{
        "url" : "subdistrict",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://terms.sil-th.org/core/CodeSystem/cs-dopa-location",
            "code" : "342001",
            "display" : "ตาลสุม"
          }]
        }
      }],
      "url" : "https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-address-address-code"
    },
    {
      "extension" : [{
        "url" : "latitude",
        "valueDecimal" : 78.31809
      },
      {
        "url" : "longitude",
        "valueDecimal" : -133.03485
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/geolocation"
    },
    {
      "extension" : [{
        "url" : "number",
        "valueString" : "123"
      },
      {
        "url" : "villageNo",
        "valueString" : "หมู่ที่ 20"
      },
      {
        "url" : "road",
        "valueString" : "ถนนสมเด็จ"
      }],
      "url" : "https://fhir-ig.sil-th.org/th/extensions/StructureDefinition/ex-address-structured-line"
    }],
    "use" : "home",
    "text" : "123 หมู่ที่ 20 ถนนสมเด็จ ตำบลตาลสุม อำเภอตาลสุม จังหวัดอุบลราชธานี 34330",
    "line" : ["123 หมู่ที่ 20 ถนนสมเด็จ"],
    "city" : "ตาลสุม",
    "district" : "ตาลสุม",
    "state" : "อุบลราชธานี",
    "postalCode" : "34330"
  }],
  "maritalStatus" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus",
      "code" : "M",
      "display" : "Married"
    },
    {
      "system" : "https://terms.sil-th.org/core/CodeSystem/cs-thcc-marital",
      "code" : "2",
      "display" : "คู่"
    }]
  }
}