FHIR Chat · ValueSet binding for string elements? · conformance

Stream: conformance

Topic: ValueSet binding for string elements?


view this post on Zulip Stefan Lang (Jul 18 2017 at 13:39):

Is it formally possible to bind a ValueSet to an element of type string?
And if so: is it desirable?
I'm asking since it's technically possible. Forge allows it, the resulting StructureDefinition is valid. But Simplifier doesn't display the binding, of course.
There's also a related tracker item: http://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=13330 - that's about Address.country, which is a string.
I suspect that either the change request should include changing/adding country as CodeableConcept (eventually country[x] (string|CodeableConcept) or that profiles needing coded country information would require an extension for that.

view this post on Zulip Lloyd McKenzie (Jul 18 2017 at 14:12):

Yes, it's possible. Useful things like constraining the list of permitted systems, constraining allowed values for address parts, etc.

view this post on Zulip Stefan Lang (Jul 18 2017 at 14:54):

Ah, just found the information here: https://www.hl7.org/fhir/terminologies.html#strings
Maybe a hint here: http://build.fhir.org/datatypes.html#string would be useful?
Anyway, thanks Lloyd for your answer.

view this post on Zulip Lloyd McKenzie (Jul 18 2017 at 15:44):

Feel fee to submit a change request :)

view this post on Zulip Stefan Lang (Jul 18 2017 at 17:22):

Freedom taken: GF#13657 ;)


Last updated: Apr 12 2022 at 19:14 UTC