Epi-Management API


GetEncounterImmunizations


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

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


                                                            {
                                                                "ImmunizationResponse": {
                                                                    "Immunizations": [
                                                                        {
                                                                            "EncounterData": {
                                                                                "EffectiveDateTime": "2015-06-22T11:00:00",
                                                                                "ID": "979"
                                                                            },
                                                                            "immunizationListObj": [
                                                                                {
                                                                                    "doseQuantityUnit": "",
                                                                                    "doseQuantityValue": "",
                                                                                    "effectiveTimeLow": "20150622",
                                                                                    "id": "7",
                                                                                    "lotnumber": "",
                                                                                    "manufacturedMaterialObj": {
                                                                                        "codeSystem": "CVX",
                                                                                        "manufacturedMaterialCode": "",
                                                                                        "manufacturedMaterialDisplayName": "",
                                                                                        "manufacturedMaterialOriginalText": "",
                                                                                        "manufacturedMaterialTranslationCode": "166",
                                                                                        "manufacturedMaterialTranslationDisplayName": "influenza, intradermal, quadrivalent, preservative free"
                                                                                    },
                                                                                    "manufacturerOrganization": "",
                                                                                    "negationInd": "True",
                                                                                    "rejectionReason": "Patient decision",
                                                                                    "rejectionReasonCode": "",
                                                                                    "routeCodeCode": "",
                                                                                    "routeCodeDisplayName": "",
                                                                                    "status": "Cancelled"
                                                                                },
                                                                                {
                                                                                    "doseQuantityUnit": "",
                                                                                    "doseQuantityValue": "",
                                                                                    "effectiveTimeLow": "20120104",
                                                                                    "id": "8",
                                                                                    "lotnumber": "",
                                                                                    "manufacturedMaterialObj": {
                                                                                        "codeSystem": "CVX",
                                                                                        "manufacturedMaterialCode": "",
                                                                                        "manufacturedMaterialDisplayName": "",
                                                                                        "manufacturedMaterialOriginalText": "",
                                                                                        "manufacturedMaterialTranslationCode": "106",
                                                                                        "manufacturedMaterialTranslationDisplayName": "Tetanus and diphtheria toxoids"
                                                                                    },
                                                                                    "manufacturerOrganization": "",
                                                                                    "negationInd": "False",
                                                                                    "rejectionReason": "",
                                                                                    "rejectionReasonCode": "",
                                                                                    "routeCodeCode": "",
                                                                                    "routeCodeDisplayName": "",
                                                                                    "status": "Completed"
                                                                                }
                                                                            ]
                                                                        }
                                                                    ],
                                                                    "Response": {
                                                                        "error": "",
                                                                        "status": "OK"
                                                                    }
                                                                }
                                                            }