Scalable Consent Management Testing Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
{
"resourceType" : "Parameters",
"id" : "parameters-fileconsent",
"meta" : {
"profile" : [
🔗 "http://hl7.org/fhir/us/consent-management/StructureDefinition/FileConsentParameters"
]
},
"parameter" : [
{
"name" : "consent",
"resource" : {
"resourceType" : "Consent",
"id" : "ConsentExample",
"meta" : {
"profile" : [
🔗 "http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent"
],
"tag" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"code" : "HTEST",
"display" : "test health data"
}
]
},
"extension" : [
{
"url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.grantee",
"valueReference" : {
🔗 "reference" : "RelatedPerson/relatedperson-robert-miren",
"identifier" : {
"system" : "http://example.org/identifiers",
"value" : "relatedperson-robert-miren"
}
}
},
{
"url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.manager",
"valueReference" : {
🔗 "reference" : "Organization/organization-fast-consent-ri",
"identifier" : {
"system" : "http://example.org/identifiers",
"value" : "organization-fast-consent-ri"
}
}
}
],
"identifier" : [
{
"system" : "http://example.org/identifiers",
"value" : "ec63290f-1f93-4ed3-b531-0d86e2791165"
}
],
"status" : "active",
"scope" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/consentscope",
"code" : "patient-privacy"
}
]
},
"category" : [
{
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code" : "INFA"
}
]
}
],
"patient" : {
🔗 "reference" : "Patient/patient-lara-miren",
"identifier" : {
"system" : "http://example.org/identifiers",
"value" : "patient-lara-miren"
}
},
"dateTime" : "2025-08-08T16:47:10-04:00",
"performer" : [
{
🔗 "reference" : "Patient/patient-lara-miren",
"identifier" : {
"system" : "http://example.org/identifiers",
"value" : "patient-lara-miren"
}
}
],
"sourceReference" : {
🔗 "reference" : "DocumentReference/docref-fileconsent",
"identifier" : {
"system" : "http://example.org/identifiers",
"value" : "docref-fileconsent"
}
},
"policyRule" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/consentpolicycodes",
"code" : "hipaa-auth"
}
]
},
"provision" : {
"type" : "permit",
"period" : {
"start" : "2025-08-01T00:00:00-04:00"
},
"actor" : [
{
"role" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
"code" : "IRCP"
}
]
},
"reference" : {
🔗 "reference" : "RelatedPerson/relatedperson-robert-miren",
"identifier" : {
"system" : "http://example.org/identifiers",
"value" : "relatedperson-robert-miren"
}
}
}
]
}
}
},
{
"name" : "document",
"resource" : {
"resourceType" : "DocumentReference",
"id" : "docref-fileconsent",
"meta" : {
"profile" : [
🔗 "http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTDocumentReference"
],
"tag" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"code" : "HTEST",
"display" : "test health data"
}
]
},
"identifier" : [
{
"system" : "http://example.org/identifiers",
"value" : "docref-fileconsent"
}
],
"status" : "current",
"type" : {
"coding" : [
{
"system" : "http://loinc.org",
"code" : "64292-6"
}
]
},
"category" : [
{
"coding" : [
{
"system" : "http://loinc.org",
"code" : "57016-8"
}
]
}
],
"subject" : {
🔗 "reference" : "Patient/patient-lara-miren",
"identifier" : {
"system" : "http://example.org/identifiers",
"value" : "patient-lara-miren"
}
},
"date" : "2025-08-01T00:00:00.000-04:00",
"author" : [
{
🔗 "reference" : "Patient/patient-lara-miren",
"identifier" : {
"system" : "http://example.org/identifiers",
"value" : "patient-lara-miren"
}
}
],
"content" : [
{
"attachment" : {
"contentType" : "text/plain; charset=utf-8",
"data" : "SSwgTGFyYSBNaXJlbiwgcGVybWl0IFJvYmVydCBNaXJlbiBhY2Nlc3MgdG8gbXkgbWVkaWNhbCByZWNvcmRzLg=="
}
}
]
}
}
]
}