FHIR Chat · Constrain Address.country · IG creation

Stream: IG creation

Topic: Constrain Address.country


view this post on Zulip Elliot Silver (Nov 28 2020 at 22:42):

Address.country is a string type. The description says it can be an ISO 3166 two or three letter code. Is there a simple ways to constrain a string to a particular subset of those codes?

view this post on Zulip Lloyd McKenzie (Nov 28 2020 at 23:30):

Just define a binding

view this post on Zulip Elliot Silver (Nov 28 2020 at 23:30):

Bind a string to a valueset? Does that work?

view this post on Zulip Lloyd McKenzie (Nov 28 2020 at 23:30):

Yes

view this post on Zulip Elliot Silver (Nov 28 2020 at 23:31):

Cool. That's my new fact for the day.


Last updated: Apr 12 2022 at 19:14 UTC