Stream: implementers
Topic: US Core Address Use
Vivian Neilley (Mar 28 2022 at 12:56):
has anyone encountered issues when using/mapping to address use? The code system doesn't have an "unknown" value, however, HL7v2 is rarely sending this value in our experience. Anyone have a suggestion how to conform to core and not make assumptions about the sent address? For context: https://build.fhir.org/codesystem-address-use.html
René Spronk (Mar 28 2022 at 12:59):
Looking at US core, Address.use is neither required nor flagged with 'mustSupport'. On what page of the spec did it state that Address.use would be required ?
Vivian Neilley (Mar 28 2022 at 13:01):
https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html - it's set as required in the terminology bindings
Michele Mottini (Mar 28 2022 at 13:06):
That applies to the binding, not to the element, it means that _if_ Address.use is populated it _must_ have one of those values, but the element itself is optional
René Spronk (Mar 28 2022 at 13:07):
Ah, but that means you SHALL use the specified terminology (see ) IF Address.use is populated, it doesn't state that address.use data element has to be populated.
On https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html , select the 'snapshot table' tab, you can clearly see which parts of the Address are required.
Vivian Neilley (Mar 28 2022 at 14:24):
ah I think this is an issue in how I wrote my validation, thank you!
Last updated: Apr 12 2022 at 19:14 UTC