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" : "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"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Consent example for testing</div>"
},
"identifier" : [
{
"system" : "urn:oid:1.2.36.146.595.217.0.1",
"value" : "${UUID-NODASH}"
}
],
"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/PatientExample",
"identifier" : {
"system" : "http://example.org/mrn",
"value" : "M1230041"
}
},
"dateTime" : "2025-05-05",
"performer" : [
{
"reference" : "Patient/PatientExample",
"identifier" : {
"system" : "http://example.org/mrn",
"value" : "M1230041"
}
}
],
"organization" : [
{
"reference" : "Organization/OrganizationExample",
"identifier" : {
"system" : "http://hl7.org/fhir/sid/us-npi",
"value" : "1234567893"
}
}
],
"sourceAttachment" : {
"contentType" : "text/plain",
"data" : "RkFTVCBDb25zZW50IFRlc3QgRGF0YSAtIFNvdXJjZSBmb3IgQ29uc2VudEV4YW1wbGU=",
"title" : "Source for ConsentExample"
},
"policyRule" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/consentpolicycodes",
"code" : "hipaa-auth"
}
]
},
"provision" : {
"type" : "permit"
}
}
}
]
}