HL7NZ / nzbase

New Zealand base FHIR profiles
5 stars 8 forks source link

NZ Ethnicity Code System Migration #117

Open pkjordan opened 5 months ago

pkjordan commented 5 months ago

NZ Base currently contains a Code System and Value Set for NZ Level 4 Ethnicity Concepts... https://standards.digital.health.nz/ns/ethnic-group-level-4-code https://nzhts.digital.health.nz/fhir/ValueSet/ethnic-group-level-4-code

The desire is to migrate to a single Code System and Value Set containing ALL NZ Ethnicity Concepts (Levels 1-4)... https://standards.digital.health.nz/ns/nz-ethnic-group-codes https://nzhts.digital.health.nz/fhir/ValueSet/nz-ethnic-group-code

A constraint is a requirement (NZ RESTful API standards?) to support the existing version of NZ Base for at least 3 years and, hence, to support both code systems and value sets for that period. For example the current version of the Patient Profile in the NHI IG uses version 2.0 of the Level 4 only Code System

pkjordan commented 5 months ago

Given that there are separate Code Systems and Value Sets - plus associated identifiers - for both sets, and the requirement to retain artefacts for at least 3 years, it makes sense to retain both in the base IG for that period.

The more significant, and related question, is when/whether to update the Patient Profile in NZ Base which currently has a preferred binding to the Level 4 only Value Set. One possibility might be to implement slicing for that element which would enable both code systems to be used. The alternative position, given that the binding strength is 'preferred', would be simply to change that binding to the combined Code System - IF that would not break any Profiles derived from NZ Base.