Epi-Management API


GetEncounterDiagnosis


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

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


                                                            {
                                                                "EncounterObjectResponse": {
                                                                    "EncounterObject": [
                                                                        {
                                                                            "EncounterData": {
                                                                                "EffectiveDateTime": "2015-06-22T11:00:00",
                                                                                "ID": "979"
                                                                            },
                                                                            "encounterListObj": [
                                                                                {
                                                                                    "author": {
                                                                                        "familyName": "MD-FamilyName",
                                                                                        "givenName": "MD-GivenName",
                                                                                        "prefix": "M.D.",
                                                                                        "providerid": "475",
                                                                                        "visitDate": "201506221355-0500"
                                                                                    },
                                                                                    "careTeamObj": [
                                                                                        {
                                                                                            "city": "",
                                                                                            "country": "",
                                                                                            "familyName": "MD-FamilyName",
                                                                                            "givenName": "MD-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"
                                                                    }
                                                                }
                                                            }