-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added junit test for medication section
validation was returning duplicate validations
- Loading branch information
Sean Muir
committed
Oct 22, 2021
1 parent
c1cdbb9
commit 4fba2f2
Showing
3 changed files
with
50 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0"?> | ||
<?xml-stylesheet type="text/xsl" href="CDA.xsl"?> | ||
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:hl7-org:v3 C:\XML\CDA_SDTC_Schema\infrastructure\cda\CDA_SDTC.xsd" | ||
xmlns="urn:hl7-org:v3" | ||
xmlns:cda="urn:hl7-org:v3"> | ||
<component> | ||
<structuredBody> | ||
<component> | ||
<section> | ||
<templateId | ||
root="2.16.840.1.113883.10.20.22.2.1.1"/> | ||
<!-- negative testing: bad code (not a code that exists anywhere) -db --> | ||
<code | ||
code="ashfdkjdsahfkdsahfdflksskjfdsa" | ||
codeSystem="2.16.840.1.113883.6.1" | ||
codeSystemName="LOINC" | ||
displayName="HISTORY OF MEDICATION USE"/> | ||
</section> | ||
</component> | ||
|
||
|
||
|
||
</structuredBody> | ||
</component> | ||
</ClinicalDocument> |