SPARCRequest Version 2.0.5 New Features...SPARCRequest Version 2.0.5 New Features 1. Rails 5 and...
Transcript of SPARCRequest Version 2.0.5 New Features...SPARCRequest Version 2.0.5 New Features 1. Rails 5 and...
�SPARCRequestVersion2.0.5NewFeatures
1. Rails5andRuby2.4.1upgrade
Inthisnewrelease,wehaveupgradedtheapplica5onpla7ormtouseRails5andRuby2.4.1forbeBerperformanceandstability.AlotofadjustmentsincodinghavebeendoneaEerthismajorupgrade,andbothmachineandmanualtes5nghavebeenperformedtocovermostoftheexis5ngfunc5onali5es.Ifthereispreviousfunc5onalitythatdoesnotappeartobeworkingcorrectly,pleasecontacttheSPARCTeamwiththeinforma5on([email protected]).
2. (SPARCRequest)ResearchOpportuniFesProgramMovedUnderOCR
The“ResearchOpportuni5esandCollabora5ons”programcannowbefoundunderOfficeofClinicalResearch(MUSC).
�
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �1
�
3. (SPARCRequest)HomePage:BlogPostOpeninNewBrowserTabOntheSPARCRequesthomepage,whenclickingononeoftheblogposts,itisnow
openinginanewbrowserpage.
�
4. (SPARCRequest)HomePageFeedbackBuQonLinkedtoREDCapthroughAPI
ThefeedbackbuBonandtheformtriggeredbythebuBonisnowsendingcollecteddatadirectlytoREDCapthroughanAPI.
�
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �2
�
5. (SPARCRequest)NewRequestRouFngPopupWindowReconfiguraFons
Thepopupwindowthatisdisplayedwhenaddingthefirstserviceintotheshoppingcartforthefirst5mehasbeenrevampedwithclearerlanguageanddifferen5alstylingtohelpavoiduserconfusion.
�
6. (SPARCRequest)DeleFngLastServiceRerouFngBugFixed
When“Edit”arequestfromSPARCDashboardanddeletethelastservicefromcart,thereisnowawarningmessageshowingup,andtheuserwillbere-routedbacktoSPARCDashboardifthedele5onisconfirmed.
�
7. (SPARCRequestandSPARCDashboard)VisitCalendarNewFeatures
OntheSPARCRequestStep2B(VisitCalendar)allthreetabs(TemplateTab,Quan5ty/BillingTab,andConsolidatedRequestTab)andSPARCDashboardAdminEditStudyScheduletab,thenewlineitemvisitnotesfeaturehasbeenbuilt.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �3
�
�
NowuserscanclickontheNotesicontoenterorviewtheservicelevelnotesoneachserviceonthecalendar;Thecountofthealreadyenterednoteswillshowupbesidethenoteicon.Also,thefontstylinghasbeenadjustedontheConsolidatedRequestTabonthecalendartoemphasizethetotals.
Onthe“LineItemVisitNotes”popupwindow,thename(andCPTcode)oftheservicesthatisbeingaddingnotestoisdisplayed.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �4
�
�
8. (SPARCRequest)Step2C:SubsidyPopupWindowDisplayAdjustment
OnSPARCRequestStep2Cpage(shownwhenarequestiseligibleforpoten5alsubsidy),thesequencehasbeenchangedfor"SubsidyCost"and"PIContribu5on,"inordertomakethecontentmorelogical.Also,tool5pshavebeenaddedtothelabelstohelpunderstandingeachfield.
�
9. (SPARCRequest)Step3PageNewArrangements
Inthisnewrelease,thelabelsandonSPARCRequestStep3hasbeencleanedandre-organizedtomakethepageandeachsec5onclearer.Also,tool5pswereaddedtothebuBonstohelpopera5on.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �5
�
�
10. (SPARCRequest)EmailBugFixesandImprovements
Bugfixeshavebeendonetoensurethatemailsarealwayssentoutwhenappropriate(whenthereisastatuschangecausedbytheauthorizeduser,eitherthrough“ModifyRequest”or“Edit”buBononSPARCDashboard).
Also,ifnothingischangedfortherequest(noserviceorstatuschange)atre-submission,thentheserviceproviderwillnotgetemailno5fica5ons.
11. (SPARCRequest&SPARCDashboard)EditRequestShoppingCartBugFixed
Wehavefixedabugthatwascausingalltheservicestoshowupintheshoppingcartinsteadoftheservicesintheselectedrequestwhenuserclicks“Edit”buBonontheSPARCDashboardtoeditasinglerequest.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �6
�12. (SPARCRequest&SPARCDashboard)RMIDHyperlinkOpeninNewTab
Thehyperlinkforthe"ResearchMasterID"labelonstudyinforma5onpageofbothSPARCRequestandSPARCDashboardnowopensinanewbrowsertab,insteadofreplacingthecurrentone,sothatuserswon’tlosetheinforma5onthathasnotbeensavedonthepageyet.
�
13. (SPARCRequest&SPARCDashboard)NewDocumentTypesAdded
SevennewdocumenttypeshavebeenaddedtoSPARCRequestStep3pageandSPARCDashboarddocumentssec5ontoincludemoretypeofdocumentsu5lizedinclinicalresearch:CoverageAnalysis,OCRApproval,Manuals(Pharmacy,Lab,Imaging,etc),Contract,Inves5gatorBrochure,Feasibility/SiteSelec5on,andCer5ficateofConfiden5ality.
Wehavealsosequencedthe“DocumentType”listalphabe5cally.
Thedocumenttypelistcanbecustomizedusingconstants.yml.
�
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �7
�
14. (SPARCRequest&SPARCDashboard)DefaultDocumentAccessBugFixed(LACaTSSuggesFon)
OnSPARCRequestStep3andSPARCDashboardDocumentsec5on,iftheloggedinuserisageneraluser(notaserviceproviderorsuperuser),therewasabugcausingthe"AllowAccess"defaulttoselecteveryorganiza5onnotworkingcorrectly.Thisbughasnowbeenfixed.
�
15. (SPARCRequest&SPARCDashboard)ScriptCreatedforMergingProtocols
Occasionally,duplica5veprotocolscouldbecreatedbecausedifferentreasons.Wecreatedascripttomergetwoprotocols(hBps://github.com/bmic-development/sparc-request/blob/master/lib/tasks/merge_protocols.rake).Whenamasterprotocolchosen,thescriptwillmergetherequests,notesanddocumentsfrombothprotocolsintothemasterprotocol,andkeeptheauthorizedusersandprotocolinforma5onofthemasterone.NotethatiftherequestnumberischangedduetothemergeandtherequesthasbeenpushedtoSPARCFulfillment,thecorrespondingnumberneedstobeupdatedinSPARCFulfillmentaswell.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �8
�16. (SPARCRequest&SPARCDashboard)EpicQueueReconfiguraFon
Inthisnewrelease,wehavereconfiguredtheEpicqueuefunc5onsothatthedesignatedadminusershavemoreop5onsinthefrontendtoview,sendandremovetheprotocolsfromthefrontend.
Thedefinedusers(inapplica5on.ymlepic_queue_accessop5on)haveaccesstothe“ViewEpicQueue”buBonontheirSPARCDashboard,whichshowsaviewwith“Current”and“Past”tabs.
The“Current”tabliststhecurrentqueuedprotocol(byauthorizedusersubmipngaprotocolthatischosentogotoEpic),withthe“Send”,“Delete”op5ons,andtheabilitytoredirectintothatprotocol.
�
The“Past”tabliststheprotocolsthathavebeenpushtoEpicpreviously,withthemostrecentstatusofthepushandthe5me.
�
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �9
�
17. (SPARCDashboard)HighlightColorAddedforFinishedStatuses
OnSPARCDashboard,backgroundcolorofthefinished_statuses(‘Complete’and‘Withdrawn’inthecurrentMUSCproduc5onconfigura5on)hasbeenchangedtored,whichservicesasavisualcueoftheirreversiblenatureofthetwostatus.
�
18. (SPARCDashboard)OverlordUserRightsIncreased
Inthisnewrelease,thespecificusersdefinedinthedatabase(iden55es.catalog_overlord=1)nowhaveaccesstothe“ModifyRequest”buBononeveryprotocolthattheyhaverightsto,andcanmodifytherequestdirectly.
19. (SPARCDashboard)NewSurveyBuilderModule
WiththenewsurveybuildermoduleonSPARCDashboardfordesignatedgroupofusers(site_adminsinapplica5on.yml),nowSPARCRequestsiteadminscancreateanddesignsurveys.
�
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �10
�
�
Thedesignedsurveycanbeedited,previewedandac5vatedfromthismodule,andthenassociatedtoanorganiza5oninSPARCCatalog.Currently,ifasurveyisassociated,itissentouttotheprimaryPIandrequesterwhentheserviceprovider“Complete”therequestfromSPARCDashboard.
�
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �11
�20. (SPARCCatalog)PricingMapRatesNaNBugFixed
InSPARCCatalog,wheninsidethepricingmapsec5ononaserviceandtryingtodeleteanexis5ngoverrideprice,andclick"Save",therewasnoerrormessage,however,thechangewasnotsavedbecauseitwasaNaN(NotaNumber,seepreviousscreenshotbelow).
Wehavefixedthisbuginthisrelease.
�
21. (SPARCCatalog)StatusOpFonsBoxReconfiguraFon
The“StatusOp5on”sec5oninSPARCCataloghasnowbereconfiguredto:
1).Displaythestatusesalphabe5cally;
2).Pre-selectanddisablethe"DraE","GetaCostEs5mate",and"SubmiBed"statuses,sothattheycan’tbeunchecked,becausetheyaredefaultstatusesbythesystem;
3).Whenaneworganiza5oniscreated,"Awai5ngRequesterResponse","Complete","InProcess",and"OnHold"statusesarepreselectedbutcanbeunchecked,sincetheyaretherecommendeddefaultstatuses;
4).Ontherightcolumn5tlehasbeenchangedto"SelectedStatuses"forclarifica5on.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �12
�
�
22. (SPARCReport)ProtocolReportReconfiguraFon
FortheprotocolreportontheSPARCReportmodule,thefollowingreconfigura5onshavebeendone:
1)."ResearchMasterID"columnintothereport,showingthecorrespondingRMID;
2).Theprevious‘Ins5tu5on/Provider/Program’columnshavebeendeletedsincetheyhavealreadybeencoveredintheServiceRequestreport.Withthisadjustment,thereportisnowonlyshownonerowforeachprotocoltoavoidduplica5veinforma5on;
3)."NumberofRequests"columnhasbeenaddedtoshowthecurrenttotalcountofrequests(sub-service-requests)undereachprotocol.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �13
�
�
23. (SPARCReport)ServiceRequestsReportAddOwnerColumn
The"Owner"columnhasbeenaddedtothe"ServiceRequests"reportinSPARCReport,whichshowsthedesignatedserviceproviderfromSPARCDashboard.
�
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �14
�
�
Wehavealsofixedabugwiththe“SenttoSPARCFulfillment”column,whichwascausingittonotdifferen5ateamongdifferentrequestwiththesameprotocol.
24. (SPARC/Epic)EpicInterfaceChangetoIncludeRMID
TheMessagefromSPARCtoEpichasbeenrevisedtoincludetheResearchMasterID,ifthereisoneexis5ngforthestudy.TheRMIDisnowshowinginEpicinthe“FreeText3”field(externalvalue:"RGFT3").
25. (Database&SPARCDashboard)ScriptforMergingMulFpleServiceRequests
Forthisproduc5on,wehavemergedapor5onofthehistoricalmul5plepackagesservicerequestsunderneaththesameprotocol,whichwascausingtheuserstoseemul5ple“ModifyRequest”buBonsonSPARCDashboard(seebelowforanexample)andcauseconfusion.
�
Therestofthecaseswillbemergedforthenextproduc5on,sothatalltherequestsunderaprotocolareneatlyinonepackage(asshownbelow).
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �15
�
�
26. (SPARCRequest)GemfilesUpdated
ThegemfileshavebeentestedusingHakiriFacetsandupdatedtoimprovesecurity.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �16
�SPARCFulfillmentVersion2.5.0NewFeatures
1. (SPARCFulfillment)UpgradedtoRails4.2.8
TheRailsversionusedinSPARCFulfillmenthasbeenupgradedto4.2.8.
2. (SPARCFulfillment)ScriptCreatedforUpdaFngServiceNames
Anewscripthasbeencreatedtoupdatethenameofaniden5fiedservice:hBps://github.com/bmic-development/sparc-fulfillment/blob/master/lib/tasks/fix_service_names.rake
3. (SPARCFulfillment)TableContentsAlignmentBugFixed
Thebugthatwascausingmisalignment(seepreviousscreenshotbelow)ofcalendercolumnsinachosenprotocolinSPARCFulfillmenthasbeenfixed.
�
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �17
�4. (SPARCFulfillment)SpecialCharactersinArmNameRemoved
Wehaveremovedtheexis5ngspecialcharacters([]*/\?:)inarmnamesforSPARCFulfillmentprotocols,tomaintainconsistencybetweenSPARCRequestandSPARCFulfillment,andavoidvalida5onerrors.
5. (SPARCFulfillment)TotalCostReconfiguraFons
Inthisrelease,wehaveremovedthesta5c"TotalStudyCosts"column(whichdidnotupdatethecostvalueaEerarequestispushedtofulfillment)fromSPARCFulfillmenthomepage;
The“[Organiza5on]Cost”(showingthecostoftheindividualrequest)and“TotalCost”(showingthetotalcostofthewholeprotocol)columnsarenowshowingintheheaderinsideeachrequestnow,andthevaluesauto-updatesandareconsistentwiththevaluesinSPARCRequest.
�
6. (SPARCFulfillment)KlokImportUserInterface
Thereisnowanew“Imports”tabonSPARCFulfillmentforimpor5ngdatafromothersystems.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �18
�
�
�
ThefirsttypeofimportuserinterfacewebuiltisforKlok.Whenclickingthe“KlokImport”buBononthenew“Imports”tab,theusercan:
1).LearnmoreaboutKlokmobileappbyclickingthe“KlokImport”5tleofthepopupwindow,whichleadstotheKlokwebsite(hBp://www.getklok.com/);
2).UploadaKlokreport(.xmlfilethatcontains<entries>,<projects>,and<people>elements.
3).Runa“ProofReport”tosimulateanimportandgeneratetheresultreportwithoutactuallyimpor5ngdataintoSPARCFulfillment.Thisfunc5onwasbuilttopreventdatafromwronglyimportedandgiveusersthechancetocorrectpoten5albaddatainKlok.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �19
�4).ImportKlokdatabyclicking“KlokReport”buBon.
NotethatbothProofReportandKlokReportareshownbelowwiththe5mestamp.Westronglyrecommendrunningproofreportandperformdatacorrec5onsun5ltheupdatedproofreporthasa100%successfulrate,beforeperformingtherealimport.
7. (SPARCFulfillment)GemfilesUpdated
ThegemfileshavebeentestedusingHakiriFacetsandupdatedtoimprovesecurity.
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �20
�ListofProgrammingChangeswithLinkstoGitHub
SPARCRequestv2.0.5:➢ (SPARCCatalog)PricingMapRates:DeleteOverridePrice Viewcommit➢ FormFunc5onalityCleanup Viewcommit➢ Upda5ngCapistranotov3 Viewcommit➢ (SPARCDashboard)ViewEpicQueueReconfigura5ons:Part1 Viewcommit➢ (SPARCRequest-Data)SkippedNoteswithWrongDates Viewcommit➢ ViewDetailsReconfig Viewcommit➢ ViewEpicQueuePart2 Viewcommit➢ (SPARCDashboard)SavedFiltersBug Viewcommit➢ (SPARCDashboard)ChangeBackgroundColorofFinishedStatuses Viewcommit➢ LastServiceDeleteRedirect Viewcommit➢ Rails5Upgrade Viewcommit➢ (SPARC/Epic)InterfaceChangetoSendRMIDOver Viewcommit➢ Step3LabelChanges/RemovedBootstrapableHelpers Viewcommit➢ ChangingOrderofItemsinSubsidyForm Viewcommit➢ AddNewDocumentTypes Viewcommit➢ StudyTypeControllerSpecs Viewcommit➢ LockedOrganiza5onsControllerSpecs Viewcommit➢ ServiceCalendarBoldedText Viewcommit➢ RemovingOldCWFCodeRelatedtoServiceDele5onintheCart Viewcommit➢ Step2CTool5ps/LanguageChange Viewcommit➢ Step3Tool5ps Viewcommit➢ AllowCatalogOverlordstoModifyRequest Viewcommit➢ ProtocolFilter–SearchQueryNotBeingSavedtoDatabase Viewcommit➢ AddinRails5Features(ModelsInheritfromApplica5onRecord) Viewcommit➢ AddinRails5Features(Pumaserver,Ac5onCable,Ac5onJob) Viewcommit➢ UserMailSpecRandomFailureDataCleanup Viewcommit➢ SpecRandomFailureCleanup Viewcommit➢ OrganizeConstants.ymlAlphabe5cally Viewcommit➢ (SPARCRequest&SPARCDashboard)StudyInforma5onPage:Other Viewcommit➢ RefactortoAccountForSSRsProtocol_IDABribute&SepngSSRID Viewcommit➢ (SPARCRequest)EmailLogicRefactorandScenarios Viewcommit➢ (SPARCRequest)NewPopupWindowRevamp Viewcommit➢ EnableModifyRequestBuBonforCatalogOverlords Viewcommit➢ (SPARCReport)ProtocolReportConfigura5on Viewcommit➢ (SPARCRequest)ReportsCodeCleanup Viewcommit➢ RefactorHasHumanSubjectsInfo?ToReduceCoupling Viewcommit➢ (SPARCDashboard)VisitControllerSpecs Viewcommit➢ Step2CDuplicateSubsidyField Viewcommit➢ RemoveSurveyMigra5onBinding.pry Viewcommit
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �21
�➢ RandomSpecFailure Viewcommit➢ REDCapAPI Viewcommit➢ (SPARCRequest&SPARCDashboard)StudyInforma5onPage:Other Viewcommit➢ (SPARCCatalog&SPARCDashboard)ChangeParentofOrganiza5on59 Viewcommit➢ ResponsesControllerFind_SurveyLogic Viewcommit➢ (SPARCCatalog&SPARCDashboard)MoveService26480toaNewOrg Viewcommit➢ ModalBuBonSizeAdjustment Viewcommit➢ LastSSRModalRefactor Viewcommit➢ (SPARCRequest&SPARCDashboard)AllowAccessDefaultforGeneralUser Viewcommit➢ StoryChangestoEpicQueues Viewcommit➢ DocumentFormAllowAccessTool5p Viewcommit➢ AllowCatalogOverlordtoAccessServiceRequests Viewcommit➢ GrabbingtheCorrectAuditTimeforSubmiBed_at Viewcommit➢ TextEditforProperModal Viewcommit➢ SpecFix Viewcommit➢ AuditNilCase Viewcommit➢ Separa5ngOutSiteAdminsandEpicQueueAccessGroups Viewcommit➢ StudyFormErrors Viewcommit➢ (SPARCRequest)ServiceRequestReportFulfillmentColumnBug Viewcommit➢ (SPARCCatalog&SPARCDashboard)CleanUpDuplicatedResearch Viewcommit➢ EpicQueueModifica5ons Viewcommit➢ CartSSRBug Viewcommit➢ REDCapAPI Viewcommit➢ RedirecttoDashboardAEerLastServiceDele5on Viewcommit➢ SSRCartBug Viewcommit➢ AddedOwnerColumntoSRReport Viewcommit➢ SetBlogstoOpeninNewTab Viewcommit➢ (SPARCRequest&SPARCDashboard)AddLineItemNotesonVisitCalendar Viewcommit➢ DynamicErrorPages:OpenSourceContribu5onfromCodeElegance Viewcommit➢ FixedVariablesHavingIncorrectNames Viewcommit➢ REDCapFieldValueBug Viewcommit➢ ViewEpicQueueReconfigura5ons:PartI Viewcommit➢ SubmissionbugWhenSubmipngRequestasCatalogOverlord Viewcommit➢ Organiza5onTagBug Viewcommit➢ REDCapAPITokenChanges Viewcommit➢ StatusOp5onsBoxReconfig Viewcommit➢ ServiceRequestMerge Viewcommit➢ TemporaryServiceCalendarColumnFix Viewcommit➢ FixingMissingLikertValueforTopResponse Viewcommit➢ TemporaryServiceCalendarColumnFixCon5nued Viewcommit➢ TagListBugFix Viewcommit➢ (SPARCDashboard)ViewEpicQueueReconfigura5ons:PartI Viewcommit
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �22
�➢ (SPARCReport)GenerateReportBuBonDisabledAEerRunningaReport Viewcommit➢ (SPARCCatalog,SPARCRequest,SPARCDashboard)FixDisabledBuBons Viewcommit➢ (SPARCRequest)ServiceCatalogBug Viewcommit➢ ServiceTagBug Viewcommit➢ AssociatedSurveyURLBug Viewcommit
SPARCFulfillmentv2.4.5:➢ (SPARCFulfillment)HomepageDeleteTotalStudyCostsColumnandAdd2columnsinside
Viewcommit
➢ (SPARCFulfillment-database)ScriptNeededtoReplaceSpecialCharactersinArmName Viewcommit
➢ (SPARCFulfillment)TableContentsAlignmentBugFix Viewcommit➢ (SPARCFulfillment)KlokImportAPI Viewcommit➢ (SPARCFulfillment)GemfilesPre-Produc5onmonthlyCheck Viewcommit➢ (SPARCFulfillment)UpgradetolatestRails4version Viewcommit➢ (SPARCFulfillment)Fixprocedurenametask Viewcommit➢ (SPARCFulfillment)IndexLoadingIssuesFix Viewcommit
5/9/2017 Copyright©2011-2017MUSCFounda5onforResearchDevelopment.Allrightsreserved. �23