NIEM / NIEM-Releases

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

Create nc:PersonIdentification as substitution head for all nc:PersonXXXIdentification elements #74

Closed DonClysdale closed 4 years ago

DonClysdale commented 5 years ago

Adding additional Identification elements is adding to nc:PersonType "sprawl". It would be cleaner to add one nc:IdentificationType element, say nc:PersonIdentification to the nc:PersonType sequence and add all the other nc:PersonXXXIdentification elements to that substitutionGroup and remove them from nc:PersonType.

e.g.

same for: nc:PersonLicenseIdentification nc:PersonNationalIdentification nc:PersonOtherIdentification nc:PersonPassportIdentification nc:PersonSSNIdentification nc:PersonStateIdentification nc:PersonTaxIdentification and the newly added nc:PersonMilitaryIdentification

cdmgtri commented 5 years ago

The Harmonization Workgroup decided not to recommend this proposal due to the need to set specific cardinality constraints for the affected elements that would be moved to substitution groups (e.g., make the SSN element required). See #88 for further discussion on ways to address sprawl in the model.