FHIR Chat · FHIRPath for Canadian postal code · implementers

Stream: implementers

Topic: FHIRPath for Canadian postal code


view this post on Zulip Shamil Nizamov (Dec 13 2019 at 19:54):

What is the best way to enforce formatting of an element in a profile? Specifically I'm thinking about Address.postalCode to comply with ANA NAN format.

view this post on Zulip Grahame Grieve (Dec 13 2019 at 20:46):

this extension on the element definition: http://hl7.org/fhir/StructureDefinition/regex

view this post on Zulip Shamil Nizamov (Dec 13 2019 at 21:04):

this extension on the element definition: http://hl7.org/fhir/StructureDefinition/regex

Anything other than extension? E.g., slicing for a specific address type and then some constrain for an element.

view this post on Zulip Grahame Grieve (Dec 13 2019 at 21:06):

or else you can use a FHIRPath constraint. But I'm not sure I understand your question. where does slicing enter into this?


Last updated: Apr 12 2022 at 19:14 UTC