FHIR Chat · Retrieving Lists · implementers

Stream: implementers

Topic: Retrieving Lists


view this post on Zulip Kenneth Chapple (May 12 2016 at 15:07):

Is there a resource for retrieving LOV (lists of values) which would serve as options for User Interface? For example a gender would include a list like ["male", "female", "trans-male-female", ...]

view this post on Zulip James Agnew (May 12 2016 at 15:12):

That sounds like a ValueSet to me.

view this post on Zulip Michel Rutten (May 12 2016 at 15:13):

@Kenneth Chapple a client can dynamically resolve the value set binding on an element definition in order to retrieve a list of options.

view this post on Zulip Grahame Grieve (May 12 2016 at 15:31):

/ValueSet/administrative-gender/$expand - get the list of gender codes

view this post on Zulip Grahame Grieve (May 12 2016 at 15:31):

e.g. http://fhir3.healthintersections.com.au/open/ValueSet/administrative-gender/$expand

view this post on Zulip Kenneth Chapple (May 12 2016 at 17:41):

Cool, thanks!

view this post on Zulip Mat Coolidge (May 20 2016 at 15:07):

Can a list actually contain the full resource instead of a reference?

view this post on Zulip Chris Grenz (May 20 2016 at 17:19):

Hi Mat - no, lists only store references to items (the type of List.entry.item is Reference). A Bundle would allow full resource inclusion with some other caveats...what's your requirement?

view this post on Zulip Lloyd McKenzie (May 22 2016 at 15:34):

Lists can "contain" like any other resource, but this should only be done when the list items are unable to stand alone. (E.g. you have a list of medication statements with patient and drug but nothing else.) The List mechanism is not a transport mechanism to package up a bunch of things to transmit from point A to point B. (That's what Bundle is for.)

view this post on Zulip Chris Grenz (May 23 2016 at 15:02):

@Lloyd McKenzie Are you aware of anyone that's storing Bundles like other resources rather that exclusively using them for transport?

view this post on Zulip Lloyd McKenzie (May 23 2016 at 17:48):

I'm working on a project right now that does that. As well, Forge depends on that for Implementation Guides

view this post on Zulip Brian Postlethwaite (Jun 06 2016 at 02:59):

@Brett Esler, this is how you're proposing to have a transient mailbox for a pull style messaging correct?


Last updated: Apr 12 2022 at 19:14 UTC