Just checked your JSON with JSON Online Validator and Formatter - JSON Lint
There nothing wrong with it. Are you sure about the patientId and EncouterId?
EDIT: why are you mixing await and .then? Have you tried cleaning it up, e.g. just use await, like:
httpResponse = await …