notebook
This commit is contained in:
@@ -29,9 +29,6 @@ DB_CONFIG = {
|
||||
GRAPHQL_QUERY = r"""
|
||||
query ClinicRequestDetail_GetPatientRequest2(
|
||||
$requestId: UUID!,
|
||||
$clinicSlug: String!,
|
||||
$isDoctor: Boolean!,
|
||||
$locale: Locale!
|
||||
) {
|
||||
patientRequestMedicalRecords: listMedicalRecordsForPatientRequest(
|
||||
attachmentTypes: [ECRF_FILL_ATTACHMENT, MESSAGE_ATTACHMENT, PATIENT_REQUEST_ATTACHMENT]
|
||||
@@ -81,9 +78,6 @@ def download_file(url: str, out_path: Path):
|
||||
def fetch_attachments(headers, request_id):
|
||||
variables = {
|
||||
"requestId": request_id,
|
||||
"clinicSlug": CLINIC_SLUG,
|
||||
"isDoctor": True,
|
||||
"locale": "cs",
|
||||
}
|
||||
payload = {
|
||||
"operationName": "ClinicRequestDetail_GetPatientRequest2",
|
||||
|
||||
Reference in New Issue
Block a user