Details
-
Bug
-
Status: Closed
-
Should
-
Resolution: Fixed
-
None
-
None
-
None
Description
This bug looks very similar to RESTWS-506.
When fetching a custom representation of a visit resource with property "encounters" the web service returns voided encounters too:
{ "uuid": "135e2a3a-c356-4d36-a021-bbffc4b33f56", "encounters": [ { "uuid": "a474fb72-1f29-4c00-a161-7837342570e4", "voided": false, "voidReason": null }, { "uuid": "ae115333-7517-4497-ae4b-6cb8e69e4112", "voided": false, "voidReason": null }, { "uuid": "e6ab70e0-5c32-48ed-84d7-ead41916bc53", "voided": true, "voidReason": "web service call" } ] }