-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vaccine module #1353
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Wow color in the breachConfig ! That's a great idea, I was just thinking we use the Temperature_min and Temperature on location_type to figure it out but I am pretty sure it would work well if we add color to breachConfig. (btw breachConfig can be assigned to the 'breach').
Yeah, although in this case it's maybe 'pre-defined' rather then hard-coded ?
I guess what we are trying to do is add a behaviour to this particular item. Awhile ago I as thinking of a structure where most of those properties are controlled by a 'tag' and there would be user defined 'tags' and hard coded tags that alter app behaviour. You could also have 'tag' category, where only one tag out of a group that can be attached to an entity (i.e. unit/or form) (but i think that's getting off topic, isVaccine should be sufficient for now)
So, a where house can have multiple locations and multiple location types, i.e. in Vanuatu there are currently two location_types ('safe' and 'fridge'). Consider a small warehouse with multiple fridges and a safe and a shelves. We have 'vaccines' that go into fridges only, we have things like 'morphine' that needs to be kept in a safe, and everything else can go in other locations. Usually locations are used to identify where 'things' are in on a rack, so that the picker knows where to look for things or where to place things. |
ok sweet!
ahhh ok - I'm a bit slow but I understand now! Sounds like another need for a bulk config setting interface Where are most of the fields for I think in general it might actually be a bit better to set a lot of details on a per-store basis.. except.. sync and the amount of records it creates.. :( The bright side being (hopefully, I haven't checked) that I think it's a really good idea.. should probably try to use the |
No sync rules broken btw, even though So the confusion for me is, check out bottom of the screenshot, this is how you set
You are on point, not slow at all.
Great, so if you look at the screenshot, if
Perhaps should be named default_restricted_location_type ? That would be that one If we want to overwrite the default one, then we can set And in UI, when we select location, we first look at item_store_join, then item ? There is actually very limited places where this is used in mSupply desktop, so easy to change. |
All sounds really good to me!
Just this one: Would it be easier that when you change So I am having trouble communicating the difference so hopefully this all makes sense. But basically from what I understand your suggesting:
I think making it so
This is because I think the use cases are
For 1 - if you have some stores who have set a location type themselves, then to change it for everyone you have to change it individually for every store if you don't change the Hopefully that makes sense? Also there is the added benefit of only ever checking |
I guess the question is:
Yes -> Then have to do it the way i've described Or we can combine both methods, in that case, two drop downs and a checkbox. |
ugh that's the sentence I was trying to write in my paragraphs 🤣 I think your idea for the checkbox is nice - or a pref? Or just a dialog when changing in the interface..? "Do you want to apply this change to all stores?" Then we can still just use the |
I guess the simplest would be a dialog, when value in list box changes. |
Just been thinking about doses column again.. we said don’t have it adjust quantity and quantity not to adjust doses or enforce limits etc other than what we have now. I'm thinking if we don't, we will need to show an amount of doses column, won't we? |
@joshxg, how hard would it be to add an on focus change event (on top of on data change)? |
Actually what I was thinking about won't help, am i correct to say that on focus change fires after on button click (if say you change quantity and without exiting the cell press finalise) ? |
yup it'll be the same behaviour as what it used to be - button click before on losing focus. I think having two columns which are 'dependent' or 'coupled' is really annoying.. same thing for reasons.. and even the stocktake item/batch quantity columns .. it's not the greatest user experience :( Trying to think a little outside the box on this one.. the 'easy' solutions are for a 'doses' column to show the Or.. the little bottom modal popup thing that we use on the current stock page (and soon to be requisition page), could show the |
hmm, I like where you going but the main idea behind doses during issue was to be able to figure out 'open vial wastage', or how many doses were actually used for a vial. I remember our main issue was with minimum doses = numberOfPacks (say 10 doses per quantity), so when you enter quantity = 10, and then enter like 100 doses, but want to change to say 19 doses, it goes all haywire (when zero is removed, it would go to 1, which would be auto set to 10, which is the minimum number of doses for quantity 10). Maybe we don't worry about minimum doses, just restrict by max ? Most vaccines btw are 1 vial = 1 dose, there are a couple with more then 1, say BCG = 10 doses per vial.
I agree, what you reckon, in ideal world when one tries to finalise and things are missing or incorrect, each 'wrong' thing is highlighted, with maybe exclamation mark you can press (when you press it it tells you what is wrong) ? |
Yeah that'll work too, nice.
even showing the indication that something is wrong after losing focus is good, I think! |
Do you think auto-applying a vvm status is a good idea? We have added a |
@joshxg, sounds good to me. |
Update: @joshxg off for the remainder of this week and part-time for a bit, so will go ahead and pick up the remaining mobile issues. @Chris-Petty going to take care of the main desktop UI: https://github.com/sussol/msupply/issues/6089, https://github.com/sussol/msupply/issues/6116. To ensure sufficient time and to ensure compatibility, all vaccines work is targetted for desktop |
I'm so sick of this issue - I'm gonna close and use #3161 for new additions..! |
Description
Vaccine module integration and slight refactor into current develop
Previous epic: https://github.com/sussol/org-issues/issues/23
Context
The Vaccine module was never merged into the code base, and now the current branch is very far behind master. Needs to be redone. It is in production in Solomon Islands and Vanuatu.
Update (13/05):
Vaccines is the main feature for
v6
. Main feature branch merged intodevelop
to get everything up-to-date and to get a head start on integration testing. All future vaccines work should be based off/merged intodevelop
.INFORMATION
Vaccine work has been merged into the main
develop
branch.Old feature branches:
TAG which is deployed in Vannuatu & Solomon Islands: https://github.com/openmsupply/mobile/commits/v2.2.0-RC4
TASKS
I've written the issues quite vague and non-specific as more specific details may not be needed dependent on the tissue and reviewer. Can provide far greater detail on a specific issue when needed!!
Tasks will be separated between back-end logic and front-end UI to try to avoid as much blocking as possible. Setup issues should likely all be done before others.
Each grouping will most likely need to be done roughly in this order
SETUP
LocationType
&Sensor
typesLocation
&ItemBatchLocationMovement
data typesItem
&..Batch
data types fordoses
Item
and..Batches
#1360VaccineVialMonitorStatus
&VaccineVialMonitorStatusLog
data typesVaccineVialMonitorStatus
&VaccineVialMonitorStatusLog
data types #1365BACKEND
Sensor
methodsItem
methodsItemBatch
methodsStocktakeBatch
methodsTransactionBatch
methodsLocation
methodsBreachLog
methodsFormControl
#2738VaccinePage
#2739FRONTEND
HazardPoint
widgetVaccineVialMonitorStatus
iconsFridgeDisplay
componentVaccineModuleAdminPage
componentVaccineModulePage
componentBreachModal
componentTemperatureSyncModal
componentDESKTOP
TESTING
CustomerRequisitionPage
CustomerInvoicePage
SupplierInvoicePage
VaccineModulePage
VaccineAdminPage
VaccineStockPage
VaccineItemPage
DOCUMENTATION
beginnings of documentation is here:
Design documents:
To be written 'draft like' as features are completed:
The text was updated successfully, but these errors were encountered: