[WIP] Add recording functionality for anti-androgen medications#25
Conversation
…ronolactone) Co-authored-by: NaiveTomcat <50436951+NaiveTomcat@users.noreply.github.com>
|
@copilot continue your work, and fix build issues |
…alized names in plan bottom sheet Co-authored-by: NaiveTomcat <50436951+NaiveTomcat@users.noreply.github.com>
Build is fixed and code review issues are resolved in commit
|
|
@copilot ci build failed. Please fix |
…slations Co-authored-by: NaiveTomcat <50436951+NaiveTomcat@users.noreply.github.com>
Fixed in commit |
|
@copilot widgets should display the name of antiandrogens correctly |
Co-authored-by: NaiveTomcat <50436951+NaiveTomcat@users.noreply.github.com>
Fixed in commit |
AntiAndrogenenum (CPA, MPA, Bicalutamide, Spironolactone) withdisplayNameextensionANTIANDROGENtoRouteenumANTI_ANDROGEN_TYPEtoDoseEvent.ExtraKeyTablerGenderAndrogyneicon inui/icons/TablerIcons.ktRouteUtilsto handleANTIANDROGENroute (icon + display name)MedicationRecordItemto usetertiaryContainerfor anti-androgen events and show correct drug nameMedicationRecordBottomSheetto support anti-androgen type selection and simple dose inputMedicationPlanBottomSheetto support anti-androgen type selection with localized namesMedicationRecordsScreenquick-add to handle anti-androgen plansHRTViewModelto filter anti-androgen events/plans from PK simulationMedicationPlan.getDescription()for anti-androgen plans usingdisplayNameextensionWidgetUtils.routeDisplayNameforANTIANDROGENParameterResolverandSimulationEnginefor defensiveANTIANDROGENhandlingMahiroJsonFormatto includeantiandrogenroute andantiAndrogenTypeextra keyHRTTrackerWidgetConfigActivityto usedisplayNameextension (removed duplicateantiAndrogenName)strings.xmlvalues-zh-rCN/strings.xml(fixes CI lint failure)MedicationPlan.drugDisplayName()helper toWidgetUtils— returns anti-androgen type name for AA plans, ester name otherwiseHRTTrackerWidgetto useplan.drugDisplayName()in all three display locations (reminder row, quick-add row, confirm row)Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.