Welcome to the DHIS2 Community!
I believe it depends on your requirements and needs. The eMPIs systems seem to offer features for specific use case; however, it’s not impossible to use DHIS2 to issue unique patient id’s.
Although it’s not exactly the same question, I think this conversation will give you more insight: DHIS2 can be use as a Hospital business system?
Thanks!