{
  "resourceType": "StructureDefinition",
  "id": "krcore-organization",
  "meta": {
    "lastUpdated": "2021-11-14T16:36:12.682+00:00"
  },
  "url": "https://example.org/fhir/krcore/StructureDefinition/krcore-organization",
  "name": "KRCore_Organization",
  "title": "KR Core Organization Profile",
  "status": "draft",
  "date": "2021-11-14T15:29:41.6230846Z",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization",
        "path": "Organization",
        "short": "KR Core Organization Profile"
      },
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "short": "식별 정보",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.system",
        "path": "Organization.identifier.system",
        "short": "기관 식별 체계",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.value",
        "path": "Organization.identifier.value",
        "short": "기관 식별자",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:KRNPI",
        "path": "Organization.identifier",
        "sliceName": "KRNPI",
        "short": "한국 요양기관 식별자",
        "definition": "건깅보험심사평가원에서 부여하는 요양기관 번호",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier:KRNPI.system",
        "path": "Organization.identifier.system",
        "short": "식별체계 식별자",
        "min": 1,
        "fixedUri": "https://hira.or.kr/knpi"
      },
      {
        "id": "Organization.identifier:KRNPI.value",
        "path": "Organization.identifier.value",
        "short": "식별자 (건강보험심사평가원 요양기관 번호)",
        "definition": "요양기관의 OID",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.type",
        "path": "Organization.type",
        "short": "기관 유형",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "description": "KR Core Organization Type",
          "valueSet": "https://example.org/fhir/krcore/ValueSet/krcore-organization-type"
        }
      },
      {
        "id": "Organization.type.coding",
        "path": "Organization.type.coding",
        "short": "기관 타입 코드"
      },
      {
        "id": "Organization.type.coding.system",
        "path": "Organization.type.coding.system",
        "short": "기관 구분 코드 체계",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.type.coding.code",
        "path": "Organization.type.coding.code",
        "short": "기관 구분 코드",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.type.coding.display",
        "path": "Organization.type.coding.display",
        "short": "코드명칭"
      },
      {
        "id": "Organization.type.text",
        "path": "Organization.type.text",
        "fixedString": "요양기관 외 기관 구분 텍스트"
      },
      {
        "id": "Organization.name",
        "path": "Organization.name",
        "short": "기관 명칭",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.telecom",
        "path": "Organization.telecom",
        "short": "기관 연락처",
        "mustSupport": true
      },
      {
        "id": "Organization.telecom.system",
        "path": "Organization.telecom.system",
        "short": "연락처 유형: phone | fax | email | pager | url | sms | other",
        "mustSupport": true
      },
      {
        "id": "Organization.telecom.value",
        "path": "Organization.telecom.value",
        "mustSupport": true
      },
      {
        "id": "Organization.address",
        "path": "Organization.address",
        "short": "기관 주소",
        "mustSupport": true
      },
      {
        "id": "Organization.address.extension",
        "path": "Organization.address.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Organization.address.extension:roadNameAddress",
        "path": "Organization.address.extension",
        "sliceName": "roadNameAddress",
        "short": "한국의 도로명 주소",
        "definition": "도로명 주소 정보를 표현하는 Extension",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://example.org/fhir/krcore/StructureDefinition/krcore-roadnameaddress"
            ]
          }
        ]
      },
      {
        "id": "Organization.address.text",
        "path": "Organization.address.text",
        "short": "주소 텍스트",
        "mustSupport": true
      },
      {
        "id": "Organization.address.postalCode",
        "path": "Organization.address.postalCode",
        "short": "우편번호",
        "definition": "우편번호",
        "mustSupport": true
      },
      {
        "id": "Organization.partOf",
        "path": "Organization.partOf",
        "short": "상위 기관",
        "definition": "특정 기관의 하부 기관일 경우 상위 기관 정보",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://example.org/fhir/krcore/StructureDefinition/krcore-organization"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}