Stream: implementers
Topic: RegEx Pattern in Patient name element
Krishna Moorthi (Jun 22 2021 at 14:11):
Hi,
I have a question regarding RegEx pattern.
How would you implement RegEx in Patient.name.family element?
For RegEx example : Ƴąɓçđɗęħįƙłøơşșţțŧųưy̨ƴÁÀÂÄǍĂĀÃÅǺĄÆǼǢƁĆĊĈČÇĎḌĐƊÐÉÈĖÊËĚĔĒĘẸƎƏƐĠĜǦĞĢƔáàâäǎăāãåǻąæǽǣɓćċĉčçďḍđɗðéèėêëěĕēęẹǝəɛġĝǧğģɣĤḤĦIÍÌİÎÏǏĬĪĨĮỊIJĴĶƘĹĻŁĽĿ
Any help or suggestions is very much appreciated
Thanks
David Pyke (Jun 22 2021 at 14:30):
Your regex example shows up as corrupted text to me.
Krishna Moorthi (Jun 22 2021 at 14:46):
@David Pyke sorry, Is there any documentation to add regex in the profile elements ?
David Pyke (Jun 22 2021 at 14:54):
There is a regex validation extension here that can be applied via a profile
Krishna Moorthi (Jun 29 2021 at 10:33):
Hi @David Pyke/ all - I have created a constraint in patient profile as regex-1 with severity "error" and expression as Patient.name.family.matches("a?b+$"). I try to validate with invalid value for family name , it doesn't throw any error.
can you please provide any suggestions ?
Krishna Moorthi (Jun 29 2021 at 12:25):
Finally, this issue is resolved instead of Patient.name.family.matches("a?b+$") to $this.matches("a?b+$")
Last updated: Apr 12 2022 at 19:14 UTC