allcleardev / allclear-app

AllClear, an open source app for covid-19 status reporting, tracking and locating testing sites.
GNU Affero General Public License v3.0
6 stars 0 forks source link

Add "Test Types" to Facilities #440

Closed boriskozak closed 4 years ago

boriskozak commented 4 years ago

The facility model needs to have "Test Type" added to it. Test Types should include...

Acceptance Criteria

Aha! Link: https://ilico.aha.io/features/ALLCLEAR-463

boriskozak commented 4 years ago

Comment added by david small in Aha! - View

We already have a Test Type concept with the values "rt-PCR" and "igM/igG Rapid Test".

boriskozak commented 4 years ago

Comment added by aaron kwolek in Aha! - View

@david small We found test types aren't digestible enough for users. Can you just rename them to the listed tests above?

boriskozak commented 4 years ago

Comment added by david small in Aha! - View

That's fine. But I'm thinking that this relationship should be one facility can have many test-types in case a facility offers more than one type. Is this correct?

boriskozak commented 4 years ago

Comment added by Matthew Geffken in Aha! - View

@david small yes, it is definitely true that a test center can offer more than one test type.

boriskozak commented 4 years ago

Comment added by david small in Aha! - View

Do you still want all the existing facilities to be seeded with a Nasal Swab Test value?

boriskozak commented 4 years ago

Comment added by david small in Aha! - View

Added Facility Test Types to track which test types a facility supports.

Deployed to dev and staging.

Version: 1.1.45

boriskozak commented 4 years ago

Comment added by aaron kwolek in Aha! - View

verified in dev. Test type was added to the schema of facilities. The facilities haven't been seeded, but that's fine. If we still want it, we can create a new ticket.