BMMRO-tech / BMMRO

MIT License
3 stars 5 forks source link

Biopsy form: other observations #296

Open njktw opened 2 years ago

njktw commented 2 years ago

Background As part of recording a biopsy record BMMRO need to record other observations specific to the biopsy event

Acceptance criteria AC1: add fields (create) given I am logged into the BMMRO app and within the context of an encounter when I click the "Add" button to create a new biopsy record then I can see a section called "Other observations" with the following fields displayed:

Acceptance criteria AC1: add fields (create) given I am logged into the BMMRO app and within the context of an encounter when I click the "Add" button to create a new biopsy record then I can see a section called "Other observations" with the following fields displayed beneath a section header of "Other observations"

AC2: on edit: check the updated values are in firebase given I open an existing, un-exported, biopsy record when I change values in the other observations section and click save then the values are updated in firebase and the export script

AC3: open biopsy form in view mode for exported records given I have already exported a biopsy record when I open a biopsy record which has previously been exported then the biopsy form & the other observations section cannot be edited and exported records are not in the exported data

AC5: MS Access database (biopsy csv) given I run the export script then the other observations fields are visible in the exported data, with the below mapping:

image

AC6: update specimen csv given I run the export script then the "other observations" are included in the specimen csv, mapping below:

image

njktw commented 2 years ago

Dev QA passed