Skip to content

Commit

Permalink
Merge pull request #470 from teleivo/demo
Browse files Browse the repository at this point in the history
Update IMPORT-RADLEX.md and demo privileges
  • Loading branch information
teleivo committed Sep 13, 2016
2 parents d9be814 + 54f9c6f commit bce6854
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions acceptanceTest/resources/demo-data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,9 @@ INSERT INTO `role_privilege` VALUES ('Radiology: Reading physician','View Radiol
-- Setup Role Radiology: Administrator
INSERT INTO role VALUES ('Radiology: Administrator','The user who manages modalities, radiology concepts and reference terms','a9d7704b-96e3-4a85-87a0-4d33d771b201');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Add Radiology Report Templates');
INSERT INTO privilege VALUES ('Edit Concepts','Able to edit concepts.','27a2543a-34ba-4536-b4e4-2a5845cb3bc0');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Edit Concepts');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Get Concept Attribute Types');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Get Concepts');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Get Concept Reference Terms');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Get Concept Sources');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Get Global Properties');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Get Location Attribute Types');
Expand All @@ -193,6 +192,12 @@ INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Manage Location
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Manage Location Tags');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Manage Radiology Modalities');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Manage Search Index');
INSERT INTO privilege VALUES ('Purge Concepts','Able to purge concepts','785a2fc8-2a53-406d-ac2c-0719552cc185');
INSERT INTO privilege VALUES ('Purge Concept Reference Terms','Able to purge concept reference terms','f60f05b0-0350-4274-9dcd-0a52a0d109f2');
INSERT INTO privilege VALUES ('Purge Concept Sources','Able to purge concept sources','fbdcd91c-3fc3-45c4-8f73-773b74f2dbe0');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Purge Concepts');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Purge Concept Reference Terms');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','Purge Concept Sources');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','View Administration Functions');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','View Concept Classes');
INSERT INTO `role_privilege` VALUES ('Radiology: Administrator','View Concept Datatypes');
Expand Down
4 changes: 2 additions & 2 deletions docs/IMPORT-RADLEX.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ You first need to create Radlex as an OpenMRS concept source.
You can directly execute this sql statement in your database:

```sql
INSERT concept_reference_source (concept_source_id,name,description,creator,date_created,uuid) VALUES
(1,"RADLEX","RadLex Playbook is a project of the Radiological Society of North America (RSNA)",1,"2016-08-01 09:00:00","616a9691-a1bf-4426-85a6-21a60c558265");
INSERT concept_reference_source (concept_source_id,hl7_code,name,description,creator,date_created,uuid) VALUES
(1,"RADLEX","RadLex","RadLex Playbook is a project of the Radiological Society of North America (RSNA)",1,"2016-08-01 09:00:00","616a9691-a1bf-4426-85a6-21a60c558265");
```

_Create Concept Reference Terms for Radlex terms_
Expand Down

0 comments on commit bce6854

Please sign in to comment.