Medicals - Same HAP ID for two visas?

Can we use the same medical id called HAP ID for two different visas for Australia if applied within the date of expiry?

I have an invite to apply for 489 visa from SA and a pre-invite NSW 190. As I am waiting for the state nomination from NSW to come through, I thought to get the medicals ready.

If NSW nomination comes through really late (lets say I wait for 58 days, 60 days is when SA invite expires), can I use the HAP ID used for my South Australia medicals?

Guidance?

Please note there is no such thing as pre-invite, you are invited for State Nomination.

Yes, you can do that. Medicals are identical for both.