{
  "resourceType" : "Parameters",
  "id" : "FileConsentQuestionnaireExample",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/us/consent-management/StructureDefinition/FileConsentParameters"]
  },
  "language" : "en",
  "parameter" : [{
    "name" : "consent",
    "resource" : {
      "resourceType" : "Consent",
      "id" : "ConsentExample",
      "meta" : {
        "profile" : ["http://hl7.org/fhir/us/consent-management/StructureDefinition/FASTConsent"]
      },
      "language" : "en",
      "extension" : [{
        "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-Consent.manager",
        "valueReference" : {
          "identifier" : {
            "system" : "http://hl7.org/fhir/sid/us-npi",
            "value" : "1234567893"
          }
        }
      }],
      "identifier" : [{
        "system" : "http://example.org/consent",
        "value" : "33445522"
      }],
      "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" : {
        "identifier" : {
          "system" : "http://example.org/mrn",
          "value" : "M1230041"
        }
      },
      "dateTime" : "2024-01-01",
      "performer" : [{
        "identifier" : {
          "system" : "http://example.org/mrn",
          "value" : "M1230041"
        }
      }],
      "sourceReference" : {
        "reference" : "QuestionnaireResponse/QuestionnaireResponseExample"
      },
      "policy" : [{
        "uri" : "hipaa-auth"
      }],
      "provision" : {
        "type" : "permit",
        "period" : {
          "start" : "2024-01-01"
        },
        "actor" : [{
          "role" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
              "code" : "IRCP"
            }]
          },
          "reference" : {
            "identifier" : {
              "system" : "http://hl7.org/fhir/sid/us-npi",
              "value" : "1234567893"
            }
          }
        }]
      }
    }
  },
  {
    "name" : "document",
    "resource" : {
      "resourceType" : "QuestionnaireResponse",
      "id" : "QuestionnaireResponseExample",
      "meta" : {
        "profile" : ["http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse"]
      },
      "language" : "en",
      "questionnaire" : "http://example.org/fhir/Questionnaire/Simple-Consent-Form",
      "status" : "completed",
      "subject" : {
        "identifier" : {
          "system" : "http://example.org/mrn",
          "value" : "M1230041"
        }
      },
      "authored" : "2024-01-01",
      "author" : {
        "identifier" : {
          "system" : "http://hl7.org/fhir/sid/us-npi",
          "value" : "1234567893"
        }
      },
      "item" : [{
        "linkId" : "1",
        "answer" : [{
          "valueBoolean" : true
        }]
      }]
    }
  }]
}