{
  "resourceType": "StructureDefinition",
  "id": "krcore-encounter",
  "meta": {
    "lastUpdated": "2021-11-15T07:03:03.089+00:00"
  },
  "url": "https://example.org/fhir/krcore/StructureDefinition/krcore-encounter",
  "name": "KRCore_Encounter",
  "title": "KR Core Encounter Profile",
  "status": "draft",
  "date": "2021-11-14T15:40:22.808577+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Encounter",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Encounter",
        "path": "Encounter",
        "short": "KR Core Encoutner Profile"
      },
      {
        "id": "Encounter.identifier",
        "path": "Encounter.identifier",
        "short": "내원 식별 정보(진료접수번호 등)"
      },
      {
        "id": "Encounter.identifier.system",
        "path": "Encounter.identifier.system",
        "short": "식별체계 식별자 (의료기관 OID 등)",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Encounter.identifier.value",
        "path": "Encounter.identifier.value",
        "short": "식별자 (진료접수번호 등)",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Encounter.status",
        "path": "Encounter.status",
        "short": "내원 상태: planned | arrived | triaged | in-progress | onleave | finished | cancelled +"
      },
      {
        "id": "Encounter.class",
        "path": "Encounter.class",
        "short": "내원 구분: AMP(외래) | EMER(응급) | IMP(입원) | ...",
        "mustSupport": true
      },
      {
        "id": "Encounter.class.system",
        "path": "Encounter.class.system",
        "short": "식별체계 식별자",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Encounter.class.code",
        "path": "Encounter.class.code",
        "short": "코드값",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Encounter.subject",
        "path": "Encounter.subject",
        "short": "내원 환자",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://example.org/fhir/krcore/StructureDefinition/krcore-patient"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Encounter.participant",
        "path": "Encounter.participant",
        "short": "내원 참여 의료인",
        "mustSupport": true
      },
      {
        "id": "Encounter.participant.individual",
        "path": "Encounter.participant.individual",
        "short": "내원 참여 의료인 인적사항 또는 역할",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://example.org/fhir/krcore/StructureDefinition/krcore-practitioner",
              "https://example.org/fhir/krcore/StructureDefinition/krcore-practitionerrole"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Encounter.period",
        "path": "Encounter.period",
        "short": "내원 기간",
        "mustSupport": true
      },
      {
        "id": "Encounter.period.start",
        "path": "Encounter.period.start",
        "short": "내원 시작 일시",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Encounter.period.end",
        "path": "Encounter.period.end",
        "short": "내원 종료 일시"
      },
      {
        "id": "Encounter.serviceProvider",
        "path": "Encounter.serviceProvider",
        "short": "내원 기관",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://example.org/fhir/krcore/StructureDefinition/krcore-organization"
            ]
          }
        ],
        "mustSupport": true
      }
    ]
  }
}