...
CreatePatientRequest (/api/v2/patients)
Changes to be considered:
| Patient Identification | patientId | string nullable: true |
| Patient HLA | hla | HLA |
| Patient Diagnosis | diagnosis | DiagnosisRequest |
| Patient Disease Phase | diseasePhase | string nullable: true |
| Patient IDMs | idm | IdmRequest |
| Patient Date of Birth | dateOfBirth | string($date-time) nullable: true |
| Patient Ethnicity | ethnicity | string nullable: true |
| Patient's Country Code | poolCountryCode | string nullable: true |
| Patient Transplant Centre | transplantCentreId | string nullable: true |
| Patient Blood Group | abo | string nullable: true |
| Patient Rhesus | rhesus | string nullable: true |
| Patient Weight | weight | integer($int32) nullable: true |
| Patient Sex | sex | string nullable: true |
| Consent | legalTerms | boolean (If you keep the legalTerms value at "false" or don't send it when creating a new patient, you have indicated you will not comply with legal terms and therefore are not allowed to store a pId. In that case the pId is set to the same value as the wmdaId. This behaviour mirrors the behaviour in the web GUI of WMDA Search & Match. If you click on the "No, I don't have consent" button you are also not allowed to store a patient ID or comment.) |
Expected response:
...
| true → change to false |
3.3 - Update Patient
| Anchor | ||||
|---|---|---|---|---|
|
The UpdatePatientRequest is used to update a patient with the Search & Match Service.
UpdatePatientRequest
...
UpdatePatientRequest (/api/v2/patients)
No changes expected.
...
3.4 - Register Patient
...
The registerPatientRequest is used to register a patient with a partner registry. This message accompanies all requests.
RegisterPatientRequest
Same payload as UpdatePatientRequest (/api/v2/patients). Additional fields to be considered:
| Sending Registry | regSend | string | |||
| Receiving Registry | regReceive | string | |||
| Patient Identification | patientId | string | |||
| WMDA Patient Identification | wmdaId | string | |||
| Patient HLA | hla | HLA | |||
| Patient Diagnosis | diagnosis | DiagnosisRequest | |||
| Patient Disease Phase | diseasePhasestring | Patient IDMs | idmIdmRequest | ||
| Patient Date of Birth | dateOfBirth | string($date-time) nullable: true | |||
| Patient Ethnicity | ethnicity | string nullable: true | |||
| Patient's Country Code | poolCountryCode | string nullable: true | |||
| Patient Transplant Centre | transplantCentreId | string nullable: true | |||
| Patient Blood Group | abo | string nullable: true | |||
| Patient Rhesus | rhesus | string nullable: true | |||
| Patient Weight | weight | integer($int32) nullable: true | |||
| Patient Sex | sex | string nullable: true | |||
| Consent | legalTerms | boolean (If you keep the legalTerms value at "false" or don't send it when creating a new patient, you have indicated you will not comply with legal terms and therefore are not allowed to store a pId. In that case the pId is set to the same value as the wmdaId. This behaviour mirrors the behaviour in the web GUI of WMDA Search & Match. If you click on the "No, I don't have consent" button you are also not allowed to store a patient ID or comment.) |
3.5 - Update Registered Patient
...
UpdateRegisteredPatientRequest
...
Same payload as RegisterPatientRequest.