-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Niad-3005: Code optimization (AllergyIntollerance) (#740)
* [NIAD-3130] Add failing unit test for ReferralRequestMapperTest.java * [NIAD-3130] Address test discrepancies * [NIAD-3130] Address test discrepancies * [NIAD-3130] Modified production ReferralRequestMapper to make unit tests pass * [NIAD-3130] Add test to verify behavior of NOPAT at ehrComposition level to ReferralRequestMapperTest * [NIAD-3130] Add test to verify behavior of NOSCRUB confidentiality code within ReferralRequestMapperTest * [NIAD-3130] Update CHANGELOG.md * small code optimization --------- Co-authored-by: martin-nhs <[email protected]>
- Loading branch information
1 parent
9ec6c88
commit 2c8e21a
Showing
4 changed files
with
108 additions
and
47 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
50 changes: 50 additions & 0 deletions
50
...ources/xml/RequestStatement/full_valid_data_example_with_noscrub_confidentiality_code.xml
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,50 @@ | ||
<EhrExtract xmlns="urn:hl7-org:v3" classCode="EXTRACT" moodCode="EVN"> | ||
<availabilityTime value="20200101010101" /> | ||
<component typeCode="COMP"> | ||
<ehrFolder classCode="FOLDER" moodCode="EVN"> | ||
<component typeCode="COMP"> | ||
<ehrComposition xmlns="urn:hl7-org:v3" classCode="COMPOSITION" moodCode="EVN"> | ||
<id root="72A39454-299F-432E-993E-5A6232B4E099" /> | ||
<availabilityTime value="20190708143500"/> | ||
<Participant2 typeCode="PRF" contextControlCode="OP"> | ||
<agentRef classCode="AGNT"> | ||
<id root="B1AF3701-4D1C-11E3-9E6B-010000001205"/> | ||
</agentRef> | ||
</Participant2> | ||
<component typeCode="COMP" > | ||
<RequestStatement classCode="OBS" moodCode="RQO"> | ||
<id root="B4303C92-4D1C-11E3-A2DD-010000000161"/> | ||
<code code="8HV6." codeSystem="2.16.840.1.113883.2.1.3.2.4.14" displayName="Reason Code"> | ||
<translation code="183885007" codeSystem="2.16.840.1.113883.2.1.3.2.4.15" displayName="Reason Code 1"/> | ||
<translation code="8HV6.00" codeSystem="2.16.840.1.113883.2.1.6.2" displayName="Reason Code 2"/> | ||
</code> | ||
<text>Test request statement text New line</text> | ||
<statusCode code="COMPLETE"/> | ||
<effectiveTime> | ||
<center value="20050406" nullFlavor="NI"/> | ||
</effectiveTime> | ||
<availabilityTime value="20100101123000"/> | ||
<priorityCode code="394848005" displayName="Normal" codeSystem="2.16.840.1.113883.2.1.3.2.4.15"> | ||
<originalText>Routine</originalText> | ||
</priorityCode> | ||
<confidentialityCode | ||
code="NOSCRUB" | ||
codeSystem="2.16.840.1.113883.4.642.3.47" | ||
displayName="no scrubbing of the patient, family or caregivers without attending provider's authorization" /> | ||
<responsibleParty typeCode="RESP"> | ||
<agentRef classCode="AGNT"> | ||
<id root="B8CA3710-4D1C-11E3-9E6B-010000001205"/> | ||
</agentRef> | ||
</responsibleParty> | ||
<Participant typeCode="PPRF" contextControlCode="OP"> | ||
<agentRef classCode="AGNT"> | ||
<id root="58341512-03F3-4C8E-B41C-A8FCA3886BBB"/> | ||
</agentRef> | ||
</Participant> | ||
</RequestStatement> | ||
</component> | ||
</ehrComposition> | ||
</component> | ||
</ehrFolder> | ||
</component> | ||
</EhrExtract> |