edits.seer.internal.rules.Patient_ID_Number.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="Patient_ID_Number" name="Patient ID Number (SEER CASENUM)" tag="N0058" java-path="lines.line" category="field"> <expression><![CDATA[return line.patientIdNumber != null && Functions.matches(line.patientIdNumber, /^[0-9]{8}$/)]]></expression> <message>Patient ID number is not valid.</message> <description><![CDATA[The Patient ID number[20] is a unique number assigned to the patient by SEER participant (00000000-99999999).]]></description> <history> <event version="SE11-001-01" user="greend" date="1985-11-29">The length of the Patient ID number field has been expanded from seven to eight characters.</event> <event version="SE11-001-04" user="greend" date="1988-05-25">All eight characters must be numeric (i.e. the last position may not be blank).</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> </history> </rule>