Validation Error

26 views
Skip to first unread message

kdasi...@gmail.com

unread,
Jul 18, 2018, 8:46:29 PM7/18/18
to National Health Care Survey Testing Tool
Hi,

I'm getting the following validation errors:

MessageThis statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Result Status 2.16.840.1.113883.11.20.9.39 STATIC 2013-08-09 (CONF:1098-14849).
Context/ClinicalDocument[1]/component[1]/structuredBody[1]/component[8]/section[1]/entry[1]/organizer[1]/component[1]/observation[1]
Testcda:statusCode[@code and @code=document('http://hit-dev.nist.gov:11080/muValidationNHCS/schematron/nhcs/voc.xml')/voc:systems/voc:system[@valueSetOid='2.16.840.1.113883.11.20.9.39']/voc:code/@value]
MessageThe interpretationCode, if present, SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Observation Interpretation (HL7) 2.16.840.1.113883.1.11.78 STATIC 2014-09-01 (CONF:1098-32476).
Context/ClinicalDocument[1]/component[1]/structuredBody[1]/component[8]/section[1]/entry[1]/organizer[1]/component[1]/observation[1]
Testnot(cda:interpretationCode) or cda:interpretationCode[@code and @code=document('http://hit-dev.nist.gov:11080/muValidationNHCS/schematron/nhcs/voc.xml')/voc:systems/voc:system[@valueSetOid='2.16.840.1.113883.1.11.78']/voc:code/@value]
MessageThis statusCode SHALL contain exactly one [1..1] @code, which SHALL be selected from ValueSet Result Status 2.16.840.1.113883.11.20.9.39 STATIC 2013-08-09 (CONF:1098-14848).
Context/ClinicalDocument[1]/component[1]/structuredBody[1]/component[8]/section[1]/entry[1]/organizer[1]
Testcda:statusCode[@code and @code=document('http://hit-dev.nist.gov:11080/muValidationNHCS/schematron/nhcs/voc.xml')/voc:systems/voc:system[@valueSetOid='2.16.840.1.113883.11.20.9.39']/voc:code/@value]
MessageThis structuredBody SHALL contain exactly one [1..1] component (CONF:1106-298) such that it SHALL contain exactly one [1..1] Services and Procedures Section (identifier: urn:oid:2.16.840.1.113883.10.20.34.2.3) (CONF:1106-299).
Context/ClinicalDocument[1]
Testcda:component/cda:structuredBody[count(cda:component[count(cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.34.2.3']])=1])=1]
MessageThis structuredBody SHALL contain exactly one [1..1] component (CONF:1106-300) such that it SHALL contain exactly one [1..1] Medications Section (identifier: urn:oid:2.16.840.1.113883.10.20.34.2.1) (CONF:1106-301).
Context/ClinicalDocument[1]
Testcda:component/cda:structuredBody[count(cda:component[count(cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.34.2.1']])=1])=1]

I understand the last 2 errors as this is a work in progress. But the first 3 errors are baffling. Please check the attached xml and the section in question is "RESULTS" (last one in the cda document) I also checked the voc.xml and found that the code does match the value. Not sure why the validator still throws this error.

Any help is appreciated.

Thanks,
Kalyan


HealthCareSurvey.xml

kdasi...@gmail.com

unread,
Jul 18, 2018, 8:48:01 PM7/18/18
to National Health Care Survey Testing Tool

McCaffrey, Andrew (Fed)

unread,
Jul 19, 2018, 10:17:14 AM7/19/18
to kdasi...@gmail.com, National Health Care Survey Testing Tool
Thanks for specifying the version and providing the XML. I'll take a
look and will be back in touch.

Thanks,
-Andrew

On 07/18/2018 08:48 PM, kdasi...@gmail.com wrote:
> I used the online validator
> https://cda-validation.nist.gov/muValidationNHCS10/validation.jsp
>
> On Wednesday, July 18, 2018 at 5:46:29 PM UTC-7, kdasi...@gmail.com wrote:
>
> Hi,
>
> I'm getting the following validation errors:
>
> Message This statusCode SHALL contain exactly one [1..1] @code,
> which SHALL be selected from ValueSet Result Status
> 2.16.840.1.113883.11.20.9.39 STATIC 2013-08-09 (CONF:1098-14849).
> Context
> /ClinicalDocument[1]/component[1]/structuredBody[1]/component[8]/section[1]/entry[1]/organizer[1]/component[1]/observation[1]
> Test cda:statusCode[@code and
> @code=document('http://hit-dev.nist.gov:11080/muValidationNHCS/schematron/nhcs/voc.xml')/voc:systems/voc:system[@valueSetOid='2.16.840.1.113883.11.20.9.39']/voc:code/@value
> <http://hit-dev.nist.gov:11080/muValidationNHCS/schematron/nhcs/voc.xml%27%29/voc:systems/voc:system%5B@valueSetOid=%272.16.840.1.113883.11.20.9.39%27%5D/voc:code/@value>]
>
> Message The interpretationCode, if present, SHALL contain exactly
> one [1..1] @code, which SHALL be selected from ValueSet Observation
> Interpretation (HL7) 2.16.840.1.113883.1.11.78 STATIC 2014-09-01
> (CONF:1098-32476).
> Context
> /ClinicalDocument[1]/component[1]/structuredBody[1]/component[8]/section[1]/entry[1]/organizer[1]/component[1]/observation[1]
> Test not(cda:interpretationCode) or cda:interpretationCode[@code and
> @code=document('http://hit-dev.nist.gov:11080/muValidationNHCS/schematron/nhcs/voc.xml')/voc:systems/voc:system[@valueSetOid='2.16.840.1.113883.1.11.78']/voc:code/@value
> <http://hit-dev.nist.gov:11080/muValidationNHCS/schematron/nhcs/voc.xml%27%29/voc:systems/voc:system%5B@valueSetOid=%272.16.840.1.113883.1.11.78%27%5D/voc:code/@value>]
>
> Message This statusCode SHALL contain exactly one [1..1] @code,
> which SHALL be selected from ValueSet Result Status
> 2.16.840.1.113883.11.20.9.39 STATIC 2013-08-09 (CONF:1098-14848).
> Context
> /ClinicalDocument[1]/component[1]/structuredBody[1]/component[8]/section[1]/entry[1]/organizer[1]
> Test cda:statusCode[@code and
> @code=document('http://hit-dev.nist.gov:11080/muValidationNHCS/schematron/nhcs/voc.xml')/voc:systems/voc:system[@valueSetOid='2.16.840.1.113883.11.20.9.39']/voc:code/@value
> <http://hit-dev.nist.gov:11080/muValidationNHCS/schematron/nhcs/voc.xml%27%29/voc:systems/voc:system%5B@valueSetOid=%272.16.840.1.113883.11.20.9.39%27%5D/voc:code/@value>]
>
> Message This structuredBody SHALL contain exactly one [1..1]
> component (CONF:1106-298) such that it SHALL contain exactly one
> [1..1] Services and Procedures Section (identifier:
> urn:oid:2.16.840.1.113883.10.20.34.2.3) (CONF:1106-299).
> Context /ClinicalDocument[1]
> Test
> cda:component/cda:structuredBody[count(cda:component[count(cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.34.2.3']])=1])=1]
>
> Message This structuredBody SHALL contain exactly one [1..1]
> component (CONF:1106-300) such that it SHALL contain exactly one
> [1..1] Medications Section (identifier:
> urn:oid:2.16.840.1.113883.10.20.34.2.1) (CONF:1106-301).
> Context /ClinicalDocument[1]
> Test
> cda:component/cda:structuredBody[count(cda:component[count(cda:section[cda:templateId[@root='2.16.840.1.113883.10.20.34.2.1']])=1])=1]
>
>
> I understand the last 2 errors as this is a work in progress. But
> the first 3 errors are baffling. Please check the attached xml and
> the section in question is "RESULTS" (last one in the cda document)
> I also checked the voc.xml and found that the code does match the
> value. Not sure why the validator still throws this error.
>
> Any help is appreciated.
>
> Thanks,
> Kalyan
>
>
> --
> 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/e82a73ce-ba04-4737-bee1-9d59de01cb5f%40googlegroups.com
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fnational-health-care-survey-testing-tool%2Fe82a73ce-ba04-4737-bee1-9d59de01cb5f%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7Cab539ec997754168897a08d5ed114871%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C1%7C636675580851737477&sdata=RE5Smz4gtBL3fNkTnKIKC0Fng3rs3bWKwNBlFYdUK6Y%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%7Cab539ec997754168897a08d5ed114871%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C1%7C636675580851747490&sdata=KKGdWw5LcFxlwwLvoYEcAPYPKDfUPr7FwPcPiWuPKMM%3D&reserved=0>.

McCaffrey, Andrew (Fed)

unread,
Jul 19, 2018, 11:09:13 AM7/19/18
to kdasi...@gmail.com, National Health Care Survey Testing Tool
Hi,

There was a configuration error on the server that was causing the
voc.xml file to not be loaded properly. This has been corrected. If
you still see this issue, please let me know.

Thanks,
-Andrew
> --
> 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/1c5d0742-9374-4c29-bb12-b51db4fc42fe%40googlegroups.com
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fnational-health-care-survey-testing-tool%2F1c5d0742-9374-4c29-bb12-b51db4fc42fe%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7C04ae918e2ecc4501d22b08d5ed111133%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C1%7C636675579940703317&sdata=9qorrG8gNa2cpimCZ7DsRN6zP5bJwcwrCCWobtJqO1I%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%7C04ae918e2ecc4501d22b08d5ed111133%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C1%7C636675579940703317&sdata=H1%2F%2FHP5T4OLx8xw29Nnp2D30QS74OiqBiv2B%2B%2FQgYng%3D&reserved=0>.

kdasi...@gmail.com

unread,
Jul 23, 2018, 3:32:57 PM7/23/18
to National Health Care Survey Testing Tool
Reply all
Reply to author
Forward
0 new messages