Skip to content

Truncate response prefix #47

Description

@tomschenkjr

While troubleshooting #44 and #45, we have determined the best "fix" is to modify the response by dropping some unnecessary elements of the response. Namely, we will drop the items:[{"result": prefix and only return the fields within that result: element.

Thus, the new response will appear similar to this example:

{
"risk_score_notes": "1. Please follow protocol for lead safety.", 
"errors": [], 
"network_id": "Alliance Health", 
"timestamp": "2018-05-21 21:16:39", 
"clinic_id": "EF", 
"patient_id": "6425", 
"risk_score": "0.190358333333", 
"version": "1.0.0-rc.3", 
"location_id": "examp_loc"
}

This is consistent with the published documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions