<?xml version="1.0" encoding="UTF-8"?>

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="v3-xDocumentEntrySubject"/>
  <language value="en"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><ul><li>Include these codes as defined in <a href="CodeSystem-v3-RoleClass.html"><code>http://terminology.hl7.org/CodeSystem/v3-RoleClass</code></a><table class="none"><tr><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a href="CodeSystem-v3-RoleClass.html#v3-RoleClass-PAT">PAT</a></td><td style="color: #cccccc">patient</td><td>A Role of a LivingSubject (player) as an actual or potential recipient of health care services from a healthcare provider organization (scoper).<br/><br/>*Usage Note:* Communication about relationships between patients and specific healthcare practitioners (people) is not done via scoper. Instead this is generally done using the CareProvision act. This allows linkage between patient and a particular healthcare practitioner role and also allows description of the type of care involved in the relationship.</td></tr><tr><td><a href="CodeSystem-v3-RoleClass.html#v3-RoleClass-PRS">PRS</a></td><td style="color: #cccccc">personal relationship</td><td>Links two entities with classCode PSN (person) in a personal relationship. The character of the relationship must be defined by a PersonalRelationshipRoleType code. The player and scoper are determined by PersonalRelationshipRoleType code as well.</td></tr><tr><td><a href="CodeSystem-v3-RoleClass.html#v3-RoleClass-SPEC">SPEC</a></td><td style="color: #cccccc">specimen</td><td>A role played by a material entity that is a specimen for an act. It is scoped by the source of the specimen.</td></tr></table></li></ul></div>
  </text>
  <extension url="http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp">
    <extension url="name">
      <valueString value="Name:Class"/>
    </extension>
    <extension url="value">
      <valueString value="documentEntrySubject"/>
    </extension>
  </extension>
  <extension url="http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp">
    <extension url="name">
      <valueString value="Name:Role:player:Entity"/>
    </extension>
    <extension url="value">
      <valueString value="documentEntrySubject&amp;"/>
    </extension>
  </extension>
  <extension url="http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp">
    <extension url="name">
      <valueString value="Name:Role:scoper:Entity"/>
    </extension>
    <extension url="value">
      <valueString value="scoping&amp;"/>
    </extension>
  </extension>
  <extension url="http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp">
    <extension url="name">
      <valueString value="Sort:Entity:playedRole:Role"/>
    </extension>
    <extension url="value">
      <valueString value="AAAAA____"/>
    </extension>
  </extension>
  <extension url="http://terminology.hl7.org/StructureDefinition/ext-mif-assocConceptProp">
    <extension url="name">
      <valueString value="Sort:Entity:scopedRole:Role"/>
    </extension>
    <extension url="value">
      <valueString value="AAAAA____"/>
    </extension>
  </extension>
  <url value="http://terminology.hl7.org/ValueSet/v3-xDocumentEntrySubject"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.1.11.19367"/>
  </identifier>
  <version value="3.0.0"/>
  <name value="XDocumentEntrySubject"/>
  <title value="x_DocumentEntrySubject"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2014-03-26"/>
  <publisher value="Health Level Seven International"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="hq@HL7.org"/>
    </telecom>
  </contact>
  <description value="Used to represent the role(s) of those who can serve as subjects of the contents of a clinical document."/>
  <copyright 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"/>
  <compose>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v3-RoleClass"/>
      <concept>
        <code value="PAT"/>
      </concept>
      <concept>
        <code value="PRS"/>
      </concept>
      <concept>
        <code value="SPEC"/>
      </concept>
    </include>
  </compose>
</ValueSet>