{
  "resourceType": "StructureDefinition",
  "id": "vn-core-patient",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2021-05-19T09:16:34.649+00:00"
  },
  "text": {
    "status": "empty",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\" />"
  },
  "url": "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-patient",
  "version": "1.0.0",
  "name": "VNCorePatient",
  "title": "Patient Profile - VN Core R4",
  "status": "draft",
  "date": "2021-05-19T09:16:32.5486315+00:00",
  "publisher": "Cục Công nghệ thông tin - Bộ Y tế",
  "description": "Thông tin mô tả về người bệnh.",
  "purpose": "TODO: add note",
  "copyright": "Bộ Y tế Việt Nam",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "loinc",
      "uri": "http://loinc.org",
      "name": "LOINC code for the element"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:patientEthicExtension",
        "path": "Patient.extension",
        "sliceName": "patientEthicExtension",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/extension-ethic"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:patientRaceExtension",
        "path": "Patient.extension",
        "sliceName": "patientRaceExtension",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/extension-race"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:patientOccupationExtenstion",
        "path": "Patient.extension",
        "sliceName": "patientOccupationExtenstion",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/extension-occupation"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:patientNationalityExtension",
        "path": "Patient.extension",
        "sliceName": "patientNationalityExtension",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/extension-nationality"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:patientEducationLevel",
        "path": "Patient.extension",
        "sliceName": "patientEducationLevel",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/extension-education-level"
            ]
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            },
            {
              "type": "value",
              "path": "value"
            }
          ],
          "description": "TODO: add note",
          "rules": "open"
        }
      },
      {
        "id": "Patient.identifier:SoCMT",
        "path": "Patient.identifier",
        "sliceName": "SoCMT",
        "label": "Định nghĩa cho số CMT nhân dân",
        "short": "Định nghĩa cho số CMT nhân dân",
        "definition": "Định nghĩa cho số CMT nhân dân",
        "max": "1"
      },
      {
        "id": "Patient.identifier:SoCMT.use",
        "path": "Patient.identifier.use",
        "fixedCode": "official"
      },
      {
        "id": "Patient.identifier:SoCMT.type",
        "path": "Patient.identifier.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "NI",
              "display": "National unique individual identifier"
            }
          ]
        }
      },
      {
        "id": "Patient.identifier:SoCMT.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://moh.gov.vn/fhir/core/sid/citizen_id"
      },
      {
        "id": "Patient.identifier:SoCMT.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:SoHoChieu",
        "path": "Patient.identifier",
        "sliceName": "SoHoChieu",
        "label": "Định nghĩa cho số hộ chiếu",
        "short": "Định nghĩa cho số hộ chiếu",
        "definition": "Định nghĩa cho số hộ chiếu",
        "max": "1"
      },
      {
        "id": "Patient.identifier:SoHoChieu.type",
        "path": "Patient.identifier.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "PPN",
              "display": "Passport number"
            }
          ]
        }
      },
      {
        "id": "Patient.identifier:SoHoChieu.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://moh.gov.vn/fhir/core/sid/passport_number"
      },
      {
        "id": "Patient.identifier:SoHoChieu.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:TheCCCD",
        "path": "Patient.identifier",
        "sliceName": "TheCCCD",
        "label": "Định nghĩa cho thẻ căn cước công dân",
        "short": "Định nghĩa cho thẻ căn cước công dân",
        "definition": "Định nghĩa cho thẻ căn cước công dân",
        "max": "1"
      },
      {
        "id": "Patient.identifier:TheCCCD.use",
        "path": "Patient.identifier.use",
        "fixedCode": "official"
      },
      {
        "id": "Patient.identifier:TheCCCD.type",
        "path": "Patient.identifier.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "NI",
              "display": "National unique individual identifier"
            }
          ]
        }
      },
      {
        "id": "Patient.identifier:TheCCCD.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://moh.gov.vn/fhir/core/sid/national_id"
      },
      {
        "id": "Patient.identifier:TheCCCD.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:TheBHYT",
        "path": "Patient.identifier",
        "sliceName": "TheBHYT",
        "label": "Định nghĩa cho thẻ bảo hiểm xã hội",
        "short": "Định nghĩa cho thông tin về thẻ bảo hiểm y tế",
        "definition": "Định nghĩa cho thông tin về thẻ bảo hiểm y tế",
        "max": "1"
      },
      {
        "id": "Patient.identifier:TheBHYT.use",
        "path": "Patient.identifier.use",
        "fixedCode": "official"
      },
      {
        "id": "Patient.identifier:TheBHYT.type",
        "path": "Patient.identifier.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "SB",
              "display": "Social Beneficiary Identifier"
            }
          ]
        }
      },
      {
        "id": "Patient.identifier:TheBHYT.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://moh.gov.vn/fhir/core/sid/insurance_number"
      },
      {
        "id": "Patient.identifier:TheBHYT.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:MaBenhNhan",
        "path": "Patient.identifier",
        "sliceName": "MaBenhNhan",
        "label": "Mã bệnh nhân tại Cơ sở khám, chữa bệnh",
        "short": "Mã bệnh nhân tại Cơ sở khám, chữa bệnh",
        "definition": "Mã bệnh nhân tại Cơ sở khám, chữa bệnh",
        "max": "1"
      },
      {
        "id": "Patient.identifier:MaBenhNhan.use",
        "path": "Patient.identifier.use",
        "fixedCode": "secondary"
      },
      {
        "id": "Patient.identifier:MaBenhNhan.type",
        "path": "Patient.identifier.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "PI",
              "display": "Patient internal identifier"
            }
          ]
        }
      },
      {
        "id": "Patient.identifier:MaBenhNhan.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://moh.gov.vn/fhir/core/sid/patient-internal-id"
      },
      {
        "id": "Patient.identifier:MaBenhNhan.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.identifier:BangLaiXe",
        "path": "Patient.identifier",
        "sliceName": "BangLaiXe",
        "max": "1"
      },
      {
        "id": "Patient.identifier:BangLaiXe.use",
        "path": "Patient.identifier.use",
        "fixedCode": "official"
      },
      {
        "id": "Patient.identifier:BangLaiXe.type",
        "path": "Patient.identifier.type",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
              "code": "DL",
              "display": "Driver's license number"
            }
          ]
        }
      },
      {
        "id": "Patient.identifier:BangLaiXe.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "http://moh.gov.vn/fhir/core/sid/driver_license_number"
      },
      {
        "id": "Patient.identifier:BangLaiXe.value",
        "path": "Patient.identifier.value",
        "min": 1
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "mustSupport": true
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "min": 1
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-address"
            ]
          }
        ]
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Patient.multipleBirth[x]",
        "path": "Patient.multipleBirth[x]",
        "mustSupport": true
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "mustSupport": true
      },
      {
        "id": "Patient.contact.relationship",
        "path": "Patient.contact.relationship",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact.address",
        "path": "Patient.contact.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-address"
            ]
          }
        ]
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "mustSupport": true
      }
    ]
  }
}