standardized and extensible javascript-api for logging functionality for the mvp player heid j, hess...
TRANSCRIPT
![Page 1: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/1.jpg)
Medical FacultyHeidelberg
Standardized And Extensible JavaScript-API
For Logging Functionality For the MVP Player
Heid J, Hess F, Huber S, Haag M, Huwendiek S
![Page 2: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/2.jpg)
ANSI/MEDBIQ VP.10.1-2010
• Defines storage of virtual patients (VP)
• Provided as a SCORM package• virtualpatientdata.xml for the data• dataavailabilitymodel.xml for
aggregation of the content• activitymodel.xml for walk-through
definitions
• Used by eViP for 320 VPs
2
![Page 3: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/3.jpg)
Example: OpenLabyrinth VP in CAMPUS Card-Player
3
![Page 4: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/4.jpg)
Player Implementations
• MVP players use the same data format
• MVP VP inside SCORM package for use in learning management systems (LMS)
• Idea: Standardized, extensible logging API based on MVP standard
4
![Page 5: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/5.jpg)
Player Implementations (cont.)
fires eventsfires events
interactsinteracts
transmits datatransmits data
generatesgenerates
UserUser
ServerServer
MVPMVP
ReportsReports
MVP playerMVP player
5
![Page 6: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/6.jpg)
Player Implementations (cont.)
• Step #1: Include JavaScript-API:<script type=“text/javascript“ src=“mvp-log-api.js“></script>
• Step #2: Fire events:logAPI.fireSpecEvent ({ type: logAPI.Type.INTERVIEW_ITEM_SHOWN, id: ‘4711‘ });logAPI.fireEvent ({ ns: ‘http://www.imsglobal.org/xsd/imsqti_v2p1‘, typeID: ‘question-answered‘, id: ‘4711‘, data: … });
6
![Page 7: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/7.jpg)
Event attributes
• namespace: Spec or external (like QTI)
• elementID: Reference to the XML-id
• userID: Identification of the current user
• typeID: The type of the event
• date: Timestamp of the event
• data: Optional additional data (e.g. for QTI)
7
![Page 8: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/8.jpg)
Consumers
8
fires eventsfires events
transmits data
transmits data
MVP playerMVP player
transmits data
transmits data
registerregister
![Page 9: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/9.jpg)
Consumers (cont.)
• Consumers register themselves at the API:
medbiq.mvp.log.registerImplementation ({ eventReceived: function (e) { // do something with the event… },
isNamespaceSupported: function (ns) { // Only ActivityModel return ns === medbiq.mvp.log.NS_ACTIVITY_MODEL; } });
9
![Page 10: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/10.jpg)
Consumers (cont.)
• Consumers can analyze the data to show:– Walk-throughs of users
– Frequency of pages
– Time-consumption
– Media usage
– Resuts of a formative assessment
– …
→ independent from the MVP system10
![Page 11: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/11.jpg)
Consumer-Example #1: Console
• Helps developing by showing all events• Just include an extra JavaScript file:
<script type=“text/javascript“ src=“mvp-log-console.js“></script>
11
Console
![Page 12: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/12.jpg)
Demo
Consumer-Example #2: Walk-through Visualisation
12
![Page 13: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/13.jpg)
Get involved
• Code and examples at:http://code.google.com/p/mvp-log-api/
• Discussion at: http://groups.google.de/group/mvp-log-api
• MVP-XSLT-test-suite at:http://code.google.com/p/mvp-evip-xslt-test-suite/
13
![Page 14: Standardized And Extensible JavaScript-API For Logging Functionality For the MVP Player Heid J, Hess F, Huber S, Haag M, Huwendiek S](https://reader035.vdocuments.mx/reader035/viewer/2022070413/5697bfbf1a28abf838ca325a/html5/thumbnails/14.jpg)
Thanks for your attention.
Contact:
Centre for Virtual Patients
University Hospital Heidelberg
http://campus-virtual-patients.com