{
  "resourceType": "StructureDefinition",
  "id": "krcore-patient",
  "meta": {
    "lastUpdated": "2021-11-14T08:59:16.73+00:00"
  },
  "url": "https://example.org/fhir/krcore/StructureDefinition/krcore-patient",
  "name": "KRCore_Patient",
  "title": "KR Core Patient Profile",
  "status": "draft",
  "date": "2021-11-14T08:18:40.1113989Z",
  "publisher": "HL7 Korea",
  "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/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient",
        "path": "Patient",
        "short": "KR Core Patient Resource"
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type.coding.code"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "short": "식별 정보",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier.system",
        "path": "Patient.identifier.system",
        "short": "식별체계 식별자",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier.value",
        "path": "Patient.identifier.value",
        "short": "식별자",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:patientNumber",
        "path": "Patient.identifier",
        "sliceName": "patientNumber",
        "short": "요양기관 환자번호",
        "definition": "요양기관에서 부여한 환자번호"
      },
      {
        "id": "Patient.identifier:patientNumber.type",
        "path": "Patient.identifier.type",
        "short": "식별자 유형"
      },
      {
        "id": "Patient.identifier:patientNumber.type.coding",
        "path": "Patient.identifier.type.coding",
        "short": "정의된 코드",
        "min": 1
      },
      {
        "id": "Patient.identifier:patientNumber.type.coding.system",
        "path": "Patient.identifier.type.coding.system",
        "short": "코드체계 식별자",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203"
      },
      {
        "id": "Patient.identifier:patientNumber.type.coding.code",
        "path": "Patient.identifier.type.coding.code",
        "short": "코드값",
        "min": 1,
        "fixedCode": "MR"
      },
      {
        "id": "Patient.identifier:patientNumber.system",
        "path": "Patient.identifier.system",
        "short": "요양기관 식별자 (OID)",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.identifier:patientNumber.value",
        "path": "Patient.identifier.value",
        "short": "환자번호",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "short": "성명",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "short": "성명 텍스트",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "short": "연락처"
      },
      {
        "id": "Patient.telecom.system",
        "path": "Patient.telecom.system",
        "short": "연락처 유형: phone | fax | email",
        "definition": "phone: 휴대전화번호\r\nfax: 팩스번호\r\nemail: 이메일 주소",
        "mustSupport": true
      },
      {
        "id": "Patient.telecom.value",
        "path": "Patient.telecom.value",
        "short": "상세 연락처",
        "mustSupport": true
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "short": "성별코드: male | female | other | unknown",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "description": "성별코드: male | female | other | unknown"
        }
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "short": "생년월일",
        "mustSupport": true
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "short": "주소"
      },
      {
        "id": "Patient.address.extension",
        "path": "Patient.address.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Patient.address.extension:krcore-roadnameaddress",
        "path": "Patient.address.extension",
        "sliceName": "krcore-roadnameaddress",
        "short": "한국 도로명 주소",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://example.org/fhir/krcore/StructureDefinition/krcore-roadnameaddress"
            ]
          }
        ]
      },
      {
        "id": "Patient.address.text",
        "path": "Patient.address.text",
        "short": "주소 텍스트",
        "mustSupport": true
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "short": "우편번호",
        "mustSupport": true
      }
    ]
  }
}