I did that, and I moved it to the RA project. FYI it’s probably better to ask what JIRA project to use rather than picking one just because its name sounds right. Metadata Repository is actually for this discontinued project.
Yes, this is the problem, and you are on the right track to fixing it.
Just note that “1.7” is the version of the metadatadeploy module that is being used by the referencemetadata module, and this should be updated to use the latest release, which according to github is “1.10.0”.
Whereas “api-1.10” refers to the maven submodule that is activated only when openmrs-core 1.10+ is running (in this case the “api” submodule supports openmrs-core 1.9.4+, i.e. earlier versions).
So, don’t get mixed up with the two different things you see that look like 1.10.
Just to point you to the right direction, I believe you will need to do two things:
update to use the latest metadatadeploy version
add a dependency on api-1.10, alongside the dependency on api
However, I still couldn’t access the api-1.10 library
Furthermore, after building the omod and uploading to the refApp standalone, it couldn’t start the module, I got an error stating that metadatadeploy version 1.10 is needed. I have metadatadeploy v1.9.0 so I tried checking for upgrade but none was found.
Hello all… we’ve got the Order Entry OWA incorporated into our PIH EMR pipeline… we set up an “encounter role” last week so that the OWA would work, but after some commits to the OWA yestserday we are seeing the “Configuration for encounterRole is incomplete” message again even though we have the encounter role configured.
I can look into what is happening, but I wanted to confirm that this should be working now, correct? (Getting Order Entry into an OpenMRS build pipeline for testing would be a huge help so I could just compare what we are seeing against that).
I’m having some challenge testing out the functionality you implemented to sort orders in ascending or descending order.
Here is what I have done:
Removed the existing Rest Web Services omod
Uploaded and started the new Rest Web Services omod
Restart the server
Change the request URL to include the sort parameter as indicated here - /order?sort=desc&totalCount=true&limit=${limit}&startIndex=${startIndex}&careSetting=${careSetting}&patient=${patientUuid}&status=inactive&t=drugorder&v=full
Following the steps above does not have any change in the way orders are fetched.
I’m I missing any steps?
How do I get it to work as expected?
Moved this conversation from this Talk post so every discussion is in the same place.
From the previous discurssion on talk. I couldn’t create and order to test the changes since i had no orders to test on. the save button becomes blured. i got this error.
I see two mistakes in what I think you were trying:
you were adding openmrs-api-1.10, but this is wrong. You want metadatadeploy-api-1.10, i.e. you want the part of metadatadeploy that runs against openmrs 1.10+.
you put things in dependencyManagement instead of dependencies. (This is non-obvious, but dependencyManagement allows you to specify scopes and versions for dependencies that may be included in multiple pom.xml files, but doesn’t actually include them itself.)
I have a challenge about to represent the orderFrequency for an order described as ONCE. I guess ONCE here means once in a lifetime. My concern is how to represent this as a fraction of frequencyPerDay.
Any suggestions? cc @darius@dkayiwa@wyclif@kodero
Once means take the dose one time and the drug order is technically expired after, you can take it again in the future in case of a new prescription, therefore the frequencyPerDay value would be 1