The RDE plugin is designed for clinical study based collections where the type of specimens and collection schedule is well defined. It is dependent on well-defined label formats for participants, visits and specimens which can be preprinted either from OpenSpecimen or generated outside.
The RDE plugin allows you to do the following:
It is meant for high-throughput clinical studies or trials where 5-10 patients visit the clinic every day.
The typical workflow of clinical studies is: A participant visits a clinic where the primary specimens are collected (e.g. whole blood, tissue, urine, etc) based on the event time point (e.g. day 0 - screening, day 30 - pre-op, etc). These primary specimens are then sent to the lab for further processing like DNA, RNA, and/or aliquoting.
RDE can be configured to mimic this workflow. Once RDE is configured, 'Rapid Collection' button is visible on the 'View Participants' list page of the CP.
Step1: Register participants Data fields required for this step is configurable. Multiple participants can be registered at once. Existing participants can be entered in this step to add specimens for follow-up visits. Step2: Select visit under which the specimens needs to be accessioned The visit selected can be different per participant. If existing participants are entered in the first step, the matching participants are populated in this step Step3: Enter details about primary samples collected Based on the protocol definition, the primary samples to be collected is shown for each participant and visit. User can select the ones that are collected and mark the ones that are missed. Step4, Option 1: Scan aliquots inbox view, this is useful if a box scanner is used and the order of scanning the aliquots is fixed. Different box layouts can be defined per type, CP, etc. The order of scanning the aliquots is determined by the order of requirements defined in the CP. If some samples are not processed as per CP, those slots can be left empty. Step4, Option 2: Processing aliquots: Scan aliquots directly in actual container boxes. The system will show a list of available storage boxes. Users can select specific boxes and scan labels or barcodes. This will mark the aliquots as collected and store them in specific boxes. For this option to work, the CP should have pre-defined label formats and pre-print option checked so that the labels are auto-generated for pending aliquots. Step5: Configurable to add additional details about the aliquots. Any fields like frozen time, spun time etc. can be entered for all aliquots in this page. This is an optional step and can be configured to show specific fields per aliquot. |
URL | http://<host>:<port>/ openspecimen/rest/ng/collection-protocols/{id}/workflows | |
Method | PUT | |
Request | application/json | |
Example json |
|
Previously on the RDE visit screen, the only visit field was 'Event name'. The system used to autogenerate the visit names according to the default format or the one provided by the user. Now the visit name can be taken as user input and used as a part of the specimen labels. Add the below-mentioned code block in the section 'regFields' of the JSON to add the visit name field on the 'Collect Visit Details' page. Refer to page Configuring RDE for details on JSON configuration
The 'Collect Visit Details' page would look like the screenshot mentioned below, where the field 'Requisition ID' is the visit name |
This feature allows the user to:
... { "name": "rde", "data": { ... "collectionWorkflow": "standard" ... } } ... |
[ { "name" : "specimenCollection", "view" : null, "ctrl" : null, "data" : { "showVisitDetails" : true, "showCollectionEvent" : false, "showReceivedEvent" : false, "defReceiveQuality" : "Acceptable", "fieldGroups" : [ { "title" : "Primary Specimen Details", "criteria" : { "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" } ] }, "enableCofrc" : false, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.receivedEvent.receivedQuality", "baseField" : "specimen.receivedEvent.receivedQuality" }, { "name" : "specimen.biohazards", "baseField" : "specimen.biohazards" }, { "name" : "specimen.extensionDetail.attrsMap.DD5", "baseField" : "specimen.extensionDetail.attrsMap.DD5" }, { "name" : "specimen.collectionEvent.procedure", "baseField" : "specimen.collectionEvent.procedure" }, { "name" : "specimen.collectionEvent.time", "baseField" : "specimen.collectionEvent.time" }, { "name" : "specimen.extensionDetail.attrsMap.DD6", "baseField" : "specimen.extensionDetail.attrsMap.DD6" }, { "name" : "specimen.receivedEvent.time", "baseField" : "specimen.receivedEvent.time" }, { "name" : "specimen.extensionDetail.attrsMap.DD8", "baseField" : "specimen.extensionDetail.attrsMap.DD8" }, { "name" : "specimen.createdBy", "baseField" : "specimen.createdBy", "caption" : "Processed By User" }, { "name" : "specimen.createdOn", "baseField" : "specimen.createdOn", "caption" : "Processed Time" }, { "name" : "specimen.extensionDetail.attrsMap.DD9", "baseField" : "specimen.extensionDetail.attrsMap.DD9" } ] }, { "title" : "Derived: Processing details", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Derived'" } ] }, "enableCofrc" : false, "hideTable" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.createdOn", "baseField" : "specimen.createdOn", "caption" : "Processed Time" }, { "name" : "specimen.extensionDetail.attrsMap.DD9", "baseField" : "specimen.extensionDetail.attrsMap.DD9" }, { "name" : "specimen.createdBy", "baseField" : "specimen.createdBy", "caption" : "Processed By User" } ] }, { "title" : "Frozen Details: Blood Samples", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" }, { "field" : "specimen.type", "op" : ".search('CBMC|Cord Blood, Arterial|Cord Blood, venous|Granulocytes|PBMC|Plasma, Lith Hep|Plasma, spun once, EDTA Potassium|Serum|Whole Blood|Whole blood, Clot activated|Whole Blood, EDTA|Whole Blood, FACS|Whole Blood, Lith Hep|Whole Blood, NH Trace|Whole Blood, PAX|Whole Blood, RPMI') != ", "value" : "-1" } ] }, "enableCofrc" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "events.SpecimenFrozenEvent.time", "baseField" : "specimen.events.SpecimenFrozenEvent.time" }, { "name" : "events.SpecimenFrozenEvent.user", "baseField" : "specimen.events.SpecimenFrozenEvent.user", "caption" : "Frozen By" }, { "name" : "events.SpecimenFrozenEvent.comments", "baseField" : "specimen.events.SpecimenFrozenEvent.comments" }, { "name" : "events.SpecimenFrozenEvent.frozenMethod", "baseField" : "specimen.events.SpecimenFrozenEvent.frozenMethod", "caption" : "Frozen Method", "defaultValue" : "Not Specified", "hideColumn" : true } ] }, { "title" : "Frozen Details: Other Samples", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" }, { "field" : "specimen.type", "op" : ".search('CBMC|Cord Blood, Arterial|Cord Blood, venous|Granulocytes|PBMC|Plasma, Lith Hep|Plasma, spun once, EDTA Potassium|Serum|Whole Blood|Whole blood, Clot activated|Whole Blood, EDTA|Whole Blood, FACS|Whole Blood, Lith Hep|Whole Blood, NH Trace|Whole Blood, PAX|Whole Blood, RPMI|Placenta, MR|Placenta, MM|Placenta, MRNA|Placenta|Placenta, MB|Placenta, PVC|Placenta, PV|Placenta, PVRNA|Placenta, PD|Placenta, membrane|Placenta, biopsy') == ", "value" : "-1" } ] }, "enableCofrc" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "events.SpecimenFrozenEvent.time", "baseField" : "specimen.events.SpecimenFrozenEvent.time" }, { "name" : "events.SpecimenFrozenEvent.user", "baseField" : "specimen.events.SpecimenFrozenEvent.user", "caption" : "Frozen By" }, { "name" : "events.SpecimenFrozenEvent.comments", "baseField" : "specimen.events.SpecimenFrozenEvent.comments" }, { "name" : "events.SpecimenFrozenEvent.frozenMethod", "baseField" : "specimen.events.SpecimenFrozenEvent.frozenMethod", "caption" : "Frozen Method", "defaultValue" : "Not Specified", "hideColumn" : true } ] }, { "title" : "Viability for CBMC/PBMC", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" }, { "field" : "specimen.type", "op" : ".search('CBMC|PBMC') != ", "value" : "-1" } ] }, "enableCofrc" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.extensionDetail.attrsMap.NT4", "baseField" : "specimen.extensionDetail.attrsMap.NT4", "caption" : "Viability" } ] }, { "title" : "Aliquot: Processing details", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" } ] }, "enableCofrc" : true, "hideTable" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.createdOn", "baseField" : "specimen.createdOn", "caption" : "Processed Time" }, { "name" : "specimen.createdBy", "baseField" : "specimen.createdBy", "caption" : "Processed By User" } ] } ] } }, { "name" : "rde", "view" : null, "ctrl" : null, "data" : { "lookupVisit" : "true", "collectionWorkflow" : "standard", "regFields" : [ { "name" : "cpr.ppid", "baseField" : "cpr.ppid", "caption" : "ORIGINS Pregnancy Number" }, { "name" : "cpr.participant.birthDate", "baseField" : "cpr.participant.birthDate", "caption" : "Date Of Birth", "width" : "40px" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD5", "baseField" : "cpr.participant.extensionDetail.attrsMap.DD5", "caption" : "Origins Study Status", "width" : "40px", "type" : "span" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD15", "baseField" : "cpr.participant.extensionDetail.attrsMap.DD15", "caption" : "Mother Consent Form Level", "width" : "40px", "type" : "span" }, { "name" : "cpr.participant.extensionDetail.attrsMap.MLB16", "baseField" : "cpr.participant.extensionDetail.attrsMap.MLB16", "caption" : "Is the mother part of Nested Study?", "width" : "40px", "type" : "span" } ], "visitFields" : [ [ { "name" : "visit.visitDate", "baseField" : "visit.visitDate" } ] ], "specimenFields" : [ { "title" : "Collection Event", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" } ] }, "enableCofrc" : false, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.initialQty", "baseField" : "specimen.initialQty" }, { "name" : "specimen.collectionEvent.user", "baseField" : "specimen.collectionEvent.user" }, { "name" : "specimen.collectionEvent.time", "baseField" : "specimen.collectionEvent.time" } ] }, { "title" : "Maternal Urine Type", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.type", "op" : "==", "value" : "'Urine, random'" } ] }, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.extensionDetail.attrsMap.DD2", "baseField" : "specimen.extensionDetail.attrsMap.DD2" } ] }, { "title" : "Maternal Breast Expression Type", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.type", "op" : "==", "value" : "'Breast Milk'" } ] }, "enableCofrc" : false, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.extensionDetail.attrsMap.DD3", "baseField" : "specimen.extensionDetail.attrsMap.DD3" } ] }, { "title" : "Urine Aliquot Details", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" }, { "field" : "specimen.type", "op" : "==", "value" : "'Urine, random'" } ] }, "enableCofrc" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.initialQty", "baseField" : "specimen.initialQty" }, { "name" : "specimen.storageLocation", "baseField" : "specimen.storageLocation" }, { "name" : "events.SpecimenFrozenEvent.frozenMethod", "baseField" : "specimen.events.SpecimenFrozenEvent.frozenMethod", "hideColumn" : true }, { "name" : "events.SpecimenFrozenEvent.time", "baseField" : "specimen.events.SpecimenFrozenEvent.time" } ] }, { "title" : "Breast Milk Aliquot Details", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" }, { "field" : "specimen.type", "op" : "==", "value" : "'Breast Milk'" } ] }, "enableCofrc" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.initialQty", "baseField" : "specimen.initialQty" }, { "name" : "specimen.storageLocation", "baseField" : "specimen.storageLocation" }, { "name" : "events.SpecimenFrozenEvent.frozenMethod", "baseField" : "specimen.events.SpecimenFrozenEvent.frozenMethod", "hideColumn" : true }, { "name" : "events.SpecimenFrozenEvent.time", "baseField" : "specimen.events.SpecimenFrozenEvent.time" } ] } ], "showPrintLabels" : false, "missedReasonReq" : false, "boxScanning" : true, "boxLayouts" : [ { "rows" : 8, "columns" : 12, "newRowOnChange" : [ "ppid" ], "cellWidth" : "200px", "criteria" : { "op" : "OR", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Serum'" } ] } }, { "rows" : 6, "columns" : 8, "newRowOnChange" : [ "ppid" ], "cellWidth" : "200px", "criteria" : { "op" : "OR", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Plasma, Lith Hep'" } ] } }, { "rows" : 8, "columns" : 8, "newRowOnChange" : [ "ppid" ], "cellWidth" : "200px", "criteria" : { "op" : "OR", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Breast Milk'" } ] } }, { "rows" : 10, "columns" : 10, "newRowOnChange" : [ "ppid" ], "cellWidth" : "200px", "criteria" : { "op" : "OR", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Urine, random'" } ] } } ], "emailNotifs" : { }, "spmnScanning" : { } } }, { "name" : "dictionary", "view" : null, "ctrl" : null, "data" : { "fields" : [ { "name" : "cpr.ppid", "caption" : "ORIGINS Pregnancy Number", "type" : "text", "optional" : false, "showIf" : { "op" : "OR", "rules" : [ { "field" : "cp.ppidFmt", "op" : "not_exist" }, { "field" : "cp.manualPpidEnabled", "op" : "exists" } ] } }, { "name" : "cpr.participant.extensionDetail.attrsMap.NT28", "caption" : "ORIGINS Unique ID", "type" : "text", "optional" : true }, { "name" : "cpr.participant.birthDate", "caption" : "Date of Birth", "type" : "date", "dateOnly" : true, "optional" : true }, { "name" : "cpr.registrationDate", "caption" : "Registration Date", "type" : "date", "dateOnly" : true, "optional" : true, "defaultValue" : "current_date" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DP3", "caption" : "Estimated Date of Delivery", "type" : "date", "optional" : true }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD20", "caption" : "Birthing Hospital", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD20" } } } }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST29", "caption" : "Please specify other Hospital", "type" : "text", "optional" : true }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD13", "caption" : "Obstetrician", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD13" } } }, "showIf" : { "op" : "AND", "rules" : [ { "field" : "cpr.participant.extensionDetail.attrsMap.DD20", "op" : "==", "value" : "'JHC Private'" } ] } }, { "name" : "cpr.participant.deathDate", "caption" : "Deceased Date", "type" : "date", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "cpr.participant.vitalStatus", "op" : "==", "value" : "'Deceased'" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD5", "caption" : "ORIGINS Study Status", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD5" } } } }, { "name" : "cpr.participant.extensionDetail.attrsMap.DP6", "caption" : "Date of withdrawal", "type" : "date", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "cpr.participant.extensionDetail.attrsMap.DD5", "op" : "==", "value" : "'Withdrawn'" } ] }, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.DP6" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD7", "caption" : "Level of Withdrawal", "type" : "dropdown", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "cpr.participant.extensionDetail.attrsMap.DD5", "op" : "==", "value" : "'Withdrawn'" } ] }, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD7" } } }, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.DD7" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DP8", "caption" : "Date Samples Destroyed", "type" : "date", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "cpr.participant.extensionDetail.attrsMap.DD5", "op" : "==", "value" : "'Withdrawn'" }, { "field" : "cpr.participant.extensionDetail.attrsMap.DD7", "op" : "==", "value" : "'No further follow-up with samples destroyed'" } ] }, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.DP8" }, { "name" : "cpr.participant.extensionDetail.attrsMap.RB9", "caption" : "Has the mother consented to DNA analysis?", "type" : "radio", "optional" : true, "options" : [ "Yes", "No" ] }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD11", "caption" : "Enrolment Gestation", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD11" } } } }, { "name" : "cpr.participant.extensionDetail.attrsMap.TA14", "caption" : "Comments", "type" : "textarea", "optional" : true }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD15", "caption" : "Mother Consent Form Level", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD15" } } } }, { "name" : "cpr.participant.extensionDetail.attrsMap.MLB16", "caption" : "Is the mother part of Nested Study?", "type" : "dropdown", "multiple" : true, "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "MLB16" } } } }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST30", "caption" : "SYMBA ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST30" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST31", "caption" : "BENEFIT ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST31" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST32", "caption" : "TALK ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST32" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST33", "caption" : "ENGAGE ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST33" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST34", "caption" : "AERIAL ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST34" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST35", "caption" : "PREGGNUT ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST35" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST36", "caption" : "EARLYMOVES ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST36" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST37", "caption" : "SCREENS ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST37" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST38", "caption" : "SUNPREG ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST38" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST39", "caption" : "ACE ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST39" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST40", "caption" : "MMM ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST40" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST41", "caption" : "CUB ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST41" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST42", "caption" : "COCOON ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST42" }, { "name" : "visit.name", "caption" : "Visit Name", "type" : "text", "optional" : true, "showIf" : { "op" : "OR", "rules" : [ { "field" : "cp.visitNameFmt", "op" : "not_exist" }, { "field" : "cp.manualVisitNameEnabled", "op" : "exists" } ] } }, { "name" : "visit.status", "caption" : "Status", "type" : "dropdown", "optional" : true, "listSource" : { "options" : [ { "value" : "Pending" }, { "value" : "Missed Collection" }, { "value" : "Complete" } ], "displayProp" : "value", "selectProp" : "value" } }, { "name" : "visit.missedBy", "caption" : "Missed By", "type" : "user", "defaultValue" : "current_user", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "==", "value" : "'Missed Collection'" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "visit.missedReason", "caption" : "Missed Reason", "type" : "pvs", "attr" : "missed-visit-reason", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "==", "value" : "'Missed Collection'" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "visit.visitDate", "caption" : "Visit Date", "type" : "date", "defaultValue" : "current_date", "optional" : false }, { "name" : "visit.site", "caption" : "Site", "type" : "dropdown", "multiple" : false, "optional" : false, "listSource" : { "apiUrl" : "sites", "displayProp" : "name", "selectProp" : "name", "queryParams" : { "dynamic" : { }, "static" : { "listAll" : true } } }, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "!=", "value" : "'Missed Collection'" } ] } }, { "name" : "visit.clinicalDiagnoses", "caption" : "Clinical Diagnoses", "type" : "pvs", "attr" : "clinical_diagnosis", "optional" : true, "multiple" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "!=", "value" : "'Missed Collection'" } ] } }, { "name" : "visit.clinicalStatus", "caption" : "Clinical Status", "type" : "pvs", "attr" : "clinical-status", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "!=", "value" : "'Missed Collection'" } ] } }, { "name" : "visit.surgicalPathologyNumber", "caption" : "Surgical Pathology Number", "type" : "text", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "!=", "value" : "'Missed Collection'" } ] } }, { "name" : "visit.comments", "caption" : "Comments", "type" : "textarea", "optional" : true }, { "name" : "specimen.label", "caption" : "Label", "type" : "text", "optional" : true, "showIf" : { "op" : "OR", "rules" : [ { "field" : "specimen.labelFmt", "op" : "not_exist" }, { "field" : "cp.manualSpecLabelEnabled", "op" : "exists" } ] } }, { "name" : "specimen.barcode", "caption" : "Barcode", "type" : "text", "optional" : true }, { "name" : "specimen.lineage", "caption" : "Lineage", "type" : "radio", "optional" : false, "options" : [ { "value" : "New", "caption" : "New" }, { "value" : "Derived", "caption" : "Derived" }, { "value" : "Aliquot", "caption" : "Aliquot" } ] }, { "name" : "specimen.status", "caption" : "Collection Status", "type" : "dropdown", "optional" : true, "listSource" : { "selectProp" : "value", "displayProp" : "value", "options" : [ { "value" : "Collected" }, { "value" : "Missed Collection" }, { "value" : "Pending" } ] } }, { "name" : "specimen.type", "caption" : "Type", "type" : "specimen-type", "specimen" : "specimen", "optional" : false, "defaultValue" : "Not Specified", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "!=", "value" : "'Aliquot'" } ] } }, { "name" : "specimen.initialQty", "caption" : "Initial Quantity", "type" : "specimen-quantity", "specimen" : "specimen", "optional" : true }, { "name" : "specimen.availableQty", "caption" : "Available Quantity", "type" : "specimen-quantity", "showInOverviewIf" : "useShowIf", "specimen" : "specimen", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" } ] }, "optional" : true }, { "name" : "specimen.concentration", "caption" : "Concentration", "type" : "specimen-quantity", "specimen" : "specimen", "measure" : "concentration", "pattern" : "/^([0-9]+|[0-9]*\\.?[0-9]+[e]?[+-]?[0-9]*)$/", "optional" : true }, { "name" : "specimen.parentLabel", "caption" : "Parent Specimen", "type" : "text", "optional" : false, "url" : "specimen({specimenId: specimen.parentId})", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "!=", "value" : "'New'" } ] }, "modelOpts" : { "updateOn" : "blur" }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.biohazards", "caption" : "Biohazards", "type" : "pvs", "multiple" : true, "attr" : "specimen-biohazard", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.extensionDetail.attrsMap.DD5", "caption" : "Method of transport", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD5" } } } }, { "name" : "specimen.extensionDetail.attrsMap.DD6", "caption" : "Collection Details", "type" : "dropdown", "showInOverviewIf" : "!!specimen.extensionDetail.attrsMap.DD6", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD6" } } } }, { "name" : "specimen.extensionDetail.attrsMap.DD8", "caption" : "Received Details", "type" : "dropdown", "showInOverviewIf" : "!!specimen.extensionDetail.attrsMap.DD8", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD8" } } } }, { "name" : "specimen.extensionDetail.attrsMap.DD9", "caption" : "Processing Details", "type" : "dropdown", "showInOverviewIf" : "!!specimen.extensionDetail.attrsMap.DD9", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD9" } } } }, { "name" : "specimen.storageLocation", "caption" : "Location", "type" : "storage-position", "optional" : true, "cpId" : "specimen.cpId", "entity" : "specimen", "url" : "container-detail.locations({containerId: specimen.storageLocation.id})", "subFields" : [ { "name" : "name", "caption" : "Container Name" }, { "name" : "positionY", "caption" : "Container Row" }, { "name" : "positionX", "caption" : "Container Column" } ] }, { "name" : "specimen.createdOn", "caption" : "Created On", "type" : "datetime", "optional" : false, "copyValueFn" : "function(firstRowVal, currentVal) { if (!!currentVal) { return currentVal; } else { return ''; } }", "defaultValue" : "current_date", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "!=", "value" : "'New'" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.createdBy", "caption" : "Created By", "type" : "user", "defaultValue" : "current_user", "optional" : true, "copyValueFn" : "function(firstRowVal, currentVal) { if (!!currentVal) { return currentVal; } else { return ''; } }", "listSource" : { "queryParams" : { "static" : { "excludeType" : "CONTACT" } } } }, { "name" : "specimen.freezeThawCycles", "caption" : "Freeze Thaw Cycles", "type" : "text", "optional" : true, "pattern" : "/^[0-9][0-9]*$/" }, { "name" : "specimen.incrParentFreezeThaw", "caption" : "Increment parent specimen's Freeze/Thaw cycles?", "type" : "radio", "optional" : true, "options" : [ { "caption" : "Yes", "value" : 1 }, { "caption" : "No", "value" : 0 } ], "showInOverviewIf" : "!!specimen.incrParentFreezeThaw" }, { "name" : "specimen.comments", "caption" : "Comments", "type" : "textarea", "optional" : true }, { "name" : "specimen.collectionEvent.time", "caption" : "Collection Date & Time", "type" : "datetime", "defaultValue" : "current_date", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.collectionEvent.user", "caption" : "Collector", "type" : "user", "defaultValue" : "current_user", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf", "subFields" : [ { "name" : "emailAddress", "caption" : "Collector Email Address" } ] }, { "name" : "specimen.collectionEvent.container", "caption" : "Collection Container", "type" : "pvs", "attr" : "collection-container", "optional" : true, "defaultValue" : "Not Specified", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.collectionEvent.procedure", "caption" : "Collection Procedure", "type" : "pvs", "attr" : "collection-procedure", "copyValueFn" : "function(firstRowVal, currentVal) { if (!!currentVal) { return currentVal; } else { return ''; } }", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.receivedEvent.user", "caption" : "Receiver", "type" : "user", "defaultValue" : "current_user", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf", "subFields" : [ { "name" : "emailAddress", "caption" : "Collector Email Address" } ] }, { "name" : "specimen.receivedEvent.time", "caption" : "Received Date & Time", "type" : "datetime", "defaultValue" : "current_date", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.receivedEvent.receivedQuality", "caption" : "Received Quality", "type" : "pvs", "attr" : "received-quality", "defaultValue" : "Acceptable", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.externalIds", "type" : "collection", "fields" : [ { "name" : "name", "caption" : "External Name", "type" : "text", "optional" : true }, { "name" : "value", "caption" : "External Value", "type" : "text", "optional" : true } ] }, { "name" : "specimen.extensionDetail.attrsMap.DD2", "caption" : "Urine Type", "type" : "dropdown", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Urine'" } ] }, "showInOverviewIf" : "useShowIf", "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD2" } } } }, { "name" : "specimen.extensionDetail.attrsMap.DD3", "caption" : "Breast Milk Expression Type", "type" : "dropdown", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Breast Milk'" } ] }, "showInOverviewIf" : "useShowIf", "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD3" } } } }, { "name" : "specimen.extensionDetail.attrsMap.NT4", "caption" : "Viability", "type" : "text", "optional" : true, "showInOverviewIf" : "!!specimen.extensionDetail.attrsMap.NT4", "pattern" : "/^[1-9][0-9]*$/" }, { "name" : "specimen.events.SpecimenFrozenEvent.time", "caption" : "Frozen Time", "type" : "datetime", "defaultValue" : "current_date" }, { "name" : "specimen.events.SpecimenFrozenEvent.user", "caption" : "Frozen By", "type" : "user", "defaultValue" : "current_user" }, { "name" : "specimen.events.SpecimenFrozenEvent.frozenMethod", "caption" : "Frozen Method", "type" : "pvs", "attr" : "frozen_method", "defaultValue" : "Not Specified" }, { "name" : "specimen.events.SpecimenFrozenEvent.comments", "caption" : "Frozen Comments", "type" : "textarea" } ], "onValueChange" : { "specimen.createdBy" : [ "function(opts) {", " var user = opts.fns.get(opts.object, opts.field); ", " opts.viewCtx.setToAllChildren(opts.object, opts.field, user, true); ", "}" ], "specimen.createdOn" : [ "function(opts) {", " var user = opts.fns.get(opts.object, opts.field); ", " opts.viewCtx.setToAllChildren(opts.object, opts.field, user, true); ", "}" ], "specimen.extensionDetail.attrsMap.DD9" : [ "function(opts) {", " var user = opts.fns.get(opts.object, opts.field); ", " opts.viewCtx.setToAllChildren(opts.object, opts.field, user, true); ", "}" ] } } }, { "name" : "visitsTab", "view" : null, "ctrl" : null, "data" : { "occurred" : [ { "field" : "visit.name", "baseField" : "visit.name", "width" : "150px" }, { "field" : "visit.visitDate", "baseField" : "visit.visitDate", "width" : "100px" } ], "anticipatedEvents" : [ { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('SYMBA') > -1 && cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('PREGGNUT') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Sym4Mnth", "Preg4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('SYMBA') > -1 && cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('BENEFIT') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Sym4Mnth", "Ben4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('PREGGNUT') > -1 && cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('BENEFIT') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Preg4Mnth", "Ben4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('SYMBA') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Sym4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('PREGGNUT') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Preg4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('BENEFIT') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Ben4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.DD15 == 'Full ORIGINS Project Participation'", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.DD15 == 'Routine Data Collection'", "events" : [ "30WK" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.DD15 == 'Release of Australian Govt Data only'", "events" : [ "None" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.DD15 == null && cpr.participant.extensionDetail.attrsMap.MLB16== null", "events" : [ "None" ] } ] } }, { "name" : "participant-list-view", "view" : null, "ctrl" : null, "data" : { "columns" : [ { "expr" : "Participant.ppid", "caption" : "ORIGINS Pregnancy Number", "metainfo" : { "showLink" : "true" } }, { "expr" : "Participant.customFields.participantInfoForm.oRIGINSUniqueID", "caption" : "ORIGINS Unique ID" }, { "expr" : "Participant.regDate", "caption" : "Registration Date" }, { "expr" : "Participant.customFields.participantInfoForm.participantStudyStatus", "caption" : "Participant Study Status" }, { "expr" : "Participant.customFields.participantInfoForm.participantConsentFormLevel", "caption" : "Participant Consent Form Level" }, { "expr" : "concat(years_between(current_date(), Participant.dateOfBirth), \" yrs\")", "caption" : "Age" } ], "criteria" : "Participant.id exists", "orderBy" : [ { "expr" : "Participant.regDate", "direction" : "desc" } ], "filters" : [ { "expr" : "Participant.ppid", "caption" : "ORIGINS Pregnancy Number", "searchType" : "contains" }, { "expr" : "Participant.customFields.participantInfoForm.oRIGINSUniqueID", "caption" : "Unique ID" }, { "expr" : "Participant.customFields.participantInfoForm.participantStudyStatus", "caption" : "Participant Study Status" }, { "expr" : "Participant.customFields.participantInfoForm.participantConsentFormLevel", "caption" : "Participant Consent Form Level" }, { "expr" : "Participant.regDate", "caption" : "Registration Date" }, { "expr" : "years_between(current_date(), Participant.dateOfBirth)", "caption" : "Age", "temporal" : "true", "metainfo" : { "phi" : "true" } } ] } }, { "name" : "specimenTree", "view" : null, "ctrl" : null, "data" : { "defaultExpandDepth" : 0, "fields" : [ { "name" : "specimen", "caption" : "Description", "type" : "specimen-description", "width" : "30%" }, { "name" : "specimen.label", "baseField" : "specimen.label", "width" : "20%" }, { "name" : "specimen.storageLocation", "baseField" : "specimen.storageLocation", "width" : "20%" }, { "name" : "specimen.availableQty", "baseField" : "specimen.availableQty", "caption" : "Volume", "width" : "10%" } ] } }, { "name" : "specimen-list-view", "view" : null, "ctrl" : null, "data" : { "columns" : [ { "expr" : "Specimen.label", "caption" : "Label", "metainfo" : { "showLink" : "true" } }, { "expr" : "Specimen.createdOn", "caption" : "Created On" }, { "expr" : "Specimen.type", "caption" : "Type" }, { "expr" : "Specimen.availableQty", "caption" : "Quantity", "metainfo" : { "showUnit" : "true", "measure" : "quantity" } }, { "expr" : "concat(Specimen.specimenPosition.containerName, concat_ws(\"\", concat(\" (\", Specimen.specimenPosition.formattedPos, \")\")))", "caption" : "Location" } ], "criteria" : "Specimen.collectionStatus = \"Collected\" and Specimen.activityStatus = \"Active\"", "orderBy" : [ { "expr" : "Specimen.createdOn", "direction" : "desc" } ], "filters" : [ { "expr" : "Specimen.label", "caption" : "Label", "searchType" : "contains" }, { "expr" : "Specimen.lineage", "caption" : "Lineage" }, { "expr" : "Specimen.createdOn", "caption" : "Created On" }, { "expr" : "Specimen.type", "caption" : "Type" }, { "expr" : "Specimen.availableQty", "caption" : "Quantity" } ] } } ] |
Screenshots:
2. Patient-1 (RDE-TST-001): Shows standard specimen collection page based on the above JSON configuration and it skips the RDE layout. 3. Shows nth steps if present in the JSON workflow as below, 4. Once submitted, it navigates to the collection page for second patient (RDE-TST-002) |
To reuse the existing visit for the timepoint selected during RDE data entry instead of creating a new visit, the following attribute should be added to the RDE section of the workflow JSON:
... ... { "name": "rde", "data": { ... "lookupVisit": "true" ... } } ... |
Use-cases: During RDE data entry, if above flag(lookupVisit) is set to true, below are different usecases how it will work when a timepoint is selected and user proceeds to collect specimens:
Sr No. | Test Case | Results |
---|---|---|
1 | Only one visit exist for the time point selected | Uses the same visit and show all the pending specimen to collect |
2 | No visit exists | Create new visit |
3 | More than one complete visit exists - with different visit dates | Choose the latest visit for collection |
4 | One complete and one pending visit exists | Uses the Pending visit |
5 | One complete and one missed visit exists | Uses the complete visit to collect the pending specimens |
6 | Only 1 missed visit exists | Create new visit |
[ { "name" : "specimenCollection", "view" : null, "ctrl" : null, "data" : { "showVisitDetails" : true, "showCollectionEvent" : false, "showReceivedEvent" : false, "defReceiveQuality" : "Acceptable", "fieldGroups" : [ { "title" : "Primary Specimen Details", "criteria" : { "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" } ] }, "enableCofrc" : false, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.receivedEvent.receivedQuality", "baseField" : "specimen.receivedEvent.receivedQuality" }, { "name" : "specimen.biohazards", "baseField" : "specimen.biohazards" }, { "name" : "specimen.extensionDetail.attrsMap.DD5", "baseField" : "specimen.extensionDetail.attrsMap.DD5" }, { "name" : "specimen.collectionEvent.procedure", "baseField" : "specimen.collectionEvent.procedure" }, { "name" : "specimen.collectionEvent.time", "baseField" : "specimen.collectionEvent.time" }, { "name" : "specimen.extensionDetail.attrsMap.DD6", "baseField" : "specimen.extensionDetail.attrsMap.DD6" }, { "name" : "specimen.receivedEvent.time", "baseField" : "specimen.receivedEvent.time" }, { "name" : "specimen.extensionDetail.attrsMap.DD8", "baseField" : "specimen.extensionDetail.attrsMap.DD8" }, { "name" : "specimen.createdBy", "baseField" : "specimen.createdBy", "caption" : "Processed By User" }, { "name" : "specimen.createdOn", "baseField" : "specimen.createdOn", "caption" : "Processed Time" }, { "name" : "specimen.extensionDetail.attrsMap.DD9", "baseField" : "specimen.extensionDetail.attrsMap.DD9" } ] }, { "title" : "Derived: Processing details", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Derived'" } ] }, "enableCofrc" : false, "hideTable" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.createdOn", "baseField" : "specimen.createdOn", "caption" : "Processed Time" }, { "name" : "specimen.extensionDetail.attrsMap.DD9", "baseField" : "specimen.extensionDetail.attrsMap.DD9" }, { "name" : "specimen.createdBy", "baseField" : "specimen.createdBy", "caption" : "Processed By User" } ] }, { "title" : "Frozen Details: Blood Samples", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" }, { "field" : "specimen.type", "op" : ".search('CBMC|Cord Blood, Arterial|Cord Blood, venous|Granulocytes|PBMC|Plasma, Lith Hep|Plasma, spun once, EDTA Potassium|Serum|Whole Blood|Whole blood, Clot activated|Whole Blood, EDTA|Whole Blood, FACS|Whole Blood, Lith Hep|Whole Blood, NH Trace|Whole Blood, PAX|Whole Blood, RPMI') != ", "value" : "-1" } ] }, "enableCofrc" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "events.SpecimenFrozenEvent.time", "baseField" : "specimen.events.SpecimenFrozenEvent.time" }, { "name" : "events.SpecimenFrozenEvent.user", "baseField" : "specimen.events.SpecimenFrozenEvent.user", "caption" : "Frozen By" }, { "name" : "events.SpecimenFrozenEvent.comments", "baseField" : "specimen.events.SpecimenFrozenEvent.comments" }, { "name" : "events.SpecimenFrozenEvent.frozenMethod", "baseField" : "specimen.events.SpecimenFrozenEvent.frozenMethod", "caption" : "Frozen Method", "defaultValue" : "Not Specified", "hideColumn" : true } ] }, { "title" : "Frozen Details: Other Samples", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" }, { "field" : "specimen.type", "op" : ".search('CBMC|Cord Blood, Arterial|Cord Blood, venous|Granulocytes|PBMC|Plasma, Lith Hep|Plasma, spun once, EDTA Potassium|Serum|Whole Blood|Whole blood, Clot activated|Whole Blood, EDTA|Whole Blood, FACS|Whole Blood, Lith Hep|Whole Blood, NH Trace|Whole Blood, PAX|Whole Blood, RPMI|Placenta, MR|Placenta, MM|Placenta, MRNA|Placenta|Placenta, MB|Placenta, PVC|Placenta, PV|Placenta, PVRNA|Placenta, PD|Placenta, membrane|Placenta, biopsy') == ", "value" : "-1" } ] }, "enableCofrc" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "events.SpecimenFrozenEvent.time", "baseField" : "specimen.events.SpecimenFrozenEvent.time" }, { "name" : "events.SpecimenFrozenEvent.user", "baseField" : "specimen.events.SpecimenFrozenEvent.user", "caption" : "Frozen By" }, { "name" : "events.SpecimenFrozenEvent.comments", "baseField" : "specimen.events.SpecimenFrozenEvent.comments" }, { "name" : "events.SpecimenFrozenEvent.frozenMethod", "baseField" : "specimen.events.SpecimenFrozenEvent.frozenMethod", "caption" : "Frozen Method", "defaultValue" : "Not Specified", "hideColumn" : true } ] }, { "title" : "Viability for CBMC/PBMC", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" }, { "field" : "specimen.type", "op" : ".search('CBMC|PBMC') != ", "value" : "-1" } ] }, "enableCofrc" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.extensionDetail.attrsMap.NT4", "baseField" : "specimen.extensionDetail.attrsMap.NT4", "caption" : "Viability" } ] }, { "title" : "Aliquot: Processing details", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" } ] }, "enableCofrc" : true, "hideTable" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.createdOn", "baseField" : "specimen.createdOn", "caption" : "Processed Time" }, { "name" : "specimen.createdBy", "baseField" : "specimen.createdBy", "caption" : "Processed By User" } ] } ] } }, { "name" : "rde", "view" : null, "ctrl" : null, "data" : { "lookupVisit" : "true", "collectionWorkflow" : "standard", "regFields" : [ { "name" : "cpr.ppid", "baseField" : "cpr.ppid", "caption" : "ORIGINS Pregnancy Number" }, { "name" : "cpr.participant.birthDate", "baseField" : "cpr.participant.birthDate", "caption" : "Date Of Birth", "width" : "40px" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD5", "baseField" : "cpr.participant.extensionDetail.attrsMap.DD5", "caption" : "Origins Study Status", "width" : "40px", "type" : "span" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD15", "baseField" : "cpr.participant.extensionDetail.attrsMap.DD15", "caption" : "Mother Consent Form Level", "width" : "40px", "type" : "span" }, { "name" : "cpr.participant.extensionDetail.attrsMap.MLB16", "baseField" : "cpr.participant.extensionDetail.attrsMap.MLB16", "caption" : "Is the mother part of Nested Study?", "width" : "40px", "type" : "span" } ], "visitFields" : [ [ { "name" : "visit.visitDate", "baseField" : "visit.visitDate" } ] ], "specimenFields" : [ { "title" : "Collection Event", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" } ] }, "enableCofrc" : false, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.initialQty", "baseField" : "specimen.initialQty" }, { "name" : "specimen.collectionEvent.user", "baseField" : "specimen.collectionEvent.user" }, { "name" : "specimen.collectionEvent.time", "baseField" : "specimen.collectionEvent.time" } ] }, { "title" : "Maternal Urine Type", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.type", "op" : "==", "value" : "'Urine, random'" } ] }, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.extensionDetail.attrsMap.DD2", "baseField" : "specimen.extensionDetail.attrsMap.DD2" } ] }, { "title" : "Maternal Breast Expression Type", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.type", "op" : "==", "value" : "'Breast Milk'" } ] }, "enableCofrc" : false, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.extensionDetail.attrsMap.DD3", "baseField" : "specimen.extensionDetail.attrsMap.DD3" } ] }, { "title" : "Urine Aliquot Details", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" }, { "field" : "specimen.type", "op" : "==", "value" : "'Urine, random'" } ] }, "enableCofrc" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.initialQty", "baseField" : "specimen.initialQty" }, { "name" : "specimen.storageLocation", "baseField" : "specimen.storageLocation" }, { "name" : "events.SpecimenFrozenEvent.frozenMethod", "baseField" : "specimen.events.SpecimenFrozenEvent.frozenMethod", "hideColumn" : true }, { "name" : "events.SpecimenFrozenEvent.time", "baseField" : "specimen.events.SpecimenFrozenEvent.time" } ] }, { "title" : "Breast Milk Aliquot Details", "criteria" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" }, { "field" : "specimen.type", "op" : "==", "value" : "'Breast Milk'" } ] }, "enableCofrc" : true, "fields" : [ { "name" : "specimen.label", "baseField" : "specimen.label", "type" : "span" }, { "name" : "specimen.type", "baseField" : "specimen.type", "type" : "span" }, { "name" : "specimen.initialQty", "baseField" : "specimen.initialQty" }, { "name" : "specimen.storageLocation", "baseField" : "specimen.storageLocation" }, { "name" : "events.SpecimenFrozenEvent.frozenMethod", "baseField" : "specimen.events.SpecimenFrozenEvent.frozenMethod", "hideColumn" : true }, { "name" : "events.SpecimenFrozenEvent.time", "baseField" : "specimen.events.SpecimenFrozenEvent.time" } ] } ], "showPrintLabels" : false, "missedReasonReq" : false, "boxScanning" : true, "boxLayouts" : [ { "rows" : 8, "columns" : 12, "newRowOnChange" : [ "ppid" ], "cellWidth" : "200px", "criteria" : { "op" : "OR", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Serum'" } ] } }, { "rows" : 6, "columns" : 8, "newRowOnChange" : [ "ppid" ], "cellWidth" : "200px", "criteria" : { "op" : "OR", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Plasma, Lith Hep'" } ] } }, { "rows" : 8, "columns" : 8, "newRowOnChange" : [ "ppid" ], "cellWidth" : "200px", "criteria" : { "op" : "OR", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Breast Milk'" } ] } }, { "rows" : 10, "columns" : 10, "newRowOnChange" : [ "ppid" ], "cellWidth" : "200px", "criteria" : { "op" : "OR", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Urine, random'" } ] } } ], "emailNotifs" : { }, "spmnScanning" : { } } }, { "name" : "dictionary", "view" : null, "ctrl" : null, "data" : { "fields" : [ { "name" : "cpr.ppid", "caption" : "ORIGINS Pregnancy Number", "type" : "text", "optional" : false, "showIf" : { "op" : "OR", "rules" : [ { "field" : "cp.ppidFmt", "op" : "not_exist" }, { "field" : "cp.manualPpidEnabled", "op" : "exists" } ] } }, { "name" : "cpr.participant.extensionDetail.attrsMap.NT28", "caption" : "ORIGINS Unique ID", "type" : "text", "optional" : true }, { "name" : "cpr.participant.birthDate", "caption" : "Date of Birth", "type" : "date", "dateOnly" : true, "optional" : true }, { "name" : "cpr.registrationDate", "caption" : "Registration Date", "type" : "date", "dateOnly" : true, "optional" : true, "defaultValue" : "current_date" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DP3", "caption" : "Estimated Date of Delivery", "type" : "date", "optional" : true }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD20", "caption" : "Birthing Hospital", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD20" } } } }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST29", "caption" : "Please specify other Hospital", "type" : "text", "optional" : true }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD13", "caption" : "Obstetrician", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD13" } } }, "showIf" : { "op" : "AND", "rules" : [ { "field" : "cpr.participant.extensionDetail.attrsMap.DD20", "op" : "==", "value" : "'JHC Private'" } ] } }, { "name" : "cpr.participant.deathDate", "caption" : "Deceased Date", "type" : "date", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "cpr.participant.vitalStatus", "op" : "==", "value" : "'Deceased'" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD5", "caption" : "ORIGINS Study Status", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD5" } } } }, { "name" : "cpr.participant.extensionDetail.attrsMap.DP6", "caption" : "Date of withdrawal", "type" : "date", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "cpr.participant.extensionDetail.attrsMap.DD5", "op" : "==", "value" : "'Withdrawn'" } ] }, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.DP6" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD7", "caption" : "Level of Withdrawal", "type" : "dropdown", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "cpr.participant.extensionDetail.attrsMap.DD5", "op" : "==", "value" : "'Withdrawn'" } ] }, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD7" } } }, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.DD7" }, { "name" : "cpr.participant.extensionDetail.attrsMap.DP8", "caption" : "Date Samples Destroyed", "type" : "date", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "cpr.participant.extensionDetail.attrsMap.DD5", "op" : "==", "value" : "'Withdrawn'" }, { "field" : "cpr.participant.extensionDetail.attrsMap.DD7", "op" : "==", "value" : "'No further follow-up with samples destroyed'" } ] }, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.DP8" }, { "name" : "cpr.participant.extensionDetail.attrsMap.RB9", "caption" : "Has the mother consented to DNA analysis?", "type" : "radio", "optional" : true, "options" : [ "Yes", "No" ] }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD11", "caption" : "Enrolment Gestation", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD11" } } } }, { "name" : "cpr.participant.extensionDetail.attrsMap.TA14", "caption" : "Comments", "type" : "textarea", "optional" : true }, { "name" : "cpr.participant.extensionDetail.attrsMap.DD15", "caption" : "Mother Consent Form Level", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "DD15" } } } }, { "name" : "cpr.participant.extensionDetail.attrsMap.MLB16", "caption" : "Is the mother part of Nested Study?", "type" : "dropdown", "multiple" : true, "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "participantInfoForm", "controlName" : "MLB16" } } } }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST30", "caption" : "SYMBA ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST30" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST31", "caption" : "BENEFIT ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST31" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST32", "caption" : "TALK ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST32" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST33", "caption" : "ENGAGE ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST33" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST34", "caption" : "AERIAL ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST34" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST35", "caption" : "PREGGNUT ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST35" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST36", "caption" : "EARLYMOVES ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST36" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST37", "caption" : "SCREENS ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST37" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST38", "caption" : "SUNPREG ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST38" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST39", "caption" : "ACE ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST39" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST40", "caption" : "MMM ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST40" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST41", "caption" : "CUB ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST41" }, { "name" : "cpr.participant.extensionDetail.attrsMap.ST42", "caption" : "COCOON ID", "type" : "date", "optional" : true, "showInOverviewIf" : "!!cpr.participant.extensionDetail.attrsMap.ST42" }, { "name" : "visit.name", "caption" : "Visit Name", "type" : "text", "optional" : true, "showIf" : { "op" : "OR", "rules" : [ { "field" : "cp.visitNameFmt", "op" : "not_exist" }, { "field" : "cp.manualVisitNameEnabled", "op" : "exists" } ] } }, { "name" : "visit.status", "caption" : "Status", "type" : "dropdown", "optional" : true, "listSource" : { "options" : [ { "value" : "Pending" }, { "value" : "Missed Collection" }, { "value" : "Complete" } ], "displayProp" : "value", "selectProp" : "value" } }, { "name" : "visit.missedBy", "caption" : "Missed By", "type" : "user", "defaultValue" : "current_user", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "==", "value" : "'Missed Collection'" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "visit.missedReason", "caption" : "Missed Reason", "type" : "pvs", "attr" : "missed-visit-reason", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "==", "value" : "'Missed Collection'" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "visit.visitDate", "caption" : "Visit Date", "type" : "date", "defaultValue" : "current_date", "optional" : false }, { "name" : "visit.site", "caption" : "Site", "type" : "dropdown", "multiple" : false, "optional" : false, "listSource" : { "apiUrl" : "sites", "displayProp" : "name", "selectProp" : "name", "queryParams" : { "dynamic" : { }, "static" : { "listAll" : true } } }, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "!=", "value" : "'Missed Collection'" } ] } }, { "name" : "visit.clinicalDiagnoses", "caption" : "Clinical Diagnoses", "type" : "pvs", "attr" : "clinical_diagnosis", "optional" : true, "multiple" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "!=", "value" : "'Missed Collection'" } ] } }, { "name" : "visit.clinicalStatus", "caption" : "Clinical Status", "type" : "pvs", "attr" : "clinical-status", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "!=", "value" : "'Missed Collection'" } ] } }, { "name" : "visit.surgicalPathologyNumber", "caption" : "Surgical Pathology Number", "type" : "text", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "visit.status", "op" : "!=", "value" : "'Missed Collection'" } ] } }, { "name" : "visit.comments", "caption" : "Comments", "type" : "textarea", "optional" : true }, { "name" : "specimen.label", "caption" : "Label", "type" : "text", "optional" : true, "showIf" : { "op" : "OR", "rules" : [ { "field" : "specimen.labelFmt", "op" : "not_exist" }, { "field" : "cp.manualSpecLabelEnabled", "op" : "exists" } ] } }, { "name" : "specimen.barcode", "caption" : "Barcode", "type" : "text", "optional" : true }, { "name" : "specimen.lineage", "caption" : "Lineage", "type" : "radio", "optional" : false, "options" : [ { "value" : "New", "caption" : "New" }, { "value" : "Derived", "caption" : "Derived" }, { "value" : "Aliquot", "caption" : "Aliquot" } ] }, { "name" : "specimen.status", "caption" : "Collection Status", "type" : "dropdown", "optional" : true, "listSource" : { "selectProp" : "value", "displayProp" : "value", "options" : [ { "value" : "Collected" }, { "value" : "Missed Collection" }, { "value" : "Pending" } ] } }, { "name" : "specimen.type", "caption" : "Type", "type" : "specimen-type", "specimen" : "specimen", "optional" : false, "defaultValue" : "Not Specified", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "!=", "value" : "'Aliquot'" } ] } }, { "name" : "specimen.initialQty", "caption" : "Initial Quantity", "type" : "specimen-quantity", "specimen" : "specimen", "optional" : true }, { "name" : "specimen.availableQty", "caption" : "Available Quantity", "type" : "specimen-quantity", "showInOverviewIf" : "useShowIf", "specimen" : "specimen", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'Aliquot'" } ] }, "optional" : true }, { "name" : "specimen.concentration", "caption" : "Concentration", "type" : "specimen-quantity", "specimen" : "specimen", "measure" : "concentration", "pattern" : "/^([0-9]+|[0-9]*\\.?[0-9]+[e]?[+-]?[0-9]*)$/", "optional" : true }, { "name" : "specimen.parentLabel", "caption" : "Parent Specimen", "type" : "text", "optional" : false, "url" : "specimen({specimenId: specimen.parentId})", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "!=", "value" : "'New'" } ] }, "modelOpts" : { "updateOn" : "blur" }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.biohazards", "caption" : "Biohazards", "type" : "pvs", "multiple" : true, "attr" : "specimen-biohazard", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.extensionDetail.attrsMap.DD5", "caption" : "Method of transport", "type" : "dropdown", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD5" } } } }, { "name" : "specimen.extensionDetail.attrsMap.DD6", "caption" : "Collection Details", "type" : "dropdown", "showInOverviewIf" : "!!specimen.extensionDetail.attrsMap.DD6", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD6" } } } }, { "name" : "specimen.extensionDetail.attrsMap.DD8", "caption" : "Received Details", "type" : "dropdown", "showInOverviewIf" : "!!specimen.extensionDetail.attrsMap.DD8", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD8" } } } }, { "name" : "specimen.extensionDetail.attrsMap.DD9", "caption" : "Processing Details", "type" : "dropdown", "showInOverviewIf" : "!!specimen.extensionDetail.attrsMap.DD9", "optional" : true, "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD9" } } } }, { "name" : "specimen.storageLocation", "caption" : "Location", "type" : "storage-position", "optional" : true, "cpId" : "specimen.cpId", "entity" : "specimen", "url" : "container-detail.locations({containerId: specimen.storageLocation.id})", "subFields" : [ { "name" : "name", "caption" : "Container Name" }, { "name" : "positionY", "caption" : "Container Row" }, { "name" : "positionX", "caption" : "Container Column" } ] }, { "name" : "specimen.createdOn", "caption" : "Created On", "type" : "datetime", "optional" : false, "copyValueFn" : "function(firstRowVal, currentVal) { if (!!currentVal) { return currentVal; } else { return ''; } }", "defaultValue" : "current_date", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "!=", "value" : "'New'" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.createdBy", "caption" : "Created By", "type" : "user", "defaultValue" : "current_user", "optional" : true, "copyValueFn" : "function(firstRowVal, currentVal) { if (!!currentVal) { return currentVal; } else { return ''; } }", "listSource" : { "queryParams" : { "static" : { "excludeType" : "CONTACT" } } } }, { "name" : "specimen.freezeThawCycles", "caption" : "Freeze Thaw Cycles", "type" : "text", "optional" : true, "pattern" : "/^[0-9][0-9]*$/" }, { "name" : "specimen.incrParentFreezeThaw", "caption" : "Increment parent specimen's Freeze/Thaw cycles?", "type" : "radio", "optional" : true, "options" : [ { "caption" : "Yes", "value" : 1 }, { "caption" : "No", "value" : 0 } ], "showInOverviewIf" : "!!specimen.incrParentFreezeThaw" }, { "name" : "specimen.comments", "caption" : "Comments", "type" : "textarea", "optional" : true }, { "name" : "specimen.collectionEvent.time", "caption" : "Collection Date & Time", "type" : "datetime", "defaultValue" : "current_date", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.collectionEvent.user", "caption" : "Collector", "type" : "user", "defaultValue" : "current_user", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf", "subFields" : [ { "name" : "emailAddress", "caption" : "Collector Email Address" } ] }, { "name" : "specimen.collectionEvent.container", "caption" : "Collection Container", "type" : "pvs", "attr" : "collection-container", "optional" : true, "defaultValue" : "Not Specified", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.collectionEvent.procedure", "caption" : "Collection Procedure", "type" : "pvs", "attr" : "collection-procedure", "copyValueFn" : "function(firstRowVal, currentVal) { if (!!currentVal) { return currentVal; } else { return ''; } }", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.receivedEvent.user", "caption" : "Receiver", "type" : "user", "defaultValue" : "current_user", "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf", "subFields" : [ { "name" : "emailAddress", "caption" : "Collector Email Address" } ] }, { "name" : "specimen.receivedEvent.time", "caption" : "Received Date & Time", "type" : "datetime", "defaultValue" : "current_date", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.receivedEvent.receivedQuality", "caption" : "Received Quality", "type" : "pvs", "attr" : "received-quality", "defaultValue" : "Acceptable", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.lineage", "op" : "==", "value" : "'New'" }, { "field" : "specimen.reqId", "op" : "not_exist" } ] }, "showInOverviewIf" : "useShowIf" }, { "name" : "specimen.externalIds", "type" : "collection", "fields" : [ { "name" : "name", "caption" : "External Name", "type" : "text", "optional" : true }, { "name" : "value", "caption" : "External Value", "type" : "text", "optional" : true } ] }, { "name" : "specimen.extensionDetail.attrsMap.DD2", "caption" : "Urine Type", "type" : "dropdown", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Urine'" } ] }, "showInOverviewIf" : "useShowIf", "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD2" } } } }, { "name" : "specimen.extensionDetail.attrsMap.DD3", "caption" : "Breast Milk Expression Type", "type" : "dropdown", "optional" : true, "showIf" : { "op" : "AND", "rules" : [ { "field" : "specimen.type", "op" : "==", "value" : "'Breast Milk'" } ] }, "showInOverviewIf" : "useShowIf", "listSource" : { "apiUrl" : "forms/permissible-values", "selectProp" : "value", "displayProp" : "value", "queryParams" : { "dynamic" : { }, "static" : { "formName" : "maternalUrineAndBreastMilk", "controlName" : "DD3" } } } }, { "name" : "specimen.extensionDetail.attrsMap.NT4", "caption" : "Viability", "type" : "text", "optional" : true, "showInOverviewIf" : "!!specimen.extensionDetail.attrsMap.NT4", "pattern" : "/^[1-9][0-9]*$/" }, { "name" : "specimen.events.SpecimenFrozenEvent.time", "caption" : "Frozen Time", "type" : "datetime", "defaultValue" : "current_date" }, { "name" : "specimen.events.SpecimenFrozenEvent.user", "caption" : "Frozen By", "type" : "user", "defaultValue" : "current_user" }, { "name" : "specimen.events.SpecimenFrozenEvent.frozenMethod", "caption" : "Frozen Method", "type" : "pvs", "attr" : "frozen_method", "defaultValue" : "Not Specified" }, { "name" : "specimen.events.SpecimenFrozenEvent.comments", "caption" : "Frozen Comments", "type" : "textarea" } ], "onValueChange" : { "specimen.createdBy" : [ "function(opts) {", " var user = opts.fns.get(opts.object, opts.field); ", " opts.viewCtx.setToAllChildren(opts.object, opts.field, user, true); ", "}" ], "specimen.createdOn" : [ "function(opts) {", " var user = opts.fns.get(opts.object, opts.field); ", " opts.viewCtx.setToAllChildren(opts.object, opts.field, user, true); ", "}" ], "specimen.extensionDetail.attrsMap.DD9" : [ "function(opts) {", " var user = opts.fns.get(opts.object, opts.field); ", " opts.viewCtx.setToAllChildren(opts.object, opts.field, user, true); ", "}" ] } } }, { "name" : "visitsTab", "view" : null, "ctrl" : null, "data" : { "occurred" : [ { "field" : "visit.name", "baseField" : "visit.name", "width" : "150px" }, { "field" : "visit.visitDate", "baseField" : "visit.visitDate", "width" : "100px" } ], "anticipatedEvents" : [ { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('SYMBA') > -1 && cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('PREGGNUT') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Sym4Mnth", "Preg4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('SYMBA') > -1 && cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('BENEFIT') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Sym4Mnth", "Ben4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('PREGGNUT') > -1 && cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('BENEFIT') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Preg4Mnth", "Ben4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('SYMBA') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Sym4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('PREGGNUT') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Preg4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.MLB16.indexOf('BENEFIT') > -1", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y", "Ben4Mnth" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.DD15 == 'Full ORIGINS Project Participation'", "events" : [ "30WK", "20WK", "28WK", "36WK", "Birth", "2M", "4M", "6M", "1Y", "3Y", "5Y" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.DD15 == 'Routine Data Collection'", "events" : [ "30WK" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.DD15 == 'Release of Australian Govt Data only'", "events" : [ "None" ] }, { "rule" : "cpr.participant.extensionDetail.attrsMap.DD15 == null && cpr.participant.extensionDetail.attrsMap.MLB16== null", "events" : [ "None" ] } ] } }, { "name" : "participant-list-view", "view" : null, "ctrl" : null, "data" : { "columns" : [ { "expr" : "Participant.ppid", "caption" : "ORIGINS Pregnancy Number", "metainfo" : { "showLink" : "true" } }, { "expr" : "Participant.customFields.participantInfoForm.oRIGINSUniqueID", "caption" : "ORIGINS Unique ID" }, { "expr" : "Participant.regDate", "caption" : "Registration Date" }, { "expr" : "Participant.customFields.participantInfoForm.participantStudyStatus", "caption" : "Participant Study Status" }, { "expr" : "Participant.customFields.participantInfoForm.participantConsentFormLevel", "caption" : "Participant Consent Form Level" }, { "expr" : "concat(years_between(current_date(), Participant.dateOfBirth), \" yrs\")", "caption" : "Age" } ], "criteria" : "Participant.id exists", "orderBy" : [ { "expr" : "Participant.regDate", "direction" : "desc" } ], "filters" : [ { "expr" : "Participant.ppid", "caption" : "ORIGINS Pregnancy Number", "searchType" : "contains" }, { "expr" : "Participant.customFields.participantInfoForm.oRIGINSUniqueID", "caption" : "Unique ID" }, { "expr" : "Participant.customFields.participantInfoForm.participantStudyStatus", "caption" : "Participant Study Status" }, { "expr" : "Participant.customFields.participantInfoForm.participantConsentFormLevel", "caption" : "Participant Consent Form Level" }, { "expr" : "Participant.regDate", "caption" : "Registration Date" }, { "expr" : "years_between(current_date(), Participant.dateOfBirth)", "caption" : "Age", "temporal" : "true", "metainfo" : { "phi" : "true" } } ] } }, { "name" : "specimenTree", "view" : null, "ctrl" : null, "data" : { "defaultExpandDepth" : 0, "fields" : [ { "name" : "specimen", "caption" : "Description", "type" : "specimen-description", "width" : "30%" }, { "name" : "specimen.label", "baseField" : "specimen.label", "width" : "20%" }, { "name" : "specimen.storageLocation", "baseField" : "specimen.storageLocation", "width" : "20%" }, { "name" : "specimen.availableQty", "baseField" : "specimen.availableQty", "caption" : "Volume", "width" : "10%" } ] } }, { "name" : "specimen-list-view", "view" : null, "ctrl" : null, "data" : { "columns" : [ { "expr" : "Specimen.label", "caption" : "Label", "metainfo" : { "showLink" : "true" } }, { "expr" : "Specimen.createdOn", "caption" : "Created On" }, { "expr" : "Specimen.type", "caption" : "Type" }, { "expr" : "Specimen.availableQty", "caption" : "Quantity", "metainfo" : { "showUnit" : "true", "measure" : "quantity" } }, { "expr" : "concat(Specimen.specimenPosition.containerName, concat_ws(\"\", concat(\" (\", Specimen.specimenPosition.formattedPos, \")\")))", "caption" : "Location" } ], "criteria" : "Specimen.collectionStatus = \"Collected\" and Specimen.activityStatus = \"Active\"", "orderBy" : [ { "expr" : "Specimen.createdOn", "direction" : "desc" } ], "filters" : [ { "expr" : "Specimen.label", "caption" : "Label", "searchType" : "contains" }, { "expr" : "Specimen.lineage", "caption" : "Lineage" }, { "expr" : "Specimen.createdOn", "caption" : "Created On" }, { "expr" : "Specimen.type", "caption" : "Type" }, { "expr" : "Specimen.availableQty", "caption" : "Quantity" } ] } } ] |
SDE deposit mode allows the user to create multiple specimens in one go. This can even be across patients and visits.
For creating planned specimens(as per requirements defined in collection protocol), the user has to include the 'Requirement Code' within the deposit screen. This will allow the system to map the specimen being created to the requirement in the CP.
Define the requirement code in the dictionary as below, will be displayed as a dropdown of existing codes within that event of the CP:
|
The below example shows how requirement code can be used within the deposit table of SDE. The fields defined in the requirement can be skipped here so that the value has defaulted from the requirement. For example, in the below example the specimen type is not included so the system will take it from the corresponding requirement.
Screenshot:
In the screen where specimens are collected, the user has the option to create containers like boxes too. This is useful for a workflow where a lab receives a box of specimens and they want to store the box as is in their freezers. This workflow reduces the step of creating the empty box first.
Example JSON to create container and specimens in one go:
|