Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CP: some key elements have non-deterministic xpath expressions #12

Open
litlfred opened this issue Feb 22, 2014 · 0 comments
Open

CP: some key elements have non-deterministic xpath expressions #12

litlfred opened this issue Feb 22, 2014 · 0 comments

Comments

@litlfred
Copy link
Contributor

Some element have non-deterministic xpath expressions which make it difficult for CRUD operations. An indexing attribute should be provided. examples include:
provider/demographic/name
provider/demographic/name/commonName
provider/demographic/name/otherNames
facility/otherName
facility/operatingHours
provider/facilities/facility/service/operatingHours

In some cases, there is an attribute/set of attributes existing on the element that can be potentially used, but the attribute/set of attributes may not be required to have a unique value relative to its parent element. Examples include:
provider/organizations/organization (using @oid)
provider/facilities/facility (using @oid)
provider/facilities/facility/service (using @oid)
provider/credential (using the triple(@code,@codingSchema,number))
provider/codedType (using the pair(@code,@codingSchema))
provider/specialty (using the pair(@code,@codingSchema))
provider/demographic/address (using @type)
facility/address (using @type)
facility/codedType (using the pair(@code,@codingSchema))
facility/organizations (using @oid)
provider/facilities/facility/service/operatingHours (using @oid)
provider/facilities/facility/service/language (using the pair(@code,@codingSchema))
facility/language (using the pair(@code,@codingSchema))

Others are unclear if they should allow multiple or not. If not, they need some indexing attribute. For example:
provider/demographic/contactPoint (on the pair(@code,@codingSchema))
facility/contactPoint (on the pair(@code,@codingSchema))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant