niemopen / niem-model

The NIEM reference data model
Other
11 stars 6 forks source link

Code set updates and new NDR requirements for unique enumerations and pattern definitions #66

Closed cdmgtri closed 11 months ago

cdmgtri commented 1 year ago

Code set updates

Updated Bureau of Labor Statistics codes (niemopen/niem-model#74)

BLS occupation codes are current in NIEM as of the latest BLS SOC April 15, 2020 update.

Updated the definitions of BLS education level codes (bls:EducationLevelCodeSimpleType).

Updated Canada Post codes (niemopen/niem-model#67)

Deleted codes from can:StreetCategoryCodeSimpleType:

Updated English definitions and added alternate French definitions where applicable for the following types:

Updated DEA Controlled Substance codes (niemopen/niem-model#60)

Removed fips:County3DigitCode and types (niemopen/niem-model#59)

Updated FIPS county codes (niemopen/niem-model#75)

NIEM FIPS state codes (fips:USStateNumericCodeSimpleType) are current as of the US Census Bureau's FIPS 2022 Population Estimate FIPS Codes update, Internet Release Date August 2023.

NIEM FIPS county codes (fips:USCounty5DigitCodeSimpleType) were updated with the latest revisions. All changes were for the state of Connecticut.

Expand to see FIPS county codes changes
| Status | Code | Definition | |:------- |:----- |:---------- | removed | 09001 | Fairfield County removed | 09003 | Hartford County removed | 09005 | Litchfield County removed | 09007 | Middlesex County removed | 09009 | New Haven County removed | 09011 | New London County removed | 09013 | Tolland County removed | 09015 | Windham County added | 09110 | Capitol Planning Region added | 09120 | Greater Bridgeport Planning Region added | 09130 | Lower Connecticut River Valley Planning Region added | 09140 | Naugatuck Valley Planning Region added | 09150 | Northeastern Connecticut Planning Region added | 09160 | Northwest Hills Planning Region added | 09170 | South Central Connecticut Planning Region added | 09180 | Southeastern Connecticut Planning Region added | 09190 | Western Connecticut Planning Region

Updated GENC codes to version 3-12 (niemopen/niem-model#76)

Updated Hazardous Material codes (#niemopen/niem-model#61)

Updated ISO 639-3 language codes (niemopen/niem-model#78)

Updated the ISO 639-3 language codes.

Updated ISO 3166-1:2020 country codes (niemopen/niem-model#77)

Updated the 3-character, 2-character, and numeric country codes with new definitions:

3-Char 2-Char Num Old definition New definition
NLD NL 528 Netherlands (the) Netherlands (Kingdom of the)
TUR TR 792 Turkey Türkiye

Updated ISO 4217 currency codes (niemopen/niem-model#79)

Updated ISO 4217 currency codes.

Updated usps:StreetDirectionalCodeSimpleType (niemopen/niem-model#62)

United States Postal Service street direction codes are the same, but the capitalization of the definitions has changed from uppercase to upper camel case.

Enumeration and pattern updates based on new NDR requirements

Require unique enumerations (niemopen/niem-naming-design-rules#30)

Merged or resolved definitions for non-unique codes in the following types:

Replaced a code in type usmtf:RadioactiveHalfLifeCodeSimpleType:

Removed property fips:County3DigitCode and related types to eliminate many non-unique code values.

Require definitions for patterns (niemopen/niem-naming-design-rules#12)

The NDR now requires definitions for patterns, along with enumerations.

Added the following definitions to the following patterns for simple types:

Type Pattern Definition
ag_codes:TaxIdentificationIDSimpleType [0-9]{9} A 9-digit number
ag_codes:CropYearSimpleType ^([1][9]\d\d\|[2]\d\d\d)$ A 4-digit year ranging from 1900 to 2999.
biom:LipPatternSimpleType <> Indicator for center of the lip (left < followed by right >)
mo:MILSTD2525-C-SIDC-SimpleType [A-Z0-9\-]{15} A 15-character ID with upper case letters, numbers, and hyphens
mo:MILSTD2525-B-SIDC-SimpleType [A-Z0-9\-]{15} A 15-character ID with upper case letters, numbers, and hyphens