AllenNeuralDynamics / aind-metadata-service

Service to retrieve Labtracks/Sharepoint info using a REST API
MIT License
3 stars 1 forks source link

Add String Regex Patterns for NSB 2023 string input fields #102

Closed jtyoung84 closed 1 year ago

jtyoung84 commented 1 year ago

User story

As a developer, I want items in a nsb text input field to be parsed using regex patterns, so I can more easily validate and call those values.

Acceptance criteria

Sprint Ready Checklist

Notes

We should consult with the NSB db admins on whether the text inputs can be made more consistent. The fields include:

AP2ndInj
Burr3_x0020_A_x002f_P
Burr3_x0020_D_x002f_V
Burr3_x0020_M_x002f_L
Burr4_x0020_A_x002f_P
Burr4_x0020_D_x002f_V
Burr4_x0020_M_x002f_L
Burr_x0020_3_x0020_Angle
Burr_x0020_4_x0020_Angle
DV2ndInj
Inj1AlternatingTime
Inj1Angle_v2
Inj1Current
Inj1IontoTime
Inj1VirusStrain_rt
Inj2AlternatingTime
Inj2Angle_v2
Inj2Current
Inj2IontoTime
~Inj2VirusStrain_rt~ Do this later
Inj3AlternatingTime
Inj3Current
Inj3IontoTime
Inj3volperdepth
Inj4AlternatingTime
Inj4Current
Inj4IontoTime
Inj4VirusStrain_rt
Inj4volperdepth
InjVirusStrain_rt
ML2ndInj
Virus_x0020_A_x002f_P
Virus_x0020_D_x002f_V
Virus_x0020_M_x002f_L
inj1volperdepth
inj2volperdepth