Skip to content

Commit 74224d5

Browse files
FLAGSAPI-1515 updated some tests to expect 'deliberately witheld'
1 parent 5072657 commit 74224d5

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

docker/service/src/test/resources/gp_summary/from/fhir/additional_information_gp_summary_1_presentation_text_value.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<h2 id="Title">General Practice Summary</h2>
44
<h3 id="Disclaimer">Sourced from the patient's General Practice record. This summary may not include all the information pertinent to this patient.</h3>
55
<p id="CreateTime">Summary Created: 30 Apr 2020 16:13</p>
6-
<p class="HighlightedStatement" id="WithheldCREItemsHeaderStatement">One or more entries have been intentionally withheld from this GP Summary.</p>
6+
<p class="HighlightedStatement" id="WithheldCREItemsHeaderStatement">One or more entries have been deliberately withheld from this GP Summary.</p>
77
<p id="Author">Created by: WILSON, Bob (Mr)</p>
88
<p id="Practice">Spine Testing, The Practice, Woodvale Terrace, Horsforth, Leeds LS18 4JW</p>
99
<h2 id="AllergiesHeader">Allergies and Adverse Reactions</h2>
@@ -316,7 +316,7 @@ <h2 id="TreatmentsHeader">Treatments</h2>
316316
</tbody>
317317
</table>
318318
<h2 id="CircumstancesHeader">Social and Personal Circumstances</h2>
319-
<p class="HighlightedStatement" id="WithheldCREItemsHeaderStatement">One or more entries have been intentionally withheld from this GP Summary.</p>
319+
<p class="HighlightedStatement" id="WithheldCREItemsHeaderStatement">One or more entries have been deliberately withheld from this GP Summary.</p>
320320
<table id="Circumstances">
321321
<thead>
322322
<tr>

docker/service/src/test/resources/gp_summary/partials/additional_information_gp_summary_1_composition.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
},
5656
"text": {
5757
"status": "generated",
58-
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3 id=\"Disclaimer\">Sourced from the patient's General Practice record. This summary may not include all the information pertinent to this patient.</h3><p id=\"CreateTime\">Summary Created: 30 Apr 2020 16:13</p><p id=\"WithheldCREItemsHeaderStatement\" class=\"HighlightedStatement\">One or more entries have been withheld from this GP Summary.</p><p id=\"Author\">Created by: WILSON, Bob (Mr)</p><p id=\"Practice\">Spine Testing, The Practice, Woodvale Terrace, Horsforth, Leeds LS18 4JW</p></div>"
58+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3 id=\"Disclaimer\">Sourced from the patient's General Practice record. This summary may not include all the information pertinent to this patient.</h3><p id=\"CreateTime\">Summary Created: 30 Apr 2020 16:13</p><p id=\"WithheldCREItemsHeaderStatement\" class=\"HighlightedStatement\">One or more entries have been deliberately withheld from this GP Summary.</p><p id=\"Author\">Created by: WILSON, Bob (Mr)</p><p id=\"Practice\">Spine Testing, The Practice, Woodvale Terrace, Horsforth, Leeds LS18 4JW</p></div>"
5959
}
6060
},
6161
{
@@ -181,7 +181,7 @@
181181
},
182182
"text": {
183183
"status": "generated",
184-
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p id=\"WithheldCREItemsHeaderStatement\" class=\"HighlightedStatement\">One or more entries have been withheld from this GP Summary.</p><table id=\"Circumstances\"><thead><tr><th>Date</th><th>Description</th><th>Value</th><th>Supporting Information</th></tr></thead><tbody><tr class=\"oddRow\"><td>01 Apr 2020</td><td>Main spoken language English</td><td></td><td>Bilingual</td></tr><tr class=\"evenRow\"><td>31 Mar 2020</td><td>Main spoken language English</td><td></td><td>[No notes were originally recorded]</td></tr><tr class=\"oddRow\"><td>26 Mar 2020</td><td>Main spoken language Mandarin</td><td></td><td></td></tr></tbody></table><p id=\"SendTime\">Summary Sent: 30 Apr 2020 16:13</p></div>"
184+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p id=\"WithheldCREItemsHeaderStatement\" class=\"HighlightedStatement\">One or more entries have been deliberately withheld from this GP Summary.</p><table id=\"Circumstances\"><thead><tr><th>Date</th><th>Description</th><th>Value</th><th>Supporting Information</th></tr></thead><tbody><tr class=\"oddRow\"><td>01 Apr 2020</td><td>Main spoken language English</td><td></td><td>Bilingual</td></tr><tr class=\"evenRow\"><td>31 Mar 2020</td><td>Main spoken language English</td><td></td><td>[No notes were originally recorded]</td></tr><tr class=\"oddRow\"><td>26 Mar 2020</td><td>Main spoken language Mandarin</td><td></td><td></td></tr></tbody></table><p id=\"SendTime\">Summary Sent: 30 Apr 2020 16:13</p></div>"
185185
}
186186
}
187187
]

docker/service/src/test/resources/html_parser/example_withheld.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"text": {
1111
"status": "generated",
12-
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3 id=\"Disclaimer\">Sourced from the patient's General Practice record. This summary may not include all the information pertinent to this patient.</h3><p id=\"CreateTime\">Summary Created: 30 Apr 2020 16:13</p><p id=\"WithheldCREItemsHeaderStatement\" class=\"HighlightedStatement\">One or more entries have been withheld from this GP Summary.</p><p id=\"Author\">Created by: WILSON, Bob (Mr)</p><p id=\"Practice\">Spine Testing, The Practice, Woodvale Terrace, Horsforth, Leeds LS18 4JW</p></div>"
12+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3 id=\"Disclaimer\">Sourced from the patient's General Practice record. This summary may not include all the information pertinent to this patient.</h3><p id=\"CreateTime\">Summary Created: 30 Apr 2020 16:13</p><p id=\"WithheldCREItemsHeaderStatement\" class=\"HighlightedStatement\">One or more entries have been deliberately withheld from this GP Summary.</p><p id=\"Author\">Created by: WILSON, Bob (Mr)</p><p id=\"Practice\">Spine Testing, The Practice, Woodvale Terrace, Horsforth, Leeds LS18 4JW</p></div>"
1313
}
1414
}, {
1515
"title": "Allergies and Adverse Reactions",
@@ -108,7 +108,7 @@
108108
},
109109
"text": {
110110
"status": "generated",
111-
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p id=\"WithheldCREItemsHeaderStatement\" class=\"HighlightedStatement\">One or more entries have been withheld from this GP Summary.</p><table id=\"Circumstances\"><thead><tr><th>Date</th><th>Description</th><th>Value</th><th>Supporting Information</th></tr></thead><tbody><tr class=\"oddRow\"><td>01 Apr 2020</td><td>Main spoken language English</td><td></td><td>Bilingual</td></tr><tr class=\"evenRow\"><td>31 Mar 2020</td><td>Main spoken language English</td><td></td><td>[No notes were originally recorded]</td></tr><tr class=\"oddRow\"><td>26 Mar 2020</td><td>Main spoken language Mandarin</td><td></td><td></td></tr></tbody></table><p id=\"SendTime\">Summary Sent: 30 Apr 2020 16:13</p></div>"
111+
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p id=\"WithheldCREItemsHeaderStatement\" class=\"HighlightedStatement\">One or more entries have been deliberately withheld from this GP Summary.</p><table id=\"Circumstances\"><thead><tr><th>Date</th><th>Description</th><th>Value</th><th>Supporting Information</th></tr></thead><tbody><tr class=\"oddRow\"><td>01 Apr 2020</td><td>Main spoken language English</td><td></td><td>Bilingual</td></tr><tr class=\"evenRow\"><td>31 Mar 2020</td><td>Main spoken language English</td><td></td><td>[No notes were originally recorded]</td></tr><tr class=\"oddRow\"><td>26 Mar 2020</td><td>Main spoken language Mandarin</td><td></td><td></td></tr></tbody></table><p id=\"SendTime\">Summary Sent: 30 Apr 2020 16:13</p></div>"
112112
}
113113
} ]
114-
}
114+
}

0 commit comments

Comments
 (0)