
The additional meta-information "blocks" are added to ensure the receiving registry is aware of:
- A message identifier
- A timestamp
- What registry sent the information (sender)
- What type of information is contained
Field | Details |
---|
messageId | string($uuid) |
sentAtUtc | string($date-time) Server-supplied timestamp showing UTC time of Message delivery to recipient's inbox queue. |
sender | string maximum: 9999 minimum: 0 maxLength: 4 minLength: 4 example: 56784-digit ION of the sender |
messageType | string Enum: Array [ 1 ] |
With this message block, the contact information of the hub's institutions, namely Financial institutions, Transplant Centers and Laboratories are shared with the partner hubs. Thus a partner hub has all the required contact information for the Institution contained in Donor Requests.
- Hubs are required to keep this contact information up to date.
- It’s not only useless but forbidden to give a postbox (POB) in a LAB address since this address is used for the delivery of samples. For the same reason ZIP code, City, and Country are required in the address block.
In the Match-Connect system, the addresses will be embedded in the donor requests. See Chapter Requests for details.
Consider to use address block structure according to HL7-FHIR standard with extensions (https://hapifhir.io/hapi-fhir/apidocs/hapi-fhir-structures-r4/org/hl7/fhir/r4/model/Address.html), e.g.
Suggested format | Suggested field | Description | Mapping to NEW_ADD |
StringType | City | The name of the city, town, suburb, village or other community or delivery center. | City Req 40 |
StringType | country | Country - a nation as commonly understood or generally accepted. | Country Req 2 |
StringType | District | The name of the administrative area (county). | Address Line 2 ADDR_2 Opt 40 |
List <StringType> | line | This component contains the house number, apartment number, street name, street direction, and P.O. | Address Line 3 ADDR_3 Opt 40 |
Period | period | The time period when the address was/is in use. | new - Opt |
StringType | postalCode | A postal code designating a region defined by the postal service. | ZIP code ZIP Req 10 |
StringType | state | Sub-unit of a country with limited sovereignty in a federally organized country. | new - Opt |
StringType | text | Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts. | Address Line 1 to Address Line 3, City, Country, Zip code - Opt |
Enumeration <Address.AddressType> | type | Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses. Most addresses are both.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value. | new - Req |
Enumeration <Address.AddressUse> | use | The purpose of this address. | Institution Type INST_TYPE Req 3 |
StringType | contact person | The name of the contact person. | Contact person PERSON Opt 40 |
StringType | phone
| The value is a telephone number used for voice calls. | Phone Number PHONE Req 20 |
StringType | fax
| The value is a fax machine. | Fax Number FAX Opt 20 |
StringType | email
| The value is an email address. | Email address EMAIL Opt 60 |
|
| Not needed anymore, as the full address will be sent embedded in every request. | INST_ID Req 10 |
|
| Obsolete. S&M provides accreditation on the match list. | Accreditation Opt 5 |
Field | Details |
---|
wmdaId* | integer nullable: false example: 1234ID provided by the WMDA |
patientId* | string maxLength: 17 nullable: false example: XY1234POrganisation unique identifier for the 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: trueEnum: Array [ 48 ] |
ethnicity | string nullable: trueEnum: Array [ 20 ] |
poolCountryCode | string maxLength: 2 pattern: ^[A-Z]{2} nullable: true example: NLISO 3166-1 alpha-2 Country Code (capitalized) |
abo | string nullable: trueEnum: Array [ 4 ] |
rhesus | string nullable: trueEnum: Array [ 2 ] |
weight | integer nullable: true minimum: 1 maximum: 999 example: 76 |
sex | string nullable: trueEnum: Array [ 2 ] |
firstName | string maxLength: 30 nullable: true example: JohnFirst (given name) of the patient |
lastName | string maxLength: 30 nullable: true example: DoeLast (family name) of the patient |
6.1.4 Embedded Donor Block
In EMDIS, the following messages are linked to the donor updates:
- IDM_RES
- TYP_RES
- NO_RES
- RSV_RES
These four and newly two more (SMP_ARR and SMP_INFO) will be replaced with the Match-Connect API endpoints that have the donor details embedded in the message. Respective endpoints of IDM_RES and TYP_RES will deliver new IDM and new typing details, and all the mentioned endpoints will also inform the patient registry of the new donor status.
These donor updates are for the receiving registry (patient registry) only and will not be updated in the central HUB. So the sending (donor) registry is responsible to send a DIFF upload to the S&M system in parallel to keep information in sync.
Donor type | Payload |
---|
Adult donor | Field | Details |
---|
id* | integer nullable: false example: 5176 | donorRegistryIon* | integer nullable: false minimum: 1000 maximum: 9999 example: 1234 | abbreviation | string example: NL-WMDA maxLength: 24 | haplotypeFrequencySetId* | integer nullable: true minimum: 0 example: 15 | status* | string nullable: falseEnum: Array [ 3 ] | sex* | string nullable: trueEnum: Array [ 2 ] | ethnicity* | string nullable: trueEnum: Array [ 21 ] | idm* | {...} | abo* | string nullable: trueEnum: Array [ 4 ] | rhesus* | string nullable: trueEnum: Array [ 2 ] | isSelected* | boolean nullable: truetrue when this record has been marked as selected | resolutionScore* | number minimum: 0 maximum: 100 nullable: true example: 54 | resolutionString* | string minLength: 5 maxLength: 5 example: AP-A- nullable: trueA - high-res P - low or intermediate, - no typing | grid* | string nullable: true maxLength: 19 minLength: 19 example: 9991012070433202000 | donorId* | string nullable: true example: ABC1234 maxLength: 25 | donorType* | string nullable: falseEnum: Array [ 2 ] | lastContactDate* | string($date) nullable: true minLength: 10 maxLength: 10 | marrowDonationsCount* | integer nullable: true example: 0 | pbscDonationsCount* | integer nullable: true example: 1 | dateOfBirth* | string($date) nullable: true maxLength: 10 example: 1961-05-27 | donorAttribute | string maxLength: 3 nullable: true | kir | {...} | weight | integer nullable: true minimum: 1 maximum: 999 example: 76 | height | integer nullable: true minimum: 1 maximum: 999 example: 161 | collectionType | string nullable: trueCollection type, i.e. the willingness of the donor to donate in a specific manner. M = Marrow P = PBSC B = Both PBSC & Marrow Enum: Array [ 3 ] | transfusionsCount | integer nullable: true example: 1 | pregnanciesCount | integer nullable: true example: 2 | reservedPatientId | string nullable: true example: 1234222ss | statusEndDate | string($date) maxLength: 10 nullable: true | statusReason | string nullable: trueDO = Donor is too old, DD = Donor died, MR = Medical reasons, PR = Personal reasons, TX = After transplantation, MO = Donor has moved, UC = Unable to contact donor, OT = Other reasons, TQ = Typing questionable, UK = Unknown Enum: Array [ 10 ] | hla* | {...} | mic* | {...} | ccr5* | string nullable: trueEnum: Array [ 3 ] | lastMedicalCheckupDate | string($date) nullable: true minLength: 10 maxLength: 10 | registry* | {...} |
|
|
CBU | Field | Details |
---|
id* | integer nullable: false example: 5176 | donorRegistryIon* | integer nullable: false minimum: 1000 maximum: 9999 example: 1234 | abbreviation | string example: NL-WMDA maxLength: 24 | haplotypeFrequencySetId* | integer nullable: true minimum: 0 example: 15 | status* | string nullable: falseEnum: Array [ 3 ] | sex* | string nullable: trueEnum: Array [ 2 ] | ethnicity* | string nullable: trueEnum: Array [ 21 ] | idm* | {...} | abo* | string nullable: trueEnum: Array [ 4 ] | rhesus* | string nullable: trueEnum: Array [ 2 ] | isSelected* | boolean nullable: truetrue when this record has been marked as a selected | resolutionScore* | number minimum: 0 maximum: 100 nullable: true example: 54 | resolutionString* | string minLength: 5 maxLength: 5 example: AP-A- nullable: trueA - high-res P - low or intermediate, - no typing | cordId | string nullable: true maxLength: 25 example: 9991012070433202000 | donorType* | string nullable: falseEnum: Array [ 2 ] | collectionDate | string($date) minLength: 10 maxLength: 10 nullable: true example: 2021-05-27 | volume* | integer example: 25 nullable: true | tncCount* | number example: 1140000000 nullable: true | cd34Count* | number example: 3900000 nullable: true | viability* | integer minimum: 0 maximum: 100 example: 97 nullable: true | attachedSegmentsCount | integer nullable: true minimum: 0 maximum: 99 example: 2 | bankManufacturerIdWmda* | integer example: 5432 nullable: true | cbbAccreditationStatus* | string nullable: trueEnum: Array [ 3 ] | localId | string example: 12345ABC nullable: true | bagId | string example: ABCDE1234 nullable: true | dateOfBirth* | string($date) nullable: true maxLength: 10 example: 1961-05-27 | processingDate | string($date) nullable: true minLength: 10 maxLength: 10 | processingMethod | string nullable: trueHES = Hydroxy-Ethyl-Starch, DGS = Density Gradient Separation, CEN = Centrifuge, FIL = Filtration, FIC = FICOL, PER = PERCOL, OTH = Other Enum: Array [ 7 ] | processingMethodType | string nullable: trueEnum: Array [ 5 ] | freezeDate | string($date) nullable: true | freezeMethod | string nullable: trueEnum: Array [ 2 ] | reservedPatientId | string nullable: true example: 1234222ss | productModifications | string nullable: trueEnum: Array [ 7 ] | bagType | string nullable: trueEnum: Array [ 4 ] | bagsCount | integer minimum: 1 maximum: 99 example: 2 nullable: true | bankDistributionIdWmda | integer nullable: true example: 1234 | bacterialCultureResults | string nullable: trueP = Positive N = Negative D = Not done Enum: Array [ 3 ] | fungalCultureResults | string nullable: trueP = Positive N = Negative D = Not done Enum: Array [ 3 ] | hemoglobinopathyScreeningStatus | string nullable: trueDN = "Screening done, normal results" DU = "Screening done, unusual findings" NS = "No screening done" CD = "Can be done at time of release" NC = "Cannot be done" DT = "Thalassemia" DD = "Drepanocytosis" Enum: Array [ 7 ] | viabilityCellType | string nullable: truetype of cell tested for viability Enum: Array [ 3 ] | viabilityMethod | string nullable: true7A = 7AAD PI = Propidium Iodide TB = Trypan Blue OT = Other Enum: Array [ 4 ] | viabilityDate | string($date) nullable: true | volumeFrozen* | integer example: 25 nullable: true | tncFrozenCount* | number example: 1020000000 nullable: true | cd34FrozenCount* | number example: 3700000 nullable: true | cfuFrozenCount | integer nullable: true minimum: 10000 maximum: 99990000Total count of colony forming units (post processing, prior to cryopreservation) | mncFrozenCount* | number example: 430000000 nullable: true | ccr5 | string nullable: trueEnum: Array [ 3 ] | kir | {...} | plasmaAliquotsCount | integer minimum: 0 maximum: 99 nullable: trueNumber of plasma aliquots available | redCellAliquotsCount | integer minimum: 0 maximum: 99 nullable: trueNumber of red cell fraction aliquots | nucleatedRbcFrozenCount | integer minimum: 0 maximum: 9999000000 nullable: trueTotal number of nucleated red blood cells (post processing, prior to cryopreservation) | serumAliquotsCount | integer minimum: 0 maximum: 99 nullable: true | serumQuantity | number minimum: 0 maximum: 99.9 nullable: true | plasmaQuantity | number minimum: 0 maximum: 99.9 nullable: true | ctCompletionDate | string($date) maxLength: 10 | ctSampleType | string nullable: true maxLength: 2AS = CBU Contiguous Attached Segment, WB = Whole Blood Sample, RC = Red Cell Fraction (pellet), FP = Blood Spotted Filter Paper, ED = Extracted DNA Enum: Array [ 5 ] | dnaSamplesAvailable | boolean nullable: true | otherSamplesAvailable | boolean nullable: true | donorAttribute | string maxLength: 3 nullable: true | statusEndDate | string($date) maxLength: 10 nullable: true | statusReason | string nullable: trueDO = Donor is too old, DD = Donor died, MR = Medical reasons, PR = Personal reasons, TX = After transplantation, MO = Donor has moved, UC = Unable to contact donor, OT = Other reasons, TQ = Typing questionable, UK = Unknown Enum: Array [ 10 ] | hla* | {...} | mic | {...} | registry | {...} | cbb | {...} | maternalInfo | {...} |
|
|
ADCU | In the future |
Here is the comparison of the DONOR_CB and the API endpoints: EMDIS vs API.xlsx
6.1.5 Embedded WMDA Response block
The WMDA will provide a standard response to request messages sent to Match-Connect. Its structure is as follows:
Field | Details |
---|
sender | string maximum: 9999 minimum: 0 maxLength: 4 minLength: 4 example: 56784 digit ION of sender |
deliveredAtUtc | string($date-time) Server-supplied timestamp showing time of Message delivery to recipient's inbox queue |
referenceMessageId | string($uuid) |
responseType | stringEnum: Array [ 3 ] |
wmdaRemark | [...] |
6.2 Message Response
The message response is intended as an automated response to every user generated message. It serves three purposes:
- message acknowledgment
- warning
- message denial
This is a purely machine-to-machine type of message, as compared to EMDIS where such responses can be user generated.
Note: The concept of the REF_CODE field used in EMDIS is replaced by the GUID assigned by the central system to each message. The Message Response is supposed to be using the GUID of the original message as the Reference ID in its structure.
Message structure:
Send | Retrieve |
---|
| |
Field | Details |
---|
wmdaResponse | Field | Details |
---|
deliveredAtUtc | string($date-time) Server-supplied timestamp showing time of Message delivery to recipient's inbox queue | referenceMessageId | string($uuid) | responseType | string Enum: Array [ 3 ] | wmdaRemark | [...] |
|
|
|
Field | Details |
---|
wmdaResponse | Field | Details |
---|
sender | string maximum: 9999 minimum: 0 maxLength: 4 minLength: 4 example: 56784 digit ION of sender | deliveredAtUtc | string($date-time) Server-supplied timestamp showing time of Message delivery to recipient's inbox queue | referenceMessageId | string($uuid) | responseType | string Enum: Array [ 3 ] | wmdaRemark | [...] |
|
|
|
| |
6.3 Text message [TXT_MSG]
The TXT_MSG is useful to convey notes or comments pertaining to a particular patient, donor, or patient/donor pair.
Note: Since Warnings are going to be automated, we must keep Text Messages as the only means for user communication left.
Message structure:
Send | Retrieve |
---|
TextMessageRequest | |
Field | Details |
---|
payload* | Field | Details |
---|
patient | Embedded Patient Block | donor | Embedded Donor Block | text | string nullable: trueText. Note that text over 1200 characters will be truncated if recipient is EMDIS | sentDate | string($date-time) nullable: trueDate sent SENT_DATE Opt 8 |
|
| recipient* | string maximum: 9999 minimum: 0 maxLength: 4 minLength: 4 example: 12344 digit ION of recipient | correlationGuid* | string($uuid) Sender generated GUID used to correlate response acknowledgement |
|
Field | Details |
---|
wmdaResponse | Field | Details |
---|
sender | string maximum: 9999 minimum: 0 maxLength: 4 minLength: 4 example: 56784 digit ION of sender | deliveredAtUtc | string($date-time) Server-supplied timestamp showing time of Message delivery to recipient's inbox queue | referenceMessageId | string($uuid) | responseType | stringEnum: Array [ 3 ] | wmdaRemark | [...] |
|
|
|
| Field | Details |
---|
sender* | string maxLength: 4 minLength: 4 example: 56784 digit ION of sender | sentAtUtc* | string($date-time) Server-supplied timestamp showing UTC time sender posted (i.e. sent) MessageRequest. | deliveredAtUtc* | string($date-time) Server-supplied timestamp showing UTC time of Message delivery to recipient's inbox queue. | payload* | {...} | recipient* | string maximum: 9999 minimum: 0 maxLength: 4 minLength: 4 example: 12344 digit ION of recipient | correlationGuid* | string($uuid) Sender generated GUID used to correlate response acknowledgement | messageType | string Message types supported by WmdaConnect Enum: Array [ 21 ] |
|
|
6.4 Alert message
The Alert message is used to broadcast an important information about the system, like planned service outage. Messages are generated centrally by WMDA. Members are expected to display them to the users.
Message structure:
Send | Retrieve |
---|
| AlertRetrieve |
Alerts can only be sent by the WMDA's central system | Field | Details |
---|
level | string alert level. enums may change Enum: Array [ 3 ] | status | string check later Enum: Array [ 2 ] | message | string maxLength: 1024 example: WMDA will do maintenance on SMC system on the weekend of 10 march | metaInformation | Embedded Meta Block |
|
|
6.5 Alert Update message
The Alert Update message is used to broadcast an update about some previous alert. Messages are generated centrally by WMDA. Members are expected to display them to the users.
Message structure:
Send | Retrieve |
---|
| AlertUpdateRetrieve |
Alert updates can only be sent by the WMDA's central system | Field | Details |
---|
alertReferenceIdentifier | string($uuid) | level | string alert level. enums may change Enum: Array [ 3 ] | status | string check later Enum: Array [ 2 ] | message | string maxLength: 1024 example: WMDA will do maintenance on SMC system on the weekend of 10 march | metaInformation | Embedded Meta Block |
|
|