Epi-Management API
GetEncounterProvenance
-
This api is used to get data for the encounter provenance.
The access token needs to be sent in this api call. Other parameters that can be seen in the headers section here are optional.
POST
https://neregaws.epilepsygroup.com/nereg.prod/rest/GetEncounterProvenance
-
HEADERS
Content-Typeapplication/json
Accept-Encodingapplication/gzip
Content-Typeapplication/x-www-form-urlencoded
-
BODY Raw
{
"token": "xxxxxx-xxxx-xxxx-xxxx-xxxxx",
"encounterid": "",
"fromdate": "",
"todate": ""
} -
Example Request
curl --location --request POST 'https://neregaws.epilepsygroup.com/nereg.prod/rest/GetEncounterProvenance' \
--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",
"encounterid":"",
"fromdate":"",
"todate":""
}
' -
Response
200
Body
{ "ProvenanceResponse": { "Provenance": [ { "CCDAEffectiveTimeValue": "201506221100", "EncounterData": { "EffectiveDateTime": "2015-06-22T11:00:00", "ID": "979" }, "FacilityAddressObj": { "city": "Beaverton", "country": "US", "mobile": "", "name": "Neighborhood Physicians Practice", "phone": "555-555-0000", "postalCode": "97006", "state": "OR", "streetAddressLine": "0000, Rocky place" }, "author": { "familyName": "MD-FamilyName", "givenName": "MD-GivenName", "prefix": "", "providerid": "475", "suffix": "M.D.", "visitDate": "201506221100-0500" } } ], "Response": { "error": "", "status": "OK" } } }