ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
179 stars 110 forks source link

commit param auditSystemId should comply with the regex for version.uid.system_id #923

Closed ppazos closed 6 years ago

ppazos commented 6 years ago

Now the version.uid will come empty and be assigned by the server.

The XML is validated before assigning the version.uid.

In the latest change to the XSD, the system_id part of the version.uid was validated with a regex that allows certain characters.

Now the commit assigns the version.uid.system_id part to the auditSystemId parameter, so it should comply with the regex and be validated by hand on the commit, so after adding the version.uid, the resulting XML complies with the XSD.