diff --git a/pwa/src/components/PatientInfoForm.tsx b/pwa/src/components/PatientInfoForm.tsx index be4bf60..b7db88e 100644 --- a/pwa/src/components/PatientInfoForm.tsx +++ b/pwa/src/components/PatientInfoForm.tsx @@ -2,6 +2,7 @@ import React, { ReactElement, useState } from 'react' import { DatePicker, InputItem, List, TextareaItem, Button, Radio } from 'antd-mobile' import enUs from 'antd-mobile/lib/date-picker/locale/en_US'; import '../scss/Login.scss' + const RadioItem = Radio.RadioItem; @@ -41,8 +42,6 @@ export default function Form(): ReactElement { { value: 1, label: 'Yes' }, ]; - // TODO - get rid of the "money" input type - return (
Age Phone @@ -119,7 +115,7 @@ export default function Form(): ReactElement { ))} - {/* Only display the following div if the patient is female */} + {/* Only display the female-only div if the patient is female */} {sex ?
'Pregnant?'}> @@ -130,16 +126,19 @@ export default function Form(): ReactElement { ))} - - - */} - Weight (kg) Height (cm) BP + + Temp (F) Pulse Z-Score - {/* TODO: figure out how to access these values from the money keyboard */} - 'Albendazole?'}> {radioYesNo.map(i => (