Epi-Management API


GetEncounterProcedures


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

  • 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/GetEncounterProcedures' \
    --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


                                                            {
                                                                "ProcedureResponse": {
                                                                    "Procedure": [
                                                                        {
                                                                            "EncounterData": {
                                                                                "EffectiveDateTime": "2015-06-22T11:00:00",
                                                                                "ID": "979"
                                                                            },
                                                                            "procedureListObj": [
                                                                                {
                                                                                    "codeCode": "56251003",
                                                                                    "codeDisplayName": "Respiratory medication administered by nebulizer",
                                                                                    "deviceCode": "",
                                                                                    "deviceId": "",
                                                                                    "deviceName": "",
                                                                                    "effectiveTimeHigh": "20150622",
                                                                                    "effectiveTimeLow": "20150622",
                                                                                    "id": "23",
                                                                                    "performer": "",
                                                                                    "performerAddress": {
                                                                                        "city": "",
                                                                                        "country": "",
                                                                                        "mobile": "",
                                                                                        "name": "",
                                                                                        "phone": "",
                                                                                        "postalCode": "",
                                                                                        "state": "",
                                                                                        "streetAddressLine": ""
                                                                                    },
                                                                                    "status": "",
                                                                                    "targetSiteCodeCode": "",
                                                                                    "targetSiteCodeDisplayName": ""
                                                                                },
                                                                                {
                                                                                    "codeCode": "175135009",
                                                                                    "codeDisplayName": "Introduction of cardiac pacemaker system via vein",
                                                                                    "deviceCode": "00643169007222",
                                                                                    "deviceId": "(01)00643169007222(17)160128(21)BLC200461H",
                                                                                    "deviceName": "Viva™ Quad XT CRT-D",
                                                                                    "effectiveTimeHigh": "20111005",
                                                                                    "effectiveTimeLow": "20111005",
                                                                                    "id": "24",
                                                                                    "performer": "",
                                                                                    "performerAddress": {
                                                                                        "city": "",
                                                                                        "country": "",
                                                                                        "mobile": "",
                                                                                        "name": "",
                                                                                        "phone": "",
                                                                                        "postalCode": "",
                                                                                        "state": "",
                                                                                        "streetAddressLine": ""
                                                                                    },
                                                                                    "status": "",
                                                                                    "targetSiteCodeCode": "",
                                                                                    "targetSiteCodeDisplayName": ""
                                                                                }
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "Response": {
                                                                        "error": "",
                                                                        "status": "OK"
                                                                    }
                                                                }
                                                            }