UK-SBCoA / uniform-data-set-dotnet-web

.NET Core implementation of UDS with MVC and Razor Class UI Library
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Milestones #102

Closed ashleybot closed 5 months ago

ashleybot commented 7 months ago

/Pages/Milestones

mlan225 commented 7 months ago

Hey @ashleybot in the meantime while I build out the views, I wanted to ask about the milestone data that we want to show up on the participations view.

On the UDS application we have it set up like this: Image

In the milestone model in the api, I don't believe I see properties for the Type (or "kind") and Details. Right now im displaying the minimum available data on the participations view. The Kind property for milstones seems like it will function a bit differently than the kind or type for a form object, but currently does not have something for it.

I'll have a better POC of what im currently doing with it after I create the additional views, but I'm keeping in mind that we may want to apply the additional functionality for "miestone type" and "details" as I continue to build things out.

ashleybot commented 7 months ago

The Milestone type in the screenshot can be determined by which questions the user completes. To summarize, if DECEASED == 1 || DISCONT == 1 then the "type" is Change followed by no further contact, otherwise it is Change followed by continued contact.

It might help to take a look at the paper form and DED documentation https://naccdata.org/data-collection/forms-documentation/standalone

mlan225 commented 6 months ago

Ran into and worked through some interesting things last week. Kind of a lot of text here so we can walk through it next time we are able to discuss things:

Image

Image

mlan225 commented 6 months ago

Running into a weird issue where the milestone type that is experiencing a mix of issues between setting the way the behaviors on the model are ran and setting the value for the milestone type.

Going to remove the behavior from the milestone type for now to continue development. In the future, it may just be easier to include MilestoneType as a property on the M1. It is not currently, but it is included on the M1 model in UDS, which leads me to believe it may just be missing.

mlan225 commented 6 months ago

All functionality has been implemented. Cleaning up span numbering and going to check back on any TODO comments before submitting PR