Epi-Management API


GetEncounterCarePlan


  • This api is used to get data for the encounter care plan.
    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/GetEncounterCarePlan

  • HEADERS


    Content-Type
    application/json

    Accept-Encoding
    application/gzip

    Content-Type
    application/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/GetEncounterCarePlan' \
    --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


                                                            {
                                                                "CarePlanResponse": {
                                                                    "CarePlan": [
                                                                        {
                                                                            "EncounterData": {
                                                                                "EffectiveDateTime": "2015-06-22T11:00:00",
                                                                                "ID": "979"
                                                                            },
                                                                            "carePlanListObj": [
                                                                                {
                                                                                    "date": "20150622",
                                                                                    "id": "",
                                                                                    "plantype": "Future Order",
                                                                                    "status": "",
                                                                                    "text": " Urinanalysis lab test"
                                                                                },
                                                                                {
                                                                                    "date": "20150622",
                                                                                    "id": "",
                                                                                    "plantype": "Future Order",
                                                                                    "status": "",
                                                                                    "text": "Get an EKG done on 6/23/2015"
                                                                                },
                                                                                {
                                                                                    "date": "20150622",
                                                                                    "id": "",
                                                                                    "plantype": "Future Order",
                                                                                    "status": "",
                                                                                    "text": "Get a Chest X-ray done on 6/23/2015 showing the Lower Respiratory Tract \nStructure."
                                                                                },
                                                                                {
                                                                                    "date": "20150622",
                                                                                    "id": "",
                                                                                    "plantype": "Medication Order",
                                                                                    "status": "",
                                                                                    "text": "Take Clindamycin 300mg three times a day as needed if pain does not subside/"
                                                                                },
                                                                                {
                                                                                    "date": "20150622",
                                                                                    "id": "",
                                                                                    "plantype": "Future Visit",
                                                                                    "status": "",
                                                                                    "text": "Schedule follow on visit with Neighborhood Physicians Practice on \n7/1/2015"
                                                                                }
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "Response": {
                                                                        "error": "",
                                                                        "status": "OK"
                                                                    }
                                                                }
                                                            }