This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "testorder", | |
"patient": "1681f4b7-7f4d-4227-9562-718ee347bbd8", | |
"concept": "840AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", | |
"encounter": "8a32e7cb-0bbb-4c4e-8ed4-fc982443859f", | |
"orderer": "9e28cb36-0df4-4972-b375-4a5ff88e39d9", | |
"careSetting": "c365e560-c3ec-11e3-9c1a-0800200c9a66" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void testErrorInPatientIdentifier() throws Exception { | |
FragmentModel model = new FragmentModel(); | |
Patient patient = new Patient(); | |
String resourcePath = "emr:htmlforms/patientIdentifierTest.xml"; | |
when(resourceFactory.getResourceAsString("emr", "htmlforms/patientIdentifierTest.xml")).thenReturn(PATIENT_IDENTIFIER_TEST_FORM_DEFINITION); | |
FragmentConfiguration config = new FragmentConfiguration(); | |
config.put("patient", patient); | |
config.put("definitionUiResource", resourcePath); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Capture Vitals", | |
"uuid": "60df0617-c18e-4609-8bdf-6f8de1b5b0cc", | |
"processor": "EncounterFormProcessor", | |
"pages": [ | |
{ | |
"label": "", | |
"sections": [ | |
{ | |
"label": "Vitals", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.3:jar (attach-javadocs) on project openmrs-api: MavenReportException: Error while generating Javadoc: | |
[INFO] [ERROR] Exit code: 1 - /Users/djazayer/code/openmrs/openmrs-core/api/src/main/java/org/openmrs/Address.java:78: warning: no description for @param | |
[INFO] [ERROR] * @param address7 | |
[INFO] [ERROR] ^ | |
[INFO] [ERROR] /Users/djazayer/code/openmrs/openmrs-core/api/src/main/java/org/openmrs/Address.java:90: warning: no description for @param | |
[INFO] [ERROR] * @param address8 | |
[INFO] [ERROR] ^ | |
[INFO] [ERROR] /Users/djazayer/code/openmrs/openmrs-core/api/src/main/java/org/openmrs/Address.java:102: warning: no description for @param | |
[INFO] [ERROR] * @param address9 | |
[INFO] [ERROR] ^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class EvaluatedCohortResourceTest extends BaseEvaluatedResourceTest<EvaluatedCohortResource, EvaluatedCohort> { | |
// original file content was here | |
// I added this to the end | |
@Test | |
public void andelaExample() throws Exception { | |
GenderCohortDefinition query1 = new GenderCohortDefinition(); | |
query1.setMaleIncluded(true); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://staging.openconceptlab.org/search/?collection-owner=djazayeri&collection-name=TEST&collection-url=%2Fusers%2Fdjazayeri%2Fcollections%2FTEST%2F&collection-owner=djazayeri&collection-name=OMRS&collection-url=%2Fusers%2Fdjazayeri%2Fcollections%2FOMRS%2F&collection-owner=djazayeri&collection-name=NO&collection-url=%2Fusers%2Fdjazayeri%2Fcollections%2FNO%2F&collection-owner=djazayeri&collection-name=DxStart&collection-url=%2Fusers%2Fdjazayeri%2Fcollections%2FDxStart%2F&collection-owner=djazayeri&collection-name=OMRS16&collection-url=%2Fusers%2Fdjazayeri%2Fcollections%2FOMRS16%2F&collection-owner=djazayeri&collection-name=302&collection-url=%2Fusers%2Fdjazayeri%2Fcollections%2F302%2F&collection-owner=djazayeri&collection-name=testauto&collection-url=%2Fusers%2Fdjazayeri%2Fcollections%2Ftestauto%2F&collection-owner=djazayeri&collection-name=502&collection-url=%2Fusers%2Fdjazayeri%2Fcollections%2F502%2F&collection-owner=djazayeri&collection-name=427&collection-url=%2Fusers%2Fdjazayeri%2Fcollections%2F427%2F&c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"uuid": null, | |
"metadata": { | |
"columns": [ | |
{ | |
"datatype": "java.lang.Integer", | |
"name": "ENCOUNTER_ID", | |
"label": "ENCOUNTER_ID" | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Create a cohort | |
POST https://demo.openmrs.org/openmrs/ws/rest/v1/cohort | |
{"name":"Darius testing", "description": "REST", "memberIds": [515]} | |
=> | |
{ | |
"uuid": "ca254345-429b-491c-b833-1933cdd7d828", | |
"display": "Darius testing", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-08-16 02:40:20.114 INFO 1 --- [pool-2-thread-1] o.o.a.scheduled.FetchDetailsToIndex : Fetching OMOD for org.openmrs.module.omodreloader 1.0 | |
2017-08-16 02:40:20.114 INFO 1 --- [pool-2-thread-1] o.o.a.scheduled.FetchDetailsToIndex : fetching config.xml from https://bintray.com/openmrs/omod/download_file?file_path=omodreloader-1.0.omod | |
2017-08-16 02:40:21.136 ERROR 1 --- [pool-2-thread-1] o.o.a.scheduled.FetchDetailsToIndex : Error indexing org.openmrs.module.openhmis-backboneforms | |
org.springframework.web.client.HttpClientErrorException: 404 Not Found | |
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) ~[spring-web-4.3.6.RELEASE.jar!/:4.3.6.RELEASE] | |
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:700) ~[spring-web-4.3.6.RELEASE.jar!/:4.3.6.RELEASE] | |
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:653) ~[spring-web-4.3.6.RELEASE.jar!/:4.3.6.RELEASE] | |
at org.springframework |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"uuid": "22a7d95a-1198-41d8-a7fa-ab313c75b43d", | |
"display": "Visit Note 05\/03\/2018", | |
"encounterDatetime": "2018-03-05T21:53:47.000+0000", | |
"patient": { | |
"uuid": "2e6417da-f242-4ef6-adbf-1864bd9f9cf7", | |
"display": "100J43 - Azza Ahmed Mohamed", | |
"links": [ | |
{ | |
"rel": "self", |