瀏覽代碼

fixed create claim for note

= 4 年之前
父節點
當前提交
8417d65748
共有 2 個文件被更改,包括 13 次插入13 次删除
  1. 1 1
      resources/views/app/patient/note/_create-claim.blade.php
  2. 12 12
      spec/todo-march-29-2021.txt

+ 1 - 1
resources/views/app/patient/note/_create-claim.blade.php

@@ -189,7 +189,7 @@
                     return false;
                 }
 
-                $.post('/api/claim/create', {
+                $.post('/api/claim/createForNote', {
                     noteUid: '{{$note->uid}}',
                     data: JSON.stringify(this.payload)
                 }, function(_data) {

+ 12 - 12
spec/todo-march-29-2021.txt

@@ -1,28 +1,28 @@
 
 	@Josh...
-		1) rm_reasons | [{'icd': ..., 'description': ...}...]
-		2) /api/client/updateRmReasons
+		1)DONE: rm_reasons | [{'icd': ..., 'description': ...}...]
+		2)DONE: /api/client/updateRmReasons
 		3) DEV ENDPOINT::
 			-- make sure each has ICDs on it. @Josh/Sal [dev endpoint... I10, E77.9, etc...
-		4) ALTER TABLE care_month ADD COLUMN rm_reasons TEXT (same as client)
-		5) /api/careMonth/updateRmReasons
-		6) ALTER TABLE care_month ADD COLUMN number_of_days_with_remote_measurements INTEGER;
-		7) maintain this field each time there is a measurement.
-		8) dev endpoint to backfill data.
+		4)DONE: ALTER TABLE care_month ADD COLUMN rm_reasons TEXT (same as client)
+		5)DONE: /api/careMonth/updateRmReasons
+		6)DONE: ALTER TABLE care_month ADD COLUMN number_of_days_with_remote_measurements INTEGER;
+		7)DONE: maintain this field each time there is a measurement.
+		8)DONE:** dev endpoint to backfill data.
 
-		9) ALTER TABLE care_month ADD COLUMN // all the stuff like on note... is_bill_closed, is_bill_marked_done, is_claims, etc. MAINTAIN SYMETTRY
+		9)DONE ALTER TABLE care_month ADD COLUMN // all the stuff like on note... is_bill_closed, is_bill_marked_done, is_claims, etc. MAINTAIN SYMETTRY
 
 		10) dev endpoint to auto-bill all months with 16+ measurements in them for RM20.
 
 	@Josh
 	- patient accounts... enable for existing patients!!!
-		background: we already have so many pts. they don't have accounts... 
+		background: we already have so many pts. they don't have accounts...
 			>>> have a straightforward way for HCP to push and link a chart to an email
 				->>> motivates them to sign up and complete an account that gets auto-linked.
 
 	@Josh
 	- text message replies, where do they go?
-		// TODO when you send an SMS to pt, add as an sms_number
+		//DONE:: TODO when you send an SMS to pt, add as an sms_number
 		// !!! enable to [+ Add SMS Number] directly on client
 	- TODO... make it so taht MCP has to mark reply texts as read...
 
@@ -32,7 +32,7 @@
 		-- when to send messages?
 		-- make sure 3 different numbers! (reminder, BP, weight)
 			-- 3 twilio numbers...
-			
+
 			scheduled_sms_reminder
 				client_id
 				sms_number
@@ -69,4 +69,4 @@
 	- presentation to hcp -> LMS
 	- presentation to non-hcp -> LMS
 
------------------------------------------------------------------------------
+-----------------------------------------------------------------------------