Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Question - HQMF 2.1 Subsets and "" #279

Open
ewhitley opened this issue May 12, 2015 · 0 comments
Open

Question - HQMF 2.1 Subsets and "" #279

ewhitley opened this issue May 12, 2015 · 0 comments

Comments

@ewhitley
Copy link
Contributor

Hello -

More of a question than an issue.

Some of the new EH measures released in May (EX: "EH_CMS190v4_NQF0372_VTE2/CMS190v4.xml") include excerpt entries that use sequenceNumber - no "subsetCode" entry.

The HQMF 2.x parser seems to want to have a type for these (https://github.com/projectcypress/health-data-standards/blob/7d49e1dd92815dd77b375a918b515c829a3a5a04/lib/hqmf-parser/2.0/types.rb#L183) "@type = attr_val('./cda:subsetCode/@code')"

In reading more of the documentation, there's a note that says "This representation aligns with the HQMF specification and does not require a subset operator."

The Data Criteria parser seems to attempt to create subset_operators for each "excerpt entry"
https://github.com/projectcypress/health-data-standards/blob/7d49e1dd92815dd77b375a918b515c829a3a5a04/lib/hqmf-parser/2.0/data_criteria.rb#L274

In the event that this is a sequence entry and does not contain a subsetCode, should we avoid creating a subset entry? Should the xpath in the data criteria parser only include entries that contain a subsetCode node?

Thank you,
Eric

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

No branches or pull requests

1 participant