Bläddra i källkod

added rm spec

= 3 år sedan
förälder
incheckning
70d02cb91f
1 ändrade filer med 62 tillägg och 0 borttagningar
  1. 62 0
      spec/rm-care-month-spec.txt

+ 62 - 0
spec/rm-care-month-spec.txt

@@ -0,0 +1,62 @@
+
+	care_month:
+
+		1. There have to be 16 measurement days.
+
+		2. At the 16th measurement day:
+
+			BOTH the MCP and the RME/RMM are prompted to sign off.
+		
+			--> we have to somehow make sure MCP time billed >= 30.
+			--> we have to somehow make sure non-MCP time >= 20.
+
+		3. THE EASIEST WAY to do this is going to be by enabling a stamp feature on measurements.
+
+			class MeasurementStamp
+				Measurement measurement;
+				Pro pro;
+				String memo;
+				Boolean spokeToPatient;
+	
+			ALTER TABLE measurement ADD COLUMN has_been_stamped_by_mcp BOOLEAN DEFAULT FALSE;
+			ALTER TABLE measurement ADD COLUMN has_been_stamped_by_non_hcp BOOLEAN DEFAULT FALSE;
+			ALTER TABLE measurement ADD COLUMN has_been_stamped_by_rme BOOLEAN DEFAULT FALSE;
+			ALTER TABLE measurement ADD COLUMN has_been_stamped_by_rmm BOOLEAN DEFAULT FALSE;
+
+		4. DISABLE THE CONVENTIONAL CRUD UI for 'care_month_entry' for anyone. 
+			
+			We literally ONLY want the time they can bill each month to = 30 / 20 and it only becomes relevant if 16 measurement days.
+
+			* From now on, we will only submit RM30_HCP or RM30_HCP_PLUS_20NONHCP. We don't want to bill anything else.
+
+			Remember - it is stupid for a care_month to be billed unless there are 16 days anyway, so no sense in care_month_entries that are accruing time that won't be paid anyway.
+
+			So once you reach day 16, the UI magically appears for the MCP to care-month-entry their 30 mins.
+				*** BAD IDEA *** If there is also a MeasurementStamp by a non-HCP, then there is another prompt for any non-MCP to bill their 20 mins.
+					*** WE DON'T WANT THEM TO RMM to think in 'minutes', just measurement days and at least one stamp needs to be spokeToPatient = true.
+					*** So literally, for non-HCP it's just a scoreboard - hit 16 and get paid!!!
+			
+			There are two possibilities: MCP can bill 30 mins. but the non-MCP can't bill 20 mins. properly - because they did not have spokeToPatient. 
+
+			ONCE WE HAVE REACHED THE APPROPRIATE MINUTES (30 HCP, and possibly 20 non-HCP extra IF there is a spokeToPatient=true record), then WE AS ADMINS ARE prompted to create the appropriate bill UNLESS there are at least 16 days stamped by non-hcp and one is spokeToPatient=true. Then we auto-generate RM30_HCP_PLUS_NONHCP20.
+
+			*** WHY DON'T WE LET THEM CREATE THE BILL AS RM30_HCP? Simple: because maybe the NON-HCP forget to stamp and memo.
+
+				*** so offline, what may happen in a bad case is: "Hey NA/RMM, did you guys not do anything? Oh - okay. Guess we will bill RM30_HCP, but next month please focus and let's do RM30_HCP_PLUS_NONHCP20 aka, you need to stamp and contact patient at least once on a month they measured 16 times!" THEN click a button that generates RM30_HCP and that's that.
+
+			HCP sees a pending bill for them to sign, and they sign it.
+
+			The UI should not say "RM30_HCP" it should say simply "Billable time: 30 minutes, {{RM30_HCP rate}}"
+
+			For RM30_HCP_PLUS_NONHCP20... there is 
+
+		5. TO PROCESS THESE CARE-MONTHS:
+
+			- understand that what we need flows like this:
+			
+				- VIGILENCE to make sure everyone reaches 16.
+				- AFTER 16, push them to document their 
+
+			There needs to be a simple UI similar to Note Resolver where you see the CareMonth including stamps and the ultra-important ONE or TWO care-month-entries that correlate to what bill to process. With one click - generate claim with lines as per spec. That's it.
+
+