200
Object containing information about the patient's consent | Schema — OPTIONAL |
|---|
consentType stringPossible values: [DATA_AUTHORIZATION, PATIENT_DIRECTED_DATA_EXCHANGE, FUTURE_DATA_USE] The 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. | expirationState string — OPTIONALPossible values: [ACTIVE, EXPIRING, EXPIRED] Classifies expirationTimestamp only and is independent of opt-in. ACTIVE is more than 60 calendar days away, EXPIRING is 0–60 calendar days while the instant is still in the future, and EXPIRED means the instant has already passed. Pair with hasPatientConsented for the opt-in decision. | daysUntilExpiration number — OPTIONALCalendar days until expirationTimestamp. Negative when the timestamp is on a prior calendar day. Zero with EXPIRING means it expires later today; zero with EXPIRED means the instant has already passed today. | pdfUrl string — OPTIONALThe URL of the PDF of the consent record. Deprecated: proof-of-consent PDFs are being phased out. This field is still populated today but new integrations should not depend on it. | 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] The type of consent that was recorded | 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.
|
|