How is it Calculate Service Unit in Sales Invoice with Healthcare?

Hi there,

I use ERPnext Healthcare 13v,
I have create Healthcare Service Unit Type

then create Service Unit
Screenshot 2022-09-03 190603

then I have patient and move it to inpatient to Admit it, to create Sales Invoice for the Service Unit, when I fetch it from Healthcare service the QTY is 0.5!!! why and I schedule the patient for 2 days in hospital, that mean should be 2 and amount 90000

Can any one help me with this…

Please check the admission time and check out time in the Occupancy table in Inpatient Record? It should be calculating based on the UoM and conversion factor configured in the Service Unit Type.