Stream: Security and Privacy
Topic: Provenance for Consent
Mohammad Jafari (Jun 25 2021 at 01:13):
In the LEAP project's Consent Management Service, we capture the patient's raw responses to the UI questions in the form of a QuestionnaireResponse resource and then generate a FHIR Consent resource based on that. We want to use the Provenance resource to record this derivation. The following template is where we started; I thought of asking for feedback from the community here to see if we could do anything better or differently. (I turned the JSON object into a javascript constant so that I can include comments; pure JSON doesn't allow comments):
const provenance = {
"resourceType": "Provenance",
"target": [
{
"reference": "Consent/C1001" //reference to the consent resource created
}
],
"recorded": "2015-06-27T08:39:24+10:00", //when the consent resource was generated based on the questionnaire response.
"activity": [
{
"coding": [
{
"system": " http://terminology.hl7.org/CodeSystem/v3-DataOperation",
"code": "CREATE",
"display": "create"
}
]
}
],
"agent": [
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
"code": "assembler",
"display": "Assembler"
}
]
},
"who": {
"display": "LEAP Consent Management Service"
}
}
],
"entity": [
{
"role": "source",
"what": {
"reference": "Questionnaire/Q1001" //link to the questionnaire resource capturing patient's responses in the UI.
}
}
]
}
Lloyd McKenzie (Jun 25 2021 at 02:38):
@John Moehrke
John Moehrke (Jun 25 2021 at 11:45):
That seems right to me.
Last updated: Apr 12 2022 at 19:14 UTC