- Forum
- Communities
- HL7 Canada
- URI for Canada Post 2-letter Canadian Provinces/Territories and US States
URI for Canada Post 2-letter Canadian Provinces/Territories and US States
- Finnie Flores
- Topic Author
- Away
- Posts: 299
7 years 8 months ago #2261
by Finnie Flores
Replied by Finnie Flores on topic URI for Canada Post 2-letter Canadian Provinces/Territories and US States
Thanks Igor.
Please Log in or Create an account to join the conversation.
- Igor Sirkovich
- Offline
- Posts: 181
7 years 8 months ago #2259
by Igor Sirkovich
Replied by Igor Sirkovich on topic URI for Canada Post 2-letter Canadian Provinces/Territories and US States
Done. Tracker #:
12932
.
I've requested both CodeSystem hl7.org/fhir/CodeSystem/canada-post-province-and-territory-codes and ValueSet hl7.org/fhir/ValueSet/canada-post-province-and-territory
I've requested both CodeSystem hl7.org/fhir/CodeSystem/canada-post-province-and-territory-codes and ValueSet hl7.org/fhir/ValueSet/canada-post-province-and-territory
Please Log in or Create an account to join the conversation.
- Finnie Flores
- Topic Author
- Away
- Posts: 299
7 years 8 months ago - 7 years 8 months ago #2246
by Finnie Flores
Replied by Finnie Flores on topic URI for Canada Post 2-letter Canadian Provinces/Territories and US States
I'm good with the proposed URI as well. I suppose I can go ahead and pre-adopt this? Who's submitting the request to HL7?
Last edit: 7 years 8 months ago by Finnie Flores.
Please Log in or Create an account to join the conversation.
- Lloyd Mckenzie
- Offline
- Posts: 132
7 years 8 months ago #2245
by Lloyd Mckenzie
Replied by Lloyd Mckenzie on topic URI for Canada Post 2-letter Canadian Provinces/Territories and US States
usps.com is for the US postal service. I don't know that they define codes for Canadian jurisdictions and they certainly wouldn't be the authoritative source. Also, there's no guarantee there wouldn't be conflicts between codes they (or Canada) define eventually. A separate code system seems most appropriate.
Value sets should generally be defined in the context where they're used. I'm actually not sure why the US value set is part of the FHIR core spec - it seems something that should be part of the US Core implementation guide instead. Presumably we would define our value set in the corresponding Canadian Core implementation guide when/if we decide to create one.
If we want to create a valueset that includes the US codes as well, we'd need to figure out the scope - is there a reason to have CA + US jurisdictions and not others?
I'm fine with Igor's proposed name.
Value sets should generally be defined in the context where they're used. I'm actually not sure why the US value set is part of the FHIR core spec - it seems something that should be part of the US Core implementation guide instead. Presumably we would define our value set in the corresponding Canadian Core implementation guide when/if we decide to create one.
If we want to create a valueset that includes the US codes as well, we'd need to figure out the scope - is there a reason to have CA + US jurisdictions and not others?
I'm fine with Igor's proposed name.
Please Log in or Create an account to join the conversation.
- Igor Sirkovich
- Offline
- Posts: 181
7 years 8 months ago #2243
by Igor Sirkovich
Replied by Igor Sirkovich on topic URI for Canada Post 2-letter Canadian Provinces/Territories and US States
Maybe hl7.org/fhir/CodeSystem/canada-post-province-and-territory-codes would be a more explicit name?
Once the code system is defined, we would be able to request to include all codes from this code system in the Jurisdiction ValueSet.
If required, we might also create a new ValueSet with all codes from this new code systems and with all codes from the USPS Two Letter Alphabetic code system.
Once the code system is defined, we would be able to request to include all codes from this code system in the Jurisdiction ValueSet.
If required, we might also create a new ValueSet with all codes from this new code systems and with all codes from the USPS Two Letter Alphabetic code system.
Please Log in or Create an account to join the conversation.
- Finnie Flores
- Topic Author
- Away
- Posts: 299
7 years 8 months ago #2242
by Finnie Flores
Replied by Finnie Flores on topic URI for Canada Post 2-letter Canadian Provinces/Territories and US States
Thanks Igor and Lloyd.
Could we include Canada Post somewhere in the URL so we know that the code are from Canada Post versus other code systems? What about other metadata (e.g. code system name, etc.). Do we need that too for proposal?
Should we also propose are corresponding value set?
With regards to the US state, I assume that we could use the code system URL from the existing value sets that Igor noted - i.e. www.usps.com/? Also, has FHIR defined the other metadata for this code system?
Could we include Canada Post somewhere in the URL so we know that the code are from Canada Post versus other code systems? What about other metadata (e.g. code system name, etc.). Do we need that too for proposal?
Should we also propose are corresponding value set?
With regards to the US state, I assume that we could use the code system URL from the existing value sets that Igor noted - i.e. www.usps.com/? Also, has FHIR defined the other metadata for this code system?
Please Log in or Create an account to join the conversation.