A patientId may be provided when registering a new patient in WMDA Search & Match. Upon registration, a wmdaId will be assigned and returned. The wmdaId itself is guaranteed to be globally unique, though it cannot guarantee that the same patient is not registered by multiple organisations using the same patientId or with different patientId's within the same organisation. The wmdaId must be used to identify the patient in all calls to the Search, Match & Connect (SMC) service after the initial patient registration.
Patient Identifiers
Identifier
Description
patientId
Provided by the local registry system.
Should be worldwide unique.
Should follow the construct of ION + local patient id.
The ION to be used is the ION of the patient registering registry (PR).
Should be provided as a user-friendly (displayable) id for use on screens and on documentation.
wmdaId
Generated by the central (SMC) system.
Must be globally unique.
Must be used for all system-to-system patient identification after the initial patient registration.
3.2 - Create Patient
A POST to the patients endpoint is used to submit a patient to the Search & Match Service. This call returns a wmdaId for the patient.
If not set to true, then patientId will not be stored.
Field
Details
wmdaId
integer example:123456 nullable:false
3.3 - Update Patient
A PUT to the patients endpoint is used to update a patient with the Search & Match Service. An update to search relevant information, such as HLA, ethnicity or pool will result in a refresh of the search.
If not set to true, then patientId will not be stored.
wmdaId*
integer example:123456 nullable:false
None specified
3.4 - Update Patient Status
A PUT to the patients/status endpoint is used to update a patient's search status with the Search & Match Service. Allowable status values are SUS, PRE, ACT and STP. A new patient is defaulted to the new (NEW) state. Under the NEW state, searches must be requested explicitly. When doing so, the patient is moved to the PRE state. Under the ACT state, searches will be kept up to date automatically. SUS will stop automatic updates to searches, but results will remain for 42 days. STP will terminate the search and delete all search results.
The diagram below displays the full logic of which patient state changes are allowed and the effect on automatic updating of search results.
A GET to the patients/list endpoint is used to retrieve multiple patient's information from the Search & Match Service. You may define a page size, a specific page number, a series of allowable statuses and may limit to only patients assigned to you.
There is no registerPatientRequest endpoint. A patient is registered with a partner registry at the time of request in the form of an embedded Patient block - described in the Admin chapter.
3.9 - Update Registered Patient (PAT_UPD)
The updateRegisteredPatient message is used to update a registered patient with a partner registry.
In order to prevent unnecessary storage of search results and other patient related information, there are automated processes in place to automatically clean up patients that are not in use.
After a patient has not been viewed in any way (patient or search results), the patient will be moved to the "Inactive" state in Search & Match. You can see how much time is left until a patient is moved to the "Inactive" (STP) state by going to the patient list.
Simply clicking on the patient or its search result will reset the timer and will provide you with another 42 days until the patient is automatically moved to the "Inactive" state.
A patient that has been in the "Inactive" (STP) state for more than 6 months is anonymised and cannot be recovered any more.
Below are two diagrams that further explain the life cycle of patients in Search & Match with different levels of details