Skip to content

Commit

Permalink
(enhc) Add config to disable registering unidentified patient (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldkibet authored Jul 13, 2023
1 parent 0a6f82b commit fd76130
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion configuration/dev-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@
},
"fieldConfigurations": {
"name": {
"displayCapturePhoto": false
"displayCapturePhoto": false,
"allowUnidentifiedPatients": false
},
"dateOfBirth": {
"useEstimatedDateOfBirth": {
Expand Down
2 changes: 1 addition & 1 deletion configuration/prod-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
"fieldConfigurations": {
"name": {
"displayCapturePhoto": false,
"displayKnownNameToggle": false
"allowUnidentifiedPatients": false
},
"dateOfBirth": {
"useEstimatedDateOfBirth": {
Expand Down
4 changes: 2 additions & 2 deletions dev-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ rm -rf frontend
# Build assets
echo "Building Kenya EMR 3.x assets ..."
CWD=$(pwd)
npx --legacy-peer-deps openmrs@5.0.3-pre.863 build \
npx --legacy-peer-deps openmrs@next build \
--build-config ./configuration/dev-build-config.json \
--target ./frontend \
--page-title "KenyaEMR" \
--support-offline false

# Assemble assets
echo "Assembling assets ..."
npx --legacy-peer-deps openmrs@5.0.3-pre.863 assemble \
npx --legacy-peer-deps openmrs@next assemble \
--manifest \
--mode config \
--config ./configuration/dev-build-config.json \
Expand Down

0 comments on commit fd76130

Please sign in to comment.