Epi-Management API
GetEncounterByDate
-
This api is used to get the patient encounter information by the selected date.
The access token received in the previous api call should be used here.
POST
https://neregaws.epilepsygroup.com/nereg.prod/rest/GetEncounterByDate
-
HEADERS
Content-Typeapplication/json
Accept-Encodingapplication/gzip
Content-Typeapplication/x-www-form-urlencoded
-
BODY Raw
{
"token": "xxxxxx-xxxx-xxxx-xxxx-xxxxx",
"date": "yyyy-mm-dd"
} -
Example Request
curl --location --request POST 'https://neregaws.epilepsygroup.com/nereg.prod/rest/GetEncounterByDate' \
--header 'Content-Type: application/json' \
--header 'Accept-Encoding: application/gzip' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Cookie: AWSALB=YHDNYRKt7lIb3JtCKytbrGQhffjcsblPVeiVNK56ItxCZvNWrMvbWu4gPCjrYDJVGF1V74Rgx/u7fBSGozIsqP/m/oqGCNSNQ50MU8RI9+NfiOoNkTlDtgeFFSGC; AWSALBCORS=YHDNYRKt7lIb3JtCKytbrGQhffjcsblPVeiVNK56ItxCZvNWrMvbWu4gPCjrYDJVGF1V74Rgx/u7fBSGozIsqP/m/oqGCNSNQ50MU8RI9+NfiOoNkTlDtgeFFSGC' \
--data-raw '{
"token":"xxxxxx-xxxx-xxxx-xxxx-xxxxx",
"date":"yyyy-mm-dd"
}
' -
Response
200
Body
{ "EncounterObjectResponse": { "EncounterObject": [ { "EncounterData": { "EffectiveDateTime": "2015-06-22T11:00:00", "ID": "1037" }, "encounterListObj": [ { "author": { "familyName": " FamilyName ", "givenName": " GivenName ", "prefix": "M.D.", "providerid": "475", "visitDate": "201506221355-0500" }, "careTeamObj": [ { "city": "", "country": "", "familyName": "FamilyName", "givenName": "GivenName", "phone": "", "postalCode": "", "prefix": "M.D.", "providerid": "475", "state": "", "streetAddressLine": "", "suffix": "", "visitDate": "" } ], "codeSystem": "2.16.840.1.113883.6.90", "cptCodes": "99214", "diagnosisCode": "R50.9", "diagnosisName": "Fever, unspecified", "effectiveTimeHigh": "00000", "effectiveTimeLow": "20150622", "encounteraddress": { "city": "Beaverton", "country": "US", "mobile": "", "name": "", "phone": "555-555-0000", "postalCode": "97006", "state": "OR", "streetAddressLine": "0000, Rocky place" }, "encounterlocation": "Neighborhood Physicians Practice", "id": "", "text": "OFFIC/OUTPT E&M ESTAB MOD-HI 25 MIN", "visitID": "927655" } ] } ], "response": { "error": "", "status": "OK" } } }