...
| Identifier | Description |
|---|
| patientId | - Provided by the local registry system.
- Should be worldwide unique.
- Should follow the construct of hub code + local patient id.
- The hub code usually are the two-character ISO country code of the registry (e.g. DE for Germany)
- In the case of multiple registries in one country, a replacement code will be assigned.
- 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.
- Should be displayed on screens and on documentation.
|
3.2 - Create Patient
The createPatient 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.
| Post |
|---|
| createPatient/patients |
| Expand |
|---|
| | Field | Details |
|---|
| patientId | string maxLength: 17 nullable: true example: XY1234POrganisation unique identifier for patient. Cannot be set unless "legalTerms" is set to "true". Do not use real names here. | | hla* | {...} | | idm | {...} | | dateOfBirth | string($date) nullable: true maxLength: 10 example: 1961-05-27 | | diagnosis | {...} | | diseasePhase | string nullable: true Enum: Array [ 48 ] | | ethnicity | string nullable: true Enum: Array [ 21 ] | | poolCountryCode | string maxLength: 2 pattern: ^[A-Z]{2} nullable: true example: NLISO 3166-1 alpha-2 Country Code (capitalized) | | transplantCentreId | string maxLength: 10 nullable: true example: TC X | | abo | string nullable: true Enum: Array [ 4 ] | | rhesus | string nullable: true Enum: Array [ 2 ] | | weight | integer nullable: true minimum: 1 maximum: 999 example: 76 | | sex | string nullable: true Enum: Array [ 2 ] | | legalTerms | boolean nullable: true default: false example: trueIf not set to true, then patientId will not be stored. |
|
| Expand |
|---|
| | Field | Details |
|---|
| wmdaId | integer example: 123456 nullable: false |
|
|
3.3 - Update Patient
The updatePatient A PUT to the patients endpoint is used to update a patient with the Search & Match Service.
| Put |
|---|
| updatePatient/patients |
| Expand |
|---|
| | Field | Details |
|---|
| patientId | string maxLength: 17 nullable: true example: XY1234POrganisation unique identifier for patient. Cannot be set unless "legalTerms" is set to "true". Do not use real names here. A patient ID can only be updated when it was not set before. | | hla* | {...} | | idm | {...} | | dateOfBirth | string($date) nullable: true maxLength: 10 example: 1961-05-27 | | diagnosis | {...} | | diseasePhase | string nullable: true Enum: Array [ 48 ] | | ethnicity | string nullable: true Enum: Array [ 21 ] | | poolCountryCode | string maxLength: 2 pattern: ^[A-Z]{2} nullable: true example: NLISO 3166-1 alpha-2 Country Code (capitalized) | | transplantCentreId | string maxLength: 10 nullable: true example: TC X | | abo | string nullable: true Enum: Array [ 4 ] | | rhesus | string nullable: true Enum: Array [ 2 ] | | weight | integer nullable: true minimum: 1 maximum: 999 example: 76 | | sex | string nullable: true Enum: Array [ 2 ] | | legalTerms | boolean nullable: true default: false example: trueIf not set to true, then patientId will not be stored. | | wmdaId* | integer example: 123456 nullable: false |
|
|
3.4 - Update Patient Status
The updatePatientStatus 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.

| Put |
|---|
| updatePatientStatus/patients/status |
| Expand |
|---|
| | Field | Details |
|---|
| wmdaId* | integer example: 123456 nullable: false | | newStatus* | string nullable: false Enum: Array [ 4 ] | | changeReason | string nullable: trueReason why the change was made. Mandatory when changing to "STP" Enum: Array [ 21 ] |
|
| Expand |
|---|
| | Field | Details |
|---|
| wmdaId* | integer example: 123456 nullable: false | | status* | string maxLength: 3 nullable: false Enum: Array [ 4 ] | | changeReason | string maxLength: 3 nullable: trueReason why the change was made. Mandatory when changing to "STP" Enum: Array [ 21 ] |
|
|
3.5 - Retrieve Patient
...
(Deprecated)
A GET to the patients endpoint The retrievePatient is used to retrieve an individual patient's information from the Search & Match Service.
(DO NOT USE, TO BE DEPRECATED in V3. Use patients/list endpoint instead)
| Get |
|---|
| retrievePatient/patients |
| Expand |
|---|
| | Field | Details |
|---|
| wmdaId* | integer example: 123456 nullable: false |
|
| Expand |
|---|
| | Field | Details |
|---|
| patientId* | string maxLength: 17 nullable: true example: XY1234POrganisation unique identifier for patient. Cannot be set unless "legalTerms" is set to "true". Do not use real names here. | | status* | string nullable: false Enum: Array [ 5 ] | | hla* | {...} | | idm* | {...} | | dateOfBirth* | string($date) nullable: true maxLength: 10 example: 1961-05-27 | | diagnosis* | {...} | | diseasePhase* | string nullable: true Enum: Array [ 48 ] | | ethnicity* | string nullable: true Enum: Array [ 21 ] | | poolCountryCode* | string maxLength: 2 pattern: ^[A-Z]{2} nullable: true example: NLISO 3166-1 alpha-2 Country Code (capitalized) | | transplantCentreId* | string maxLength: 10 nullable: true example: TC X | | abo* | string nullable: true Enum: Array [ 4 ] | | rhesus* | string nullable: true Enum: Array [ 2 ] | | weight* | integer nullable: true minimum: 1 maximum: 999 example: 76 | | sex* | string nullable: true Enum: Array [ 2 ] | | legalTerms* | boolean nullable: true default: false example: trueIf not set to true, then patientId will not be stored. | | wmdaId* | integer example: 123456 nullable: false | | lastUpdated* | string($date-time) nullable: false maxLength: 255needed to help determine when patient can be automatically moved to STP state | | lastViewed* | string($date-time) nullable: false maxLength: 255needed for sorting patients in the patient list | | assignedUserName* | string minLength: 4 maxLength: 100 nullable: true example: janethesearchcoordinator@lunarregistry.comtypically the e-mail address of the user |
|
|
...