-
Notifications
You must be signed in to change notification settings - Fork 251
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)O3-O3-2662
- Loading branch information
Showing
52 changed files
with
1,356 additions
and
768 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"closeThisPanel": "Close this panel", | ||
"errorTitle": "There was an error with this form", | ||
"loading": "Loading", | ||
"or": "or", | ||
"thisList": "this list", | ||
"tryAgainMessage": "Try opening another form from" | ||
} |
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 @@ | ||
{ | ||
"closeThisPanel": "Close this panel", | ||
"errorTitle": "There was an error with this form", | ||
"loading": "Loading", | ||
"or": "or", | ||
"thisList": "this list", | ||
"tryAgainMessage": "Try opening another form from" | ||
} |
8 changes: 4 additions & 4 deletions
8
packages/esm-patient-attachments-app/src/assets/placeholder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
8 changes: 8 additions & 0 deletions
8
packages/esm-patient-attachments-app/src/camera-media-uploader/capture-photo.scss
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 @@ | ||
.buttonCssReset { | ||
max-width: 64px; | ||
padding: 0; | ||
margin: 0; | ||
border: none; | ||
background: none; | ||
cursor: pointer; | ||
} |
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,43 +1,34 @@ | ||
import { Type } from '@openmrs/esm-framework'; | ||
|
||
export const configSchema = { | ||
contactAttributeType: { | ||
_type: Type.UUID, | ||
_description: | ||
'The Uuids of person attribute-type that captures contact information `e.g Next of kin contact details`', | ||
contactAttributeTypes: { | ||
_type: Type.Array, | ||
_description: 'The UUIDs of person attribute types that capture contact information', | ||
_default: [], | ||
_elements: { | ||
_type: Type.UUID, | ||
}, | ||
}, | ||
excludePatientIdentifierCodeTypes: { | ||
uuids: { | ||
_type: Type.Array, | ||
_description: 'The Uuids of patient identifier types that should be excluded from patient banner.', | ||
_description: 'The UUIDs of patient identifier types that should be excluded from patient banner.', | ||
_default: [], | ||
}, | ||
}, | ||
useCustomAddressLabel: { | ||
enabled: { | ||
_type: Type.Boolean, | ||
_description: 'whether to enable using custom address labels', | ||
_default: false, | ||
}, | ||
customAddressLabel: { | ||
_type: Type.Object, | ||
_description: 'custom labels for addresses', | ||
_default: {}, | ||
_elements: { | ||
_type: Type.UUID, | ||
}, | ||
}, | ||
}, | ||
useRelationshipNameLink: { | ||
_type: Type.Boolean, | ||
_description: 'Enable the use of a link to the patient chart in relationship names', | ||
_description: "Whether to use the relationship name as a link to the person's patient chart", | ||
_default: false, | ||
}, | ||
}; | ||
|
||
export interface ConfigObject { | ||
contactAttributeType: Array<string>; | ||
useCustomAddressLabel: { | ||
enabled: boolean; | ||
customAddressLabel: Object; | ||
}; | ||
contactAttributeTypes: Array<string>; | ||
excludePatientIdentifierCodeTypes: Array<String>; | ||
customAddressLabels: Object; | ||
useRelationshipNameLink: boolean; | ||
} |
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.