Stream: implementers
Topic: Populating family structure for Coverage
Tate Enos (May 25 2021 at 19:14):
What API brings back all of the people associated with the specific coverage. Coverage seems to bring back the subscriber but not the list of additional members that would be associated with the policy.
Michele Mottini (May 25 2021 at 19:35):
There are only two people associated with a Coverage: the subscriber and the beneficiary. If a subscriber policy covers multiple people there is different Coverage resource for each one of them
Michele Mottini (May 25 2021 at 19:36):
So you can first fetch all the Coverages for a specific subscriber, and then you fetch the beneficiaries of those Coverages
Tate Enos (May 25 2021 at 21:03):
Coverage will only bring one beneficiary back as it is not an array. Is there no way to bring back a list of all members or multiple beneficiaries that would be associated with the subscriber?
The goal is to bring back the subscriber and their associated family that would be members.
Scott Robertson (May 25 2021 at 21:28):
Coverage allows a search by subscriber. the bundle returned would have all of the subscriber/beneficiary Coverages
Lloyd McKenzie (May 25 2021 at 22:29):
If 5 people are covered under the same member's policy, each will have a separate Coverage instance. So you'd need to match based on the member id and then do an _include on the beneficiary to get the patients.
Last updated: Apr 12 2022 at 19:14 UTC