{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2021-06-17T07:04:57.711+00:00"
  },
  "url": "http://example.org/fhir/StructureDefinition/Consent",
  "name": "Consent",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Consent",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Consent",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Consent",
        "path": "Consent",
        "comment": "THIS HAS CHANGED ALOT SINCE STU3....\r\n\r\nBroadly, there are 3 key areas of consent for patients: Consent around sharing information (aka Privacy Consent Directive - Authorization to Collect, Use, or Disclose information), consent for specific treatment, or kinds of treatment, and general advance care directives."
      },
      {
        "id": "Consent.category",
        "path": "Consent.category",
        "mustSupport": true
      },
      {
        "id": "Consent.patient",
        "path": "Consent.patient",
        "mustSupport": true
      },
      {
        "id": "Consent.source[x]",
        "path": "Consent.source[x]",
        "mustSupport": true
      }
    ]
  }
}