-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfhir.html
102 lines (100 loc) · 5 KB
/
fhir.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
<!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>
<link rel="stylesheet" type="text/css" href="fhir.css" media="screen">
</head>
<body>
<center><h1>Query a FHIR Terminology Server </h1></center>
<p><em>Enter a system and code, receive names or labels, and a definition if available. </em>
</p>
<center>
<table>
<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://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=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('http://20.119.216.32:8888/fhir', document.getElementById('system').value, document.getElementById('code').value)"
>Search for Code</button></td>
</tr>
<tr>
<td colspan=2> </td>
<td colspan=1>
</td>
<td colspan=1> </td>
</tr>
<tr><td colspan=1><em>Query:</em></td>
<td>System:</td><td><output type="text" id="input-system" name="input-system"></td>
</tr>
<tr><td colspan=1> </td>
<td>Code:</td><td><output type="text" id="input-code" name="input-code"> </td>
</tr>
<tr>
<td colspan=1><em>Results:</em></td>
<td>System:</td>
<td><output type="text" id="output-system" name="output-system"></td>
</tr>
<tr>
<td colspan=1> </td>
<td>Label:</td>
<td><output type="text" id="output-label" name="output-label"></td>
</tr>
<tr>
<td colspan=1> </td>
<td><output type="text" id="output-synonym-heading" name="output-synonym-heading"></td>
<td><output type="text" id="output-synonym-value" name="output-synonym-value"></td>
</tr>
<tr>
<td colspan=1> </td>
<td><output type="text" id="output-definition-heading" name="output-definition-heading"></td>
<td><output type="text" id="output-definition-value" name="output-definition-value"> </td>
</tr>
<tr>
<td colspan=1> </td>
<td colspan=1>
</td>
<td colspan=1>
</td>
</tr>
</table>
</center>
<p>
Sample codes for ICD: A02.20, A03 <br>
Sample codes for LOINC: 66678-4, LA6668-3 <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<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>