1.2 validator error in medications section

92 views
Skip to first unread message

kra...@gmail.com

unread,
Oct 9, 2017, 9:32:26 AM10/9/17
to National Health Care Survey Testing Tool
Good morning, 

Using the tool at http://cda-validation.nist.gov/cda-validation/muNHCS12.html we are receiving a validator error in the medications section but from what we can tell our section conforms to the 1.2 spec on page 114 of the IG as outlined below.  Any assistance is greatly appreciated: 

IG: 

<section>
           <!-- Conforms to C-CDA Medications Section (entries optional) (V2) -->
           <templateId root="2.16.840.1.113883.10.20.22.2.1" extension="2014-06-09" />
           <!-- Medications Section -->
           <templateId root="2.16.840.1.113883.10.20.34.2.1" />
           <code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="HISTORY OF MEDICATION USE" />
           <title>Medications</title>

Our xml: 

<section>
          <templateId root="2.16.840.1.113883.10.20.22.2.1.1" extension="2014-06-09" />
          <templateId root="2.16.840.1.113883.10.20.22.2.1.1" />
          <templateId root="2.16.840.1.113883.10.20.34.2.1" extension="2014-06-09" />
          <code code="10160-0" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of medication use" />
          <title>Medications</title>

Error: 

MessageThis code SHALL contain exactly one [1..1] @code="10160-0" History of medication use (CONF:1098-15386).
Context/ClinicalDocument[1]/component[1]/structuredBody[1]/component[2]/section[1]
Testcda:code[@code='10160-0']



McCaffrey, Andrew (Fed)

unread,
Oct 10, 2017, 3:35:12 PM10/10/17
to kra...@gmail.com, National Health Care Survey Testing Tool
Hi,

Could you include the full XML that you are uploading (off-list if you
would prefer)?

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/42171ff3-6eaa-4a33-a874-0672ea9e3367%40googlegroups.com
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fnational-health-care-survey-testing-tool%2F42171ff3-6eaa-4a33-a874-0672ea9e3367%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7C019bb44ce16f498bb1b208d50f1a2f29%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636431527488503071&sdata=tLBRbmzgMZrnYiSCjc%2FYEZT5nINEvYVZ%2FPRDnncpNCk%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%7C019bb44ce16f498bb1b208d50f1a2f29%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636431527488503071&sdata=2ARLu%2Beok3GvTOFl8f9TSuw3fa1YTcOQ2HPluMkZN3E%3D&reserved=0>.

kra...@gmail.com

unread,
Oct 17, 2017, 3:43:15 PM10/17/17
to National Health Care Survey Testing Tool
cda994429475555472114.xml

dan venton

unread,
Oct 17, 2017, 4:06:01 PM10/17/17
to National Health Care Survey Testing Tool
I notice that your Immunizations section which is supposed to conform to the Medications section does not have that code value (pay close attention to the index of the section the validator is complaining about)

<templateId root="2.16.840.1.113883.10.20.22.2.2.1" extension="2015-08-01" />

<templateId root="2.16.840.1.113883.10.20.22.2.2.1" />

<templateId root="2.16.840.1.113883.10.20.34.2.7" extension="2014-06-09" />

<code code="11369-6" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="History of Immunization Narrative" />

<title>Immunization</title>

<text><table>


Also has some weird template id values.

Billy Yarosh

unread,
Feb 24, 2021, 1:49:38 PM2/24/21
to National Health Care Survey Testing Tool

This is confusing for me. We are generating a NAMCS survey and getting an error here as well. The specification shows we must include immunization section (V2) containing the loinc code 11369-6. But, the validator is expecting a the medications section code. Again, the spec is very clear this should be history of immunizations.

McCaffrey, Andrew B. (Fed)

unread,
Feb 24, 2021, 2:14:56 PM2/24/21
to Billy Yarosh, National Health Care Survey Testing Tool

Hi,

 

Verify that you have only the template IDs relevant to that section/entry included. Extra template IDs could be triggering conflicting conformance rules.

 

-Andrew McCaffrey

--

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/national-health-care-survey-testing-tool/3c8223bc-7a97-4395-b708-4403c2ba5f45n%40googlegroups.com.

Billy Yarosh

unread,
Feb 24, 2021, 11:52:43 PM2/24/21
to National Health Care Survey Testing Tool
Sorry I was using the STU3 spec which does use the immunization coding.  
Reply all
Reply to author
Forward
0 new messages