question

David Seo avatar image
0 Likes"
David Seo asked Jordan Johnson answered

how to get the patientid from the created patient?

FlexSim 2019 update 2.

I am trying to log all patients flow information through activities in a history table.

I want to know how to get the unique patientID from the created patient whenever creating.

How can I do it?

patient history
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jordan Johnson avatar image
1 Like"
Jordan Johnson answered

You can get the ID from the StatisticsCollector:

double id = StatisticsCollector.getID(patient);

Note that the PID stored in the collector tables is the id of the patient, not the token.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.