-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0760137
commit 3c9fb10
Showing
4 changed files
with
229 additions
and
24 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
112 changes: 112 additions & 0 deletions
112
domains/DataCollection/Forms/SupplementaryForm/configs/vitals.config.js
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,112 @@ | ||
const configArray = { | ||
class: 'HistoryEnvironmentalHealth', | ||
name: 'environmentalHealth.name', | ||
customForm: true, | ||
fields: [ | ||
{ | ||
label: 'Vitals', | ||
fieldType: 'header', | ||
formikKey: 'none_vitals', | ||
}, | ||
{ | ||
label: 'Height', | ||
sideLabel: 'Inches', | ||
formikKey: 'height', | ||
value: '', | ||
fieldType: 'inputSideLabel', | ||
validation: false | ||
}, | ||
{ | ||
label: 'Weight', | ||
sideLabel: 'Pounds', | ||
formikKey: 'weight', | ||
value: '', | ||
fieldType: 'inputSideLabel', | ||
validation: false | ||
}, | ||
{ | ||
label: 'Body Mass Index', | ||
formikKey: 'bmi', | ||
value: '', | ||
fieldType: 'input', | ||
validation: false | ||
}, | ||
{ | ||
label: 'Body Temperature', | ||
sideLabel: '°Celcius', | ||
formikKey: 'bodyTemp', | ||
value: '', | ||
fieldType: 'inputSideLabel', | ||
validation: false | ||
}, | ||
{ | ||
label: 'Pulse', | ||
sideLabel: 'Beats Per Minute', | ||
formikKey: 'pulse', | ||
value: '', | ||
fieldType: 'inputSideLabel', | ||
validation: false | ||
}, | ||
{ | ||
label: 'Respiratory Rate', | ||
sideLabel: 'Breaths Per Minute', | ||
formikKey: 'respiratory', | ||
value: '', | ||
fieldType: 'inputSideLabel', | ||
validation: false | ||
}, | ||
{ | ||
label: 'Blood Pressure', | ||
formikKey: 'blood_pressure', | ||
value: '', | ||
fieldType: 'multiInputRow', | ||
options: [ | ||
{ | ||
label: 'Systolic', | ||
value: 'Systolic' | ||
}, | ||
{ | ||
label: '/', | ||
textSplit: true | ||
}, | ||
{ | ||
label: 'Diastolic', | ||
value: 'Diastolic' | ||
} | ||
], | ||
}, | ||
{ | ||
label: 'Blood Oxygen', | ||
sideLabel: 'mm Hg', | ||
formikKey: 'blood_oxygen', | ||
value: '', | ||
fieldType: 'inputSideLabel', | ||
validation: false | ||
}, | ||
{ | ||
label: 'Blood Sugar', | ||
sideLabel: 'mg/dL', | ||
formikKey: 'blood_sugar', | ||
value: '', | ||
fieldType: 'inputSideLabel', | ||
validation: false | ||
}, | ||
{ | ||
label: 'Hemoglobin Levels', | ||
sideLabel: 'g/dL', | ||
formikKey: 'blood_pressure', | ||
value: '', | ||
fieldType: 'inputSideLabel', | ||
validation: false | ||
}, | ||
{ | ||
label: 'Pain', | ||
formikKey: 'pain', | ||
value: '', | ||
fieldType: 'input', | ||
validation: false | ||
}, | ||
] | ||
}; | ||
|
||
export default configArray; |
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