Skip to main content

updatePatientData

Update patient data. Only data requestors can use this endpoint to update patient data for patients in projects they have access to.

Path Parameters
projectId string REQUIRED

Project Id

patientId string REQUIRED

Patient Id

Request Body REQUIRED

Patient data update parameters

skipInteractive boolean

Whether to skip interactive authentication flows and only return PATIENT_ACTION_NEEDED for consent-related issues

Responses
200

Patient data update status

Schema OPTIONAL
message string

Possible values: [IN_PROGRESS_NO_ACTION_NEEDED, PATIENT_ACTION_NEEDED]

Status of the patient data update request

skippedFacilitiesCount number

Number of facilities that were skipped during the update process

patientActionNeededReason string OPTIONAL

Possible values: [CONSENT_EXPIRED, CONSENT_NOT_FOUND, CONSENT_REVOKED, UNLOCKED_OR_NO_TARGETED_LIST, AUTHENTICATION_EXPIRED, AUTHENTICATION_NEEDED_NEW_FACILITY]

Reason why patient action is needed