Commit 0f82324
Adrian Clay
NIAD-3218: Fix malformed ehrSupplyDiscontinue / pertinentInformation / pertinentSupplyAnnotation (#965)
* Fix malformed ehrSupplyDiscontinue / pertinentInformation / pertinentSupplyAnnotation
When a MedicationRequest didn't have reason text to provide, we were
providing an invalid code element within the pertinentSupplyInformation.
This is invalid according to the spec.
Instead, move the nullFlavor annotation to the pertinentSupplyAnnotation
where it is valid.
* Remove stopped reason from "Pro-Cal shot neutral" medication
Prescribed on 28th March 2019.
Stopped on 10th May 2019.1 parent b4e2033 commit 0f82324
File tree
4 files changed
+9
-10
lines changed- service/src
- main/resources/templates
- test/resources/ehr/mapper/medication_request
- wiremock/stubs/__files
4 files changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1150 | 1150 | | |
1151 | 1151 | | |
1152 | 1152 | | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
1156 | | - | |
1157 | | - | |
1158 | | - | |
1159 | 1153 | | |
1160 | 1154 | | |
1161 | 1155 | | |
| |||
0 commit comments