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

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

[] a fhir:ValueSet;
  fhir:Resource.id [ fhir:value "v3-RoleClassCoveredParty"];
  fhir:Resource.language [ fhir:value "en"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:ValueSet.url [ fhir:value "http://terminology.hl7.org/ValueSet/v3-RoleClassCoveredParty"];
  fhir:ValueSet.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.1.11.19807" ]
  ];
  fhir:ValueSet.version [ fhir:value "3.0.0"];
  fhir:ValueSet.name [ fhir:value "RoleClassCoveredParty"];
  fhir:ValueSet.title [ fhir:value "RoleClassCoveredParty"];
  fhir:ValueSet.status [ fhir:value "active"];
  fhir:ValueSet.experimental [ fhir:value "false"];
  fhir:ValueSet.date [ fhir:value "2014-03-26"];
  fhir:ValueSet.publisher [ fhir:value "Health Level Seven International"];
  fhir:ValueSet.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:ValueSet.description [ fhir:value "**Description:** A relationship between a party that receives benefit coverage under the terms of an insurance policy or program and the underwriter of the policy or program. The role is played by the party that receives benefit coverage under the terms of a particular insurance policy or program. The organization playing the underwriter of that policy or program is the scoping entity.\r\n\r\nA covered party receives coverage under a policy because of some contractual or other relationship with the policy holder. In most cases, the policy holder has discretion over which parties may be covered under a policy, unless the policy holder assigns or is required by a court to assign this right.\r\n\r\nA covered party receives coverage under a program by being determined eligible based on program eligibility criteria specified by the program sponsor.\r\n\r\n**Discussion:** This reason for coverage is specified by use of a role type code from either of the abstract value sets beneath the PolicyOrProgramCoverageRoleType abstract value set.\r\n\r\nThe CoverageRoleType abstract value set can only be used when the role class is the concept code \"covered party\" (COVPTY) because this value set contains precoordinated coded concepts relating to coverage criteria that was developed for the Canadian realm. This is to avoid overlapping concepts, e.g., the DEPEN role.class cannot be used with the FAMDEP Role.code\r\n\r\nThe CoveredPartyRoleType abstract value set may be used with any of the covered party role class codes to support post coordination of coverage criteria. Where coverage under a policy depends on the concurrence of a policy holder, a relationship link with type code of indirect authority should be included using the policy holder role as the source, and the covered party role as the target.\r\n\r\n**Note:** A particular policy may cover several parties, one of whom may be, but need not be, the policy holder. Thus the notion of covered party is a role that is distinct from that of the policy holder.\r\n\r\n**Note:** The entity playing the role of covered party is an organization, a non-person living subject or a group of persons, the role class codes Subscriber and Dependent may not be used."];
  fhir:ValueSet.immutable [ fhir:value "true"];
  fhir:ValueSet.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:ValueSet.compose [
     fhir:ValueSet.include [
       fhir:index 0;
       fhir:ValueSet.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-RoleClass" ];
       fhir:ValueSet.filter [
         fhir:index 0;
         fhir:ValueSet.property [ fhir:value "concept" ];
         fhir:ValueSet.op [ fhir:value "is-a" ];
         fhir:ValueSet.value [ fhir:value "COVPTY" ]
       ]
     ]
  ] .

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

