This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions Content Examples Formal Definitions Mappings Profiles 6.7.5 Resource SecurityEvent - Examples Example Index: General SecurityEvent Example XML JSON Login example XML JSON Logout example XML JSON RESTful Operation XML JSON 6.7.5.1 General XML General SecurityEvent Example (id = "example") Raw XML </SecurityEvent> JSON General SecurityEvent Example { "resourceType": "SecurityEvent", "text": { "status": "generated", "div": "<div>Application Start for under service login &quot;Grahame&quot; (id: Grahame's Test HL7Connect)</div>" }, "event": { "type": { "coding": [ { "system": "http://nema.org/dicom/dcid", "code": "110100", "display": "Application Activity" } ] }, "subtype": [ { "coding": [ { "system": "http://nema.org/dicom/dcid", "code": "110120", "display": "Application Start" } ] } ], "action": "E", "dateTime": "2012-10-25T22:04:27+11:00", "outcome": "0" }, "participant": [ { "role": [ { "text": "Service User (Logon)" } ], "userId": "Grahame", "requestor": false, "network": { "identifier": "127.0.0.1", "type": "2" } } ], "source": { "site": "Development", "identifier": "Grahame's Laptop", "type": [ { "system": "http://hl7.org/fhir/security-event-sub-type", "code": "1" } ] }, "object": [ { "identifier": { "label": "Dell Serial Number", "value": "ABCDEF" }, "type": "4", "role": "4", "lifecycle": "6", "name": "Grahame's Laptop" } ] } 6.7.5.2 Login XML Login example (id = "example-login") Raw XML : 95 : 601847123 : Grahame Grieve : true </SecurityEvent> JSON Login example { "resourceType": "SecurityEvent", "text": { "status": "generated", "div": "<div>\n <p>\n <b>Generated Narrative</b>\n </p>\n <h3>Events</h3>\n <table class=\"grid\">\n <tr>\n <td>\n <b>Type</b>\n </td>\n <td>\n <b>Subtype</b>\n </td>\n <td>\n <b>Action</b>\n </td>\n <td>\n <b>DateTime</b>\n </td>\n <td>\n <b>Outcome</b>\n </td>\n <td>\n <b>OutcomeDesc</b>\n </td>\n </tr>\n <tr>\n <td>\n <span title=\"Codes: {http://nema.org/dicom/dcid 110114}\">User Authentication</span>\n </td>\n <td>\n <span title=\"Codes: {http://nema.org/dicom/dcid 110122}\">Login</span>\n </td>\n <td>E</td>\n <td>20-Jun 2013 23:41</td>\n <td>_0</td>\n <td> </td>\n </tr>\n </table>\n <blockquote>\n <p>\n <b>participant</b>\n </p>\n <p>\n <b>userId</b>: 95\n </p>\n <p>\n <b>altId</b>: 601847123\n </p>\n <p>\n <b>name</b>: Grahame Grieve\n </p>\n <p>\n <b>requestor</b>: true\n </p>\n <h3>Networks</h3>\n <table class=\"grid\">\n <tr>\n <td>\n <b>Identifier</b>\n </td>\n <td>\n <b>Type</b>\n </td>\n </tr>\n <tr>\n <td>127.0.0.1</td>\n <td>_2</td>\n </tr>\n </table>\n </blockquote>\n <h3>Sources</h3>\n <table class=\"grid\">\n <tr>\n <td>\n <b>Site</b>\n </td>\n <td>\n <b>Identifier</b>\n </td>\n <td>\n <b>Type</b>\n </td>\n </tr>\n <tr>\n <td>Cloud</td>\n <td>hl7connect.healthintersections.com.au</td>\n <td>\n <span title=\"{http://hl7.org/fhir/security-source-type 3}\">Web Server</span>\n </td>\n </tr>\n </table>\n </div>" }, "event": { "type": { "coding": [ { "system": "http://nema.org/dicom/dcid", "code": "110114", "display": "User Authentication" } ] }, "subtype": [ { "coding": [ { "system": "http://nema.org/dicom/dcid", "code": "110122", "display": "Login" } ] } ], "action": "E", "dateTime": "2013-06-20T23:41:23Z", "outcome": "0" }, "participant": [ { "userId": "95", "altId": "601847123", "name": "Grahame Grieve", "requestor": true, "network": { "identifier": "127.0.0.1", "type": "2" } } ], "source": { "site": "Cloud", "identifier": "hl7connect.healthintersections.com.au", "type": [ { "system": "http://hl7.org/fhir/security-source-type", "code": "3", "display": "Web Server" } ] } } 6.7.5.3 Logout XML Logout example (id = "example-logout") Raw XML : 95 : 601847123 : Grahame Grieve : true </SecurityEvent> JSON Logout example { "resourceType": "SecurityEvent", "text": { "status": "generated", "div": "<div>\n <p>\n <b>Generated Narrative</b>\n </p>\n <h3>Events</h3>\n <table class=\"grid\">\n <tr>\n <td>\n <b>Type</b>\n </td>\n <td>\n <b>Subtype</b>\n </td>\n <td>\n <b>Action</b>\n </td>\n <td>\n <b>DateTime</b>\n </td>\n <td>\n <b>Outcome</b>\n </td>\n <td>\n <b>OutcomeDesc</b>\n </td>\n </tr>\n <tr>\n <td>\n <span title=\"Codes: {http://nema.org/dicom/dcid 110114}\">User Authentication</span>\n </td>\n <td>\n <span title=\"Codes: {http://nema.org/dicom/dcid 110123}\">Logout</span>\n </td>\n <td>E</td>\n <td>20-Jun 2013 23:46</td>\n <td>_0</td>\n <td> </td>\n </tr>\n </table>\n <blockquote>\n <p>\n <b>participant</b>\n </p>\n <p>\n <b>userId</b>: 95\n </p>\n <p>\n <b>altId</b>: 601847123\n </p>\n <p>\n <b>name</b>: Grahame Grieve\n </p>\n <p>\n <b>requestor</b>: true\n </p>\n <h3>Networks</h3>\n <table class=\"grid\">\n <tr>\n <td>\n <b>Identifier</b>\n </td>\n <td>\n <b>Type</b>\n </td>\n </tr>\n <tr>\n <td>127.0.0.1</td>\n <td>_2</td>\n </tr>\n </table>\n </blockquote>\n <h3>Sources</h3>\n <table class=\"grid\">\n <tr>\n <td>\n <b>Site</b>\n </td>\n <td>\n <b>Identifier</b>\n </td>\n <td>\n <b>Type</b>\n </td>\n </tr>\n <tr>\n <td>Cloud</td>\n <td>hl7connect.healthintersections.com.au</td>\n <td>\n <span title=\"{http://hl7.org/fhir/security-source-type 3}\">Web Server</span>\n </td>\n </tr>\n </table>\n </div>" }, "event": { "type": { "coding": [ { "system": "http://nema.org/dicom/dcid", "code": "110114", "display": "User Authentication" } ] }, "subtype": [ { "coding": [ { "system": "http://nema.org/dicom/dcid", "code": "110123", "display": "Logout" } ] } ], "action": "E", "dateTime": "2013-06-20T23:46:41Z", "outcome": "0" }, "participant": [ { "userId": "95", "altId": "601847123", "name": "Grahame Grieve", "requestor": true, "network": { "identifier": "127.0.0.1", "type": "2" } } ], "source": { "site": "Cloud", "identifier": "hl7connect.healthintersections.com.au", "type": [ { "system": "http://hl7.org/fhir/security-source-type", "code": "3", "display": "Web Server" } ] } } 6.7.5.4 RESTful Operation XML RESTful Operation (id = "example-rest") Raw XML : 95 : 601847123 : Grahame Grieve : true : : _2 : _6 </SecurityEvent> JSON RESTful Operation { "resourceType": "SecurityEvent", "text": { "status": "generated", "div": "<div>\n <p>\n <b>Generated Narrative</b>\n </p>\n <h3>Events</h3>\n <table class=\"grid\">\n <tr>\n <td>\n <b>Type</b>\n </td>\n <td>\n <b>Subtype</b>\n </td>\n <td>\n <b>Action</b>\n </td>\n <td>\n <b>DateTime</b>\n </td>\n <td>\n <b>Outcome</b>\n </td>\n <td>\n <b>OutcomeDesc</b>\n </td>\n </tr>\n <tr>\n <td>\n <span title=\"Codes: {http://hl7.org/fhir/security-event-type rest}\">Restful Operation</span>\n </td>\n <td>\n <span title=\"Codes: {http://hl7.org/fhir/restful-operation vread}\">vread</span>\n </td>\n <td>R</td>\n <td>20-Jun 2013 23:42</td>\n <td>_0</td>\n <td> </td>\n </tr>\n </table>\n <blockquote>\n <p>\n <b>participant</b>\n </p>\n <p>\n <b>userId</b>: 95\n </p>\n <p>\n <b>altId</b>: 601847123\n </p>\n <p>\n <b>name</b>: Grahame Grieve\n </p>\n <p>\n <b>requestor</b>: true\n </p>\n </blockquote>\n <h3>Sources</h3>\n <table class=\"grid\">\n <tr>\n <td>\n <b>Site</b>\n </td>\n <td>\n <b>Identifier</b>\n </td>\n <td>\n <b>Type</b>\n </td>\n </tr>\n <tr>\n <td>Cloud</td>\n <td>hl7connect.healthintersections.com.au</td>\n <td>\n <span title=\"{http://hl7.org/fhir/security-source-type 3}\">Web Server</span>\n </td>\n </tr>\n </table>\n <blockquote>\n <p>\n <b>object</b>\n </p>\n <p>\n <b>reference</b>: \n <a href=\"Patient/example/history/1\">Patient/example/history/1</a>\n </p>\n <p>\n <b>type</b>: _2\n </p>\n <p>\n <b>lifecycle</b>: _6\n </p>\n </blockquote>\n </div>" }, "event": { "type": { "coding": [ { "system": "http://hl7.org/fhir/security-event-type", "code": "rest", "display": "Restful Operation" } ] }, "subtype": [ { "coding": [ { "system": "http://hl7.org/fhir/restful-operation", "code": "vread", "display": "vread" } ] } ], "action": "R", "dateTime": "2013-06-20T23:42:24Z", "outcome": "0" }, "participant": [ { "userId": "95", "altId": "601847123", "name": "Grahame Grieve", "requestor": true } ], "source": { "site": "Cloud", "identifier": "hl7connect.healthintersections.com.au", "type": [ { "system": "http://hl7.org/fhir/security-source-type", "code": "3", "display": "Web Server" } ] }, "object": [ { "reference": { "reference": "Patient/example/history/1" }, "type": "2", "lifecycle": "6" } ] } © HL7.org 2011+. FHIR DSTU (v0.0.82.2943) generated on Tue, Sep 30, 2014 18:10+1000. Links: What's a DSTU? | Version History | | Propose a change var disqus_shortname = 'fhirdstu';(function() {var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-676355-1']); _gaq.push(['_setDomainName', '.hl7.org']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();