Last active
August 29, 2015 14:13
-
-
Save angshu/ea0ecd6bd54bbc70194f to your computer and use it in GitHub Desktop.
Patient Feed following google json feed
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
{ | |
"author": "MCI", | |
"title": "Patients", | |
"feedUrl": "http://emicro.uk.to:6881/api/v1/patients/updated-after/2014-01-10T08:10:41Z", | |
"nextArchive": "http://emicro.uk.to:6881/api/v1/patients/updated-after/2015-01-19T10:08:05Z", | |
"prevArchive": null, | |
"entries": [ | |
{ | |
"id": "860e5faf-9db0-49f4-b25f-5f9d0a3bfa60", | |
"publishedDate": "2015-01-19T08:20:29Z", | |
"title": "Patient Update:5957292764356935681", | |
"link": "https:/../v1/api/patients/5957292764356935681", | |
"categories": [ | |
"patient" | |
], | |
"content": { | |
"health_id": "5957292764356935681", | |
"updated_at": "2015-01-19T08:20:29Z", | |
"change_set": { | |
"confidential": "no", | |
"sur_name": "Hasan" | |
} | |
} | |
}, | |
{ | |
"id": "5f982a33-4454-4b74-9236-b8157aa8effd", | |
"publishedDate": "2015-01-13T15:10:40.371+0530", | |
"title": "Patient Update:5957322355381370881", | |
"link": "https:/../v1/api/patients/5957322355381370881", | |
"categories": [ | |
"patient" | |
], | |
"content": { | |
"health_id": "5957322355381370881", | |
"updated_at": "2015-01-19T10:08:05Z", | |
"change_set": { | |
"present_address": { | |
"address_line": "xyz", | |
"division_id": "10", | |
"district_id": "04", | |
"upazila_id": "09", | |
"area_mouja": "Dhanmondi", | |
"village": "Lalmatia", | |
"post_office": "Mohammadpur", | |
"post_code": "1207", | |
"country_code": "050" | |
} | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
entry.id should not be random. meaning, if a particular entry appears in 2 requests, both of them should have the same Id. For example, if I query for patients in 2 mins interval, and the same changeset appears in both the results, they should be identifiable as "same" by having same "changeset"/"entry" Id.