{
  "resourceType": "StructureDefinition",
  "url": "http://example.org/fhir/StructureDefinition/Provenance_KR_PHR",
  "name": "Provenance_KR_PHR",
  "status": "draft",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w3c.prov",
      "uri": "http://www.w3.org/ns/prov",
      "name": "W3C PROV"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    },
    {
      "identity": "fhirauditevent",
      "uri": "http://hl7.org/fhir/auditevent",
      "name": "FHIR AuditEvent"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Provenance",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Provenance",
        "path": "Provenance",
        "short": "리소스 집합의 출처 (사용자, 용도, 시기)",
        "definition": "리소스의 출처는 리소스의 생산과 제공 또는 그 밖의 영향을 미치는 기관과 프로세스를 기술하는 기록임. 출처는 진정성을 평가하고, 신뢰를 활성화하며, 재현을 위한 기반을 제공함. 출처 결과 (provenance assertion)는 메타데이터로서 자신의 출처에 대한 중요한 기록이 될 수 있음. 출처 증명서(Provenance statement)는 신뢰도, 신뢰성, 무결성 및 라이프사이클의 단계(예: 문서 완료 - 인공물이 법적으로 인증되었음)의 측면에서 임상적 중요성을 나타내며, 보안, 프라이버시 및 신뢰 정책에 영향을 미칠 수 있음."
      },
      {
        "id": "Provenance.target",
        "path": "Provenance.target",
        "short": "출처에 대한 참조 (레퍼런스)",
        "definition": "리소스에 설명된 활동에 의해 생성되거나 업데이트된 레퍼런스. 여러 개의 리소스가 동일한 활동에 의해 생성/업데이트된 경우 출처는 한개 이상의 대상을 가리킬 수 있음."
      },
      {
        "id": "Provenance.period",
        "path": "Provenance.period",
        "short": "활동이 발생한 시기",
        "definition": "활동이 발생한 시기."
      },
      {
        "id": "Provenance.recorded",
        "path": "Provenance.recorded",
        "short": "활동이 기록/업데이트된 시기",
        "definition": "활동이 기록/업데이트된 시기."
      },
      {
        "id": "Provenance.policy",
        "path": "Provenance.policy",
        "short": "활동을 정의하는 계획 또는 정책",
        "definition": "활동을 정의하는 계획 또는 정책. 일반적으로 단일 활동에는 환자 동의, 보증인 자금 지원 등과 같은 여러 개의 적용 가능한 정책 문서가 있을 수 있음."
      },
      {
        "id": "Provenance.location",
        "path": "Provenance.location",
        "short": "활동이 일어난 곳",
        "definition": "활동이 일어난 곳."
      },
      {
        "id": "Provenance.reason",
        "path": "Provenance.reason",
        "short": "활동의 이유",
        "definition": "활동의 이유."
      },
      {
        "id": "Provenance.activity",
        "path": "Provenance.activity",
        "short": "발생한 활동",
        "definition": "활동은 일정 기간에 걸쳐 발생하며 특정 대상에 작용하는 것으로, 대상을 소비, 처리, 변형, 수정, 재배치, 사용 또는 생성하는 것을 포함할 수 있음."
      },
      {
        "id": "Provenance.agent",
        "path": "Provenance.agent",
        "short": "활동 수행자",
        "definition": "수행되는 활동에 대해 어느 정도 책임을 부여할 수 있는 역할 수행자."
      },
      {
        "id": "Provenance.agent.role",
        "path": "Provenance.agent.role",
        "short": "수행자의 역할",
        "definition": "활동과 관련된 수행자의 기능. 수행자가 활동을 실행할 수 있도록 해주는 보안 역할."
      },
      {
        "id": "Provenance.agent.who[x]",
        "path": "Provenance.agent.who[x]",
        "short": "참여자",
        "definition": "이벤트/활동에 참여한 개인, 장치 또는 조직"
      },
      {
        "id": "Provenance.agent.onBehalfOf[x]",
        "path": "Provenance.agent.onBehalfOf[x]",
        "short": "수행자가 대신하는 사람/조직/장치",
        "definition": "수행자가 대신하는 사람/조직/장치."
      },
      {
        "id": "Provenance.agent.relatedAgentType",
        "path": "Provenance.agent.relatedAgentType",
        "short": "수행자 사이의 관계",
        "definition": "수행자 사이의 관계."
      },
      {
        "id": "Provenance.entity",
        "path": "Provenance.entity",
        "short": "이 활동에 사용된 상대 (entity)",
        "definition": "이 활동에 사용된 상대 (entity)."
      },
      {
        "id": "Provenance.entity.role",
        "path": "Provenance.entity.role",
        "short": "파생 | 수정 | 인용 | 출처 | 제거",
        "definition": "활동 중에 상대 (entity)가 사용된 방법."
      },
      {
        "id": "Provenance.entity.what[x]",
        "path": "Provenance.entity.what[x]",
        "short": "entity의 정체",
        "definition": "entity의 정체. logical or physical uri 일 수 있으며 절대치이거나 상대치일 수 있음."
      },
      {
        "id": "Provenance.entity.agent",
        "path": "Provenance.entity.agent",
        "short": "수행자에게 귀속된 entity",
        "definition": "entity는 그 entity에 대한 수행자의 책임을 표현하기 위해 수행자에게 귀속됨. 수행자는 entity를 만든 활동에 대한 책임이 있다고 이해할 수 있음."
      },
      {
        "id": "Provenance.entity.agent.role",
        "path": "Provenance.entity.agent.role",
        "short": "수행자의 역할",
        "definition": "활동과 관련된 수행자의 기능. 수행자가 활동을 실행할 수 있도록 해주는 보안 역할."
      },
      {
        "id": "Provenance.entity.agent.who[x]",
        "path": "Provenance.entity.agent.who[x]",
        "short": "참여자",
        "definition": "이벤트/활동에 참여한 개인, 장치 또는 조직"
      },
      {
        "id": "Provenance.entity.agent.onBehalfOf[x]",
        "path": "Provenance.entity.agent.onBehalfOf[x]",
        "short": "수행자가 대신하는 사람/조직/장치",
        "definition": "수행자가 대신하는 사람/조직/장치."
      },
      {
        "id": "Provenance.entity.agent.relatedAgentType",
        "path": "Provenance.entity.agent.relatedAgentType",
        "short": "수행자 사이의 관계",
        "definition": "수행자 사이의 관계."
      },
      {
        "id": "Provenance.signature",
        "path": "Provenance.signature",
        "short": "대상에 대한 디지털 서명",
        "definition": "대상 참조의 디지털 서명. 서명자는 출처의 수행자 (provenance.agent)와 일치해야 함. 서명 목적이 표시되어야 함."
      },
      {
        "id": "Provenance.signature.type",
        "path": "Provenance.signature.type",
        "short": "디지털 서명의 이유",
        "definition": "entity가 이 문서에 서명한 이유에 대한 표시. 이는 서명 정보의 일부로 명시적으로 포함될 수 있으며, 문서에 관한 다양한 조치에 대한 책임을 결정할 때 사용할 수 있음."
      },
      {
        "id": "Provenance.signature.when",
        "path": "Provenance.signature.when",
        "short": "디지털 서명의 시간",
        "definition": "디지털 서명의 시간."
      },
      {
        "id": "Provenance.signature.who[x]",
        "path": "Provenance.signature.who[x]",
        "short": "서명자",
        "definition": "서명자에 대한 설명을 포함한 참조 (예: 서명시 private key를 활용함)."
      },
      {
        "id": "Provenance.signature.onBehalfOf[x]",
        "path": "Provenance.signature.onBehalfOf[x]",
        "short": "서명이 대표하는 사람/기관",
        "definition": "서명이 대표하는 사람/기관에 대한 설명을 포함한 참조."
      },
      {
        "id": "Provenance.signature.contentType",
        "path": "Provenance.signature.contentType",
        "short": "서명의 기술적 형식",
        "definition": "서명의 기술 형식을 나타내는 mime 유형. 중요한 Mime 유형은 X ML DigSig의 애플리케이션/signature+xml, JWT의 애플리케이션/jwt, 시그니처의 그래픽 이미지용 이미지/* 등임."
      },
      {
        "id": "Provenance.signature.blob",
        "path": "Provenance.signature.blob",
        "short": "실제 서명 내용(XML DigSig. JWT, picture, etc.)",
        "definition": "서명 내용의 base64 인코딩. 서명이 전자적으로 기록되지 않을 때 이 항목은 비어 있음."
      }
    ]
  }
}