Receiving validation ERROR on a SHOULD constraint

22 views
Skip to first unread message

Emma Jones RN

unread,
Apr 9, 2019, 11:58:40 AM4/9/19
to National Health Care Survey Testing Tool
Receiving this validation error on a SHOULD constraint. The IG does not state that other codeSystems are prohibited. Suggest making this a warning or update the constraints in the IG.

Per the IG:
  1. SHALL contain exactly one [1..1] value with @xsi:type="CD", where the code SHOULD be selected from CodeSystem ICD10 (urn:oid:2.16.840.1.113883.6.3) (CONF:1106-636).

      1. This value MAY contain zero or one [0..1] @nullFlavor="OTH" (CONF:1106-859).

      2. This value MAY contain zero or one [0..1] originalText (CONF:1106-861).

      3. Value MAY be selected from ICD-9/10/CM (based on the current version in US realm) (CONF:1106-860).

Error Message:
MessageSHALL contain exactly one [1..1] value with @xsi:type="CD", where the code SHOULD be selected from CodeSystem ICD10 (urn:oid:2.16.840.1.113883.6.3) (CONF:1106-636).
Context/ClinicalDocument[1]/component[1]/structuredBody[1]/component[4]/section[1]/entry[5]/observation[1]/entryRelationship[1]/observation[1]
Testcount(cda:value[@codeSystem='2.16.840.1.113883.6.3' or @nullFlavor][@xsi:type='CD'])=1
MessageSHALL contain exactly one [1..1] value with @xsi:type="CD", where the code SHOULD be selected from CodeSystem ICD10 (urn:oid:2.16.840.1.113883.6.3) (CONF:1106-636).
Context/ClinicalDocument[1]/component[1]/structuredBody[1]/component[4]/section[1]/entry[6]/observation[1]/entryRelationship[1]/observation[1]
Testcount(cda:value[@codeSystem='2.16.840.1.113883.6.3' or @nullFlavor][@xsi:type='CD'])=1

McCaffrey, Andrew (Fed)

unread,
Apr 12, 2019, 10:51:57 AM4/12/19
to Emma Jones RN, National Health Care Survey Testing Tool
Hi,

Could you post the XML that causes this error condition?

Thanks,
-Andrew

On 4/9/19 11:58 AM, Emma Jones RN wrote:
> Receiving this validation error on a SHOULD constraint. The IG does not
> state that other codeSystems are prohibited. Suggest making this a
> warning or update the constraints in the IG.
>
> *Per the IG:*
>
> 1.
>
> *SHALL* contain exactly one [1..1] *value* with @xsi:type="CD",
> where the code *SHOULD* be selected from CodeSystem ICD10
> (urn:oid:2.16.840.1.113883.6.3) (CONF:1106-636).
>
> 1.
>
> This value *MAY* contain zero or one [0..1]
> *@nullFlavor*="OTH" (CONF:1106-859).
>
> 2.
>
> This value *MAY* contain zero or one [0..1] *originalText*
> (CONF:1106-861).
>
> 3.
>
> Value *MAY* be selected from ICD-9/10/CM (based on the
> current version in US realm) (CONF:1106-860).
>
> *Error Message:*
> Message SHALL contain exactly one [1..1] value with @xsi:type="CD",
> where the code SHOULD be selected from CodeSystem ICD10
> (urn:oid:2.16.840.1.113883.6.3) (CONF:1106-636).
> Context
> /ClinicalDocument[1]/component[1]/structuredBody[1]/component[4]/section[1]/entry[5]/observation[1]/entryRelationship[1]/observation[1]
> Test count(cda:value[@codeSystem='2.16.840.1.113883.6.3' or
> @nullFlavor][@xsi:type='CD'])=1
>
> Message SHALL contain exactly one [1..1] value with @xsi:type="CD",
> where the code SHOULD be selected from CodeSystem ICD10
> (urn:oid:2.16.840.1.113883.6.3) (CONF:1106-636).
> Context
> /ClinicalDocument[1]/component[1]/structuredBody[1]/component[4]/section[1]/entry[6]/observation[1]/entryRelationship[1]/observation[1]
> Test count(cda:value[@codeSystem='2.16.840.1.113883.6.3' or
> @nullFlavor][@xsi:type='CD'])=1
>
> --
> 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/2d6ce109-413a-4b82-9ec4-4c00f1d2f6e0%40googlegroups.com
> <https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fnational-health-care-survey-testing-tool%2F2d6ce109-413a-4b82-9ec4-4c00f1d2f6e0%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7C9b9fa13eae394b430ce608d6bd044227%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636904223316557650&sdata=o9y%2FHcXoZJTTipRSjw9yWcAxYV7B2UwUDbozVvhQd7A%3D&reserved=0>.
> For more options, visit https://groups.google.com/d/optout
> <https://gcc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Candrew.mccaffrey%40nist.gov%7C9b9fa13eae394b430ce608d6bd044227%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C636904223316567655&sdata=DL7EyvL51Seog7XxvUF%2F%2Fp39kzXEkJ0D1mTr5boiSRg%3D&reserved=0>.
Reply all
Reply to author
Forward
0 new messages