@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://terminology.hl7.org/CodeSystem/object-role> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "object-role"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-04-24T00:00:00+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem object-role</b></p><a name=\"object-role\"> </a><a name=\"hcobject-role\"> </a><a name=\"object-role-en-US\"> </a><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\">Last updated: 2024-04-24 00:00:00+0000</p></div><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/object-role</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">1<a name=\"object-role-1\"> </a></td><td>Patient</td><td>This object is the patient that is the subject of care related to this event.  It is identifiable by patient ID or equivalent.  The patient may be either human or animal.</td></tr><tr><td style=\"white-space:nowrap\">2<a name=\"object-role-2\"> </a></td><td>Location</td><td>This is a location identified as related to the event.  This is usually the location where the event took place.  Note that for shipping, the usual events are arrival at a location or departure from a location.</td></tr><tr><td style=\"white-space:nowrap\">3<a name=\"object-role-3\"> </a></td><td>Report</td><td>This object is any kind of persistent document created as a result of the event.  This could be a paper report, film, electronic report, DICOM Study, etc.  Issues related to medical records life cycle management are conveyed elsewhere.</td></tr><tr><td style=\"white-space:nowrap\">4<a name=\"object-role-4\"> </a></td><td>Domain Resource</td><td>A logical object related to a health record event.  This is any healthcare  specific resource (object) not restricted to FHIR defined Resources.</td></tr><tr><td style=\"white-space:nowrap\">5<a name=\"object-role-5\"> </a></td><td>Master file</td><td>This is any configurable file used to control creation of documents.  Examples include the objects maintained by the HL7 Master File transactions, Value Sets, etc.</td></tr><tr><td style=\"white-space:nowrap\">6<a name=\"object-role-6\"> </a></td><td>User</td><td>A human participant not otherwise identified by some other category.</td></tr><tr><td style=\"white-space:nowrap\">7<a name=\"object-role-7\"> </a></td><td>List</td><td>(deprecated).</td></tr><tr><td style=\"white-space:nowrap\">8<a name=\"object-role-8\"> </a></td><td>Doctor</td><td>Typically, a licensed person who is providing or performing care related to the event, generally a physician.   The key distinction between doctor and practitioner is with regards to their role, not the licensing.  The doctor is the human who actually performed the work.  The practitioner is the human or organization that is responsible for the work.</td></tr><tr><td style=\"white-space:nowrap\">9<a name=\"object-role-9\"> </a></td><td>Subscriber</td><td>A person or system that is being notified as part of the event.  This is relevant in situations where automated systems provide notifications to other parties when an event took place.</td></tr><tr><td style=\"white-space:nowrap\">10<a name=\"object-role-10\"> </a></td><td>Guarantor</td><td>Insurance company, or any other organization who accepts responsibility for paying for the healthcare event.</td></tr><tr><td style=\"white-space:nowrap\">11<a name=\"object-role-11\"> </a></td><td>Security User Entity</td><td>A person or active system object involved in the event with a security role.</td></tr><tr><td style=\"white-space:nowrap\">12<a name=\"object-role-12\"> </a></td><td>Security User Group</td><td>A person or system object involved in the event with the authority to modify security roles of other objects.</td></tr><tr><td style=\"white-space:nowrap\">13<a name=\"object-role-13\"> </a></td><td>Security Resource</td><td>A passive object, such as a role table, that is relevant to the event.</td></tr><tr><td style=\"white-space:nowrap\">14<a name=\"object-role-14\"> </a></td><td>Security Granularity Definition</td><td>(deprecated)  Relevant to certain RBAC security methodologies.</td></tr><tr><td style=\"white-space:nowrap\">15<a name=\"object-role-15\"> </a></td><td>Practitioner</td><td>Any person or organization responsible for providing care.  This encompasses all forms of care, licensed or otherwise, and all sorts of teams and care groups. Note the distinction between practitioner and the doctor that actually provided the care to the patient.</td></tr><tr><td style=\"white-space:nowrap\">16<a name=\"object-role-16\"> </a></td><td>Data Destination</td><td>The source or destination for data transfer, when it does not match some other role.</td></tr><tr><td style=\"white-space:nowrap\">17<a name=\"object-role-17\"> </a></td><td>Data Repository</td><td>A source or destination for data transfer that acts as an archive, database, or similar role.</td></tr><tr><td style=\"white-space:nowrap\">18<a name=\"object-role-18\"> </a></td><td>Schedule</td><td>An object that holds schedule information.  This could be an appointment book, availability information, etc.</td></tr><tr><td style=\"white-space:nowrap\">19<a name=\"object-role-19\"> </a></td><td>Customer</td><td>An organization or person that is the recipient of services.  This could be an organization that is buying services for a patient, or a person that is buying services for an animal.</td></tr><tr><td style=\"white-space:nowrap\">20<a name=\"object-role-20\"> </a></td><td>Job</td><td>An order, task, work item, procedure step, or other description of work to be performed; e.g. a particular instance of an MPPS.</td></tr><tr><td style=\"white-space:nowrap\">21<a name=\"object-role-21\"> </a></td><td>Job Stream</td><td>A list of jobs or a system that provides lists of jobs; e.g. an MWL SCP.</td></tr><tr><td style=\"white-space:nowrap\">22<a name=\"object-role-22\"> </a></td><td>Table</td><td>(Deprecated).</td></tr><tr><td style=\"white-space:nowrap\">23<a name=\"object-role-23\"> </a></td><td>Routing Criteria</td><td>An object that specifies or controls the routing or delivery of items.  For example, a distribution list is the routing criteria for mail.  The items delivered may be documents, jobs, or other objects.</td></tr><tr><td style=\"white-space:nowrap\">24<a name=\"object-role-24\"> </a></td><td>Query</td><td>The contents of a query.  This is used to capture the contents of any kind of query.  For security surveillance purposes knowing the queries being made is very important.</td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "sec" ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "3"^^xsd:integer ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/object-role"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.1135" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.1"] ; # 
  fhir:name [ fhir:v "AuditEventEntityRole"] ; # 
  fhir:title [ fhir:v "AuditEventEntityRole"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-04-24T00:00:00+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Health Level Seven International"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Code representing the role the entity played in the audit event."] ; # 
  fhir:copyright [ fhir:v "This material derives from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/object-role"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/object-role>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "1" ] ;
     fhir:display [ fhir:v "Patient" ] ;
     fhir:definition [ fhir:v "This object is the patient that is the subject of care related to this event.  It is identifiable by patient ID or equivalent.  The patient may be either human or animal." ]
  ] [
     fhir:code [ fhir:v "2" ] ;
     fhir:display [ fhir:v "Location" ] ;
     fhir:definition [ fhir:v "This is a location identified as related to the event.  This is usually the location where the event took place.  Note that for shipping, the usual events are arrival at a location or departure from a location." ]
  ] [
     fhir:code [ fhir:v "3" ] ;
     fhir:display [ fhir:v "Report" ] ;
     fhir:definition [ fhir:v "This object is any kind of persistent document created as a result of the event.  This could be a paper report, film, electronic report, DICOM Study, etc.  Issues related to medical records life cycle management are conveyed elsewhere." ]
  ] [
     fhir:code [ fhir:v "4" ] ;
     fhir:display [ fhir:v "Domain Resource" ] ;
     fhir:definition [ fhir:v "A logical object related to a health record event.  This is any healthcare  specific resource (object) not restricted to FHIR defined Resources." ]
  ] [
     fhir:code [ fhir:v "5" ] ;
     fhir:display [ fhir:v "Master file" ] ;
     fhir:definition [ fhir:v "This is any configurable file used to control creation of documents.  Examples include the objects maintained by the HL7 Master File transactions, Value Sets, etc." ]
  ] [
     fhir:code [ fhir:v "6" ] ;
     fhir:display [ fhir:v "User" ] ;
     fhir:definition [ fhir:v "A human participant not otherwise identified by some other category." ]
  ] [
     fhir:code [ fhir:v "7" ] ;
     fhir:display [ fhir:v "List" ] ;
     fhir:definition [ fhir:v "(deprecated)." ]
  ] [
     fhir:code [ fhir:v "8" ] ;
     fhir:display [ fhir:v "Doctor" ] ;
     fhir:definition [ fhir:v "Typically, a licensed person who is providing or performing care related to the event, generally a physician.   The key distinction between doctor and practitioner is with regards to their role, not the licensing.  The doctor is the human who actually performed the work.  The practitioner is the human or organization that is responsible for the work." ]
  ] [
     fhir:code [ fhir:v "9" ] ;
     fhir:display [ fhir:v "Subscriber" ] ;
     fhir:definition [ fhir:v "A person or system that is being notified as part of the event.  This is relevant in situations where automated systems provide notifications to other parties when an event took place." ]
  ] [
     fhir:code [ fhir:v "10" ] ;
     fhir:display [ fhir:v "Guarantor" ] ;
     fhir:definition [ fhir:v "Insurance company, or any other organization who accepts responsibility for paying for the healthcare event." ]
  ] [
     fhir:code [ fhir:v "11" ] ;
     fhir:display [ fhir:v "Security User Entity" ] ;
     fhir:definition [ fhir:v "A person or active system object involved in the event with a security role." ]
  ] [
     fhir:code [ fhir:v "12" ] ;
     fhir:display [ fhir:v "Security User Group" ] ;
     fhir:definition [ fhir:v "A person or system object involved in the event with the authority to modify security roles of other objects." ]
  ] [
     fhir:code [ fhir:v "13" ] ;
     fhir:display [ fhir:v "Security Resource" ] ;
     fhir:definition [ fhir:v "A passive object, such as a role table, that is relevant to the event." ]
  ] [
     fhir:code [ fhir:v "14" ] ;
     fhir:display [ fhir:v "Security Granularity Definition" ] ;
     fhir:definition [ fhir:v "(deprecated)  Relevant to certain RBAC security methodologies." ]
  ] [
     fhir:code [ fhir:v "15" ] ;
     fhir:display [ fhir:v "Practitioner" ] ;
     fhir:definition [ fhir:v "Any person or organization responsible for providing care.  This encompasses all forms of care, licensed or otherwise, and all sorts of teams and care groups. Note the distinction between practitioner and the doctor that actually provided the care to the patient." ]
  ] [
     fhir:code [ fhir:v "16" ] ;
     fhir:display [ fhir:v "Data Destination" ] ;
     fhir:definition [ fhir:v "The source or destination for data transfer, when it does not match some other role." ]
  ] [
     fhir:code [ fhir:v "17" ] ;
     fhir:display [ fhir:v "Data Repository" ] ;
     fhir:definition [ fhir:v "A source or destination for data transfer that acts as an archive, database, or similar role." ]
  ] [
     fhir:code [ fhir:v "18" ] ;
     fhir:display [ fhir:v "Schedule" ] ;
     fhir:definition [ fhir:v "An object that holds schedule information.  This could be an appointment book, availability information, etc." ]
  ] [
     fhir:code [ fhir:v "19" ] ;
     fhir:display [ fhir:v "Customer" ] ;
     fhir:definition [ fhir:v "An organization or person that is the recipient of services.  This could be an organization that is buying services for a patient, or a person that is buying services for an animal." ]
  ] [
     fhir:code [ fhir:v "20" ] ;
     fhir:display [ fhir:v "Job" ] ;
     fhir:definition [ fhir:v "An order, task, work item, procedure step, or other description of work to be performed; e.g. a particular instance of an MPPS." ]
  ] [
     fhir:code [ fhir:v "21" ] ;
     fhir:display [ fhir:v "Job Stream" ] ;
     fhir:definition [ fhir:v "A list of jobs or a system that provides lists of jobs; e.g. an MWL SCP." ]
  ] [
     fhir:code [ fhir:v "22" ] ;
     fhir:display [ fhir:v "Table" ] ;
     fhir:definition [ fhir:v "(Deprecated)." ]
  ] [
     fhir:code [ fhir:v "23" ] ;
     fhir:display [ fhir:v "Routing Criteria" ] ;
     fhir:definition [ fhir:v "An object that specifies or controls the routing or delivery of items.  For example, a distribution list is the routing criteria for mail.  The items delivered may be documents, jobs, or other objects." ]
  ] [
     fhir:code [ fhir:v "24" ] ;
     fhir:display [ fhir:v "Query" ] ;
     fhir:definition [ fhir:v "The contents of a query.  This is used to capture the contents of any kind of query.  For security surveillance purposes knowing the queries being made is very important." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

