This file contains 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
old: | |
{ | |
"id": "emr.archivesRoom", | |
"extensionPointId": "org.openmrs.mirebalais.homepageLink", | |
"type": "link", | |
"label": "emr.app.archivesRoom.label", | |
"url": "emr/paperrecord/archivesRoom.page", | |
"icon": "icon-folder-open", | |
"order": 1, | |
"requiredPrivilege": "App: emr.archivesRoom" |
This file contains 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
h3. User Story | |
As a XXX I should be able to YYY so that ZZZ. | |
h3. Story Background | |
h3. Dependencies | |
h3. Assumptions |
This file contains 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
<htmlform> | |
... | |
<obsgroup groupingConceptId="..."> | |
<obs conceptId="..."/> | |
<obs conceptId="..."/> | |
<obs conceptId="..."/> | |
</obsgroup> | |
</htmlform> |
This file contains 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
@RepHandler(value = NamedRepresentation.class, name = "fullchildren") | |
public SimpleObject asFullChildren(Concept delegate) throws ConversionException { | |
DelegatingResourceDescription description = fullRepresentationDescription(delegate); | |
description.removeProperty("setMembers"); | |
description.addProperty("setMembers", Representation.FULL); | |
// same for any other Collection<Concept> properties | |
// return | |
} |
This file contains 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
Add these properties: | |
<appframeworkVersion>2.0</appframeworkVersion> | |
<uiframeworkVersion>3.0</uiframeworkVersion> | |
Add these dependencies: | |
<dependency> | |
<groupId>org.openmrs.module</groupId> | |
<artifactId>appframework-api</artifactId> | |
<version>${appframeworkVersion}</version> | |
<type>jar</type> |
This file contains 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": "org.openmrs.module.reporting.dataset.definition.PatientDataSetDefinition", | |
"name": "Example data export", | |
"customRowFilterCombination": "1 OR 2 OR 3", | |
"parameters": [ | |
{ | |
"name": "startDate", | |
"type": "java.util.Date", | |
"value": "2008-08-01" | |
}, |
This file contains 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
GET .../module/addresshierarchy/ajax/getChildAddressHierarchyEntries.form? | |
[{ "name": "Haiti" }] | |
GET .../module/addresshierarchy/ajax/getChildAddressHierarchyEntries.form?searchString=Haiti | |
[{ "name": "Artibonite" },{ "name": "Centre" },{ "name": "Grande-Anse" },{ "name": "Nippes" },{ "name": "Nord" },{ "name": "Nord-Est" },{ "name": "Nord-Ouest" },{ "name": "Ouest" },{ "name": "Sud" },{ "name": "Sud-Est" }] | |
GET .../module/addresshierarchy/ajax/getChildAddressHierarchyEntries.form?searchString=Haiti|Artibonite | |
[{ "name": "Anse Rouge" },{ "name": "Desdunes" },{ "name": "Dessalines" },{ "name": "Ennery" },{ "name": "Gonaïves" },{ "name": "Grande Saline" },{ "name": "Gros Morne" },{ "name": "L'Estère" },{ "name": "La Chapelle" },{ "name": "Marmelade" },{ "name": "Petite Rivière de L'Artibonite" },{ "name": "Saint-Marc" },{ "name": "Saint-Michel de L'Attalaye" },{ "name": "Terre Neuve" },{ "name": "Verrettes" }] |
This file contains 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
Unable to update the database. See server error logs for the full stacktrace. | |
??? Reason: liquibase.exception.DatabaseException: Error executing SQL INSERT INTO `concept_reference_term` (`code`, `concept_source_id`, `creator`, `date_created`, `description`, `name`, `retired`, `uuid`) VALUES ('S', (SELECT concept_source_id FROM concept_reference_source WHERE uuid = 'cb523690-9012-4e72-b8bf-4253e1b1a687'), 1, '2014-08-20 00:00:00.0', 'Duration in Second(s)', 'Second(s)', 0, 'd0d36e69-402e-453e-8a7a-aec44c2915af'): Duplicate entry 'd0d36e69-402e-453e-8a7a-aec44c2915af' for key 'uuid':??? | |
???There was an error while updating the database to the latest. file: liquibase-update-to-latest.xml. Error: Migration failed for change set liquibase-update-to-latest.xml::20140804-1712::Deepak,Rohan:??? | |
??? Caused By: Error executing SQL INSERT INTO `concept_reference_term` (`code`, `concept_source_id`, `creator`, `date_created`, `description`, `name`, `retired`, `uuid`) VALUES ('S', (SELECT concept_source_id FROM concept_ref |
This file contains 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
NAdjazayer:openmrs-standalone djazayer$ mvn clean package -Dopenmrs.version=1.10.0 | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building standalone 1.1.1 | |
[INFO] ------------------------------------------------------------------------ | |
Downloading: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom | |
Downloaded: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom (7 KB at 5.8 KB/sec) | |
Downloading: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/enforcer/enforcer/1.0/enforcer-1.0.pom | |
Downloaded: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/enforcer/enforcer/1.0/enforcer-1.0.pom (12 KB at 34.6 KB/sec) |
This file contains 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
angular.module('uicommons.widget.coded-or-free-text-answer', [ 'conceptService', 'ui.bootstrap' ]) | |
.directive('codedOrFreeTextAnswer', ['ConceptService', function(ConceptService) { | |
function isExactMatch(candidate, query) { | |
query = emr.stripAccents(query.toLowerCase()); | |
return candidate.conceptName && emr.stripAccents(candidate.conceptName.name.toLowerCase()) === query; | |
} | |
return { |
OlderNewer