Skip to content

Commit

Permalink
(feat) update KDOD config with additional ranks (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldkibet authored Aug 30, 2024
1 parent bb6f0ac commit c7bfa14
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 32 deletions.
3 changes: 3 additions & 0 deletions frontend-config/kdod/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## KDOD Config Instructions

The KDOD configuration includes additional fields and sections specific to patient registration that may not be relevant to most of our implementors. When generating a release, please ensure that the object with the key `@kenyaemr/esm-patient-registration-app` in the `kenyaemr-config` is replaced with the corresponding object from the KDOD configuration.
105 changes: 73 additions & 32 deletions frontend-config/kdod/kdod.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,70 +124,111 @@
"validation": {
"required": true
},
"renderType": "select",
"customConceptAnswers": [
{
"uuid": "General(Gen)",
"label": "General(Gen)"
"uuid": "GEN",
"label": "GEN"
},
{
"uuid": "LT GEN",
"label": "LT GEN"
},
{
"uuid": "MAJ GEN",
"label": "MAJ GEN"
},
{
"uuid": "BRIG",
"label": "BRIG"
},
{
"uuid": "COL",
"label": "COL"
},
{
"uuid": "LT COL",
"label": "LT COL"
},
{
"uuid": "MAJ",
"label": "MAJ"
},
{
"uuid": "CAPT",
"label": "CAPT"
},
{
"uuid": "LT",
"label": "LT"
},
{
"uuid": "2LT",
"label": "2LT"
},
{
"uuid": "WOI",
"label": "WOI"
},
{
"uuid": "Lieutenant General (Lt Gen)",
"label": "Lieutenant General (Lt Gen)"
"uuid": "WOII",
"label": "WOII"
},
{
"uuid": "Major General (Maj Gen)",
"label": "Major General (Maj Gen)"
"uuid": "SSGT",
"label": "SSGT"
},
{
"uuid": "Brigadier (Brig)",
"label": "Brigadier (Brig)"
"uuid": "SGT",
"label": "SGT"
},
{
"uuid": "Colonel (Col)",
"label": "Colonel (Col)"
"uuid": "CPL",
"label": "CPL"
},
{
"uuid": "Lieutenant Colonel (Lt Col)",
"label": "Lieutenant Colonel (Lt Col)"
"uuid": "L/CPL",
"label": "L/CPL"
},
{
"uuid": "Major (Maj)",
"label": "Major (Maj)"
"uuid": "SPTE",
"label": "SPTE"
},
{
"uuid": "Captain (Capt)",
"label": "Captain (Capt)"
"uuid": "PTE",
"label": "PTE"
},
{
"uuid": "Lieutenant (Lt)",
"label": "Lieutenant (Lt)"
"uuid": "HCI",
"label": "HCI"
},
{
"uuid": "2nd Lieutenant (2lt)",
"label": "2nd Lieutenant (2lt)"
"uuid": "HCII",
"label": "HCII"
},
{
"uuid": "Warrant officer 1 (WO1)",
"label": "Warrant officer 1 (WO1)"
"uuid": "CI",
"label": "CI"
},
{
"uuid": "Warrant officer 2 (WO2)",
"label": "Warrant officer 2 (WO2)"
"uuid": "CII",
"label": "CII"
},
{
"uuid": "Senior Sergeant (Ssgt)",
"label": "Senior Sergeant (Ssgt)"
"uuid": "CIII",
"label": "CIII"
},
{
"uuid": "Sergeant (Sgt)",
"label": "Sergeant (Sgt)"
"uuid": "CIV",
"label": "CIV"
},
{
"uuid": "Corporal (Cpl)",
"label": "Corporal (Cpl)"
"uuid": "CARDET",
"label": "CARDET"
},
{
"uuid": "Private (Spte)",
"label": "Private (Spte)"
"uuid": "RECRUIT",
"label": "RECRUIT"
}
],
"showWhenExpression": {
Expand Down

0 comments on commit c7bfa14

Please sign in to comment.