{
  "resourceType": "StructureDefinition",
  "id": "OperationOutcome",
  "meta": {
    "lastUpdated": "2019-10-31T22:29:23.356+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
      "valueString": "Foundation.Other"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "normative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
      "valueCode": "4.0.0"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 5
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "http://hl7.org/fhir/StructureDefinition/OperationOutcome",
  "version": "4.0.1",
  "name": "KR_OperationOutcome",
  "status": "active",
  "date": "2019-10-31T22:29:23+00:00",
  "publisher": "Health Level Seven International (FHIR Infrastructure)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    },
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg/index.cfm"
        }
      ]
    }
  ],
  "description": "시스템 작업(action)으로 인해 발생하는 오류(error), 경고 또는 정보 메시지 모음",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "OperationOutcome",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "OperationOutcome",
        "path": "OperationOutcome",
        "short": "작업(action)의 성공/실패에 대한 정보",
        "definition": "시스템 작업(action)으로 인해 발생하는 오류(error), 경고 또는 정보 메시지 모음",
        "comment": "Can result from the failure of a REST call or be part of the response message returned from a request message.",
        "mapping": [
          {
            "identity": "rim",
            "map": "Grouping is handled through multiple repetitions from whatever context references the outcomes (no specific grouper required)"
          }
        ]
      },
      {
        "id": "OperationOutcome.issue",
        "path": "OperationOutcome.issue",
        "short": "행동(action)과 관련된 단일 문제(issue)",
        "definition": "시스템 작업(action)으로 인해 발생하는 오류(error), 경고 또는 정보 메시지",
        "min": 1,
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "ERR"
          },
          {
            "identity": "rim",
            "map": "AcknowledgementDetail or Observation[classCode=\"ALRT\" and moodCode=\"EVN\"]"
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.severity",
        "path": "OperationOutcome.issue.severity",
        "short": "fatal | error | warning | information",
        "definition": "이슈(issue)가 성공적인 처리의 변화를 나타내는지 여부를 나타냄.",
        "comment": "This is labeled as \"Is Modifier\" because applications should not confuse hints and warnings with errors.",
        "requirements": "Indicates how relevant the issue is to the overall success of the action.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IssueSeverity"
            }
          ],
          "strength": "required",
          "description": "How the issue affects the success of the action.",
          "valueSet": "http://hl7.org/fhir/ValueSet/issue-severity|4.0.1"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "ERR-4"
          },
          {
            "identity": "rim",
            "map": "./typeCode[parent::AcknowledgmentDetail] or unique(./inboundRelationship[parent::Observation and typeCode='SUBJ' and isNormalActRelationship()]/source[classCode=\"OBS\" and moodCode=\"EVN\" and implies(code, ActCode#SEV and isNormalAct())/value[xsi:type=\"CD\"]"
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.code",
        "path": "OperationOutcome.issue.code",
        "short": "오류(error) 또는 경고 코드(code)",
        "definition": "이슈(issue) 유형(type)을 설명함. OperationOutcome[]을 생성하는 시스템은 IssueType 값 집합(value set)에서 가장 적용 가능한 코드(code)를 선택해야 하며 세부 사항 요소(element)의 오류(error)에 대한 자체 코드(code)를 추가로 제공할 수 있음.",
        "requirements": "Expresses the issue in a human and computer-friendly way, allowing the requesting system to behave differently based on the type of issue.\n\nThe required element provides a base level of computable interoperability across all systems for processing an outcome, allowing systems to respond appropriately regardless of the internal system error codes returned.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IssueType"
            }
          ],
          "strength": "required",
          "description": "A code that describes the type of issue.",
          "valueSet": "http://hl7.org/fhir/ValueSet/issue-type|4.0.1"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "ERR-3"
          },
          {
            "identity": "rim",
            "map": "./code"
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.details",
        "path": "OperationOutcome.issue.details",
        "short": "오류(error)에 대한 추가 세부 정보",
        "definition": "오류(error)에 대한 추가 세부 정보. 오류(error)에 대한 텍스트(text) 설명 또는 오류(error)를 식별하는 시스템 코드(code)일 수 있음.",
        "comment": "A human readable description of the error issue SHOULD be placed in details.text.",
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "isSummary": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "IssueDetails"
            }
          ],
          "strength": "example",
          "description": "A code that provides details as the exact issue.",
          "valueSet": "http://hl7.org/fhir/ValueSet/operation-outcome"
        },
        "mapping": [
          {
            "identity": "v2",
            "map": "ERR-5"
          },
          {
            "identity": "rim",
            "map": "./code"
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.details.coding",
        "path": "OperationOutcome.issue.details.coding",
        "short": "용어체계(terminology system)에 의해 정의된 코드(code)",
        "definition": "용어체계(terminology system)에 의해 정의된 코드(code) 참조"
      },
      {
        "id": "OperationOutcome.issue.details.coding.system",
        "path": "OperationOutcome.issue.details.coding.system",
        "short": "용어체계 식별(Identity of terminology system)",
        "definition": "코드(code)에서 기호(symbol)의 의미를 정의하는 CodeSystem[]를 식별"
      },
      {
        "id": "OperationOutcome.issue.details.coding.version",
        "path": "OperationOutcome.issue.details.coding.version",
        "short": "해당 시스템의 버전 정보 - 필요한 경우",
        "definition": "해당 코드(code)를 선택한 시점에 사용된 CodeSystem[]의 버전임. 올바로 관리된 CodeSystem[]은 코드(code)의 의미가 버전과 관계없이 일관적이므로 버전을 보고할 필요가 없음. 그러나 CodeSystem[]의 관리 상태는 지속적으로 보장할 수 없는 부분이며, 코드(code)의 의미가 일관적임을 보장할 수 없는 경우 버전이 교체되어야 함."
      },
      {
        "id": "OperationOutcome.issue.details.coding.code",
        "path": "OperationOutcome.issue.details.coding.code",
        "short": "시스템에 정의된 구문(syntax)의 기호(symbol)",
        "definition": "시스템에 정의된 구문(syntax)의 기호(symbol). 기호(symbol)은 CodeSystem[]에 의해 정의된 구문에서 미리 정의된 코드(code) 또는 표현(expression)일 수 있음. (예: post-coordination)"
      },
      {
        "id": "OperationOutcome.issue.details.coding.display",
        "path": "OperationOutcome.issue.details.coding.display",
        "short": "시스템에 정의된 표기(representation)",
        "definition": "시스템의 규칙(rules)에 따른, 시스템에서 코드(code)의 의미 표기(representation)"
      },
      {
        "id": "OperationOutcome.issue.details.coding.userSelected",
        "path": "OperationOutcome.issue.details.coding.userSelected",
        "short": "해당 코딩(coding)이 사용자(user)에 의해 직접(directly) 선택되었는지 여부",
        "definition": "해당 코딩(coding)이 사용자(user)에 의해 직접 선택되었음을 나타냄 - (예) 사용가능한 항목(item)의 선택 목록(list) 중 하나 (코드 또는 디스플레이 )"
      },
      {
        "id": "OperationOutcome.issue.details.text",
        "path": "OperationOutcome.issue.details.text",
        "short": "개념(concept)에 대한 일반 텍스트 표현 (plain text representation)",
        "definition": "데이터를 입력한 사용자(user)의 입장에서 보거나(seen)/선택하거나(selected)/언급한대로(uttered)의 개념(concept), 혹은 사용자(user)가 의도한 의미를 사람이 사용하는 언어로 표현한 것임."
      },
      {
        "id": "OperationOutcome.issue.diagnostics",
        "path": "OperationOutcome.issue.diagnostics",
        "short": "이슈(issue)에 대한 추가 진단 정보.",
        "definition": "이슈(issue)에 대한 추가 진단 정보.",
        "comment": "This may be a description of how a value is erroneous, a stack dump to help trace the issue or other troubleshooting information.",
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "ERR-8"
          },
          {
            "identity": "rim",
            "map": "./text[parent::AcknowledgmentDetail]"
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.location",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "deprecated"
          }
        ],
        "path": "OperationOutcome.issue.location",
        "short": "사용되지 않음(Deprecated): 이슈와 관련된 요소(element)의 경로",
        "definition": "해당요소(element)는 XML 전용이므로더이상사용되지않음. 이슈(issue)로대체되었음.",
        "comment": "The root of the XPath is the resource or bundle that generated OperationOutcome.  Each XPath SHALL resolve to a single node.  This element is deprecated, and is being replaced by expression.",
        "requirements": "Allows systems to highlight or otherwise guide users to elements implicated in issues to allow them to be fixed more easily.",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "ERR-2"
          },
          {
            "identity": "rim",
            "map": "./location[parent::AcknowledgmentDetail]"
          }
        ]
      },
      {
        "id": "OperationOutcome.issue.expression",
        "path": "OperationOutcome.issue.expression",
        "short": "문제와 관련된 요소(element)의 FHIRPath",
        "definition": "[simple subset of FHIRPath](fhirpath.html#simple)은 해당 문제를 발생시킨 리소스(resource)의 요소(element) 중 하나를 식별하는 요소(element) 이름, 반복 표시기(repetition indicators) 및 기본 하위 접근자(default child accessor)로 제한됨.",
        "comment": "The root of the FHIRPath is the resource or bundle that generated OperationOutcome.  Each FHIRPath SHALL resolve to a single node.",
        "requirements": "Allows systems to highlight or otherwise guide users to elements implicated in issues to allow them to be fixed more easily.",
        "type": [
          {
            "code": "string"
          }
        ],
        "isSummary": true,
        "mapping": [
          {
            "identity": "v2",
            "map": "ERR-2"
          },
          {
            "identity": "rim",
            "map": "./location[parent::AcknowledgmentDetail]"
          }
        ]
      }
    ]
  }
}