Skip to content

Conversation

@fedoralina
Copy link

validate Pat.-ID is now fundamental for the logic that meets our requirements (the previous “basic auth” logic), i.e., entry of the 10-digit pat-id, processing with 9 digits in gpas, display as 10 digits in the record (if desired). Optionally, 9-digit input is still allowed – leading 0s are still not accepted.

This check takes place both in theextpsn_labelsearch and in the extpsn_label entry (in our case, the search acts as a preliminary check to see whether the pat-id is already stored in REDCap as a record - better said in gPAS. Only if this is not the case, a patient creation is suggested to be executed in the next step (the input from the search is transferred; the checks take place internally as usual).

The functionalities from TestCases.md (Validate Pat.-ID (extID) Logic) are tested and work as expected.

makampf and others added 30 commits January 17, 2025 10:43
integration of basic auth, gpas only logic, init check digit validation
check digit validation and 9 digit input, update configuration view
update UI for more user-friendly information provision
index.php Outdated
// redcap log
Logging::logEvent('', $module->getModuleName(), "OTHER", '', $sExtPS.": ".$sPSN, "extID: psn created");

if ($module->getProjectSetting("save_sap_id") == true) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

würde ich so lassen wie es ist: "save_sap_id" ist nur als config Option in Kombination mit der Nutzung von SAP gedacht. Im "extpsn" Modus ist die ID ja nur zufällig eine SAP-ID und da greift die config-Option "extpsn_field", wenn man die ID in REDCap speichern möchte.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

angepasst

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants