Primary diagnosis and Patient section

42 views
Skip to first unread message

may...@first-insight.com

unread,
Nov 8, 2017, 2:12:17 AM11/8/17
to National Health Care Survey Testing Tool
Hi Team,

I am testing through the validation tool - http://cda-validation.nist.gov/cda-validation/muNHCS.html and entered the Ambulatory data in my application as mentioned in the document link - http://cda-validation.nist.gov/cda-validation/downloads/ONCNationalHealthCareSurveysCertification2016_1.0vs1.1.pdf

However, upon validating I am getting following errors - 

MessageThis name SHALL contain exactly one [1..1] given (CONF:1106-50).
Context/ClinicalDocument[1]
Testcda:recordTarget/cda:patientRole/cda:patient/cda:name[count(cda:given)=1]

When I remove the middle name (given) from my file, it works fine. But in the requirements and sample file that I received, the <given> tag is mentioned. Is this recently updated or there is some bug in the tool?

MessageSHALL contain exactly one [1..1] entry (CONF:1106-74) such that it SHALL contain exactly one [1..1] Primary Diagnosis Observation (identifier: urn:oid:2.16.840.1.113883.10.20.34.3.6) (CONF:1106-75).
Context/ClinicalDocument[1]/component[1]/structuredBody[1]/component[8]/section[1]
Testcount(cda:entry[count(cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.34.3.6']])=1])=1

I do have just one entry for [cda:templateId[@root='2.16.840.1.113883.10.20.34.3.6']], but not sure why I still get this error. I also tried to remove this template, still same error showed up. Any reasons for this?

Thanks
Mayuri

McCaffrey, Andrew (Fed)

unread,
Nov 8, 2017, 10:29:51 AM11/8/17
to may...@first-insight.com, National Health Care Survey Testing Tool
Hi,

Could you provide the XML you are using to help debug?

Thanks,
-Andrew
> CONFIDENTIALITY & PRIVACY NOTICE: Please DO NOT include any HIPAA
> Electronic Protected Health Information (ePHI) e-mail communications in
> an unsecured email. If you need to transmit ePHI, First Insight will
> direct you to a secure email site. In addition, the information
> contained in this email transmission is privileged, proprietary and/or
> confidential. Unauthorized use, review and/or distribution of this
> information is strictly prohibited. If you have received this email in
> error, notify the sender immediately so our records can be corrected.
> Please delete the original and copy of this email and destroy any print
> copies that may have been generated from this transmission. For
> additional information, contact First Insight at 800.920.1940.
>
> --
> You received this message because you are subscribed to the Google
> Groups "National Health Care Survey Testing Tool" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
> national-health-care-surve...@googlegroups.com
> <mailto:national-health-care-surve...@googlegroups.com>.
> To post to this group, send email to
> national-health-care...@googlegroups.com
> <mailto:national-health-care...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/national-health-care-survey-testing-tool/b6c5a196-39ab-4395-b50d-ffd3c0e4a4e2%40googlegroups.com
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fnational-health-care-survey-testing-tool%2Fb6c5a196-39ab-4395-b50d-ffd3c0e4a4e2%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7C811cc2a5fea44aab34d008d526780c9f%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636457219408821467&sdata=%2BbckGq9F%2Bl96eTT54mpYFJNXjFDqMdH59VZTy1vjYgM%3D&reserved=0>.
> For more options, visit https://groups.google.com/d/optout
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7C811cc2a5fea44aab34d008d526780c9f%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636457219408821467&sdata=3MVHEIr%2BN68LW8FFuaxreDz%2FsDNKo6E14B92QcwOWy0%3D&reserved=0>.

mayuri khot

unread,
Nov 14, 2017, 8:31:08 AM11/14/17
to McCaffrey, Andrew (Fed), National Health Care Survey Testing Tool
Hi,

As per your email here i m sending XML file,Please find attached file.

Thanks
Mayuri

On Wed, Nov 8, 2017 at 8:59 PM, McCaffrey, Andrew (Fed) <andrew.m...@nist.gov> wrote:
Hi,

Could you provide the XML you are using to help debug?

Thanks,
-Andrew

On 11/08/2017 02:12 AM, may...@first-insight.com wrote:
Hi Team,

I am testing through the validation tool - http://cda-validation.nist.gov/cda-validation/muNHCS.html and entered the Ambulatory data in my application as mentioned in the document link - http://cda-validation.nist.gov/cda-validation/downloads/ONCNationalHealthCareSurveysCertification2016_1.0vs1.1.pdf

However, upon validating I am getting following errors -

Message This name SHALL contain exactly one [1..1] given (CONF:1106-50).
Context /ClinicalDocument[1]
Test cda:recordTarget/cda:patientRole/cda:patient/cda:name[count(cda:given)=1]


When I remove the middle name (given) from my file, it works fine. But in the requirements and sample file that I received, the <given> tag is mentioned. Is this recently updated or there is some bug in the tool?

Message SHALL contain exactly one [1..1] entry (CONF:1106-74) such that it SHALL contain exactly one [1..1] Primary Diagnosis Observation (identifier: urn:oid:2.16.840.1.113883.10.20.34.3.6) (CONF:1106-75).
Context /ClinicalDocument[1]/component[1]/structuredBody[1]/component[8]/section[1]
Test count(cda:entry[count(cda:observation[cda:templateId[@root='2.16.840.1.113883.10.20.34.3.6']])=1])=1


I do have just one entry for [cda:templateId[@root='2.16.840.1.113883.10.20.34.3.6']], but not sure why I still get this error. I also tried to remove this template, still same error showed up. Any reasons for this?

Thanks
Mayuri

CONFIDENTIALITY & PRIVACY NOTICE: Please DO NOT include any HIPAA Electronic Protected Health Information (ePHI) e-mail communications in an unsecured email. If you need to transmit ePHI, First Insight will direct you to a secure email site. In addition, the information contained in this email transmission is privileged, proprietary and/or confidential. Unauthorized use, review and/or distribution of this information is strictly prohibited. If you have received this email in error, notify the sender immediately so our records can be corrected. Please delete the original and copy of this email and destroy any print copies that may have been generated from this transmission. For additional information, contact First Insight at 800.920.1940.


--
You received this message because you are subscribed to the Google Groups "National Health Care Survey Testing Tool" group.
110506_Goe_Gary.xml

McCaffrey, Andrew (Fed)

unread,
Nov 14, 2017, 5:17:14 PM11/14/17
to mayuri khot, National Health Care Survey Testing Tool
Thanks.

Version 1.0 of the NHCS specification has 1..1 cardinality on <given> in
the patient's name. This is enforced in that version of the tool. This
requirement has been relaxed in version 1.2 of the specification and
that version of the validation tool does not enforce that rule.

For the second error, the location of the Primary Diagnosis Observation
does not match the definition of Table 35 (page 89). The structure of
the Diagnose Section is that it is a section, which contains an entry
which contains the observation and that observation is a Primary
Diagnosis Observation. However, in the XML provided, it appears to be a
level down from where it is defined in the spec. It's inside a Problem
Concern Act Condition instead of the decedent of the section/entry.

In other words the XPath from the section in the provided XML is:

section/entry/act/entryRelationship/observation

But the specification defines it as:

section/entry/observation

If you move that observation up to the section/entry level the error
should go away.

Let me know if you have any concerns.

Thanks,
-Andrew


On 11/14/2017 08:31 AM, mayuri khot wrote:
> Hi,
>
> As per your email here i m sending XML file,Please find attached file.
>
> Thanks
> Mayuri
>
> On Wed, Nov 8, 2017 at 8:59 PM, McCaffrey, Andrew (Fed)
> <andrew.m...@nist.gov <mailto:andrew.m...@nist.gov>> wrote:
>
> Hi,
>
> Could you provide the XML you are using to help debug?
>
> Thanks,
> -Andrew
>
> On 11/08/2017 02:12 AM, may...@first-insight.com
> national-health-care-surve...@googlegroups.com
> <mailto:national-health-care-survey-testing-tool%2Bunsu...@googlegroups.com>
> <mailto:national-health-care-surve...@googlegroups.com
> <mailto:national-health-care-survey-testing-tool%2Bunsu...@googlegroups.com>>.
> To post to this group, send email to
> national-health-care...@googlegroups.com
> <mailto:national-health-care...@googlegroups.com>
> <mailto:national-health-care...@googlegroups.com <mailto:national-health-care...@googlegroups.com>>.
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fnational-health-care-survey-testing-tool%2Fb6c5a196-39ab-4395-b50d-ffd3c0e4a4e2%2540googlegroups.com&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7C40d6808aeba449459a0a08d52b63f6fb%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636462630708547142&sdata=TC4CFu3s5SM6wAsvNq34kQP14ACSuvZm0mKd5J77xJ0%3D&reserved=0>
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fnational-health-care-survey-testing-tool%2Fb6c5a196-39ab-4395-b50d-ffd3c0e4a4e2%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7C811cc2a5fea44aab34d008d526780c9f%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636457219408821467&sdata=%2BbckGq9F%2Bl96eTT54mpYFJNXjFDqMdH59VZTy1vjYgM%3D&reserved=0
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7C40d6808aeba449459a0a08d52b63f6fb%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636462630708547142&sdata=DjLL5BWmT%2F%2BsASO%2FNqown9Lv2vzSuFiQcWDyre%2FQX%2BA%3D&reserved=0>
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7C811cc2a5fea44aab34d008d526780c9f%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636457219408821467&sdata=3MVHEIr%2BN68LW8FFuaxreDz%2FsDNKo6E14B92QcwOWy0%3D&reserved=0
Reply all
Reply to author
Forward
0 new messages