-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Sync data is completed, but no data show on the report page web UI #1624
Comments
@Naima-Bashir this plan is available on the reporting page here. |
@Naima-Bashir please clarify which specific data was missing initially. see below current data. |
@ciremusyoka the client confirmed that there was a Blood screening data captured that can be seen on the DB but does not show on the report. |
@samkanga we don't have any complete blood screening task Both the following queries give a count of 0 SELECT count(*) FROM tasks
WHERE plan_identifier = '60791504-3106-580a-9744-ee21221a0c2f'
AND code = 'Blood Screening'
AND group_identifier = 'ccfb736e-d090-44ff-ae67-e65933481086'
AND business_status IN ('Complete', 'Sprayed')
AND status NOT IN ('Archived', 'Cancelled');
SELECT count(*) FROM raw_tasks
WHERE full_json->>'planIdentifier' = '60791504-3106-580a-9744-ee21221a0c2f'
AND full_json->>'code' = 'Blood Screening'
AND full_json->>'businessStatus' IN ('Complete', 'Sprayed')
AND full_json->>'groupIdentifier' = 'ccfb736e-d090-44ff-ae67-e65933481086'; |
@Rkareko help confirm if there is task on the OpenSRP DB with on Thailand Local instance |
@ciremusyoka Appears all the Blood screening tasks are in
|
@samkanga @Rkareko we have no records of the task IDs for completed blood screening tasks provided on the data warehouse. SELECT count(*) FROM tasks WHERE identifier IN ('7981A32A-6C75-4E5B-BB80-22FAA0A7CF73' ,'00F5B1F4-935A-4139-87C8-44BFA6FDCCCF', 'DAC532A2-14F3-4A43-9927-1D8D6DF83B19');
SELECT count(*) FROM raw_tasks WHERE id IN ('7981A32A-6C75-4E5B-BB80-22FAA0A7CF73' ,'00F5B1F4-935A-4139-87C8-44BFA6FDCCCF', 'DAC532A2-14F3-4A43-9927-1D8D6DF83B19'); The above queries returns a count of 0. |
@samkanga @ciremusyoka We also do not have any tasks with the following Ids in the opensrp db 7981A32A-6C75-4E5B-BB80-22FAA0A7CF73
|
@samkanga @ciremusyoka The tasks exists it just that (as @moshthepitt pointed out) the letters should be in lowercase
|
@Rkareko @samkanga the tasks are there after making the letters to lower case. SELECT identifier, plan_identifier, status, business_status FROM tasks WHERE identifier IN ('7981a32a-6c75-4e5b-bb80-22faa0a7cf73' ,'00f5b1f4-935a-4139-87c8-44bfa6fdcccf', 'dac532a2-14f3-4a43-9927-1d8d6df83b19');
|
{
"type": "Point",
"coordinates": [
98.8633891439585,
10.31133576709
]
}
All Blood Screening points are showing as expected (https://mhealth.ddc.moph.go.th/focus-investigation/map/67430469-e669-5005-ada6-d2014f99f4c2/RACD_Blood_Screening) |
Note: By default when you navigate to the map view e.g https://mhealth.ddc.moph.go.th/focus-investigation/map/67430469-e669-5005-ada6-d2014f99f4c2 the points shown on the map are for |
problem: sync data completed, but no data show on the report page web UI (but has data on the metabase)
plan name: A2 คลองไทร (8504051001) 2021-06-04
plan id: 60791504-3106-580a-9744-ee21221a0c2f
username: vbdu_11.5.3-2
The text was updated successfully, but these errors were encountered: