/
eid_test_results.xml
132 lines (121 loc) · 5.38 KB
/
eid_test_results.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<htmlform formUuid="c811d39c-946a-11e7-9ae7-d567856360b8" formName="EID Test Results"
formEncounterType="8383DE35-5145-4953-A018-34876B797F3E" formVersion="1.0">
<macros>
hivTestConstruct=PIH Malawi:2168
hivTestType=PIH Malawi:1867
hivResult=PIH Malawi:2169
hivSampleDate=PIH Malawi:6108
labTestNumber=PIH Malawi:3564
hivResultDate=PIH Malawi:6110
hivRapid=1040
notDone=1118
negative=664
positive=703
inconclusive=1138
hivPCR=844
labLocation=8627
testingReason=8623
exposed=822
presumed=1346
unknown=1067
</macros>
<!-- Flowsheet table view -->
<ifMode mode="VIEW" include="true">
<h4 style="font-style: italic;">
<b>EID Lab Tests</b>
<span style="padding-left:50px;">Version 0.1</span>
<span style="padding-left:50px;">
<b style="padding-right:10px;">HCC no: </b>
<b>
<lookup complexExpression="#foreach( $id in $patientIdentifiers.get("HCC Number") ) $!id #end" />
</b>
</span>
</h4>
<span style="display:none">
<encounterProvider default="16576" />
<span id="patientBirthdate"><lookup expression="patient.birthdate"/></span>
</span> <!-- Set provider to a default as not used -->
<table class="visit-table data-entry-table">
<thead class="visit-table-header">
<tr>
<th>Sample Date</th>
<th>Reason for Testing</th>
<th>Lab Location</th>
<th>Test Type</th>
<th>Sample ID</th>
<th>HIV Result</th>
<th>Result Date</th>
</tr>
</thead>
<tbody class="visit-table-body">
<tr class="visit-table-row">
<obsgroup groupingConceptId="$hivTestConstruct">
<td class="nowrap visit-date"><encounterDate/></td>
<td><obs conceptId="$testingReason"/></td>
<td><obs conceptId="$labLocation"/></td>
<td><obs conceptId="$hivTestType" answerConceptIds="$hivPCR,$hivRapid"
answerLabels="DBS,RT" style="radio"/></td>
<td><obs conceptId="$labTestNumber" /></td>
<td><obs conceptId="$hivResult"
answerConceptIds="$negative,$positive,$inconclusive,$notDone"
answerLabels="Neg,Pos,Inc,Not Done"
style="radio" /></td>
<td><obs conceptId="$hivResultDate" allowFutureDates="true"/></td>
</obsgroup>
</tr>
</tbody>
</table>
</ifMode>
<!-- Data entry view -->
<ifMode mode="VIEW" include="false">
<h4 style="font-style: italic;">
<b>EID Lab Tests</b>
<span style="padding-left:50px;">Version 0.1</span>
<span id="patientUuid" style="display:none"><lookup expression="patient.uuid"/></span>
<span style="padding-left:50px;">
<b style="padding-right:10px;">HCC Reg no:</b>
<b>
<lookup complexExpression="#foreach( $id in $patientIdentifiers.get("HCC Number") ) $!id #end"/>
</b>
</span>
</h4>
<span style="display:none">
<encounterProvider default="16576"/>
</span> <!-- Set provider to a default as not used -->
<table class="visit-edit-table">
<table class="visit-table data-entry-table">
<thead class="visit-table-header">
<tr>
<th>Sample Date</th>
<th>Reason for Testing</th>
<th>Lab Location</th>
<th>Test Type</th>
<th>Sample ID</th>
<th>HIV Result</th>
<th>Result Date</th>
</tr>
</thead>
<tbody class="visit-table-body">
<tr class="visit-table-row">
<obsgroup groupingConceptId="$hivTestConstruct">
<td class="nowrap visit-date"><encounterDate/>
<span id="visitDateError" class="error field-error" style="display:none;color: rgb(255, 0, 0);"></span>
</td>
<td><obs conceptId="$testingReason"/></td>
<td><obs conceptId="$labLocation"/></td>
<td><obs conceptId="$hivTestType" answerConceptIds="$hivPCR,$hivRapid"
answerLabels="DBS,RT" style="radio"/></td>
<td><obs conceptId="$labTestNumber" /></td>
<td><obs conceptId="$hivResult"
answerConceptIds="$negative,$positive,$inconclusive,$notDone"
answerLabels="Neg,Pos,Inc,Not Done"
style="radio" /></td>
<td><obs conceptId="$hivResultDate" allowFutureDates="true"/></td>
</obsgroup>
</tr>
</tbody>
</table>
</table>
<submit/>
</ifMode>
</htmlform>