Epi-Management API


GetEncounterProblems


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

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


                                                            {
                                                                "ProblemObjectResponse": {
                                                                    "ProblemObject": [
                                                                        {
                                                                            "EncounterData": {
                                                                                "EffectiveDateTime": "2015-06-22T11:00:00",
                                                                                "ID": "979"
                                                                            },
                                                                            "problemListObj": [
                                                                                {
                                                                                    "author": {
                                                                                        "familyName": "MD-FamilyName",
                                                                                        "givenName": "MD-GivenName",
                                                                                        "prefix": "M.D.",
                                                                                        "providerid": "475",
                                                                                        "visitDate": "201110051811-0500"
                                                                                    },
                                                                                    "codeSystem": "",
                                                                                    "id": "    79540",
                                                                                    "negationInd": "",
                                                                                    "problemNameCode": "59621000",
                                                                                    "problemNameDisplayName": "Essential hypertension (disorder)",
                                                                                    "status": "ACTIVE",
                                                                                    "topLevelEffectiveTimeHigh": "00000",
                                                                                    "topLevelEffectiveTimeLow": "20111005"
                                                                                },
                                                                                {
                                                                                    "author": {
                                                                                        "familyName": "MD-FamilyName",
                                                                                        "givenName": "MD-GivenName",
                                                                                        "prefix": "M.D.",
                                                                                        "providerid": "475",
                                                                                        "visitDate": "200612311811-0500"
                                                                                    },
                                                                                    "codeSystem": "",
                                                                                    "id": "    79541",
                                                                                    "negationInd": "",
                                                                                    "problemNameCode": "83986005",
                                                                                    "problemNameDisplayName": "Severe hypothyroidism",
                                                                                    "status": "ACTIVE",
                                                                                    "topLevelEffectiveTimeHigh": "00000",
                                                                                    "topLevelEffectiveTimeLow": "20061231"
                                                                                },
                                                                                {
                                                                                    "author": {
                                                                                        "familyName": "MD-FamilyName",
                                                                                        "givenName": "MD-GivenName",
                                                                                        "prefix": "M.D.",
                                                                                        "providerid": "475",
                                                                                        "visitDate": "201112311256-0500"
                                                                                    },
                                                                                    "codeSystem": "",
                                                                                    "id": "    79542",
                                                                                    "negationInd": "",
                                                                                    "problemNameCode": "236578006",
                                                                                    "problemNameDisplayName": "Chronic rejection of renal transplant",
                                                                                    "status": "ACTIVE",
                                                                                    "topLevelEffectiveTimeHigh": "00000",
                                                                                    "topLevelEffectiveTimeLow": "20111231"
                                                                                },
                                                                                {
                                                                                    "author": {
                                                                                        "familyName": "MD-FamilyName",
                                                                                        "givenName": "MD-GivenName",
                                                                                        "prefix": "M.D.",
                                                                                        "providerid": "475",
                                                                                        "visitDate": "201506221256-0500"
                                                                                    },
                                                                                    "codeSystem": "",
                                                                                    "id": "    79543",
                                                                                    "negationInd": "",
                                                                                    "problemNameCode": "386661006",
                                                                                    "problemNameDisplayName": "Fever (finding)",
                                                                                    "status": "ACTIVE",
                                                                                    "topLevelEffectiveTimeHigh": "00000",
                                                                                    "topLevelEffectiveTimeLow": "20150622"
                                                                                },
                                                                                {
                                                                                    "author": {
                                                                                        "familyName": "MD-FamilyName",
                                                                                        "givenName": "MD-GivenName",
                                                                                        "prefix": "M.D.",
                                                                                        "providerid": "475",
                                                                                        "visitDate": "200612311811-0500"
                                                                                    },
                                                                                    "codeSystem": "",
                                                                                    "id": "    79544",
                                                                                    "negationInd": "",
                                                                                    "problemNameCode": "238131007",
                                                                                    "problemNameDisplayName": "Overweight",
                                                                                    "status": "COMPLETED",
                                                                                    "topLevelEffectiveTimeHigh": "20070601",
                                                                                    "topLevelEffectiveTimeLow": "20061231"
                                                                                }
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "Response": {
                                                                        "error": "",
                                                                        "status": "OK"
                                                                    }
                                                                }
                                                            }