This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
notes.txt
337 lines (262 loc) · 25.8 KB
/
notes.txt
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
Tasks
============
- Other
- - Remove url files from all the subdirectories -- only the url files in the config file are used
- - Should not allow users to browse to "new" pages unless logged in (e.g. http://dev.openconceptlab.com/orgs/new/)
- - Implement "Cancel" button on new org, source, and concept forms
- Org
- - Org new/edit does not allow you to set values for all fields or edit extras
- - Org delete is not enabled in the web application (trash can icon still points to edit)
- - Org details website/URL is not correct (not sure what's going on here) - should open into new window
- Sources
- - Must be extremely obvious which source version is being viewed/edited if no source version is in URL
- - Need a way to edit source extras
- - Source extras are messed up
- - Source details display should look the same as the org details display
- - Source details does not display all info (i.e. public access)
- Future
- - Need to store user timezone and locale preferences
- - Implement "reserved keywords" -- i.e. no resource can be identified by "new", "versions", "delete", "concepts", etc.
database:
or
postgis://USER:PASSWORD@HOST:PORT/NAME
export DATABASE_URL='sqlite:///ocl.db'
export OCL_API_TOKEN='6ca1e714a530fe29f0ab69d05dd5f730fc8a15'9
export OCL_API_HOST='65.99.230.144'
Questions
===========
list
----------
- user settings
- trailing links at end of org etc (members, etc)
- user detail link under user list
- user data should come from the API
- user data:
- - repositories, sources, collections (ownership vs participate)
- org
- - This is the main UI template
- - use tab to show details | collections | sources
- - sorting is not important
- - all data is public for now
- - gear/edit by owner
- - deacdtivate(delete) on the edit page
- - github uses filter for the tab concept
- - add new member (existing user) to org, users to org is many-to-many
- - Q: "owner" of a user is the creator for now
- - org has only audit fields but not versioning (created by, created on etc)
- - add new need dynamic validation, uniqueness
source
- search source not yet working
- source related text (about, Term of use)
- search by version
- tabs: details | concepts | versions
- about can be a link
- details tab, inside support edit/delete
- respect "public_vew" flag, if none do not show details, if edit allow world edit
- new: owner choice = [me, or org that I am a member of]
- new: source type: dropdown+new
Concepts
- detail view:
- - audit history, retire(delete), add new (default to current source)
- language (system wide default)
- how to deal with multiple language content (show all for now)
- extra data editing -- support a better editing -- add just one without replace all of them
mapping
- top level resource
- but has to tied to a concept
- relationship starts with a fixed set (same as, narrower etc)
- from source has to be in our database
- but "to source" can be outside data source
- some sort of picker widget that takes drop down to find the "to source"
- class and datatype - has starter set from snomed, but allow user created values, just stored as text fields. (dropdown primed with starter set)
- update comment for versioning
- when mapping is changed for a "from source concept", the concept version is incremented
collections
- tab: details, concept reference, concept, atom feeds
-
atom feeds
-----------
concepts / collections and sources
Questions 9/17
-----------------
Something strange about migration under users...?
allauth
-----------
- signals -- signed_up vs email_confirmed which only gives email_address, not user
forms
-------
floppyform vs crispyform vs...
aaron
------
rest_framework -- head request does not pass the query on
direct query to mongo
machine access - ssh key
purge=true for delete
find out where we are with atom feed
Internationalization
----------------------
* Remember to use \_() in model and form labels.
QUESTIONS 9/23
------------
- Source: ID -- is this unique? Unique across?
- source -- must be owned by either a org or a user?
Concept Issues
================
- can be created and owned by source+usr or source+org
- depending on 'owner type'
URL Issues
============
- is there a delete cocnept ownred by user, not just org sourced?
SQL Query for Open MRS
1) http://www.maternalconceptlab.com/search.php?q=malaria&verbose=1&source=openmrs
Concept Search Group 1: malaria
openmrs : select c.concept_id, c.retired, c.is_set, c.class_id, cc.name class_name, c.datatype_id, cd.name datatype_name, c.uuid, c.date_created, c.retired_by, c.date_retired, c.retire_reason from concept c left join concept_datatype cd on cd.concept_datatype_id = c.datatype_id left join concept_class cc on cc.concept_class_id = c.class_id where ( ( ( (c.concept_id in (select cn.concept_id from concept_name cn where cn.voided = 0 and cn.name regexp '[[:<:]]malaria')) OR (c.concept_id in (select cd.concept_id from concept_description cd where cd.description regexp '[[:<:]]malaria')) ) ) AND ( c.retired != 1 ) ) OR ( c.concept_id in (select cm.concept_id from concept_map cm where cm.source_code regexp '[[:<:]]malaria') )
63 concept(s) returned: 32, 97, 342, 1366, 1476, 1558, 1643, 1908, 1909, 1913, 5839, 115898, 116125, 116127, 116128, 117627, 118353, 123008, 124925, 126490, 127361, 127719, 127971, 129936, 131096, 131377, 134041, 134592, 134594, 135359, 135360, 135361, 137565, 138283, 139197, 141299, 143850, 145851, 147260, 149132, 152295, 152296, 155686, 158379, 159519, 159610, 159898, 159899, 159950, 160148, 160149, 160150, 160151, 160152, 160153, 160154, 160155, 160906, 161246, 161247, 161248, 161426, 161465
2) http://www.maternalconceptlab.com/search.php?q=malaria&debug=1&source=openmrs
Loading dictionary sources:
select * from concept_dict where active = 1 order by sort_order, dict_name
Loading concept list definitions:
select concept_list_id, list_name from concept_list where active = 1 order by list_name
Loading map source definitions for openmrs:
select cs.concept_source_id, cs.name, cs.description, cs.retired from concept_source cs order by cs.name
Loading map source definitions for omrs16_indicators:
select cs.concept_source_id, cs.name, cs.description, cs.retired from concept_source cs order by cs.name
Loading map source definitions for pih_concept_dict:
select cs.concept_source_id, cs.name, cs.description, cs.retired from concept_source cs order by cs.name
Loading map source definitions for ampath_concept_dict:
select cs.concept_source_id, cs.name, cs.description, cs.retired from concept_source cs order by cs.name
Loading concept classes for openmrs:
select concept_class_id, name, description, uuid from concept_class where retired != 1 order by name
Loading concept classes for omrs16_indicators:
select concept_class_id, name, description, uuid from concept_class where retired != 1 order by name
Loading concept classes for pih_concept_dict:
select concept_class_id, name, description, uuid from concept_class where retired != 1 order by name
Loading concept classes for ampath_concept_dict:
select concept_class_id, name, description, uuid from concept_class where retired != 1 order by name
Loading concept datatypes for openmrs:
select concept_datatype_id, name, description, hl7_abbreviation, uuid from concept_datatype where retired != 1 order by name
Loading concept datatypes for omrs16_indicators:
select concept_datatype_id, name, description, hl7_abbreviation, uuid from concept_datatype where retired != 1 order by name
Loading concept datatypes for pih_concept_dict:
select concept_datatype_id, name, description, hl7_abbreviation, uuid from concept_datatype where retired != 1 order by name
Loading concept datatypes for ampath_concept_dict:
select concept_datatype_id, name, description, hl7_abbreviation, uuid from concept_datatype where retired != 1 order by name
array(1) {
[0]=>
object(ConceptSearchGroup)#332 (2) {
["query"]=>
string(7) "malaria"
["cstc_top"]=>
object(ConceptSearchTermCollection)#333 (2) {
["glue"]=>
string(2) "OR"
["arr_search_object"]=>
array(2) {
[0]=>
object(ConceptSearchTerm)#337 (5) {
["term_type"]=>
int(3)
["full_search_term"]=>
string(7) "malaria"
["needle"]=>
string(7) "malaria"
["search_operator"]=>
string(0) ""
["search_function"]=>
string(0) ""
}
[1]=>
object(ConceptSearchTermCollection)#334 (2) {
["glue"]=>
string(3) "AND"
["arr_search_object"]=>
array(1) {
[0]=>
object(ConceptSearchTerm)#336 (5) {
["term_type"]=>
int(5)
["full_search_term"]=>
string(7) "malaria"
["needle"]=>
string(7) "malaria"
["search_operator"]=>
string(0) ""
["search_function"]=>
string(0) ""
}
}
}
}
}
}
}
Concept Search Group 1: malaria
openmrs : select c.concept_id, c.retired, c.is_set, c.class_id, cc.name class_name, c.datatype_id, cd.name datatype_name, c.uuid, c.date_created, c.retired_by, c.date_retired, c.retire_reason from concept c left join concept_datatype cd on cd.concept_datatype_id = c.datatype_id left join concept_class cc on cc.concept_class_id = c.class_id where ( ( ( (c.concept_id in (select cn.concept_id from concept_name cn where cn.voided = 0 and cn.name regexp '[[:<:]]malaria')) OR (c.concept_id in (select cd.concept_id from concept_description cd where cd.description regexp '[[:<:]]malaria')) ) ) AND ( c.retired != 1 ) ) OR ( c.concept_id in (select cm.concept_id from concept_map cm where cm.source_code regexp '[[:<:]]malaria') )
63 concept(s) returned: 32, 97, 342, 1366, 1476, 1558, 1643, 1908, 1909, 1913, 5839, 115898, 116125, 116127, 116128, 117627, 118353, 123008, 124925, 126490, 127361, 127719, 127971, 129936, 131096, 131377, 134041, 134592, 134594, 135359, 135360, 135361, 137565, 138283, 139197, 141299, 143850, 145851, 147260, 149132, 152295, 152296, 155686, 158379, 159519, 159610, 159898, 159899, 159950, 160148, 160149, 160150, 160151, 160152, 160153, 160154, 160155, 160906, 161246, 161247, 161248, 161426, 161465
Loading concept descriptions for openmrs:
select cd.concept_description_id, cd.concept_id, cd.description, cd.locale from concept_description cd where cd.concept_id in (32,97,342,1366,1476,1558,1643,1908,1909,1913,5839,115898,116125,116127,116128,117627,118353,123008,124925,126490,127361,127719,127971,129936,131096,131377,134041,134592,134594,135359,135360,135361,137565,138283,139197,141299,143850,145851,147260,149132,152295,152296,155686,158379,159519,159610,159898,159899,159950,160148,160149,160150,160151,160152,160153,160154,160155,160906,161246,161247,161248,161426,161465)
Loading concept attributes for openmrs:
select cnum.concept_id, cnum.hi_absolute, cnum.hi_critical, cnum.hi_normal, cnum.low_absolute, cnum.low_critical, cnum.low_normal, cnum.units, cnum.precise from concept_numeric cnum where cnum.concept_id in (32,97,342,1366,1476,1558,1643,1908,1909,1913,5839,115898,116125,116127,116128,117627,118353,123008,124925,126490,127361,127719,127971,129936,131096,131377,134041,134592,134594,135359,135360,135361,137565,138283,139197,141299,143850,145851,147260,149132,152295,152296,155686,158379,159519,159610,159898,159899,159950,160148,160149,160150,160151,160152,160153,160154,160155,160906,161246,161247,161248,161426,161465)
Loading Question/Answer Sets for openmrs:
select ca.concept_id, ca.answer_concept from concept_answer ca where ca.concept_id in (32,97,342,1366,1476,1558,1643,1908,1909,1913,5839,115898,116125,116127,116128,117627,118353,123008,124925,126490,127361,127719,127971,129936,131096,131377,134041,134592,134594,135359,135360,135361,137565,138283,139197,141299,143850,145851,147260,149132,152295,152296,155686,158379,159519,159610,159898,159899,159950,160148,160149,160150,160151,160152,160153,160154,160155,160906,161246,161247,161248,161426,161465) or ca.answer_concept in (32,97,342,1366,1476,1558,1643,1908,1909,1913,5839,115898,116125,116127,116128,117627,118353,123008,124925,126490,127361,127719,127971,129936,131096,131377,134041,134592,134594,135359,135360,135361,137565,138283,139197,141299,143850,145851,147260,149132,152295,152296,155686,158379,159519,159610,159898,159899,159950,160148,160149,160150,160151,160152,160153,160154,160155,160906,161246,161247,161248,161426,161465)
Loading concept mappings for openmrs:
select cm.concept_map_id, cm.concept_id, cm.source, cm.source_code, cs.name source_name from concept_map cm left join concept_source cs on cs.concept_source_id = cm.source where cm.concept_id in (32,97,342,1366,1476,1558,1643,1908,1909,1913,5839,115898,116125,116127,116128,117627,118353,123008,124925,126490,127361,127719,127971,129936,131096,131377,134041,134592,134594,135359,135360,135361,137565,138283,139197,141299,143850,145851,147260,149132,152295,152296,155686,158379,159519,159610,159898,159899,159950,160148,160149,160150,160151,160152,160153,160154,160155,160906,161246,161247,161248,161426,161465)
Loading concept set hierarchy for openmrs:
select concept_id, concept_set from concept_set order by sort_weight
Loading parent concept lists for openmrs:
select clm.concept_list_id, clm.concept_id from mcl.concept_list_map clm where clm.concept_id in (32,97,342,1366,1476,1558,1643,1908,1909,1913,5839,115898,116125,116127,116128,117627,118353,123008,124925,126490,127361,127719,127971,129936,131096,131377,134041,134592,134594,135359,135360,135361,137565,138283,139197,141299,143850,145851,147260,149132,152295,152296,155686,158379,159519,159610,159898,159899,159950,160148,160149,160150,160151,160152,160153,160154,160155,160906,161246,161247,161248,161426,161465)
Loading concept names and synonyms for openmrs:
select cn.concept_name_id, cn.concept_id, cn.name, cn.locale, cntm.concept_name_tag_id, cn.uuid from concept_name cn left join concept_name_tag_map cntm on cntm.concept_name_id = cn.concept_name_id where ( cn.concept_id in (32,97,342,1366,1476,1558,1643,1908,1909,1913,5839,115898,116125,116127,116128,117627,118353,123008,124925,126490,127361,127719,127971,129936,131096,131377,134041,134592,134594,135359,135360,135361,137565,138283,139197,141299,143850,145851,147260,149132,152295,152296,155686,158379,159519,159610,159898,159899,159950,160148,160149,160150,160151,160152,160153,160154,160155,160906,161246,161247,161248,161426,161465,161657,161658,161659,161660,161661,161662,161663,161664,161665,161666,161667,161668,161669,161670,161671,161672,161673,161674,161675,161676,161677,161678,161679,161680,161681,161682,161683,161684,161685,161686,161687,161688,161689,161690,161691,161692,161693,161694,161695,161696,161697,161698,161699,161700,161701,161702,161703,161704,161705,161706,161707,161708,161709,161710,161711,161712,161713,161714,161715,161716,161717,161718,161719,161720,161721,161722,161723,161724,161725,161726,161727,161728,161729,161730,161731,161732,161733,161734,161735,161736,161737,161738,161739,161740,161741,161742,161743,161744,161745,161746,161747,161748,161749,161750,161751,161752,161753,161754,161755,161756,161757,161758,161759,161760,161761,161762,161763,161764,161765,161766,161767,161768,161769,161770,161771,161772,161773,161774,161775,161776,161777,161778,161779,161780,161781,161782,161783,161784,161785,161786,161787,161788,161789,161790,161791,161792,161793,161794,161795,161796,161797,161798,161799,161800,161801,161802,161803,161804,161805,161806,161807,161808,161809,161810,161811,161812,161813,161814,161815,161816,161817,161818,161819,161820,161821,161822,161823,161824,161825,161826,161827,161828,161829,161830,161831,161832,161833,161834,161835,161836,161837,161838,161839,161840,161841,161842,161843,161844,161845,161846,161847,161848,161849,161850,161851,161852,161853,161854,161855,161856,161857,161858,161859,161860,161861,161862,161863,161864,161865,161866,161867,161868,161869,161870,161871,161872,161873,161874,161875,161876,161877,22,36,54,92,111,119,131,135,155,218,230,304,656,745,781,783,907,916,984,1015,1135,1191,1226,1272,1282,1284,1418,1423,1443,1490,1499,1553,1586,1685,1686,1728,1761,1770,1785,1789,1798,1814,1864,1937,5012,5016,5018,5132,5136,5242,5328,5332,5354,5811,5864,70116,78032,78280,81022,83531,103734,105031,111633,112287,112992,116543,117386,119537,119558,131113,132636,143264,150555,159368,159702,159708,159791,159959,159961,159982,160004,160026,160057,160059,160168,160498,160508,160511,78796,160592,160372,160605,160611,160613,160619,160624,160626,159936,1266,160643,5089,160665,160594,1619,299,1651,159918,160732,160053,1628,160739,160640,160708,160735,1356,160788,160786,160846,160947,160953,160950,160959,160966,160968,160967,160961,160979,159917,160302,160304,160306,161030,161079,159516,161356,160540,161423,855,161427,161435,161433,1332,161421,160225,21,56,161456,307,161453,161462,161467,159647,300,161471,159430,1029,306,161469,161470,1042,161482,887,161156,857,655,161489,161490,160917,161494,161149,160919,1011,159607,161500,161502,161507,160922,160915,1006,161511,161513,160226,1013,161516,159655,160913,161523,1053,161549,159935,160582,75687,161994,985,979,986,162069,162087,162196,161557,159599,104625,1513,162335,160240,162395,162403,162523,162298,162543,162536,121677,1599,48,89,98,114,124,126,134,140,206,487,767,779,792,1093,1108,1134,1211,1217,1379,1420,1422,1444,1452,1500,1587,1621,1729,1732,1815,1896,5008,5027,5033,5034,5134,5258,5327,5329,5340,5345,73193,77423,77441,79409,80133,83532,104817,113155,114100,114431,116474,123123,123529,135488,140987,145762,159709,159713,159717,159963,160003,160031,160139,160169,160499,160509,160512,160574,159948,160388,160627,160632,5090,152722,160682,160715,160672,1252,160753,160794,160787,160878,160895,160948,160954,160951,160960,160969,160972,160980,160303,160305,160307,161031,160817,161244,1026,161445,161447,161455,161459,159650,160232,1325,161472,1041,161481,160912,161484,160914,790,654,159606,161503,1007,159828,159654,161522,160077,161602,75688,162007,162068,1436,76335,159427,162376,160242,162396,162404,159995,162524,162549,162299,72609,162537,121629,160218,95,207,265,460,543,794,825,836,882,1017,1092,1133,1190,1216,1410,1639,1656,1730,1768,5029,5261,5314,5330,5339,5916,75948,77424,78788,79410,82215,82241,83533,104526,110834,112198,113228,117146,118771,119240,120939,121375,125343,128099,134213,147104,152202,159367,159394,159408,159718,159952,159965,160005,160034,160158,160170,160196,160207,160500,160507,160513,160374,160375,160607,160389,160396,160489,160646,1342,152721,160683,160721,160750,160808,160856,160888,160902,160955,160952,160970,160985,161010,1327,849,161448,161457,161460,159646,1031,1040,161485,653,161504,1008,159653,161519,161525,1823,71515,162008,162078,159381,162240,162351,160243,162397,162405,159993,162550,162300,162544,162538,148888,162578,29,120,496,630,639,768,911,1018,1050,1132,1419,1519,1569,1731,5011,5020,5037,5041,5046,5283,5337,73449,77306,79411,82216,82242,82900,104814,113230,113881,115247,116344,117889,118652,119222,119481,125379,137998,138291,138706,139277,141600,159409,159698,159946,159954,159964,160006,160035,160141,160159,160171,160206,160502,160510,1560,160373,160644,5356,160666,160514,160716,160221,160802,160904,160956,160962,160971,160978,678,159733,159362,161454,159651,1032,1047,161155,785,161505,1298,161524,1825,71514,162009,159951,160562,160568,162354,160245,162398,162406,1002,71617,162545,162539,148787,162568,96,204,219,512,540,737,851,937,1094,1131,1210,1487,1570,5009,5014,5032,5334,5344,5424,77429,82243,82312,84360,104525,104815,105024,113087,115491,119112,121372,122604,129473,129566,133414,135462,140501,142473,159410,159497,159984,160007,160036,160142,160161,160172,160197,160208,160503,160398,143098,160759,160809,160855,160963,159734,161449,161452,1326,717,1009,161527,5558,154383,162010,162079,1608,160241,162399,162407,1001,162301,162171,162540,108,110,151,199,438,467,729,782,784,1095,1212,1215,1571,1838,5013,5035,5043,5088,5120,5338,72794,104527,104529,104816,111636,112561,114174,115191,115835,117543,117617,117829,119656,124957,149579,159412,159701,159962,159966,160037,160173,160198,160205,160504,160378,141814,160751,160810,160965,160975,84309,161438,161450,161466,161526,5624,1754,73115,162011,160082,162342,162355,161253,162400,162408,1004,73667,162546,162541,120148,144,679,843,963,1100,1869,5021,5024,5025,5030,5086,5141,77428,78385,104528,104803,114262,115797,117767,119027,126208,127579,129211,137293,138405,138849,139081,139084,149496,159694,159851,159953,159967,160174,160199,160505,160617,160816,74807,161439,159648,161528,73116,162012,162356,162385,162401,159994,75842,162547,162542,42,128,1016,1049,1213,1219,5042,5092,5973,71060,104802,104804,116214,123052,123620,134561,138868,150803,159955,160023,160175,160187,160195,160200,160201,160202,160214,160412,160506,160397,6098,160749,70056,161440,159649,161529,74226,162013,162084,162357,162386,1514,162409,1000,162305,162172,5622,142412,109,879,1097,1214,5017,5038,5050,5087,5119,104805,110598,113279,116376,119204,128126,134337,136443,139355,160176,160186,160418,130677,160379,160742,80487,161441,159652,161530,159968,74225,162014,162086,162358,162387,162410,77413,162175,118773,504,832,1098,5022,5028,5085,5333,119506,119685,121452,125165,139502,148023,159690,160177,160203,80586,161442,159825,161531,83284,162015,162359,162388,162411,162307,162176,140238,823,840,1091,1218,5040,5104,5350,112989,117152,117315,119523,126127,158995,159986,160009,160178,160204,160419,160752,75523,161444,83285,162016,161554,162389,162412,162302,162548,140039,507,1052,1232,1293,5044,123841,147241,160179,160188,160618,78643,161443,848,85152,162006,162360,162390,162413,80106,162177,110883,1090,1235,5015,75976,148353,152065,160180,160210,84795,85153,162005,162106,162361,162391,162414,162306,575,1051,74123,136677,160144,160181,160211,77995,161995,162101,162264,162392,162415,81088,117399,1099,5139,81457,121262,126558,140474,160212,160105,1299,161996,162096,162362,162393,162416,162297,136455,990,1234,5023,5048,82772,119356,124954,160146,160213,160104,161997,1875,162262,162417,162170,159347,1233,5355,113926,137352,160019,160147,160182,86663,161998,162363,121,450,5026,5107,136758,137355,75628,161999,162364,162418,159098,1236,73498,124129,143388,79040,162000,162365,162419,111061,1237,83352,120194,145131,83412,162001,162366,162420,1067,505,73581,160143,71647,162002,161553,162421,84836,160163,1652,162003,162263,162422,160020,160164,161363,162004,162367,162423,82912,160165,161364,162017,162368,162424,76835,155232,161361,162018,162369,162425,152306,160166,103166,162031,162370,1516,160156,160157,162032,160124,162371,1939,124456,141216,162033,162372,162426,892,116700,162034,162373,162427,127990,160189,162035,162374,140061,162036,162375,162428,160190,162037,1518,162429,118789,162038,162377,162430,162039,162431,162040,162378,162432,162030,162379,162433,162029,162380,162434,162019,162381,1517,162020,162382,162435,162021,162383,162436,162022,162437,162023,1520,162024,160054,162025,162438,162026,162439,162027,162440,162028,162441,162041,162442,161993,162443,161969,162444,161958,1940,161959,162445,161960,162446,161961,161962,161963,162447,161964,162448,161965,162449,161966,162450,161967,162451,161957,162453,161956,162454,161946,162455,161947,162456,161948,162457,161949,162458,161950,162459,161951,162460,161952,162461,161953,161954,162464,161955,162465,161968,162466,161992,162467,161982,162468,161983,162469,161984,162470,161985,162471,161986,162472,161987,162473,161988,162474,161989,162475,161990,161991,161981,161980,161970,161971,161972,161973,161974,161975,161976,161977,161978,161979,161656,159706,159703,159716,1157,1201,78,79,71,1283,1158,1159,159692,159695,5279,1195,1441,1019,5473,1638,31,1442,159947,1421,159697,1888,159411,1735,1585,159696,159666,1727,1769,1771,1786,1790,1799,1816,1865,1938,1221,1223,1206,1222,1239,77,1114,1204,1220,1205,1207,1085,1197,1881,159719,160021,159987,159699,159714,1281,159704,159711,160038,159983,159960,159981,160002,160024,160056,160058,160167,160490,160491,160493,160570,160593,160604,160606,160612,160614,160623,160625,160628,160633,160634,160647,160648,160667,160685,160712,160713,160714,160731,160733,160736,1633,160740,160741,160746,160709,160734,160767,160768,160889,160905,160949,160957,160958,160964,160973,160974,160976,160977,160986,161009,161027,161028,161029,161032,161080,161136,161245,161357,161358,161360,161424,161425,161428,161436,161434,161432,161422,161431,161430,161429,161437,161446,161451,161458,161461,161463,161464,161468,159645,161473,161474,161475,161476,161477,161478,161479,161480,161152,161483,161486,161487,161488,953,161491,161492,161493,161495,161496,161497,161498,161499,161501,161506,161508,161509,161510,1010,161512,161199,161514,161515,161517,161518,161520,161532,161533,160076,161559,161879,161881,161888,161899,161940,162046,162047,162048,162070,162085,162094,162197,162216,162222,162228,162241,162242,162296,162334,162350,162384,162394,162402,162476,162525,162551,162552,162553,162554,162555,162569,1096,1202,1203) or cn.concept_id in (select cs1.concept_id from concept_set cs1 union select cs2.concept_set from concept_set cs2 ) ) and cn.voided = 0 or cn.concept_id in (664,703,1138,1271,1365,1364,1362,1363,1066,1067,1065,160352,160414,161246,161247,161248,1193,1767,1794,159627,159628,159623,160057,1643)
10/06 to do:
============
- concept extras ajax
- concept versions
- extras crud for other objects
- locale “widget” multiple screens
- tab layout
- source versions (CRUD)
- search concepts within source
next phase
- sort in general on all earch pages
- filter searches
- source/collection/orgs wiki
Tabs
=======
Concepts
Tabs:
- Concept Details
- Collections (list of collections that reference the concept)
- History
Icons:
- Atom Feed Link
Sources
Tabs:
- Concepts
- Source Details
- Versions
Icons:
- Atom Feed Link
Collections
Tabs:
- Concepts
- Collection Details
- References
- Versions
Icons:
- Atom Feed Link
Error Handler
================
- Not just handle response in the form of {"details": 'error-text'}, but
- POST RESULT: 400
JSON: {
"public_access": [
"Select a valid choice. Public is not one of the available choices."
]
}
Error:
orgs/TESTORG1/sources/S1/concepts/S1CA1/extras/
gets empty 200 response, not empty list?
CSRF
- extras (done)
- concepts: desc, names
- sourc versions