# OCL for OpenMRS User Feedback discussion

**URL:** <https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070>\
**Category:** Development\
**Tags:** andela, ocl\
**Created:** [December 19, 2018, 7:13pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070 "2018-12-19T19:13:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [December 19, 2018, 7:13pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/1 "2018-12-19T19:13:58Z")

</div>

This thread is for **user-focused** feedback and discussion of the OCL for OpenMRS application. Developer-centric discussion should happen on [Developing the "OCL for OpenMRS" Application](https://talk.openmrs.org/t/developing-the-ocl-for-openmrs-application/17771).

I have done a quick mockup of how I think concept mappings should work on the Concept Add/Edit page. Does this make sense?

![New Wireframe 1_balsamiq_wireframe_2278E287-509B-183B-1098-2EC38DDDB7D8_Master.png](https://issues.openmrs.org/secure/attachment/54038/New%20Wireframe%201_balsamiq_wireframe_2278E287-509B-183B-1098-2EC38DDDB7D8_Master.png)

The screens don’t need to _look_ quite like this, but they should flow like this. (For example if it makes it easier to reuse an existing widget, then it’s fine that after you select CIEL you get a popup instead of a simple autocomplete text field.)

See [https://issues.openmrs.org/browse/OCLOMRS-363](https://issues.openmrs.org/browse/OCLOMRS-363)

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [December 19, 2018, 9:09pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/2 "2018-12-19T21:09:20Z")

</div>

I might make some changes to Darius’ markup:

1. In general, I like to sort the mappings based on SOURCE, not on map type, so would prefer the order of fields in the grid to be: SOURCE | Map Type | Code | Concept name We’d need to able to use a grid object that allows sorting by clicking on the column header or similar. Also, SOURCE should be a user-friendly name, not a URL.
2. I think it is better if the editing/adding object looks like the grid in that the order of fields should follow that order. I also think that we eventually want to be able to lookup reference\_concept\_name (mapped concept name) based on entered code, so although it can be optional, I like it on the same line). The full code needs to be shown, and if the concept\_name is present, it should be shown fully if possible.
3. In most cases I would just paste in the code since I would have looked up the mapped concept elsewhere, but if we are expecting folks to search in the UI (internal maps), then they are likely going to need to actually specify a search string (source + partial string) and pick from a result list. This would then autopopulate the other fields and still require an Add button.
4. For existing mappings, I think we need to be able to edit and/or remove. I don’t know what is happening in the background whether a remove is a void/retire or a complete remove. But regardless, it is common to require editing of a map type, or replacing of the code.

---

<div class="post-metadata">

**Author:** ![abulojoshua1](https://talk.openmrs.org/user_avatar/talk.openmrs.org/abulojoshua1/32/8361_2.png) [@abulojoshua1](https://talk.openmrs.org/u/abulojoshua1)\
**Post date:** [January 10, 2019, 10:33am UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/3 "2019-01-10T10:33:49Z")

</div>

Hello @darius

I made minor adjustments to your initial mockup on mapping (attached below) and a video (name sample implementation in this JIRA ticket) showing how this would feel like to a user. Kindly take a look at the two (video and mockup) and provide feedback if any.

 ![mockup](https://talk.openmrs.org/uploads/default/original/2X/2/271f42dcfbc661ed8421bebffe46dc3e329a8129.png)(The same interface deletes/edits mappings. Also, mappings are created along with the concept)

Regards!

cc: @akanter

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [January 10, 2019, 12:07pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/4 "2019-01-10T12:07:46Z")

</div>

I believe we had some default behaviors for the relationship or mapping type. When adding an external concept the mapping probably should default to Narrower-than. For internal concepts, are we using this primarily for linking CIEL concepts or are we also using this screen to build out sets and question/answer pairs? If so, then there should be no default for internal maps.

---

<div class="post-metadata">

**Author:** ![abulojoshua1](https://talk.openmrs.org/user_avatar/talk.openmrs.org/abulojoshua1/32/8361_2.png) [@abulojoshua1](https://talk.openmrs.org/u/abulojoshua1)\
**Post date:** [January 10, 2019, 9:36pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/5 "2019-01-10T21:36:37Z")

</div>

Thanks, @akanter for your feedback on this. I would also like to know whether, by `'no defaults'` (for internal mappings), you mean that I should leave the text input field empty for the user to fill out.

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [January 14, 2019, 3:52am UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/6 "2019-01-14T03:52:21Z")

</div>

Correct. There is no default mapping for internal concepts.

---

<div class="post-metadata">

**Author:** ![ball](https://talk.openmrs.org/user_avatar/talk.openmrs.org/ball/32/277_2.png) [@ball](https://talk.openmrs.org/u/ball)\
**Post date:** [January 18, 2019, 7:51pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/7 "2019-01-18T19:51:46Z")

</div>

@darius suggested that user testing. However I can’t get very far.

1. Error message on loading page: [OpenMRS Dictionary Manager](https://openmrs.qa.openconceptlab.org/home) “An error occurred with your internet connection, please fix it and try reloading the page.” I have no problem with my internet connection 😉
2. When I try to “+ New dictionary”, I fill out the form, but after clicking the “Add dictionary” button" – buttons grey out and never completed the form. (see images) ![ocl-add-dict](https://talk.openmrs.org/uploads/default/original/2X/1/16c44074b9070d4acf7af994572f2bb4b5b08dcb.png) ![add-dict](https://talk.openmrs.org/uploads/default/original/2X/c/ce667d757ae07f5c074dd821d6d01838fed87644.png)

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [January 18, 2019, 10:28pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/8 "2019-01-18T22:28:39Z")

</div>

Same issue with me. I had to recreate my account on [qa.openconceptlab.org](http://qa.openconceptlab.org) as it appears the user table was wiped. But that didn’t help.

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [January 18, 2019, 11:08pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/9 "2019-01-18T23:08:54Z")

</div>

Ellen, Andy I just tried and I was able to create a dictionary. Maybe something was wonky at that time and is fixed now?

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [January 19, 2019, 1:23am UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/10 "2019-01-19T01:23:27Z")

</div>

I am now able to create a dictionary. Although I do get the internet error on loading the initial home page and when the dictionary page opens without any dictionaries in it.

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [January 24, 2019, 5:18am UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/11 "2019-01-24T05:18:06Z")

</div>

Andela team, any response to Andy and Ellen’s comments?

---

<div class="post-metadata">

**Author:** ![sheriff](https://talk.openmrs.org/letter_avatar/sheriff/32/5_5575768a8748004e209b776fc1b2916d.png) [@sheriff](https://talk.openmrs.org/u/sheriff)\
**Post date:** [January 24, 2019, 9:12am UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/12 "2019-01-24T09:12:57Z")

</div>

Usually we face that same issue when the backend has some faults. I believe the current sprint lead @stonecoder is putting up new tickets to handle the backend errors better.

---

<div class="post-metadata">

**Author:** ![sheriff](https://talk.openmrs.org/letter_avatar/sheriff/32/5_5575768a8748004e209b776fc1b2916d.png) [@sheriff](https://talk.openmrs.org/u/sheriff)\
**Post date:** [January 24, 2019, 9:17am UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/13 "2019-01-24T09:17:19Z")

</div>

Usually, we face that same issue when the backend has some faults. I believe the current sprint lead @stonecoder is putting up new tickets to handle the backend errors better.

CC: @ball @akanter @dkayiwa @stonecoder @collinewait @samdiano @shine @judeatu @brucemakallan

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [January 24, 2019, 6:27pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/14 "2019-01-24T18:27:46Z")

</div>

@sheriff, @stonecoder, etc, okay thanks for sharing this.

At a meta level, as the Andela team, please consider that @ball, @akanter, and anybody writing on this thread is your customer. We need to keep them happy, and we want them to adopt this product as soon as we release it, and keep using it. That means that if they make a comment, you need to respond to it quickly, even if all you can say is “we [can / can’t] reproduce this also; we don’t know exactly what’s going on, but we’ll investigate in the next sprint”.

---

<div class="post-metadata">

**Author:** ![stonecoder](https://talk.openmrs.org/user_avatar/talk.openmrs.org/stonecoder/32/8529_2.png) [@stonecoder](https://talk.openmrs.org/u/stonecoder)\
**Post date:** [January 24, 2019, 9:44pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/15 "2019-01-24T21:44:44Z")

</div>

Okay. We will watch this thread closely and respond promptly.

---

<div class="post-metadata">

**Author:** ![paulk](https://talk.openmrs.org/letter_avatar/paulk/32/5_5575768a8748004e209b776fc1b2916d.png) [@paulk](https://talk.openmrs.org/u/paulk)\
**Post date:** [April 15, 2019, 12:55pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/16 "2019-04-15T12:55:49Z")

</div>

Hello community,

OCL V1 is ready for testing. Please follow this [link](https://openmrs.demo.openconceptlab.org/) to test the application

You can use the test user credentials below

`username: user`

`password: user123`

Here is a [link](https://wiki.openmrs.org/pages/viewpage.action?pageId=222593294) to a guide that you can follow in case you face

---

<div class="post-metadata">

**Author:** ![paulk](https://talk.openmrs.org/letter_avatar/paulk/32/5_5575768a8748004e209b776fc1b2916d.png) [@paulk](https://talk.openmrs.org/u/paulk)\
**Post date:** [April 16, 2019, 8:02am UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/17 "2019-04-16T08:02:42Z")

</div>

> [@paulk](#):
>
> Hello community,
> 
> OCL V1 is ready for testing. Please follow this [link](https://openmrs.demo.openconceptlab.org/) to test the application
> 
> You can use the test user credentials below
> 
> `username: user`
> 
> `password: user123`
> 
> Here is a [link](https://wiki.openmrs.org/pages/viewpage.action?pageId=222593294) to a guide that you can follow in case you face

Hello all,

Just a simple reminder, please take some time to test out the OCL demo client. Please note that we are aware that the `CIEL` source is missing and we are looking into it

@darius @akanter @ball @ruffjm @dkayiwa @raff @cintiadr @c.antwi @alexkayabula @danuluma

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [April 18, 2019, 5:52pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/18 "2019-04-18T17:52:48Z")

</div>

Unsorted feedback:

- There’s a Having Trouble With Login link on the login screen. It takes you to [OpenMRS Dictionary Manager](https://openmrs.demo.openconceptlab.org/loginDetails) which mentions getting a token, which is very very out of date. There’s also a video, which I didn’t watch, but is probably old too. Either remove this link, or else replace the content of the help page with something current.

- I do _not_ see the login page bug that Andy is experiencing (i.e. I don’t immediately see a “logging in” with no ability to do anything.)

- The username and password given in this thread do not work for me. Maybe this server’s database gets regularly reset? (I’m able to create a new account though, although it took \>5 minutes to get the confirmation email.)

- I click Log out, and the flash message is missing a space.

- Create New Dictionary screen:

- General Details → Edit

- Dictionary Concepts

- Add CIEL concepts

- Creating concepts:

That’s all I have time for now, will try to pick this up again later.

---

<div class="post-metadata">

**Author:** ![darius](https://talk.openmrs.org/user_avatar/talk.openmrs.org/darius/32/8082_2.png) [@darius](https://talk.openmrs.org/u/darius)\
**Post date:** [April 19, 2019, 4:41pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/19 "2019-04-19T16:41:58Z")

</div>

I note that the demo server is reset daily, so I’m starting over from scratch today.

However when I create a dictionary and click on it, I get a blank screen, and the console has this error:

```
TypeError: this.props.dictionaryConcepts.filter is not a function
    at t.value (DictionaryContainer.jsx:184)

```

I notice looking at the network tab that no query was ever made for any concepts:

![image](https://talk.openmrs.org/uploads/default/original/2X/d/d8798c54345e0ff9c3da5eee50bde5e4623ad1c8.png)

At this point I am stuck and I cannot test any further.

Since I was poking around in the JSON I noticed two things:

1. you should be setting `custom_validation_schema` to OpenMRS on the source and dictionary. (I don’t know the exact string value it’s supposed to be set to, check the documentation.)

2. The back-end has `default_locale` and `supported_locales`, and we’re capturing these slightly differently in our UI (default, and additional). The value we save in `supported_locales` should be default + additional, but you’re just saving additional locales directly there. A correct example would look like this:

#2 is probably the cause of the bug where one concept is displayed with it’s French name.

---

<div class="post-metadata">

**Author:** ![akanter](https://talk.openmrs.org/user_avatar/talk.openmrs.org/akanter/32/331_2.png) [@akanter](https://talk.openmrs.org/u/akanter)\
**Post date:** [April 19, 2019, 5:42pm UTC](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070/20 "2019-04-19T17:42:33Z")

</div>

Looks like the same problem I was having before. Now I still cannot get in because every time I go to the site I get: ![image](https://talk.openmrs.org/uploads/default/original/2X/a/a86ba8cf5a2bd14c47c59110e74cf2653ff436d1.png) ![image|563x575] I have cleared all my caches in Chrome and tried this on all my browsers.

[Next page](https://talk.openmrs.org/t/ocl-for-openmrs-user-feedback-discussion/21070.md?page=2)
