# Ví dụ — Đồng ý xử lý DLCN y tế - Bộ Hướng dẫn Triển khai Core FHIR cho Việt Nam v0.5.0

## Ví dụ Consent: Ví dụ — Đồng ý xử lý DLCN y tế

Profile: [Đồng ý xử lý dữ liệu VN Core — VN Core Consent Profile](StructureDefinition-vn-core-consent.md)

## Participants

* **Role**: Patient
  * **Details**: [Nguyễn Văn An Male, DoB: 1985-03-15 ( Căn cước công dân: VNCCCD#001085012345)](Patient-ExamplePatientNguyenVanAn.md)
* **Role**: Party
  * **Details**: [Nguyễn Văn An Male, DoB: 1985-03-15 ( Căn cước công dân: VNCCCD#001085012345)](Patient-ExamplePatientNguyenVanAn.md)
* **Role**: Manager
  * **Details**: [Organization Bệnh viện Chợ Rẫy](Organization-ExampleOrganizationChoRay.md)

This consent is made under the policies `urn:vn-law:91-2025-qh15` .

* [Rule](https://hl7.org/fhir/R4/formats.html#table): permit
  * [Time Period](https://hl7.org/fhir/R4/formats.html#table): 
  * [What](https://hl7.org/fhir/R4/formats.html#table)![](data:image/png;base64, ): 
* [Rule](https://hl7.org/fhir/R4/formats.html#table): permit
  * [Time Period](https://hl7.org/fhir/R4/formats.html#table): * Period: 2026-03-22 --> 2031-03-22

  * [What](https://hl7.org/fhir/R4/formats.html#table)![](data:image/png;base64, ): * Purpose: [Mục đích xử lý dữ liệu y tế — VN Consent Purpose CodeSystem: TREAT](CodeSystem-vn-consent-purpose-cs.md#vn-consent-purpose-cs-TREAT) (Khám chữa bệnh)
* Purpose: [Mục đích xử lý dữ liệu y tế — VN Consent Purpose CodeSystem: HPAYMT](CodeSystem-vn-consent-purpose-cs.md#vn-consent-purpose-cs-HPAYMT) (Thanh toán BHYT)
* Purpose: [Mục đích xử lý dữ liệu y tế — VN Consent Purpose CodeSystem: EMR](CodeSystem-vn-consent-purpose-cs.md#vn-consent-purpose-cs-EMR) (Bệnh án điện tử)

* [Rule](https://hl7.org/fhir/R4/formats.html#table): ![](icon-qi-hidden.png)deny
  * [Time Period](https://hl7.org/fhir/R4/formats.html#table): 
  * [What](https://hl7.org/fhir/R4/formats.html#table)![](data:image/png;base64, ): * Purpose: [Mục đích xử lý dữ liệu y tế — VN Consent Purpose CodeSystem: ERESRCH](CodeSystem-vn-consent-purpose-cs.md#vn-consent-purpose-cs-ERESRCH) (Nghiên cứu y học)

* [Rule](https://hl7.org/fhir/R4/formats.html#table): ![](data:image/png;base64, ) Documentation for this format



## Resource Content

```json
{
  "resourceType" : "Consent",
  "id" : "example-consent-privacy",
  "meta" : {
    "profile" : ["http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-consent"]
  },
  "status" : "active",
  "scope" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "patient-privacy",
      "display" : "Privacy Consent"
    }]
  },
  "category" : [{
    "coding" : [{
      "system" : "http://fhir.hl7.org.vn/core/CodeSystem/vn-consent-category-cs",
      "code" : "privacy",
      "display" : "Quyền riêng tư dữ liệu"
    }]
  }],
  "patient" : {
    "reference" : "Patient/ExamplePatientNguyenVanAn"
  },
  "dateTime" : "2026-03-22",
  "performer" : [{
    "reference" : "Patient/ExamplePatientNguyenVanAn"
  }],
  "organization" : [{
    "reference" : "Organization/ExampleOrganizationChoRay"
  }],
  "policy" : [{
    "authority" : "urn:vn-authority:government",
    "uri" : "urn:vn-law:91-2025-qh15"
  }],
  "provision" : {
    "type" : "permit",
    "period" : {
      "start" : "2026-03-22",
      "end" : "2031-03-22"
    },
    "purpose" : [{
      "system" : "http://fhir.hl7.org.vn/core/CodeSystem/vn-consent-purpose-cs",
      "code" : "TREAT",
      "display" : "Khám chữa bệnh"
    },
    {
      "system" : "http://fhir.hl7.org.vn/core/CodeSystem/vn-consent-purpose-cs",
      "code" : "HPAYMT",
      "display" : "Thanh toán BHYT"
    },
    {
      "system" : "http://fhir.hl7.org.vn/core/CodeSystem/vn-consent-purpose-cs",
      "code" : "EMR",
      "display" : "Bệnh án điện tử"
    }],
    "provision" : [{
      "type" : "deny",
      "purpose" : [{
        "system" : "http://fhir.hl7.org.vn/core/CodeSystem/vn-consent-purpose-cs",
        "code" : "ERESRCH",
        "display" : "Nghiên cứu y học"
      }]
    }]
  }
}

```
