{% extends "remapp/base.html" %} {% block navhelp %}
Use this form to create or modify the name patterns
{% if admin.admingroup %} {% load crispy_forms_tags %} {% crispy form %} {% else %}Only users in the Admin group can create or modify name patterns.
{% endif %}The patient name and the ID are matched against the patterns you configure. The patterns make use of wildcards as per the following table, and are case insensitive:
Pattern | Meaning |
---|---|
* | matches everything |
? | matches any single character |
[seq] | matches any character in seq |
[!seq] | matches any character not in seq |
To match all studies where the patient name begins with physics
, the pattern should be set to
physics*
. This would match Physics^RoutIQ
but not match Testing^Physics
because there was no wildcard at the start of the pattern. The patient name in DICOM is normally formatted
Family name^Given name^Middle name^Prefix^Suffix
. Therefore to match any studies where the first name
is Test
, you would set the pattern to be *^test*
(although this would also match a
middle name, prefix or suffix equal to test
if they were present!
If your test patient name always starts with PHY
and then a number, you might use this pattern:
phy[0-9]*
. Here we have used a range for the sequence to match any number, but it will only match one
character per sequence, so a *
is required to match all the characters after the first number. This
pattern will match Phy12345
and PHY6test
but not Phyliss
.
OpenREM releases before 0.8 had the not-patient identification patterns hard-coded. From release 0.8.0 the patterns are (admin) user configurable, but will start with no patterns in place. To add the patterns that would maintain the behaviour of previous releases, click here.