Talk:1.3.6.1.4.1.19376.1.5.3.1.1.16.1.1: Difference between revisions
Jump to navigation
Jump to search
Issue: Schematron rule misfiring... |
mNo edit summary |
||
| Line 12: | Line 12: | ||
<assert test='/cda:ClinicalDocument/cda:recordTarget/cda:patientRole/cda:patient/cda:ethnicGroupCode'> | <assert test='/cda:ClinicalDocument/cda:recordTarget/cda:patientRole/cda:patient/cda:ethnicGroupCode'> | ||
Warning: The | Warning: The Antepartum History and Physical Document should contain | ||
ethnicity information. | ethnicity information. | ||
See http://wiki.ihe.net/index.php?title=1.3.6.1.4.1.19376.1.5.3.1.1.16.1.1 | See http://wiki.ihe.net/index.php?title=1.3.6.1.4.1.19376.1.5.3.1.1.16.1.1 | ||
Latest revision as of 14:33, 9 December 2008
The schematron asserts:
<assert test='.//cda:templateId[@root = ""]'>
<!-- Alert on any missing required if known elements -->
Warning: The Antepartum History and Physical Document should contain a(n) Enthnicity Entry.
See http://wiki.ihe.net/index.php?title=1.3.6.1.4.1.19376.1.5.3.1.1.16.1.1
</assert>
The templateId is empty which means the rule will never be satisfied. However, we aren't sure that there *is* a correct template ID for ethnicity information. Usually such information is not in an entry, but in an ethnicGroupCode under patient (/cda:ClinicalDocument/cda:recordTarget/cda:patientRole/cda:patient/cda:ethnicGroupCode) Instead, we believe the assert should be:
<assert test='/cda:ClinicalDocument/cda:recordTarget/cda:patientRole/cda:patient/cda:ethnicGroupCode'>
Warning: The Antepartum History and Physical Document should contain
ethnicity information.
See http://wiki.ihe.net/index.php?title=1.3.6.1.4.1.19376.1.5.3.1.1.16.1.1
</assert>
<<--