Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example Consent/consent-example-pkb (JSON)

Community Based Collaborative Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw JSON (canonical form + also see JSON Format Specification)

Example of Patients Know Best Usage

{
  "resourceType" : "Consent",
  "id" : "consent-example-pkb",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>This example demonstrates how to encode this screen shot in a consent resource:</p>\n      <p>\n        <img src=\"pkb.png\" alt=\"Screenshot from Patient Knows Best\"/>\n      </p>\n      <p>Thanks to <a href=\"https://www.patientsknowbest.com/\">Patients Know Best</a> for contributing this example</p>\n      <p>Example uses SecurityLabels to define data types</p>\n    </div>"
  },
  "status" : "active",
  "category" : [{
    "coding" : [{
      "system" : "http://loinc.org",
      "code" : "59284-0"
    }]
  }],
  "subject" : {
    "reference" : "Patient/example",
    "display" : "Peter James Chalmers"
  },
  "date" : "2018-12-28",
  "controller" : [{
    "reference" : "Organization/f001"
  }],
  "regulatoryBasis" : [{
    "coding" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "INFA"
    }]
  }],
  "decision" : "deny",
  "provision" : [{
    "actor" : [{
      "role" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
          "code" : "PRCP"
        }]
      },
      "reference" : {
        "reference" : "Organization/f001"
      }
    }],
    "action" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
        "code" : "access"
      }]
    }],
    "securityLabel" : [{
      "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
      "code" : "N"
    }],
    "provision" : [{
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "PSY"
      }]
    },
    {
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "SPI"
      }]
    },
    {
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
        "code" : "N"
      }]
    },
    {
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "PSY"
      }]
    },
    {
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "SPI"
      }]
    },
    {
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "SEX"
      }]
    },
    {
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
        "code" : "N"
      }]
    },
    {
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "PSY"
      }]
    },
    {
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "SPI"
      }]
    },
    {
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "SEX"
      }]
    },
    {
      "actor" : [{
        "role" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "PRCP"
          }]
        },
        "reference" : {
          "reference" : "Organization/f001"
        }
      }],
      "action" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
          "code" : "access"
        }]
      }],
      "securityLabel" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
        "code" : "N"
      }]
    }]
  }]
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.