-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfhir_dev.html
179 lines (174 loc) · 8.09 KB
/
fhir_dev.html
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html>
<html>
<head> <title>TSDemoboard</title>
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
<script src="fhir.js"></script>
<script src="code_system.js"></script>
<link rel="stylesheet" type="text/css" href="fhir.css" media="screen">
</head>
<body>
<center><h1>Query a FHIR Terminology Server <em>by Codes</em> </h1></center>
see also <a href="value_sets.html">Query ValueSets</a><br>
and <a href="/fhir/swagger-ui/index.html">Swagger</a><br>
</p>
<center>
<table>
<tr>
<td colspan=2> <em>Enter a Server to use: </em> </td>
<td colspan=1><label for="server">Server:</label></td>
<td>
<select name="server" id="server">
<option value="http://20.119.216.32:8888/fhir">TIMS 8888</option>
<option value="http://20.119.216.32:8080/fhir">TIMS 8080</option>
<option value="http://20.119.216.32:8001/fhir">TIMS 8001</option>
<option value="http://127.0.0.1:8001/fhir">local 8001</option>
</select>
</td>
</tr>
<tr>
<td colspan=2>  </td>
<td></td>
<td colspan=2>
<button type="submit" onClick="query_loaded_codesystems(document.getElementById('server').value)">Show Loaded CodeSystems (pop-up)</button>
</td>
</tr>
<tr> <td colspan=3>  </td> </tr>
<tr>
<td colspan=2><em>Choose a CodeSystem.</em> </td>
<td colspan=1><label for="system">System:</label></td>
<td><select name="system" id="system">
<option value="http://loinc.org">LOINC</option>
<option value="http://loinc.org/part">comp-loinc</option>
<option value="http://snomed.info/sct">SNOMED</option>
<option value="http://hl7.org/fhir/sid/icd-10-cm">ICD-10 CM</option>
<option value="http://purl.obolibrary.org/obo/hp.owl">HP</option>
<option value="http://purl.obolibrary.org/obo/so.owl">SO</option>
<option value="http://purl.obolibrary.org/obo/mondo.owl">MONDO</option>
<option value="http://purl.obolibrary.org/obo/go.owl">GO</option>
<option value="http://purl.bioontology.org/ontology/RXNORM">RxNorm</option>
<option value="https://github.com/loinc/comp-loinc/releases/latest/download/merged_reasoned_loinc.owl">comp-loinc</option>
</select> </td>
</tr>
<tr> <td colspan=3>  </td> </tr>
<tr>
<td colspan=2><em>Specify a code to lookup. </em> </td>
<td colspan=1><label for="code">Code:</label></td>
<td><input type="text" id="code" name="code"></td>
</tr>
<tr>
<td colspan=3><em>Click to search.</em> </td>
<td><button type="submit"
onClick="getFhir(
document.getElementById('server').value,
document.getElementById('system').value,
document.getElementById('code').value)"
>Search for Code</button></td>
</tr>
<tr>
<td colspan=2>  </td>
<td> </td>
<td >
<button type="submit" onClick="getFhirDetail(
document.getElementById('server').value,
document.getElementById('system').value,
document.getElementById('code').value)" >Search, with detailed output (pop-up)</button>
</td>
</tr>
<tr>
<td colspan=1> </td>
<td><em>Query:</em></td>
<td>System: <output type="text" id="input-system" name="input-system"></td>
<td>Code: <output type="text" id="input-code" name="input-code"></td>
</tr>
<tr>
<td> </td>
<td colspan=1><em>Results:</em></td>
<td>System: <output type="text" id="output-system" name="output-system"></td>
<td>Label: <output type="text" id="output-label" name="output-label"></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><output type="text" id="output-synonym-heading" name="output-synonym-heading"></td>
<td colspan=2><output type="text" id="output-synonym-value" name="output-synonym-value"></td>
</tr>
<tr>
<td> </td>
<td colspan=1> </td>
<td colspan=1> </td>
<td><output type="text" id="output-definition-heading" name="output-definition-heading"></td>
<td colspan=2><output type="text" id="output-definition-value" name="output-definition-value"> </td>
</tr>
<tr>
<td colspan=2>  </td>
<td>Value Sets:</td>
<td >
<button type="submit" onClick="getValueSetSummaryByCode(
document.getElementById('server').value,
document.getElementById('code').value)">Search for first ValueSet that contains this code.</button>
</td>
</tr>
<tr>
<td colspan=3>  </td>
<td>
<button type="submit" onClick="getValueSetRawByCode(
document.getElementById('server').value,
document.getElementById('code').value)">Search for all ValueSets that contain this code. (raw pop-up)</button>
</td>
</tr>
<tr>
<td colspan=2> </td>
<td>id:</td>
<td colspan=2><output id="output-valueset-id" class="multiline"></output></td>
</tr>
<tr>
<td colspan=2> </td>
<td>name:</td>
<td colspan=2><output id="output-valueset-name" class="multiline"></output></td>
</tr>
<tr>
<td colspan=2> </td>
<td>url:</td>
<td colspan=2><output id="output-valueset-url" class="multiline"></output></td>
</tr>
<tr> <td colspan=3>  </td> </tr>
<tr>
<td colspan=3>         </td>
</tr>
<tr>
<td colspan=2> </td>
<td colspan=1>
</td>
<td colspan=1> </td>
</tr>
<tr>
<td colspan=1> </td>
<td colspan=1>
</td>
<td colspan=2>
</td>
</tr>
</table>
</center>
<p>
</p>
<p>
Sample codes for ICD: A02.20, A03 <br>
Sample codes for LOINC: 66678-4 (has a second label), LA6668-3, LA13838-0 (has value sets) <br>
Sample codes for MONDO: MONDO:0000001 MONDO:8000001<br>
Sample codes for SO: SO:0000001<br>
Sample codes for HPO: HP:0000001, HP:4000001<br>
Sample codes for SNOMED: 4557003, 84114007, 703272007, 703275009<br>
Sample codes for RxNorm Drugs: 1656346<br>
Sample codes for RxNorm Ingredients: 1656328, 69749<br>
</p> <p>
Many servers linked here use <a href="https://hapifhir.io/">HAPI-FHIR</a>,
licensed under the <a href="https://hapifhir.io/hapi-fhir/license.html">Apache Software License 2.0.</a>
</p>
</body>
</html>