Index: sources/gui/qml/globals/Variables.qml =================================================================== diff -u -r1f9e84f74ead9e10577c8caa204c6eb911e12ab8 -rb4d8fe6f11b7cdf0c631b3ab35ba36f18e0d7bc4 --- sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision 1f9e84f74ead9e10577c8caa204c6eb911e12ab8) +++ sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision b4d8fe6f11b7cdf0c631b3ab35ba36f18e0d7bc4) @@ -274,6 +274,7 @@ // it is prefered to use the regExp instead of the RegExpValidator // otherwise an extra RegExpValidator object will always created here. readonly property var regExp_PatientID: /[A-Za-z0-9_\-\.]{1,64}/ + readonly property var regExp_RxProfileName: /[A-Za-z0-9\s]{1,30}/ readonly property string emptyEntry : "-- --"