FHIR Chat · Lists · hapi

Stream: hapi

Topic: Lists


view this post on Zulip Keith Boone (May 17 2016 at 14:08):

For FHIR types with cardinality > 1, I'd love it if there was a way to add/set the contents of an iterable: e.g., patient.addCareProviders(careProvList) to add the content of careProvList to patient, or patient.setCareProviders(careProvList) to set the list to the content of careProvList.

view this post on Zulip Grahame Grieve (May 17 2016 at 19:32):

why not just use addAll()?

view this post on Zulip James Agnew (May 17 2016 at 21:36):

The 1.6 snapshot build actually has these setters. A few people have asked for them and the HAPI structures had them, so I've added them into the STU3 ones too.


Last updated: Apr 12 2022 at 19:14 UTC