nmdp-bioinformatics / hml

Histoimmunogenetics Markup Language (HML).
GNU Lesser General Public License v3.0
3 stars 5 forks source link

Proposal: id-type attribute for sample element #48

Open dvaliga opened 5 years ago

dvaliga commented 5 years ago

The element currently has optional "id" and "center-code" attributes.
At NMDP, for operational intake, these are both required. But the format of the incoming 'id' can now vary depending on the source of the sample (international vs internal 9-digit DID vs GRID vs ???)

Proposal to add an additional attribute called something like "id-type" where the type of ID, for example "GRID", can be specified. This would allow processing applications to easily apply format rules to the id field as well as route the test result correctly without having to guess at the type of ID that was submitted.