-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/relation
- Loading branch information
Showing
82 changed files
with
2,300 additions
and
1,602 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"git-blame.gitWebUrl": "" | ||
"git-blame.gitWebUrl": "", | ||
"angular.enable-strict-mode-prompt": false | ||
} |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://json.openmrs.org/routes.schema.json", | ||
"backendDependencies": { | ||
"webservices.rest": "^2.2.0" | ||
}, | ||
"extensions": [], | ||
"pages": [] | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "https://json.openmrs.org/routes.schema.json", | ||
"backendDependencies": { | ||
"webservices.rest": "^2.24.0" | ||
}, | ||
"extensions": [ | ||
{ | ||
"name": "form-widget", | ||
"component": "formWidget", | ||
"slot": "form-widget-slot", | ||
"online": true, | ||
"offline": true | ||
} | ||
] | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,17 @@ | ||
import { defineConfigSchema, defineExtensionConfigSchema, getAsyncLifecycle } from '@openmrs/esm-framework'; | ||
import { defineExtensionConfigSchema, getAsyncLifecycle } from '@openmrs/esm-framework'; | ||
import { configSchema } from './config-schema'; | ||
|
||
declare var __VERSION__: string; | ||
// __VERSION__ is replaced by Webpack with the version from package.json | ||
const version = __VERSION__; | ||
export const importTranslation = require.context('../translations', false, /.json$/, 'lazy'); | ||
|
||
const importTranslation = require.context('../translations', false, /.json$/, 'lazy'); | ||
const moduleName = '@openmrs/esm-generic-patient-widgets-app'; | ||
|
||
const backendDependencies = { | ||
fhir2: '^1.2.0', | ||
const options = { | ||
featureName: 'Generic widgets', | ||
moduleName, | ||
}; | ||
|
||
function setupOpenMRS() { | ||
const moduleName = '@openmrs/esm-generic-patient-widgets-app'; | ||
|
||
const options = { | ||
featureName: 'Generic widgets', | ||
moduleName, | ||
}; | ||
export const switchableObs = getAsyncLifecycle(() => import('./obs-switchable/obs-switchable.component'), options); | ||
|
||
export function startupApp() { | ||
defineExtensionConfigSchema(moduleName, configSchema); | ||
|
||
return { | ||
extensions: [ | ||
{ | ||
name: 'obs-by-encounter-widget', | ||
load: getAsyncLifecycle(() => import('./obs-switchable/obs-switchable.component'), options), | ||
meta: { | ||
columnSpan: 4, | ||
}, | ||
}, | ||
], | ||
}; | ||
} | ||
|
||
export { backendDependencies, importTranslation, setupOpenMRS, version }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://json.openmrs.org/routes.schema.json", | ||
"backendDependencies": { | ||
"fhir2": "^1.2.0" | ||
}, | ||
"extensions": [ | ||
{ | ||
"name": "obs-by-encounter-widget", | ||
"component": "switchableObs", | ||
"online": true, | ||
"offline": true, | ||
"meta": { | ||
"columnSpan": 4 | ||
} | ||
} | ||
] | ||
} |
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
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
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
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
Oops, something went wrong.