@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://resmed.com/fhir/core/AuditEvent/monitoring-rule-updated-audit-event> a fhir:AuditEvent ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "monitoring-rule-updated-audit-event"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://resmed.com/fhir/core/StructureDefinition/auditevent-rmd-update"^^xsd:anyURI ;
       fhir:link <http://resmed.com/fhir/core/StructureDefinition/auditevent-rmd-update>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AuditEvent</b><a name=\"monitoring-rule-updated-audit-event\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource AuditEvent &quot;monitoring-rule-updated-audit-event&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-auditevent-rmd-update.html\">ResMed Update AuditEvent</a></p></div><p><b>type</b>: Restful Operation (Details: http://terminology.hl7.org/CodeSystem/audit-event-type code rest = 'RESTful Operation', stated as 'Restful Operation')</p><p><b>subtype</b>: update (Details: http://hl7.org/fhir/restful-interaction code update = 'update', stated as 'update')</p><p><b>recorded</b>: Feb 17, 2023, 1:24:04 PM</p><p><b>outcome</b>: 0</p><blockquote><p><b>agent</b></p><p><b>type</b>: Source Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/codesystem-dicom-dcim.html\">DICOM</a>#110153)</span></p><p><b>who</b>: <span>id: 0oa13xv7gwdbnhjFF0h8</span></p><p><b>requestor</b>: false</p><h3>Networks</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>192.168.123.132</td><td>2</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: Destination Role ID <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/codesystem-dicom-dcim.html\">DICOM</a>#110152)</span></p><p><b>who</b>: <span>id: CHP</span></p><p><b>requestor</b>: false</p><h3>Networks</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td style=\"display: none\">*</td><td>https://api.dev.resmedchp.com</td><td>5</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: User OAuth Agent participant <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://profiles.ihe.net/ITI/BALP/1.1.2/CodeSystem-UserAgentTypes.html\">The code used to identifiy a User Agent</a>#UserOauthAgent)</span></p><p><b>who</b>: <span>id: 0oa13xv7gwdbnhjFF0h8</span></p><p><b>requestor</b>: true</p><p><b>policy</b>: <code>AT.E5DnL5WMH6kRrobRnzcyin2J-ZKuLFnIAYNqc_Tm-d0</code></p></blockquote><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Site</b></td><td><b>Observer</b></td></tr><tr><td style=\"display: none\">*</td><td>resmedchp.com</td><td><span>id: CHP</span></td></tr></table><blockquote><p><b>entity</b></p><p><b>what</b>: <span>id: 61dbee25-67c3-5aa0-814f-b2d8573a7214</span></p><p><b>type</b>: transport specific unique identifier where http X-Request-Id is used (Details: https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType code XrequestId = 'transport specific unique identifier where http X-Request-Id is used', stated as 'null')</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <span>id: 80032057-66c5-4a0b-a3fd-3e5deb01050e</span></p><p><b>type</b>: An identifier for a ResMed system tenant for the interaction being audited (Details: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs code tenant-id = 'An identifier for a ResMed system tenant for the interaction being audited', stated as 'null')</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <span>id: 1-64ac2152-687f38375b76970d3f0e6c10</span></p><p><b>type</b>: A transport layer-specific unique identifier for the interaction, e.g. X-Amzn-Trace-ID (Details: http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs code trace-id = 'A transport layer-specific unique identifier for the interaction, e.g. X-Amzn-Trace-ID', stated as 'null')</p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <a href=\"PlanDefinition-rmd-sully-rule2.html\">PlanDefinition/rmd-sully-rule2</a> &quot;SpontTriggerOverPctofMedianforConsecutiveDays&quot;</p><p><b>type</b>: System Object (Details: http://terminology.hl7.org/CodeSystem/audit-entity-type code 2 = 'System Object', stated as 'System Object')</p><p><b>role</b>: Domain Resource (Details: http://terminology.hl7.org/CodeSystem/object-role code 4 = 'Domain Resource', stated as 'Domain Resource')</p></blockquote></div>"
  ] ; # 
  fhir:type [
     fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/audit-event-type"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "rest" ] ;
     fhir:display [ fhir:v "Restful Operation" ]
  ] ; # 
  fhir:subtype ( [
     fhir:system [ fhir:v "http://hl7.org/fhir/restful-interaction"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "update" ] ;
     fhir:display [ fhir:v "update" ]
  ] ) ; # 
  fhir:recorded [ fhir:v "2023-02-17T13:24:04.621Z"^^xsd:dateTime] ; # 
  fhir:outcome [ fhir:v "0"] ; # 
  fhir:agent ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "110153" ] ;
         fhir:display [ fhir:v "Source Role ID" ]
       ] )
     ] ;
     fhir:who [
       fhir:identifier [
         fhir:value [ fhir:v "0oa13xv7gwdbnhjFF0h8" ]
       ]
     ] ;
     fhir:requestor [ fhir:v "false"^^xsd:boolean ] ;
     fhir:network [
       fhir:address [ fhir:v "192.168.123.132" ] ;
       fhir:type [ fhir:v "2" ]
     ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://dicom.nema.org/resources/ontology/DCM"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "110152" ] ;
         fhir:display [ fhir:v "Destination Role ID" ]
       ] )
     ] ;
     fhir:who [
       fhir:identifier [
         fhir:system [ fhir:v "http://terminology.resmed.com/CodeSystem/resmed-system-identifier"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "CHP" ]
       ]
     ] ;
     fhir:requestor [ fhir:v "false"^^xsd:boolean ] ;
     fhir:network [
       fhir:address [ fhir:v "https://api.dev.resmedchp.com" ] ;
       fhir:type [ fhir:v "5" ]
     ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "https://profiles.ihe.net/ITI/BALP/CodeSystem/UserAgentTypes"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "UserOauthAgent" ]
       ] )
     ] ;
     fhir:who [
       fhir:identifier [
         fhir:system [ fhir:v "https://resmed-sandbox-dht.oktapreview.com/oauth2/aus13xvvtnecfY6Hf0h8"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "0oa13xv7gwdbnhjFF0h8" ]
       ]
     ] ;
     fhir:requestor [ fhir:v "true"^^xsd:boolean ] ;
     fhir:policy ( [ fhir:v "AT.E5DnL5WMH6kRrobRnzcyin2J-ZKuLFnIAYNqc_Tm-d0"^^xsd:anyURI ] )
  ] ) ; # 
  fhir:source [
     fhir:site [ fhir:v "resmedchp.com" ] ;
     fhir:observer [
       fhir:identifier [
         fhir:system [ fhir:v "http://terminology.resmed.com/CodeSystem/resmed-system-identifier"^^xsd:anyURI ] ;
         fhir:value [ fhir:v "CHP" ]
       ]
     ]
  ] ; # 
  fhir:entity ( [
     fhir:what [
       fhir:identifier [
         fhir:value [ fhir:v "61dbee25-67c3-5aa0-814f-b2d8573a7214" ]
       ]
     ] ;
     fhir:type [
       fhir:system [ fhir:v "https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "XrequestId" ]
     ]
  ] [
     fhir:what [
       fhir:identifier [
         fhir:value [ fhir:v "80032057-66c5-4a0b-a3fd-3e5deb01050e" ]
       ]
     ] ;
     fhir:type [
       fhir:system [ fhir:v "http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "tenant-id" ]
     ]
  ] [
     fhir:what [
       fhir:identifier [
         fhir:value [ fhir:v "1-64ac2152-687f38375b76970d3f0e6c10" ]
       ]
     ] ;
     fhir:type [
       fhir:system [ fhir:v "http://resmed.com/fhir/core/CodeSystem/rmd-auditEventEntityType-cs"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "trace-id" ]
     ]
  ] [
     fhir:what [
       fhir:link <http://resmed.com/fhir/core/PlanDefinition/rmd-sully-rule2> ;
       fhir:reference [ fhir:v "PlanDefinition/rmd-sully-rule2" ]
     ] ;
     fhir:type [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/audit-entity-type"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "2" ] ;
       fhir:display [ fhir:v "System Object" ]
     ] ;
     fhir:role [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "4" ] ;
       fhir:display [ fhir:v "Domain Resource" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

