@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "object-role"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2020-04-09T21:10:28.568+00:00" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "sec" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "3" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/object-role"];
  fhir:CodeSystem.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.1.1135" ]
  ];
  fhir:CodeSystem.version [ fhir:value "1.0.0"];
  fhir:CodeSystem.name [ fhir:value "AuditEventEntityRole"];
  fhir:CodeSystem.title [ fhir:value "AuditEventEntityRole"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2020-04-09T21:10:28+00:00"];
  fhir:CodeSystem.publisher [ fhir:value "Health Level Seven International"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "hq@HL7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "Code representing the role the entity played in the audit event."];
  fhir:CodeSystem.copyright [ fhir:value "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:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/object-role"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "1" ];
     fhir:CodeSystem.display [ fhir:value "Patient" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 1;
     fhir:CodeSystem.code [ fhir:value "2" ];
     fhir:CodeSystem.display [ fhir:value "Location" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 2;
     fhir:CodeSystem.code [ fhir:value "3" ];
     fhir:CodeSystem.display [ fhir:value "Report" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 3;
     fhir:CodeSystem.code [ fhir:value "4" ];
     fhir:CodeSystem.display [ fhir:value "Domain Resource" ];
     fhir:CodeSystem.definition [ fhir:value "A logical object related to a health record event.  This is any healthcare  specific resource (object) not restricted to FHIR defined Resources." ]
  ], [
     fhir:index 4;
     fhir:CodeSystem.code [ fhir:value "5" ];
     fhir:CodeSystem.display [ fhir:value "Master file" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 5;
     fhir:CodeSystem.code [ fhir:value "6" ];
     fhir:CodeSystem.display [ fhir:value "User" ];
     fhir:CodeSystem.definition [ fhir:value "A human participant not otherwise identified by some other category." ]
  ], [
     fhir:index 6;
     fhir:CodeSystem.code [ fhir:value "7" ];
     fhir:CodeSystem.display [ fhir:value "List" ];
     fhir:CodeSystem.definition [ fhir:value "(deprecated)." ]
  ], [
     fhir:index 7;
     fhir:CodeSystem.code [ fhir:value "8" ];
     fhir:CodeSystem.display [ fhir:value "Doctor" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 8;
     fhir:CodeSystem.code [ fhir:value "9" ];
     fhir:CodeSystem.display [ fhir:value "Subscriber" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 9;
     fhir:CodeSystem.code [ fhir:value "10" ];
     fhir:CodeSystem.display [ fhir:value "Guarantor" ];
     fhir:CodeSystem.definition [ fhir:value "Insurance company, or any other organization who accepts responsibility for paying for the healthcare event." ]
  ], [
     fhir:index 10;
     fhir:CodeSystem.code [ fhir:value "11" ];
     fhir:CodeSystem.display [ fhir:value "Security User Entity" ];
     fhir:CodeSystem.definition [ fhir:value "A person or active system object involved in the event with a security role." ]
  ], [
     fhir:index 11;
     fhir:CodeSystem.code [ fhir:value "12" ];
     fhir:CodeSystem.display [ fhir:value "Security User Group" ];
     fhir:CodeSystem.definition [ fhir:value "A person or system object involved in the event with the authority to modify security roles of other objects." ]
  ], [
     fhir:index 12;
     fhir:CodeSystem.code [ fhir:value "13" ];
     fhir:CodeSystem.display [ fhir:value "Security Resource" ];
     fhir:CodeSystem.definition [ fhir:value "A passive object, such as a role table, that is relevant to the event." ]
  ], [
     fhir:index 13;
     fhir:CodeSystem.code [ fhir:value "14" ];
     fhir:CodeSystem.display [ fhir:value "Security Granularity Definition" ];
     fhir:CodeSystem.definition [ fhir:value "(deprecated)  Relevant to certain RBAC security methodologies." ]
  ], [
     fhir:index 14;
     fhir:CodeSystem.code [ fhir:value "15" ];
     fhir:CodeSystem.display [ fhir:value "Practitioner" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 15;
     fhir:CodeSystem.code [ fhir:value "16" ];
     fhir:CodeSystem.display [ fhir:value "Data Destination" ];
     fhir:CodeSystem.definition [ fhir:value "The source or destination for data transfer, when it does not match some other role." ]
  ], [
     fhir:index 16;
     fhir:CodeSystem.code [ fhir:value "17" ];
     fhir:CodeSystem.display [ fhir:value "Data Repository" ];
     fhir:CodeSystem.definition [ fhir:value "A source or destination for data transfer that acts as an archive, database, or similar role." ]
  ], [
     fhir:index 17;
     fhir:CodeSystem.code [ fhir:value "18" ];
     fhir:CodeSystem.display [ fhir:value "Schedule" ];
     fhir:CodeSystem.definition [ fhir:value "An object that holds schedule information.  This could be an appointment book, availability information, etc." ]
  ], [
     fhir:index 18;
     fhir:CodeSystem.code [ fhir:value "19" ];
     fhir:CodeSystem.display [ fhir:value "Customer" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 19;
     fhir:CodeSystem.code [ fhir:value "20" ];
     fhir:CodeSystem.display [ fhir:value "Job" ];
     fhir:CodeSystem.definition [ fhir:value "An order, task, work item, procedure step, or other description of work to be performed; e.g. a particular instance of an MPPS." ]
  ], [
     fhir:index 20;
     fhir:CodeSystem.code [ fhir:value "21" ];
     fhir:CodeSystem.display [ fhir:value "Job Stream" ];
     fhir:CodeSystem.definition [ fhir:value "A list of jobs or a system that provides lists of jobs; e.g. an MWL SCP." ]
  ], [
     fhir:index 21;
     fhir:CodeSystem.code [ fhir:value "22" ];
     fhir:CodeSystem.display [ fhir:value "Table" ];
     fhir:CodeSystem.definition [ fhir:value "(Deprecated)." ]
  ], [
     fhir:index 22;
     fhir:CodeSystem.code [ fhir:value "23" ];
     fhir:CodeSystem.display [ fhir:value "Routing Criteria" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 23;
     fhir:CodeSystem.code [ fhir:value "24" ];
     fhir:CodeSystem.display [ fhir:value "Query" ];
     fhir:CodeSystem.definition [ fhir:value "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." ]
  ] .

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

