Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support country code for Kosovo #135

Open
samuel-colin-foph opened this issue Jan 24, 2025 · 3 comments
Open

Support country code for Kosovo #135

samuel-colin-foph opened this issue Jan 24, 2025 · 3 comments

Comments

@samuel-colin-foph
Copy link
Collaborator

The IG requires any country code to come from one of these sets (reference: CH Core Address - CH Core (R4) v5.0.0 ):

Apparently, Kosovo does not have an ISO3166-1-2 code, but XK is used frequently, eg. by the European Commision and the IMF (see ISO 3166-1 alpha-2 - Wikipedia).

Given the links between Switzerland and Kosovo, there is a need for a code. What would be a clean way to add one? Add an additional ValueSet?

@oliveregger
Copy link
Member

CH Core https://fhir.ch/ig/ch-core/StructureDefinition-ch-core-patient.html is limiting with the rule pat-3 the country codes to Valueset-iso3166-1-2 - FHIR v5.0.0
Valueset-iso3166-1-3 - FHIR v5.0.0

see https://fhir.ch/ig/ch-core/StructureDefinition-ch-core-patient.html.

this rule should be probably reduced to a warning, it seems too strict, but this will need a new version of CH Core

@samuel-colin-foph
Copy link
Collaborator Author

@oliveregger Last time, you mentioned that the country check specifically may be deactivated in the validator until the issue is properly fixed. Do we already have an idea if it is feasible?

@oliveregger
Copy link
Member

@samuel-colin-foph no this rule be deactivated at the moment easily, this feature would need to be added in a future version and seems not easy to integrate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants