# Consent to allow specific AI for a specific purpose - John Moehrke Consent About AI v0.2.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Consent to allow specific AI for a specific purpose**

## Example Consent: Consent to allow specific AI for a specific purpose

Security Label: [test health data (Details: ActReason code HTEST = 'test health data')](http://terminology.hl7.org/7.3.0/CodeSystem-v3-ActReason.html)

## Participants

* **Role**: Patient
  * **Details**: [John Schmidt Other, DoB: 1923-07-25 ( http://example.org/mrn#123456)](Patient-ex-patient.md)
* **Role**: Party
  * **Details**: [http://example.org/organizations/ex-organization](http://example.org/organizations/ex-organization)

This consent is made under the policy [http://example.org/consent-policies#specific-ai-consent](http://example.org/consent-policies#specific-ai-consent) .

* [Rule](https://hl7.org/fhir/R4/formats.html#table): permit
  * [Who](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
  * [Who](https://hl7.org/fhir/R4/formats.html#table): * CDS: [Device: identifier = http://example.org/ehr/client-ids#goodhealth; manufacturer = Acme Devices, Inc; type = Mental health crisis plan; contact = http://example.org](Device-AIdevice.md)

  * [What](https://hl7.org/fhir/R4/formats.html#table)![](data:image/png;base64, ): * Purpose: [ActReason: TREATDS](http://terminology.hl7.org/7.3.0/CodeSystem-v3-ActReason.html#v3-ActReason-TREATDS) (decision support assisted treatment decision)

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



## Resource Content

```json
{
  "resourceType" : "Consent",
  "id" : "AllowSpecificAIforSpecificPurpose",
  "meta" : {
    "security" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code" : "HTEST"
    }]
  },
  "status" : "active",
  "scope" : {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "patient-privacy"
    }]
  },
  "category" : [{
    "coding" : [{
      "system" : "http://loinc.org",
      "code" : "64292-6",
      "display" : "Release of information consent"
    }]
  },
  {
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "IDSCL"
    }]
  }],
  "patient" : {
    "reference" : "Patient/ex-patient"
  },
  "dateTime" : "2022-06-13",
  "performer" : [{
    "reference" : "http://example.org/organizations/ex-organization"
  }],
  "sourceReference" : {
    "reference" : "http://example.org/documentreferences/ex-documentreference"
  },
  "policy" : [{
    "uri" : "http://example.org/consent-policies#specific-ai-consent"
  }],
  "provision" : {
    "type" : "permit",
    "actor" : [{
      "role" : {
        "text" : "CDS"
      },
      "reference" : {
        "reference" : "Device/AIdevice"
      }
    }],
    "purpose" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code" : "TREATDS"
    }]
  }
}

```
