forked from cityEHR/cityehr-documentation
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcreating-an-information-model.dita
More file actions
189 lines (189 loc) · 8.22 KB
/
Copy pathcreating-an-information-model.dita
File metadata and controls
189 lines (189 loc) · 8.22 KB
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
180
181
182
183
184
185
186
187
188
189
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD LIGHTWEIGHT DITA Topic//EN" "topic.dtd">
<topic id="creating-an-information-model">
<title>Creating an Information Model</title>
<shortdesc>Creating and Configuring the Information Model</shortdesc>
<body>
<p>The information model for your EHR application can be created in a spreadsheet by copying the model for the default cityEHR application that is found in the files:</p>
<ul>
<li>
<p>cityEHR - Specialty - Feature Demo</p>
</li>
<li>
<p>cityEHR - Class - Diagnosis</p>
</li>
<li>
<p>cityEHR - Class - Drugs</p>
</li>
<li>
<p>cityEHR - Class - LabTest</p>
</li>
</ul>
<p>All four spreadsheets have a Configuration sheet at the front which looks as follows:</p>
<p>
<image href="images/spreadsheet-config.png" format="image/png">
<alt>Configuration page of information models</alt>
</image>
</p>
<ol>
<li>
<p>To begin doing this, open the cityEHR webapps folder</p>
</li>
<li>
<p>2. Navigate to the following folder: <i>webapps/cityehr/WEB-inf/resources/apps/ehr/resources/applications/ISO-13606-EHR-Extract-cityEHR/informationModel</i></p>
<p>
<image href="images/info-model-folder-path.png" format="image/png">
<alt>Folder path of information models</alt>
</image>
</p>
<p>You should land on the page above</p>
</li>
<li>
<p>Open the file named: Open the file named cityEHR-Specialty-<b>CommonModel</b>.</p>
</li>
<li>
<p>Go to File → Save a Copy → Rename it to your applicationId-CommonModel</p>
</li>
<li>
<p>Save your copy somewhere convenient.</p>
</li>
<li>
<p><b> Close the original cityEHR-Specialty-CommonModel</b></p>
</li>
<li>
<p>Open the copy you have saved at the location you saved it in.</p>
</li>
<li>
<p>Change the ApplicationId on the Configuration page to exactly match the ApplicationId you assigned your new application. This is found on Line 2, Cell B on the Configuration Sheet (1st sheet).</p>
<p>
<image href="images/spreadsheet-config-app-id.png" format="image/png">
<alt>Changing the Application ID within the information model</alt>
</image>
</p>
</li>
<li>
<p>Save your changes (File → Save)</p>
</li>
<li>
<p>Now, navigate to File ---> Save As --> keep the name the same --> change the format to .xml under “All Formats” in the bottom right of the pop-up window. See image below.</p>
<p>
<image href="images/spreadsheet-save-xml.png" format="image/png">
<alt>Saving the file as an XML</alt>
</image>
</p>
</li>
<li>
<p>Close your windows</p>
</li>
<li>
<p>Open cityEHR back up.</p>
</li>
<li>
<p>Log-in using the same credentials</p>
</li>
<li>
<p>Now navigate to your EHR. This should be added in the drop-down under “You can access more than one application”</p>
<p>
<image href="images/log-on-page-app-drop-down.png" format="image/png">
<alt>Selecting your application on cityEHR log on page</alt>
</image>
</p>
<p>Click Start</p>
</li>
<li>
<p>Navigate to Administration</p>
</li>
<li>
<p>Navigate to Information Model --> import information model on the menu on the left-side of the screen</p>
</li>
<li>
<p>Click Browse</p>
</li>
<li>
<p>Find the .xml file you just saved. Note: It will not work if you don’t select the .xml file</p>
</li>
<li>
<p>Select the .xml file</p>
<p>
<image href="images/admin-import-info-model-file-select.png" format="image/png">
<alt>Selecting new XML file for import</alt>
</image>
</p>
</li>
<li>
<p>Import the information model using the icon at the top-right of the window. See image below.</p>
<p>
<image href="images/admin-import-info-model-button.png" format="image/png">
<alt>Button to begin import of new information model</alt>
</image>
</p>
</li>
<li>
<p>You should now land on a page that shows you the completion of 8 steps.</p>
</li>
<li>
<p>Navigate to Quit.</p>
</li>
<li>
<p>Log back into your application.</p>
</li>
<li>
<p>Navigate to Administration</p>
</li>
<li>
<p>Navigate to Application Parameters found in the menu on the left-hand side of the screen.</p>
</li>
<li>
<p>Click “Edit”</p>
<p>
<image href="images/admin-manage-app-param-button.png" format="image/png">
<alt>Editing Application parameters</alt>
</image>
</p>
</li>
<li>
<p>Navigate to the “commonModel” option on the screen and ensure that the option #ISO-13606:Folder:cityEHRBase is selected (see below)</p>
<p>
<image href="images/admin-manage-app-param-cityehrbase.png" format="image/png">
<alt>Selecting the cityEHR Base folder</alt>
</image>
</p>
</li>
<li>
<p>Click Save and Navigate to Quit</p>
<p>
<image href="images/admin-manage-app-save-button.png" format="image/png">
<alt>Saving Application Parameters</alt>
</image>
</p>
</li>
<li>
<p>Log back into your application</p>
</li>
<li>
<p>Navigate to Patient Search and Registration in the top-right fo the screen on the purple dashboard</p>
</li>
<li>
<p>You should see a fully formed Patient Search Page and a Registration Page. See below:</p>
<p>
<image href="images/patient-search-page.png" format="image/png">
<alt>Populated patient search page on your application</alt>
</image>
</p>
</li>
<li>
<p>Navigate to Registration page</p>
</li>
<li>
<p>On the Registration page, register one patient. Click the menu button at the top right of the screen to finalize the registration.</p>
<p>
<image href="images/patient-reg.png" format="image/png">
<alt>populated patient registration page on your application</alt>
</image>
</p>
</li>
</ol>
<p><b>Congratulations!</b> You have registered one patient and made your own base application.</p>
<p>Activity complete! Quit cityEHR. If you would like to learn how to make changes to the spreadsheet to add Forms, Sections, Entries, Clusters, and Elements, please refer to the separate Information Modelling Guide.</p>
</body>
</topic>