Guide To Add Medical PDRs
All files referenced in this file are located in Google Drive folder https://drive.google.com/drive/folders/0B7g9LwWIoQa2QzF3Q0h4UDZsSGs
Import Nurse in Pages Menu
Extract zip file from https://drive.google.com/a/marinels.com/file/d/0B_RZdSfSl2xEUjhMeWtIRlhIWFk/view?usp=sharing
Copy “Nurse.Pg” folder to the Server hard drive
Execute command: importnavpage "/Root/CUK/PDRs/" "Nurse" "Nurse" "MEDICAL" "[Server local drive]\Nurse.Pg" "StructureOnly"
Weird, but cannot execute this command from C drive ** TO RECREATE** Strange - maybe a permission issue in Windows - which ever user the service is running as doesn't have access to C (i.e. apppool identity)?
Check that PDR1, PDR2 and PDR3 have one “Default” offering
Create Content page for Nurse Menu Item
Copy files NURSERankPDR1.html, NURSERankPDR2.html, NURSERankPDR3.html to “/Root/CUK" file collection directory “\Courses\AssessmentGuidelines”
Copy style.css if it’s not there
Add Nurse to Ranks OrgProfileField Choices
- Add Nurse for Rank OrgProfileField choice
- addOrgProfileFieldSingleChoiceStringChoice "Rank" "/Root/CUK" "Nurse"
- Can Assess Rank OrgProfileField choice
- addOrgProfileFieldSingleChoiceStringChoice "Can Assess Rank" "/Root/CUK" "Nurse"
Generate json guidelines-medical file
Note: This only needs to be done if the json-file doesn’t exist yet.
Grab ‘Template for Assessor Guidelines.xlsx’
Create Folder /Files inside ‘ExcelToWeb’ folder of the VS solution
Start ExcelToWeb solution in PdrAssessorGuidlineConverter folder
Put ‘Nurse’ as Rank
Select xls/xslx file for upload
Click Upload
File will be generated at ExcelToWeb /Files Folder
Rename to “guidelines-medical.json” if it was not renamed before
Upload guidelines-medical file
Take ‘guidelines-medical.json’ (either from previous step or from folder)
Copy to “Courses\AssessmentGuidelines” at /Root/CUK file collection
Upload Questions to Question Collection (option 1)
Goto /Root/CUK
Click on “Manage” -> Question Repository
Click “Browse”, select NursePDRQuestions.xml
Upload Questions to Question Collection (option 2)
Take Excel file - ‘LMS Spreadsheet Competency Based Pay_VERSION 2_WorkingdocJM_FIXED5_Final’
Copy whole column ‘W’
Paste to blank xml file NurseQuestions.xml ( no <?xml version="1.0"? encoding="UTF-8"?> tag required)
Surround all question with <Questions> tag
Ctrl-H: Replace CHAR(34) with ‘ if needed
Go To /Root/CUK/, Click ‘Manage’, select ‘Question Collection’
Click Browse and upload NurseQuestions.xml
Create Evaluations for all PDR levels
“Manage” -> “Assessment Repository”
“New” -> “Exam” or “Evaluation”
Specify the Name e.g. “Nurse Rank PDR1” (the exam/assessment name in the XML link definition must be stripped off of all white space (e.g. ‘<ExamName><![CDATA[NurseRankPDR3]]></ExamName>’ for “Nurse Rank PDR3”)
Set “Pre-Evaluation Instructions” and “Top of Evaluation Instructions”
Click “Questions”
In “Question Repository” Select “CUK Question Repository”
Select desired question set , set the number of questions ( Exam should contain less or equal to number of questions in selected Question Set, Evaluation number of questions should be equal to question set number of question)
Click “Add Questions”
Repeat 8.7-8.9 if needed (for all question categories for the specific PDR level)
Repeat 8.1-8.9 for PDR1-3
Set Offering Role Rule
Add Nurse variable at Org Page attributes by doing 9.2 downwards at: “/Root/CUK/” -> “Edit” ->”Advanced”->”Page Attributes”.
Add “System.Customer.RuleVariable.Mapping” -- “$CanAssessRanksWithoutVessels$:Nurse,Nurse”
Add $CanAssessRanksWithoutVessels$ OfferingRoleRules: in order to do this, run the following commands on /pages/dev
Execute commands
addOrgSetOfferingRoleRule "/Root/CUK/" "Student" "/Root/CUK/PDRs/$CanAssessRanksWithoutVessels$/$CourseLevel$" "ProfileEqual(Rank,$CanAssessRanksWithoutVessels$);ProfileEqual(Rank PDR Level,$CourseLevel$)"
addOrgSetOfferingRoleRule "/Root/CUK" "Instructor" "/Root/CUK/PDRs/$CanAssessRanksWithoutVessels$/$CourseLevel$" "ProfileNameMatch(Can Assess Rank[\s]*[2-3]*$,$CanAssessRanksWithoutVessels$)"