Service bill show procedure

A person maintained abc hospital service provide to different patients and ABC hospital admitted patients shift to another hospital XYZ for patients treatment purpose
If xyz hospital patient treatment after treatment invoice value rs:80,000/- for name ABC issued by XYZ hospital.ABC hospital amount received from patients rs:1 lacs
Question:
Above transaction show procedure in ABC hospital account records purpose.

Record the full patient collection of ₹1,00,000 as revenue and the ₹80,000 XYZ Hospital invoice as a direct treatment expense, leaving a net operational margin of ₹20,000 for ABC Hospital.