<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="krcore-patient" />
  <meta>
    <lastUpdated value="2021-11-14T08:59:16.730+00:00" />
  </meta>
  <url value="https://example.org/fhir/krcore/StructureDefinition/krcore-patient" />
  <name value="KRCore_Patient" />
  <title value="KR Core Patient Profile" />
  <status value="draft" />
  <date value="2021-11-14T08:18:40.1113989Z" />
  <publisher value="HL7 Korea" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="cda" />
    <uri value="http://hl7.org/v3/cda" />
    <name value="CDA (R2)" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="loinc" />
    <uri value="http://loinc.org" />
    <name value="LOINC code for the element" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Patient" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" />
  <derivation value="constraint" />
  <differential>
    <element id="Patient">
      <path value="Patient" />
      <short value="KR Core Patient Resource" />
    </element>
    <element id="Patient.identifier">
      <path value="Patient.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="type.coding.code" />
        </discriminator>
        <ordered value="false" />
        <rules value="open" />
      </slicing>
      <short value="식별 정보" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.identifier.system">
      <path value="Patient.identifier.system" />
      <short value="식별체계 식별자" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.identifier.value">
      <path value="Patient.identifier.value" />
      <short value="식별자" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.identifier:patientNumber">
      <path value="Patient.identifier" />
      <sliceName value="patientNumber" />
      <short value="요양기관 환자번호" />
      <definition value="요양기관에서 부여한 환자번호" />
    </element>
    <element id="Patient.identifier:patientNumber.type">
      <path value="Patient.identifier.type" />
      <short value="식별자 유형" />
    </element>
    <element id="Patient.identifier:patientNumber.type.coding">
      <path value="Patient.identifier.type.coding" />
      <short value="정의된 코드" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:patientNumber.type.coding.system">
      <path value="Patient.identifier.type.coding.system" />
      <short value="코드체계 식별자" />
      <min value="1" />
      <fixedUri value="http://terminology.hl7.org/CodeSystem/v2-0203" />
    </element>
    <element id="Patient.identifier:patientNumber.type.coding.code">
      <path value="Patient.identifier.type.coding.code" />
      <short value="코드값" />
      <min value="1" />
      <fixedCode value="MR" />
    </element>
    <element id="Patient.identifier:patientNumber.system">
      <path value="Patient.identifier.system" />
      <short value="요양기관 식별자 (OID)" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.identifier:patientNumber.value">
      <path value="Patient.identifier.value" />
      <short value="환자번호" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.name">
      <path value="Patient.name" />
      <short value="성명" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.name.text">
      <path value="Patient.name.text" />
      <short value="성명 텍스트" />
      <min value="1" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.telecom">
      <path value="Patient.telecom" />
      <short value="연락처" />
    </element>
    <element id="Patient.telecom.system">
      <path value="Patient.telecom.system" />
      <short value="연락처 유형: phone | fax | email" />
      <definition value="phone: 휴대전화번호&#xD;&#xA;fax: 팩스번호&#xD;&#xA;email: 이메일 주소" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.telecom.value">
      <path value="Patient.telecom.value" />
      <short value="상세 연락처" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.gender">
      <path value="Patient.gender" />
      <short value="성별코드: male | female | other | unknown" />
      <min value="1" />
      <mustSupport value="true" />
      <binding>
        <strength value="required" />
        <description value="성별코드: male | female | other | unknown" />
      </binding>
    </element>
    <element id="Patient.birthDate">
      <path value="Patient.birthDate" />
      <short value="생년월일" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.address">
      <path value="Patient.address" />
      <short value="주소" />
    </element>
    <element id="Patient.address.extension">
      <path value="Patient.address.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="0" />
    </element>
    <element id="Patient.address.extension:krcore-roadnameaddress">
      <path value="Patient.address.extension" />
      <sliceName value="krcore-roadnameaddress" />
      <short value="한국 도로명 주소" />
      <min value="0" />
      <type>
        <code value="Extension" />
        <profile value="https://example.org/fhir/krcore/StructureDefinition/krcore-roadnameaddress" />
      </type>
    </element>
    <element id="Patient.address.text">
      <path value="Patient.address.text" />
      <short value="주소 텍스트" />
      <mustSupport value="true" />
    </element>
    <element id="Patient.address.postalCode">
      <path value="Patient.address.postalCode" />
      <short value="우편번호" />
      <mustSupport value="true" />
    </element>
  </differential>
</StructureDefinition>