NIEM / NIEM-Releases

Repository for releases of the National Information Exchange Model
https://niem.github.io/niem-releases/
88 stars 23 forks source link

Move code elements to code namespaces #90

Closed cdmgtri closed 4 years ago

cdmgtri commented 5 years ago

NIEM currently only locates code types in code namespaces. The Harmonization Workgroup recommends moving code elements to the code namespaces as well.

Pros:

Cons:

Additional things to consider:

webb commented 4 years ago

NTAC recommends moving only elements that use the representation pattern as described in the NDR:

cdmgtri commented 4 years ago

Candidate elements to move to code namespaces

Education

Substitution group nc:EducationLevelRepresentation

Canada Post and USPS

Substitution group nc:StateRepresentation

(*) Note: NIEM Core and domains are using the term "State" consistently. This does not extend to code namespaces, which NIEM tries to represent as close to the original source as possible.

Substitution group nc:StreetCategoryAbstract

New type nc:StreetDirectionalType with substitution group nc:StreetDirectionalRepresentation

Additionally, will need to create two new elements to capture pre- and post-directional semantics:

Commodity

Substitution group nc:ItemCategoryAbstract

DEA

Substitution group nc:DEAClassScheduleAbstract

Substitution group nc:SubstanceAbstract

DoD JCS Pub 2.0

Substitution group nc:DocumentIntelligenceCategoryAbstract

DOL

Substitution group nc:EmployeeOccupationAbstract

FIPS

Substitution group nc:AddressCountyAbstract

Substitution group nc:StateRepresentation

GENC

Substitution group nc:CountryRepresentation

Substitution group nc:StateRepresentation

Hazmat

Substitution group nc:HazmatAbstract

HL7

Substitution group nc:PersonReligionAbstract

ISO 3166

Substitution group nc:CountryRepresentation

Substitution group nc:StateRepresentation

ISO 4217

Substitution group nc:CurrencyAbstract

ISO 639-3

New type (nc:LanguageType) with substitution group nc:LanguageAbstract

NCES

Substitution group nc:EducationQualificationAbstract

NGA

Substitution group nc:DirectionDatumAbstract - new

Substitution group nc:LocationHeightVerticalDatumAbstract

OCCS

Note: Same code set is used for both nc:FacilityCategoryCode and nc:FacilityUsageCode.

Create new type nc:FacilityUsageType with substitution group nc:FacilityUsageAbstract

Substitution group nc:FacilityUsageAbstract

UNECE

Substitution group nc:LengthUnitAbstract

Substitution group nc:SpeedUnitAbstract

Substitution group nc:TemperatureUnitAbstract

Substitution group nc:TimeUnitAbstract

Substitution group nc:VolumeUnitAbstract

Substitution group nc:WeightUnitAbstract

xCard

Substitution group nc:TelephoneNumberCategoryAbstract

cdmgtri commented 4 years ago

The Harmonization Workgroup recommends making the proposed changes.

cdmgtri commented 4 years ago

The OmniClass standard which we use for the facility codes labels these as "functions", not "usages" or "categories". Updated nc:FacilityUsageType and the OCCS components accordingly.

Replaced nc:DocumentLanguageAbstract in nc:DocumentType with nc:DocumentLanguage.

Replaced j:ProgramSupportedAlternativeLanguageAbstract in j:ProgramAugmentationType with j:ProgramSupportedAlternativeLanguage.