Got the same error, happens when creating a slaes invoice that contains a lab test. Disabling the dependency on sample collection by navigating to Healthcare > Configurations > Lab Test Settings solved the issue; however is a temprary solution. you can refer to issue
Information about bug
Module
Laboratory
Version
Frappe Health Version - Develop
Installation method
None
Relevant log output / Stack trace / Full Error Message.
No response
Code of Conduct