| INCOME TAX - Net deferred tax assets (Details) - USD ($) | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 02, 2021 | Dec. 31, 2020 | 
|---|---|---|---|---|
| Deferred tax assets | ||||
| Net operating loss carryforward | $ 17,601 | $ 6,922 | ||
| Total deferred tax assets | 43,727 | 11,464 | ||
| Valuation Allowance | (43,558) | (9,621) | ||
| Net deferred tax assets | $ 169 | $ 1,843 | ||
| Foresight Acquisition Corp | ||||
| Deferred tax assets | ||||
| Net operating loss carryforward | $ 38,800 | $ 480 | ||
| Startup/Organization Expenses | 4,728,629 | |||
| Total deferred tax assets | 4,767,429 | 480 | ||
| Valuation Allowance | $ (4,767,429) | $ (480) | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from startup/organization expenses. No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Details 
 |