Created
October 17, 2022 21:11
-
-
Save aleksa-krolls/09ec97a578e1236c68071ea4b76a03d4 to your computer and use it in GitHub Desktop.
How the referral looks when extracted from Primero. OSCaR team requested to only send 1 Service per referral, so we will later split this into 2 payloads.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"organization": { | |
"external_id": "1a20d411-efda-4ad5-82f5-53b891f96ca8", | |
"external_id_display": "1f96ca8", | |
"level_of_risk": "medium", | |
"mosvy_number": "", | |
"given_name": "two", | |
"family_name": "referrals", | |
"gender": "female", | |
"date_of_birth": "2013-01-01", | |
"location_current_village_code": "1704", | |
"address_current_village_code": "1704", | |
"reason_for_referral": "", | |
"external_case_worker_name": "openfn_cp_user", | |
"external_case_worker_id": "", | |
"external_case_worker_mobile": "000000000", | |
"resource": "Primero", | |
"is_referred": true, | |
"organization_name": "cif", | |
"organization_id": "cif", | |
"services": [ | |
{ | |
"uuid": "6b4d5bcb-0eba-40b2-a00f-bb15035bb755", | |
"name": "Generalist social work / case work" | |
}, | |
{ | |
"uuid": "4e57101d-9d8b-40cc-8f86-8ee8dd831262", | |
"name": "Long term foster care" | |
} | |
], | |
"date_of_referral": "2022-10-17" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment