200
Object containing information about the patient's consent | Schema — OPTIONAL |
|---|
consentType stringThe type of consent that was recorded | hasPatientConsented booleanWhether the patient consented or not | consentDataScopes object[]What kinds of data the patient has consented to disclose. Null if the patient has not consented. resourceScope stringPossible values: [CONTACT_INFO, MEDICATIONS, ALLERGIES, DIAGNOSES, LABS, DEMOGRAPHICS, CLINICAL_NOTES, VISITS, DIAGNOSTIC_REPORTS, CLINICAL_VITALS, PROCEDURES, IMMUNIZATIONS, IMAGING, TREATMENT_PLAN, GENOMIC_DATA, FAMILY_HISTORY, SOCIAL_HISTORY, ADMINISTRATIVE_AND_BILLING] | sensitivityScope stringPossible values: [NORMAL, HIV_OR_STI, SUBSTANCE_USE_OR_DRUG_ABUSE, MENTAL_HEALTH, GENETIC_TESTING, REPRODUCTIVE_HEALTH_DATA, PSYCHOTHERAPY_NOTES, SUD_PART_2, SICKLE_CELL] |
| consentRecordId string — OPTIONALThe ID of the consent record that recorded this consent. This ID can be used in subsequent API calls to get even more detail | expirationTimestamp date-time — OPTIONALWhen this consent record expires, if applicable. | pdfUrl string — OPTIONALThe URL of the PDF of the consent record. | reason string — OPTIONALPossible values: [CONSENTED, DECLINED, REVOKED, EXPIRED, NO_RESPONSE] The reason for the consent decision. Only present if includeReason is true. | consentRecord object — OPTIONALThe consent record object for this consent. id string | patientId string | studyId object | studyVersionId object | consentType stringPossible values: [DATA_AUTHORIZATION, PATIENT_DIRECTED_DATA_EXCHANGE, FUTURE_DATA_USE] | consentStatus stringPossible values: [OPTED_IN, OPTED_OUT] | timestamp date-time | expirationTimestamp date-time | consentStats object — OPTIONAL | studySnapshotId object | consentConfigSnapshotId object | consentUIFlow stringPossible values: [PATIENT_DIRECTED_DATA_EXCHANGE] | uiHash object | language object | fullRecordWithoutRestrictedData object — OPTIONAL | consentDataResourceScopes string[]Possible values: [CONTACT_INFO, MEDICATIONS, ALLERGIES, DIAGNOSES, LABS, DEMOGRAPHICS, CLINICAL_NOTES, VISITS, DIAGNOSTIC_REPORTS, CLINICAL_VITALS, PROCEDURES, IMMUNIZATIONS, IMAGING, TREATMENT_PLAN, GENOMIC_DATA, FAMILY_HISTORY, SOCIAL_HISTORY, ADMINISTRATIVE_AND_BILLING] | consentDataSensitivityScopes string[]Possible values: [NORMAL, HIV_OR_STI, SUBSTANCE_USE_OR_DRUG_ABUSE, MENTAL_HEALTH, GENETIC_TESTING, REPRODUCTIVE_HEALTH_DATA, PSYCHOTHERAPY_NOTES, SUD_PART_2, SICKLE_CELL] | providerId object | patientName object | signerName object | signingReason object | pagesViewed string[] | mp4Url object | posterUrl object | consentedByLink object | providerSignerName object |
| studyId objectThe study that the consent was recorded for, or null in the case of an IAS consent | source stringPossible values: [STUDY, DEFAULTS, IAS] If a patient explicitly gave or declined consent for a study, this will be STUDY. If a patient did not give a consent response at all, this will be DEFAULTS. IAS indicates a consent that was given for the patient's own use, and will never be returned by this API.
|
|