openhie / openinfoman

Reference Implementation of InfoManager actor in Care Services Discovery (CSD)
Apache License 2.0
21 stars 9 forks source link

CP: type csd:name has issues #8

Open litlfred opened 10 years ago

litlfred commented 10 years ago

commonName should have attribute xml:lang instead of language otherNames is not useful as is. It was intended to capture different name components required by a jurisdiction which are not covered by the other (non-commonName) sub-elements. In order to meet this, it should have an attribute to such as @component similar to how an addressLine is handled.

Ideally we could find an existing standard to adopt, but I haven't found anything yet.

Dublin core has some interesting discussion: http://dublincore.org/documents/name-representation/

litlfred commented 10 years ago

(About to be) submitted as CP. The demographic/name now has an attribute @xml:lang, the attribute demographic/name/commonName/@language has been removed, the element demographic/name/otherNames has been renamed to otherName and its type changed from xs:string to csd:codedtype