001package org.hl7.fhir.r5.model.codesystems;
002
003/*
004 * #%L
005 * org.hl7.fhir.r5
006 * %%
007 * Copyright (C) 2014 - 2019 Health Level 7
008 * %%
009 * Licensed under the Apache License, Version 2.0 (the "License");
010 * you may not use this file except in compliance with the License.
011 * You may obtain a copy of the License at
012 * 
013 *      http://www.apache.org/licenses/LICENSE-2.0
014 * 
015 * Unless required by applicable law or agreed to in writing, software
016 * distributed under the License is distributed on an "AS IS" BASIS,
017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
018 * See the License for the specific language governing permissions and
019 * limitations under the License.
020 * #L%
021 */
022
023/*
024  Copyright (c) 2011+, HL7, Inc.
025  All rights reserved.
026  
027  Redistribution and use in source and binary forms, with or without modification, 
028  are permitted provided that the following conditions are met:
029  
030   * Redistributions of source code must retain the above copyright notice, this 
031     list of conditions and the following disclaimer.
032   * Redistributions in binary form must reproduce the above copyright notice, 
033     this list of conditions and the following disclaimer in the documentation 
034     and/or other materials provided with the distribution.
035   * Neither the name of HL7 nor the names of its contributors may be used to 
036     endorse or promote products derived from this software without specific 
037     prior written permission.
038  
039  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
040  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
041  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
042  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
043  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
044  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
045  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
046  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
047  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
048  POSSIBILITY OF SUCH DAMAGE.
049  
050*/
051
052// Generated on Thu, Oct 17, 2019 09:42+1100 for FHIR v4.1.0
053
054
055import org.hl7.fhir.exceptions.FHIRException;
056
057public enum V3RoleClass {
058
059        /**
060         * Corresponds to the Role class
061         */
062        ROL, 
063        /**
064         * A general association between two entities that is neither partitive nor ontological.
065         */
066        _ROLECLASSASSOCIATIVE, 
067        /**
068         * A relationship that is based on mutual behavior of the two Entities as being related. The basis of such relationship may be agreements (e.g., spouses, contract parties) or they may be de facto behavior (e.g. friends) or may be an incidental involvement with each other (e.g. parties over a dispute, siblings, children).
069         */
070        _ROLECLASSMUTUALRELATIONSHIP, 
071        /**
072         * A relationship between two entities that is formally recognized, frequently by a contract or similar agreement.
073         */
074        _ROLECLASSRELATIONSHIPFORMAL, 
075        /**
076         * Player of the Affiliate role has a business/professional relationship with scoper.  Player and scoper may be persons or organization.  The Affiliate relationship does not imply membership in a group, nor does it exist for resource scheduling purposes.
077
078                        
079                           Example: A healthcare provider is affiliated with another provider as a business associate.
080         */
081        AFFL, 
082        /**
083         * An entity (player) that acts or is authorized to act on behalf of another entity (scoper).
084         */
085        AGNT, 
086        /**
087         * An agent role in which the agent is an Entity acting in the employ of an organization.  The focus is on functional role on behalf of the organization, unlike the Employee role where the focus is on the 'Human Resources' relationship between the employee and the organization.
088         */
089        ASSIGNED, 
090        /**
091         * An Entity that is authorized to issue or instantiate permissions, privileges, credentials or other formal/legal authorizations.
092         */
093        COMPAR, 
094        /**
095         * The role of a person (player) who is the officer or signature authority for of a scoping entity, usually an organization (scoper).
096         */
097        SGNOFF, 
098        /**
099         * A person or an organization (player) which provides or receives information regarding another entity (scoper).  Examples; patient NOK and emergency contacts; guarantor contact; employer contact.
100         */
101        CON, 
102        /**
103         * An entity to be contacted in the event of an emergency.
104         */
105        ECON, 
106        /**
107         * An individual designated for notification as the next of kin for a given entity.
108         */
109        NOK, 
110        /**
111         * Guardian of a ward
112         */
113        GUARD, 
114        /**
115         * Citizen of apolitical entity
116         */
117        CIT, 
118        /**
119         * A role class played by a person who receives benefit coverage under the terms of a particular insurance policy.  The underwriter of that policy is the scoping entity.  The covered party receives coverage because of some contractual or other relationship with the holder of that policy.
120
121                        
122                           Discussion:This reason for coverage is captured in 'Role.code' and 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.
123
124                        Note that a particular policy may cover several individuals 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.
125         */
126        COVPTY, 
127        /**
128         * Description: A role played by a party making a claim for coverage under a policy or program.  A claimant must be either a person or organization, or a group of persons or organizations.  A claimant is not a named insured or a program eligible.
129
130                        
131                           Discussion: With respect to liability insurance such as property and casualty insurance, a claimant must file a claim requesting indemnification for a loss that the claimant considers covered under the policy of a named insured.  The claims adjuster for the policy underwriter will review the claim to determine whether the loss meets the benefit coverage criteria under a policy, and base any indemnification or coverage payment on that review.  If a third party is liable in whole or part for the loss, the underwriter may pursue third party liability recovery.  A claimant may be involved in civil or criminal legal proceedings involving claims against a defendant party that is indemnified by an insurance policy or to protest the finding of a claims adjustor. With respect to life insurance, a beneficiary designated by a named insured becomes a claimant of the proceeds of coverage, as in the case of a life insurance policy.  However, a claimant for coverage under life insurance is not necessarily a designated beneficiary.
132
133                        
134                           Note: A claimant is not a named insured.  However, a named insured may make a claim under a policy, e.g., an insured driver may make a claim for an injury under his or her comprehensive automobile insurance policy.  Similarly, a program eligible may make a claim under program, e.g., an unemployed worker may claim benefits under an unemployment insurance program, but parties playing these covered party role classes are not, for purposes of this vocabulary and in an effort to clearly distinguish role classes, considered claimants.
135
136                        In the case of a named insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that either a named insured or an individual insured has filed a claim for a loss.  In the case of a program eligible, a role type code INJWKR (injured worker) subtypes the class to indicate that the covered party in a workers compensation program is an injured worker, and as such, has filed a "claim" under the program for benefits.  Likewise, a covered role type code UNEMP (unemployed worker) subtypes the program eligible class to indicate that the covered party in an unemployment insurance program has filed a claim for unemployment benefits.
137
138                        
139                           Example: A claimant under automobile policy that is not the named insured.
140         */
141        CLAIM, 
142        /**
143         * Description: A role played by a party to an insurance policy to which the insurer agrees to indemnify for losses, provides benefits for, or renders services.  A named insured may be either a person, non-person living subject, or an organization, or a group of persons, non-person living subjects, or organizations.
144
145                        
146                           Discussion: The coded concept NAMED should not be used where a more specific child concept in this Specializable value set applies.  In some cases, the named insured may not be the policy holder, e.g., where a policy holder purchases life insurance policy in which another party is the named insured and the policy holder is the beneficiary of the policy.
147
148                        
149                           Note: The party playing the role of a named insured is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant).  However, a named insured may make a claim under a policy, e.g., e.g., a party that is the named insured and policy holder under a comprehensive automobile insurance policy may become the claimant for coverage under that policy e.g., if injured in an automobile accident and there is no liable third party.  In the case of a named insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that a named insured has filed a claim for a loss.
150
151                        
152                           Example: The named insured under a comprehensive automobile, disability, or property and casualty policy that is the named insured and may or may not be the policy holder.
153         */
154        NAMED, 
155        /**
156         * Description: A role played by a person covered under a policy or program based on an association with a subscriber, which is recognized by the policy holder.
157
158                        
159                           Note:  The party playing the role of a dependent is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant).  However, a dependent may make a claim under a policy, e.g., a dependent under a health insurance policy may become the claimant for coverage under that policy for wellness examines or if injured and there is no liable third party.  In the case of a dependent making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that the dependent has filed a claim for services covered under the health insurance policy.
160
161                        
162                           Example: The dependent has an association with the subscriber such as a financial dependency or personal relationship such as that of a spouse, or a natural or adopted child.  The policy holder may be required by law to recognize certain associations or may have discretion about the associations.  For example, a policy holder may dictate the criteria for the dependent status of adult children who are students, such as requiring full time enrollment, or may recognize domestic partners as dependents.  Under certain circumstances, the dependent may be under the indirect authority of a responsible party acting as a surrogate for the subscriber, for example, if the subscriber is differently abled or deceased, a guardian ad Lidem or estate executor may be appointed to assume the subscriberaTMs legal standing in the relationship with the dependent.
163         */
164        DEPEN, 
165        /**
166         * Description: A role played by a party covered under a policy as the policy holder.  An individual may be either a person or an organization.
167
168                        
169                           Note: The party playing the role of an individual insured is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant).  However, a named insured may make a claim under a policy, e.g., a party that is the named insured and policy holder under a comprehensive automobile insurance policy may become the claimant for coverage under that policy if injured in an automobile accident and there is no liable third party.  In the case of an individual insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that an individual insured has filed a claim for a loss.
170
171                        
172                           Example: The individual insured under a comprehensive automobile, disability, or property and casualty policy that is the policy holder.
173         */
174        INDIV, 
175        /**
176         * Description: A role played by a person covered under a policy based on association with a sponsor who is the policy holder, and whose association may provide for the eligibility of dependents for coverage.
177
178                        
179                           Discussion: The policy holder holds the contract with the policy or program underwriter.  The subscriber holds a certificate of coverage under the contract.  In legal proceedings concerning the policy or program, the terms of the contract takes precedence over the terms of the certificate of coverage if there are any inconsistencies.
180
181                        
182                           Note: The party playing the role of a subscriber is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant).  However, a subscriber may make a claim under a policy, e.g., a subscriber under a health insurance policy may become the claimant for coverage under that policy for wellness examines or if injured and there is no liable third party.  In the case of a subscriber making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that the subscriber has filed a claim for services covered under the health insurance policy.
183
184                        
185                           Example: An employee or a member of an association.
186         */
187        SUBSCR, 
188        /**
189         * Description: A role played by a party that meets the eligibility criteria for coverage under a program.  A program eligible may be either a person, non-person living subject, or an organization, or a group of persons, non-person living subjects, or organizations.
190
191                        
192                           Discussion: A program as typically government administered coverage for parties determined eligible under the terms of the program.
193
194                        
195                           Note: The party playing a program eligible is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant).  However a program eligible may make a claim under program, e.g., an unemployed worker may claim benefits under an unemployment insurance program, but parties playing these covered party role classes are not, for purposes of this vocabulary and in an effort to clearly distinguish role classes, considered claimants.
196
197                        In the case of a program eligible, a role type code INJWKR (injured worker) subtypes the class to indicate that the covered party in a workers compensation program is an injured worker, and as such, has filed a "claim" under the program for benefits.  Likewise, a covered role type code UNEMP (unemployed worker) subtypes the program eligible class to indicate that the covered party in an unemployment insurance program has filed a claim for unemployment benefits.
198
199                        
200                           Example: A party meeting eligibility criteria related to health or financial status, e.g., in the U.S., persons meeting health, demographic, or financial criteria established by state and federal law are eligible for Medicaid.
201         */
202        PROG, 
203        /**
204         * A role played by a provider, always a person, who has agency authority from a Clinical Research Sponsor to direct the conduct of a clinical research trial or study on behalf of the sponsor.
205         */
206        CRINV, 
207        /**
208         * A role played by an entity, usually an organization, that is the sponsor of a clinical research trial or study.  The sponsor commissions the study, bears the expenses, is responsible for satisfying all legal requirements concerning subject safety and privacy, and is generally responsible for collection, storage and analysis of the data generated during the trial.  No scoper is necessary, as a clinical research sponsor undertakes the role on its own authority and declaration. Clinical research sponsors are usually educational or other research organizations, government agencies or biopharmaceutical companies.
209         */
210        CRSPNSR, 
211        /**
212         * A relationship between a person or organization and a person or organization formed for the purpose of exchanging work for compensation.  The purpose of the role is to identify the type of relationship the employee has to the employer, rather than the nature of the work actually performed.  (Contrast with AssignedEntity.)
213         */
214        EMP, 
215        /**
216         * A role played by a member of a military service. Scoper is the military service (e.g. Army, Navy, Air Force, etc.) or, more specifically, the unit (e.g. Company C, 3rd Battalion, 4th Division, etc.)
217         */
218        MIL, 
219        /**
220         * A person or organization (player) that serves as a financial guarantor for another person or organization (scoper).
221         */
222        GUAR, 
223        /**
224         * An entity that is the subject of an investigation. This role is scoped by the party responsible for the investigation.
225         */
226        INVSBJ, 
227        /**
228         * A person, non-person living subject, or place that is the subject of an investigation related to a notifiable condition (health circumstance that is reportable within the applicable public health jurisdiction)
229         */
230        CASEBJ, 
231        /**
232         * Definition:Specifies the administrative functionality within a formal experimental design for which the ResearchSubject role was established.
233
234                        
235                           Examples: Screening - role is used for pre-enrollment evaluation portion of the design; enrolled - role is used for subjects admitted to the experimental portion of the design.
236         */
237        RESBJ, 
238        /**
239         * A relationship in which the scoper certifies the player ( e. g. a medical care giver, a medical device or a provider organization) to perform certain activities that fall under the jurisdiction of the scoper (e.g., a health authority licensing healthcare providers, a medical quality authority certifying healthcare professionals).
240         */
241        LIC, 
242        /**
243         * notary public
244         */
245        NOT, 
246        /**
247         * An Entity (player) that is authorized to provide health care services by some authorizing agency (scoper).
248         */
249        PROV, 
250        /**
251         * A Role of a LivingSubject (player) as an actual or potential recipient of health care services from a healthcare provider organization (scoper).
252
253                        
254                           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.
255         */
256        PAT, 
257        /**
258         * The role of an organization or individual designated to receive payment for a claim against a particular coverage. The scoping entity is the organization that is the submitter of the invoice in question.
259         */
260        PAYEE, 
261        /**
262         * The role of an organization that undertakes to accept claims invoices, assess the coverage or payments due for those invoices and pay to the designated payees for those invoices.  This role may be either the underwriter or a third-party organization authorized by the underwriter.  The scoping entity is the organization that underwrites the claimed coverage.
263         */
264        PAYOR, 
265        /**
266         * A role played by a person or organization that holds an insurance policy.  The underwriter of that policy is the scoping entity.
267
268                        
269                           Discussion:The identifier of the policy is captured in 'Role.id' when the Role is a policy holder.
270
271                        A particular policy may cover several individuals 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.
272         */
273        POLHOLD, 
274        /**
275         * An entity (player) that has been recognized as having certain training/experience or other characteristics that would make said entity an appropriate performer for a certain activity. The scoper is an organization that educates or qualifies entities.
276         */
277        QUAL, 
278        /**
279         * A role played by an entity, usually an organization that is the sponsor of an insurance plan or a health program. A sponsor is the party that is ultimately accountable for the coverage by employment contract or by law.  A sponsor can be an employer, union, government agency, or association.  Fully insured sponsors establish the terms of the plan and contract with health insurance plans to assume the risk and to administer the plan.  Self-insured sponsors delegate coverage administration, but not risk, to third-party administrators.  Program sponsors designate services to be covered in accordance with statute.   Program sponsors may administer the coverage themselves, delegate coverage administration, but not risk to third-party administrators, or contract with health insurance plans to assume the risk and administrator a program. Sponsors qualify individuals who may become 
280
281                        
282                           
283                              a policy holder of the plan;
284
285                           
286                           
287                              where the sponsor is the policy holder, who may become a subscriber or a dependent to a policy under the plan; or
288
289                           
290                           
291                              where the sponsor is a government agency, who may become program eligibles under a program. 
292
293                           
294                        
295                        The sponsor role may be further qualified by the SponsorRole.code.  Entities playing the sponsor role may also play the role of a Coverage Administrator.
296
297                        
298                           Example: An employer, union, government agency, or association.
299         */
300        SPNSR, 
301        /**
302         * A role played by an individual who is a student of a school, which is the scoping entity.
303         */
304        STD, 
305        /**
306         * A role played by a person or an organization.  It is the party that 
307
308                        
309                           
310                              accepts fiscal responsibility for insurance plans and the policies created under those plans;
311
312                           
313                           
314                              administers and accepts fiscal responsibility for a program that provides coverage for services to eligible individuals; and/or
315
316                           
317                           
318                              has the responsibility to assess the merits of each risk and decide a suitable premium for accepting all or part of the risk.  If played by an organization, this role may be further specified by an appropriate RoleCode.
319
320                           
321                        
322                        
323                           Example:
324                        
325
326                        
327                           
328                              A health insurer; 
329
330                           
331                           
332                              Medicaid Program;
333
334                           
335                           
336                              Lloyd's of London
337         */
338        UNDWRT, 
339        /**
340         * A person responsible for the primary care of a patient at home.
341         */
342        CAREGIVER, 
343        /**
344         * 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.
345         */
346        PRS, 
347        /**
348         * The "same" roleclass asserts an identity between playing and scoping entities: that they are in fact instances of the same entity and, in the case of discrepancies (e.g different DOB, gender), that one or both are in error.
349
350                        
351                           Usage:
352                        
353
354                        playing and scoping entities must have same classcode, but need not have identical attributes or values. 
355
356                        
357                           Example: 
358                        
359
360                        a provider registry maintains sets of conflicting demographic data for what is reported to be the same individual.
361         */
362        SELF, 
363        /**
364         * An association for a playing Entity that is used, known, treated, handled, built, or destroyed, etc. under the auspices of the scoping Entity. The playing Entity is passive in these roles (even though it may be active in other roles), in the sense that the kinds of things done to it in this role happen without an agreement from the playing Entity.
365         */
366        _ROLECLASSPASSIVE, 
367        /**
368         * A role in which the playing entity (material) provides access to another entity. The principal use case is intravenous (or other bodily) access lines that preexist and need to be referred to for medication routing instructions.
369         */
370        ACCESS, 
371        /**
372         * A physical association whereby two Entities are in some (even lose) spatial relationship with each other such that they touch each other in some way.
373
374                        
375                           Examples: the colon is connected (and therefore adjacent) to the jejunum; the colon is adjacent to the liver (even if not actually connected.)
376
377                        
378                           UsageConstraints: Adjacency is in principle a symmetrical connection, but scoper and player of the role should, where applicable, be assigned to have scoper be the larger, more central Entity and player the smaller, more distant, appendage.
379         */
380        ADJY, 
381        /**
382         * An adjacency of two Entities held together by a bond which attaches to each of the two entities. 
383
384                        
385                           Examples: biceps brachii muscle connected to the radius bone, port 3 on a network switch connected to port 5 on a patch panel.
386
387                        
388                           UsageConstraints: See Adjacency for the assignment of scoper (larger, more central) and player (smaller, more distant).
389         */
390        CONC, 
391        /**
392         * A connection between two atoms of a molecule.
393
394                        
395                           Examples: double bond between first and second C in ethane, peptide bond between two amino-acid, disulfide bridge between two proteins, chelate and ion associations, even the much weaker van-der-Waals bonds can be considered molecular bonds.
396
397                        
398                           UsageConstraints: See connection and adjacency for the assignment of player and scoper.
399         */
400        BOND, 
401        /**
402         * A connection between two regional parts.
403
404                        
405                           Examples:  the connection between ascending aorta and the aortic arc, connection between descending colon and sigmoid.
406
407                        
408                           UsageConstraints: See connection and adjacency for the assignment of player and scoper.
409         */
410        CONY, 
411        /**
412         * A material (player) that can be administered to an Entity (scoper).
413         */
414        ADMM, 
415        /**
416         * Relates a place (playing Entity) as the location where a living subject (scoping Entity) was born.
417         */
418        BIRTHPL, 
419        /**
420         * Definition: Relates a place (playing Entity) as the location where a living subject (scoping Entity) died.
421         */
422        DEATHPLC, 
423        /**
424         * A material (player) distributed by a distributor (scoper) who functions between a manufacturer and a buyer or retailer.
425         */
426        DST, 
427        /**
428         * Material (player) sold by a retailer (scoper), who also give advice to prospective buyers.
429         */
430        RET, 
431        /**
432         * A role played by a place at which the location of an event may be recorded.
433         */
434        EXLOC, 
435        /**
436         * A role played by a place at which services may be provided.
437         */
438        SDLOC, 
439        /**
440         * A role of a place (player) that is intended to house the provision of services. Scoper is the Entity (typically Organization) that provides these services. This is not synonymous with "ownership."
441         */
442        DSDLOC, 
443        /**
444         * A role played by a place at which health care services may be provided without prior designation or authorization.
445         */
446        ISDLOC, 
447        /**
448         * A role played by an entity that has been exposed to a person or animal suffering a contagious disease, or with a location from which a toxin has been distributed.  The player of the role is normally a person or animal, but it is possible that other entity types could become exposed.  The role is scoped by the source of the exposure, and it is quite possible for a person playing the role of exposed party to also become the scoper a role played by another person.  That is to say, once a person has become infected, it is possible, perhaps likely, for that person to infect others.
449
450                        Management of exposures and tracking exposed parties is a key function within public health, and within most public health contexts - exposed parties are known as "contacts."
451         */
452        EXPR, 
453        /**
454         * Entity that is currently in the possession of a holder (scoper), who holds, or uses it, usually based on some agreement with the owner.
455         */
456        HLD, 
457        /**
458         * The role of a material (player) that is the physical health chart belonging to an organization (scoper).
459         */
460        HLTHCHRT, 
461        /**
462         * A role in which the scoping entity designates an identifier for a playing entity.
463         */
464        IDENT, 
465        /**
466         * Scoped by the manufacturer
467         */
468        MANU, 
469        /**
470         * A manufactured material (player) that is used for its therapeutic properties.  The manufacturer is the scoper.
471         */
472        THER, 
473        /**
474         * An entity (player) that is maintained by another entity (scoper).  This is typical role held by durable equipment. The scoper assumes responsibility for proper operation, quality, and safety.
475         */
476        MNT, 
477        /**
478         * An Entity (player) for which someone (scoper) is granted by law the right to call the material (player) his own.  This entitles the scoper to make decisions about the disposition of that material.
479         */
480        OWN, 
481        /**
482         * A product regulated by some governmentatl orgnization.  The role is played by Material and scoped by Organization.
483
484                        Rationale: To support an entity clone used to identify the NDC number for a drug product.
485         */
486        RGPR, 
487        /**
488         * Relates a place entity (player) as the region over which the scoper (typically an Organization) has certain authority (jurisdiction). For example, the Calgary Regional Health Authority (scoper) has authority over the territory "Region 4 of Alberta" (player) in matters of health.
489         */
490        TERR, 
491        /**
492         * Description:An entity (player) that is used by another entity (scoper)
493         */
494        USED, 
495        /**
496         * A role a product plays when a guarantee is given to the purchaser by the seller (scoping entity) stating that the product is reliable and free from known defects and that the seller will repair or replace defective parts within a given time limit and under certain conditions.
497         */
498        WRTE, 
499        /**
500         * A relationship in which the scoping Entity defines or specifies what the playing Entity is.  Thus, the player's "being" (Greek: ontos) is specified.
501         */
502        _ROLECLASSONTOLOGICAL, 
503        /**
504         * Description: Specifies the player Entity (the equivalent Entity) as an Entity that is considered to be equivalent to a reference Entity (scoper).  The equivalence is in principle a symmetric relationship, however, it is expected that the scoper is a reference entity which serves as reference entity for multiple different equivalent entities. 
505
506                        
507                           Examples: An innovator's medicine formulation is the reference for "generics", i.e., formulations manufactured differently but having been proven to be biologically equivalent to the reference medicine. Another example is a reference ingredient that serves as basis for quantity specifications (basis of strength, e.g., metoprolol succinate specified in terms of metoprolol tartrate.)
508         */
509        EQUIV, 
510        /**
511         * The "same" role asserts an identity between playing and scoping entities, i.e., that they are in fact two records of the same entity instance, and, in the case of discrepancies (e.g different DOB, gender), that one or both are in error.
512
513                        
514                           Usage:
515                        
516
517                        playing and scoping entities must have same classCode, but need not have identical attributes or values.
518
519                        
520                           Example: 
521                        
522
523                        a provider registry maintains sets of conflicting demographic data for what is reported to be the same individual.
524         */
525        SAME, 
526        /**
527         * Relates a prevailing record of an Entity (scoper) with another record (player) that it subsumes.
528
529                        
530                           Examples: Show a correct new Person object (scoper) that subsumes one or more duplicate Person objects that had accidentally been created for the same physical person.
531
532                        
533                           Constraints: Both the player and scoper must have the same classCode.
534         */
535        SUBY, 
536        /**
537         * Relates a specialized material concept (player) to its generalization (scoper).
538         */
539        GEN, 
540        /**
541         * A special link between pharmaceuticals indicating that the target (scoper) is a generic for the source (player).
542         */
543        GRIC, 
544        /**
545         * An individual piece of material (player) instantiating a class of material (scoper).
546         */
547        INST, 
548        /**
549         * An entity that subsumes the identity of another.  Used in the context of merging documented entity instances. Both the player and scoper must have the same classCode.
550
551                        The use of this code is deprecated in favor of the term SUBY which is its inverse and is more ontologically correct.
552         */
553        SUBS, 
554        /**
555         * An association between two Entities where the playing Entity is considered in some way "part" of the scoping Entity, e.g., as a member, component, ingredient, or content. Being "part" in the broadest sense of the word can mean anything from being an integral structural component to a mere incidental temporary association of a playing Entity with a (generally larger) scoping Entity.
556         */
557        _ROLECLASSPARTITIVE, 
558        /**
559         * Relates a material as the content (player) to a container (scoper).  Unlike ingredients, the content and a container remain separate (not mixed) and the content can be removed from the container.  A content is not part of an empty container.
560         */
561        CONT, 
562        /**
563         * An exposure agent carrier is an entity that is capable of conveying an exposure agent from one entity to another.  The scoper of the role must be the exposure agent (e.g., pathogen).
564         */
565        EXPAGTCAR, 
566        /**
567         * Description: A vector is a living subject that carries an exposure agent.  The vector does not cause the disease itself, but exposes targets to the exposure agent.  A mosquito carrying malaria is an example of a vector.  The scoper of the role must be the exposure agent (e.g., pathogen).
568         */
569        EXPVECTOR, 
570        /**
571         * Description: A fomite is a non-living entity that is capable of conveying exposure agent from one entity to another.  A doorknob contaminated with a Norovirus is an example of a fomite.  Anyone touching the doorknob would be exposed to the virus.  The scoper of the role must be the exposure agent (e.g., pathogen).
572         */
573        FOMITE, 
574        /**
575         * Relates a component (player) to a mixture (scoper). E.g., Glucose and Water are ingredients of D5W, latex may be an ingredient in a tracheal tube.
576         */
577        INGR, 
578        /**
579         * Definition: a therapeutically active ingredient (player) in a mixture (scoper), where the mixture is typically a manufactured pharmaceutical.  It is unknown if the quantity of such an ingredient is expressed precisely in terms of the playing ingredient substance, or, if it is specified in terms of a closely related substance (active moiety or reference substance).
580         */
581        ACTI, 
582        /**
583         * Description:  Active ingredient, where the ingredient substance (player) is itself the "basis of strength", i.e., where the Role.quantity specifies exactly the quantity of the player substance in the medicine formulation. 
584
585                        
586                           Examples: Lopressor 50 mg actually contains 50 mg of metoprolol succinate, even though the active moiety is metoprolol,  but also: Tenormin 50 mg contain 50 mg of atenolol, as free base, i.e., where the active ingredient atenolol is also the active moiety.
587         */
588        ACTIB, 
589        /**
590         * Description: Active ingredient, where not the ingredient substance (player), but itaTMs active moiety is the "basis of strength", i.e., where the Role.quantity specifies the quantity of the player substance's active moiety in the medicine formulation.
591
592                        
593                           Examples: 1 mL of Betopic 5mg/mL eye drops contains 5.6 mg betaxolol hydrochloride equivalent to betaxolol base 5 mg.
594         */
595        ACTIM, 
596        /**
597         * Description: Active ingredient, where not the ingredient substance (player) but another reference substance with the same active moiety, is the "basis of strength", i.e., where the Role.quantity specifies the quantity of a reference substance, similar but different from the player substance's in the medicine formulation.
598
599                        
600                           Examples: Toprol-XL 50 mg contains 47.5 mg of metoprolol succinate equivalent to 50 mg of metoprolol tartrate.
601         */
602        ACTIR, 
603        /**
604         * A component (player) added to enhance the action of an active ingredient (scoper) (in the manner of a catalyst) but which has no active effect in and of itself.  Such ingredients are significant in defining equivalence of products in a way that inactive ingredients are not.
605         */
606        ADJV, 
607        /**
608         * An ingredient (player)  that is added to a base (scoper), that amounts to a minor part of the overall mixture.
609         */
610        ADTV, 
611        /**
612         * A base ingredient (player) is what comprises the major part of a mixture (scoper). E.g., Water in most i.v. solutions, or Vaseline in salves. Among all ingredients of a material, there should be only one base. A base substance can, in turn, be a mixture.
613         */
614        BASE, 
615        /**
616         * An ingredient whose presence is not intended but may not be reasonably avoided given the circumstances of the mixture's nature or origin.
617         */
618        CNTM, 
619        /**
620         * An ingredient which is not considered therapeutically active, e.g., colors, flavors, stabilizers, or preservatives, fillers, or structural components added to an active ingredient in order to facilitate administration of the active ingredient but without being considered therapeutically active. An inactive ingredient need not be biologically inert, e.g., might be active as an allergen or might have a pleasant taste, but is not an essential constituent delivering the therapeutic effect.
621         */
622        IACT, 
623        /**
624         * A substance (player) influencing the optical aspect of material (scoper).
625         */
626        COLR, 
627        /**
628         * A substance (player) added to a mixture (scoper) to make it taste a certain way.  In food the use is obvious, in pharmaceuticals flavors can hide disgusting taste of the active ingredient (important in pediatric treatments).
629         */
630        FLVR, 
631        /**
632         * A substance (player) added to a mixture (scoper) to prevent microorganisms (fungi, bacteria) to spoil the mixture.
633         */
634        PRSV, 
635        /**
636         * A stabilizer (player) added to a mixture (scoper) in order to prevent the molecular disintegration of the main substance.
637         */
638        STBL, 
639        /**
640         * An ingredient (player) of a medication (scoper) that is inseparable from the active ingredients, but has no intended chemical or pharmaceutical effect itself, but which may have some systemic effect on the patient.
641
642                        An example is a collagen matrix used as a base for transplanting skin cells.  The collagen matrix can be left permanently in the graft site.  Because it is of bovine origin, the patient may exhibit allergies or may have cultural objections to its use.
643         */
644        MECH, 
645        /**
646         * Relates an entity (player) to a location (scoper) at which it is present in some way. This presence may be limited in time.
647         */
648        LOCE, 
649        /**
650         * Relates an entity (player) (e.g. a device) to a location (scoper) at which it is normally found or stored when not used.
651         */
652        STOR, 
653        /**
654         * A role played by an entity that is a member of a group.  The group provides the scope for this role.
655
656                        Among other uses, groups as used in insurance (groups of covered individuals) and in scheduling where resources may be grouped for scheduling and logistical purposes.
657         */
658        MBR, 
659        /**
660         * Definition:  an association between two Entities where the playing Entity (the part) is a component of the whole (scoper) in the sense of an integral structural component, that is distinct from other parts in the same whole, has a distinct function in the whole, and, as an effect, the full integrity of the whole depends (to some degree) on the presence of this part, even though the part may often be separable from the whole.
661
662                        
663                           Discussion: Part is defined in opposition to (a) ingredient (not separable), (b) content (not a functional component), and (c) member (not functionally distinct from other members).
664         */
665        PART, 
666        /**
667         * The molecule or ion that is responsible for the intended pharmacological action of the drug substance, excluding those appended or associated parts of the molecule that make the molecule an ester, salt (including a salt with hydrogen or coordination bonds), or other noncovalent derivative (such as a complex, chelate, or clathrate).
668
669                        Examples: heparin-sodium and heparin-potassium have the same active moiety, heparin; the active moiety of morphine-hydrochloride is morphine.
670         */
671        ACTM, 
672        /**
673         * A role played by a material entity that is a specimen for an act. It is scoped by the source of the specimen.
674         */
675        SPEC, 
676        /**
677         * A portion (player) of an original or source specimen (scoper) used for testing or transportation.
678         */
679        ALQT, 
680        /**
681         * A microorganism that has been isolated from other microorganisms or a source matrix.
682         */
683        ISLT, 
684        /**
685         * The player of the role is a child of the scoping entity, in a generic sense.
686         */
687        CHILD, 
688        /**
689         * A role played by an entity that receives credentials from the scoping entity.
690         */
691        CRED, 
692        /**
693         * nurse practitioner
694         */
695        NURPRAC, 
696        /**
697         * nurse
698         */
699        NURS, 
700        /**
701         * physician assistant
702         */
703        PA, 
704        /**
705         * physician
706         */
707        PHYS, 
708        /**
709         * added to help the parsers
710         */
711        NULL;
712        public static V3RoleClass fromCode(String codeString) throws FHIRException {
713            if (codeString == null || "".equals(codeString))
714                return null;
715        if ("ROL".equals(codeString))
716          return ROL;
717        if ("_RoleClassAssociative".equals(codeString))
718          return _ROLECLASSASSOCIATIVE;
719        if ("_RoleClassMutualRelationship".equals(codeString))
720          return _ROLECLASSMUTUALRELATIONSHIP;
721        if ("_RoleClassRelationshipFormal".equals(codeString))
722          return _ROLECLASSRELATIONSHIPFORMAL;
723        if ("AFFL".equals(codeString))
724          return AFFL;
725        if ("AGNT".equals(codeString))
726          return AGNT;
727        if ("ASSIGNED".equals(codeString))
728          return ASSIGNED;
729        if ("COMPAR".equals(codeString))
730          return COMPAR;
731        if ("SGNOFF".equals(codeString))
732          return SGNOFF;
733        if ("CON".equals(codeString))
734          return CON;
735        if ("ECON".equals(codeString))
736          return ECON;
737        if ("NOK".equals(codeString))
738          return NOK;
739        if ("GUARD".equals(codeString))
740          return GUARD;
741        if ("CIT".equals(codeString))
742          return CIT;
743        if ("COVPTY".equals(codeString))
744          return COVPTY;
745        if ("CLAIM".equals(codeString))
746          return CLAIM;
747        if ("NAMED".equals(codeString))
748          return NAMED;
749        if ("DEPEN".equals(codeString))
750          return DEPEN;
751        if ("INDIV".equals(codeString))
752          return INDIV;
753        if ("SUBSCR".equals(codeString))
754          return SUBSCR;
755        if ("PROG".equals(codeString))
756          return PROG;
757        if ("CRINV".equals(codeString))
758          return CRINV;
759        if ("CRSPNSR".equals(codeString))
760          return CRSPNSR;
761        if ("EMP".equals(codeString))
762          return EMP;
763        if ("MIL".equals(codeString))
764          return MIL;
765        if ("GUAR".equals(codeString))
766          return GUAR;
767        if ("INVSBJ".equals(codeString))
768          return INVSBJ;
769        if ("CASEBJ".equals(codeString))
770          return CASEBJ;
771        if ("RESBJ".equals(codeString))
772          return RESBJ;
773        if ("LIC".equals(codeString))
774          return LIC;
775        if ("NOT".equals(codeString))
776          return NOT;
777        if ("PROV".equals(codeString))
778          return PROV;
779        if ("PAT".equals(codeString))
780          return PAT;
781        if ("PAYEE".equals(codeString))
782          return PAYEE;
783        if ("PAYOR".equals(codeString))
784          return PAYOR;
785        if ("POLHOLD".equals(codeString))
786          return POLHOLD;
787        if ("QUAL".equals(codeString))
788          return QUAL;
789        if ("SPNSR".equals(codeString))
790          return SPNSR;
791        if ("STD".equals(codeString))
792          return STD;
793        if ("UNDWRT".equals(codeString))
794          return UNDWRT;
795        if ("CAREGIVER".equals(codeString))
796          return CAREGIVER;
797        if ("PRS".equals(codeString))
798          return PRS;
799        if ("SELF".equals(codeString))
800          return SELF;
801        if ("_RoleClassPassive".equals(codeString))
802          return _ROLECLASSPASSIVE;
803        if ("ACCESS".equals(codeString))
804          return ACCESS;
805        if ("ADJY".equals(codeString))
806          return ADJY;
807        if ("CONC".equals(codeString))
808          return CONC;
809        if ("BOND".equals(codeString))
810          return BOND;
811        if ("CONY".equals(codeString))
812          return CONY;
813        if ("ADMM".equals(codeString))
814          return ADMM;
815        if ("BIRTHPL".equals(codeString))
816          return BIRTHPL;
817        if ("DEATHPLC".equals(codeString))
818          return DEATHPLC;
819        if ("DST".equals(codeString))
820          return DST;
821        if ("RET".equals(codeString))
822          return RET;
823        if ("EXLOC".equals(codeString))
824          return EXLOC;
825        if ("SDLOC".equals(codeString))
826          return SDLOC;
827        if ("DSDLOC".equals(codeString))
828          return DSDLOC;
829        if ("ISDLOC".equals(codeString))
830          return ISDLOC;
831        if ("EXPR".equals(codeString))
832          return EXPR;
833        if ("HLD".equals(codeString))
834          return HLD;
835        if ("HLTHCHRT".equals(codeString))
836          return HLTHCHRT;
837        if ("IDENT".equals(codeString))
838          return IDENT;
839        if ("MANU".equals(codeString))
840          return MANU;
841        if ("THER".equals(codeString))
842          return THER;
843        if ("MNT".equals(codeString))
844          return MNT;
845        if ("OWN".equals(codeString))
846          return OWN;
847        if ("RGPR".equals(codeString))
848          return RGPR;
849        if ("TERR".equals(codeString))
850          return TERR;
851        if ("USED".equals(codeString))
852          return USED;
853        if ("WRTE".equals(codeString))
854          return WRTE;
855        if ("_RoleClassOntological".equals(codeString))
856          return _ROLECLASSONTOLOGICAL;
857        if ("EQUIV".equals(codeString))
858          return EQUIV;
859        if ("SAME".equals(codeString))
860          return SAME;
861        if ("SUBY".equals(codeString))
862          return SUBY;
863        if ("GEN".equals(codeString))
864          return GEN;
865        if ("GRIC".equals(codeString))
866          return GRIC;
867        if ("INST".equals(codeString))
868          return INST;
869        if ("SUBS".equals(codeString))
870          return SUBS;
871        if ("_RoleClassPartitive".equals(codeString))
872          return _ROLECLASSPARTITIVE;
873        if ("CONT".equals(codeString))
874          return CONT;
875        if ("EXPAGTCAR".equals(codeString))
876          return EXPAGTCAR;
877        if ("EXPVECTOR".equals(codeString))
878          return EXPVECTOR;
879        if ("FOMITE".equals(codeString))
880          return FOMITE;
881        if ("INGR".equals(codeString))
882          return INGR;
883        if ("ACTI".equals(codeString))
884          return ACTI;
885        if ("ACTIB".equals(codeString))
886          return ACTIB;
887        if ("ACTIM".equals(codeString))
888          return ACTIM;
889        if ("ACTIR".equals(codeString))
890          return ACTIR;
891        if ("ADJV".equals(codeString))
892          return ADJV;
893        if ("ADTV".equals(codeString))
894          return ADTV;
895        if ("BASE".equals(codeString))
896          return BASE;
897        if ("CNTM".equals(codeString))
898          return CNTM;
899        if ("IACT".equals(codeString))
900          return IACT;
901        if ("COLR".equals(codeString))
902          return COLR;
903        if ("FLVR".equals(codeString))
904          return FLVR;
905        if ("PRSV".equals(codeString))
906          return PRSV;
907        if ("STBL".equals(codeString))
908          return STBL;
909        if ("MECH".equals(codeString))
910          return MECH;
911        if ("LOCE".equals(codeString))
912          return LOCE;
913        if ("STOR".equals(codeString))
914          return STOR;
915        if ("MBR".equals(codeString))
916          return MBR;
917        if ("PART".equals(codeString))
918          return PART;
919        if ("ACTM".equals(codeString))
920          return ACTM;
921        if ("SPEC".equals(codeString))
922          return SPEC;
923        if ("ALQT".equals(codeString))
924          return ALQT;
925        if ("ISLT".equals(codeString))
926          return ISLT;
927        if ("CHILD".equals(codeString))
928          return CHILD;
929        if ("CRED".equals(codeString))
930          return CRED;
931        if ("NURPRAC".equals(codeString))
932          return NURPRAC;
933        if ("NURS".equals(codeString))
934          return NURS;
935        if ("PA".equals(codeString))
936          return PA;
937        if ("PHYS".equals(codeString))
938          return PHYS;
939        throw new FHIRException("Unknown V3RoleClass code '"+codeString+"'");
940        }
941        public String toCode() {
942          switch (this) {
943            case ROL: return "ROL";
944            case _ROLECLASSASSOCIATIVE: return "_RoleClassAssociative";
945            case _ROLECLASSMUTUALRELATIONSHIP: return "_RoleClassMutualRelationship";
946            case _ROLECLASSRELATIONSHIPFORMAL: return "_RoleClassRelationshipFormal";
947            case AFFL: return "AFFL";
948            case AGNT: return "AGNT";
949            case ASSIGNED: return "ASSIGNED";
950            case COMPAR: return "COMPAR";
951            case SGNOFF: return "SGNOFF";
952            case CON: return "CON";
953            case ECON: return "ECON";
954            case NOK: return "NOK";
955            case GUARD: return "GUARD";
956            case CIT: return "CIT";
957            case COVPTY: return "COVPTY";
958            case CLAIM: return "CLAIM";
959            case NAMED: return "NAMED";
960            case DEPEN: return "DEPEN";
961            case INDIV: return "INDIV";
962            case SUBSCR: return "SUBSCR";
963            case PROG: return "PROG";
964            case CRINV: return "CRINV";
965            case CRSPNSR: return "CRSPNSR";
966            case EMP: return "EMP";
967            case MIL: return "MIL";
968            case GUAR: return "GUAR";
969            case INVSBJ: return "INVSBJ";
970            case CASEBJ: return "CASEBJ";
971            case RESBJ: return "RESBJ";
972            case LIC: return "LIC";
973            case NOT: return "NOT";
974            case PROV: return "PROV";
975            case PAT: return "PAT";
976            case PAYEE: return "PAYEE";
977            case PAYOR: return "PAYOR";
978            case POLHOLD: return "POLHOLD";
979            case QUAL: return "QUAL";
980            case SPNSR: return "SPNSR";
981            case STD: return "STD";
982            case UNDWRT: return "UNDWRT";
983            case CAREGIVER: return "CAREGIVER";
984            case PRS: return "PRS";
985            case SELF: return "SELF";
986            case _ROLECLASSPASSIVE: return "_RoleClassPassive";
987            case ACCESS: return "ACCESS";
988            case ADJY: return "ADJY";
989            case CONC: return "CONC";
990            case BOND: return "BOND";
991            case CONY: return "CONY";
992            case ADMM: return "ADMM";
993            case BIRTHPL: return "BIRTHPL";
994            case DEATHPLC: return "DEATHPLC";
995            case DST: return "DST";
996            case RET: return "RET";
997            case EXLOC: return "EXLOC";
998            case SDLOC: return "SDLOC";
999            case DSDLOC: return "DSDLOC";
1000            case ISDLOC: return "ISDLOC";
1001            case EXPR: return "EXPR";
1002            case HLD: return "HLD";
1003            case HLTHCHRT: return "HLTHCHRT";
1004            case IDENT: return "IDENT";
1005            case MANU: return "MANU";
1006            case THER: return "THER";
1007            case MNT: return "MNT";
1008            case OWN: return "OWN";
1009            case RGPR: return "RGPR";
1010            case TERR: return "TERR";
1011            case USED: return "USED";
1012            case WRTE: return "WRTE";
1013            case _ROLECLASSONTOLOGICAL: return "_RoleClassOntological";
1014            case EQUIV: return "EQUIV";
1015            case SAME: return "SAME";
1016            case SUBY: return "SUBY";
1017            case GEN: return "GEN";
1018            case GRIC: return "GRIC";
1019            case INST: return "INST";
1020            case SUBS: return "SUBS";
1021            case _ROLECLASSPARTITIVE: return "_RoleClassPartitive";
1022            case CONT: return "CONT";
1023            case EXPAGTCAR: return "EXPAGTCAR";
1024            case EXPVECTOR: return "EXPVECTOR";
1025            case FOMITE: return "FOMITE";
1026            case INGR: return "INGR";
1027            case ACTI: return "ACTI";
1028            case ACTIB: return "ACTIB";
1029            case ACTIM: return "ACTIM";
1030            case ACTIR: return "ACTIR";
1031            case ADJV: return "ADJV";
1032            case ADTV: return "ADTV";
1033            case BASE: return "BASE";
1034            case CNTM: return "CNTM";
1035            case IACT: return "IACT";
1036            case COLR: return "COLR";
1037            case FLVR: return "FLVR";
1038            case PRSV: return "PRSV";
1039            case STBL: return "STBL";
1040            case MECH: return "MECH";
1041            case LOCE: return "LOCE";
1042            case STOR: return "STOR";
1043            case MBR: return "MBR";
1044            case PART: return "PART";
1045            case ACTM: return "ACTM";
1046            case SPEC: return "SPEC";
1047            case ALQT: return "ALQT";
1048            case ISLT: return "ISLT";
1049            case CHILD: return "CHILD";
1050            case CRED: return "CRED";
1051            case NURPRAC: return "NURPRAC";
1052            case NURS: return "NURS";
1053            case PA: return "PA";
1054            case PHYS: return "PHYS";
1055            default: return "?";
1056          }
1057        }
1058        public String getSystem() {
1059          return "http://terminology.hl7.org/CodeSystem/v3-RoleClass";
1060        }
1061        public String getDefinition() {
1062          switch (this) {
1063            case ROL: return "Corresponds to the Role class";
1064            case _ROLECLASSASSOCIATIVE: return "A general association between two entities that is neither partitive nor ontological.";
1065            case _ROLECLASSMUTUALRELATIONSHIP: return "A relationship that is based on mutual behavior of the two Entities as being related. The basis of such relationship may be agreements (e.g., spouses, contract parties) or they may be de facto behavior (e.g. friends) or may be an incidental involvement with each other (e.g. parties over a dispute, siblings, children).";
1066            case _ROLECLASSRELATIONSHIPFORMAL: return "A relationship between two entities that is formally recognized, frequently by a contract or similar agreement.";
1067            case AFFL: return "Player of the Affiliate role has a business/professional relationship with scoper.  Player and scoper may be persons or organization.  The Affiliate relationship does not imply membership in a group, nor does it exist for resource scheduling purposes.\r\n\n                        \n                           Example: A healthcare provider is affiliated with another provider as a business associate.";
1068            case AGNT: return "An entity (player) that acts or is authorized to act on behalf of another entity (scoper).";
1069            case ASSIGNED: return "An agent role in which the agent is an Entity acting in the employ of an organization.  The focus is on functional role on behalf of the organization, unlike the Employee role where the focus is on the 'Human Resources' relationship between the employee and the organization.";
1070            case COMPAR: return "An Entity that is authorized to issue or instantiate permissions, privileges, credentials or other formal/legal authorizations.";
1071            case SGNOFF: return "The role of a person (player) who is the officer or signature authority for of a scoping entity, usually an organization (scoper).";
1072            case CON: return "A person or an organization (player) which provides or receives information regarding another entity (scoper).  Examples; patient NOK and emergency contacts; guarantor contact; employer contact.";
1073            case ECON: return "An entity to be contacted in the event of an emergency.";
1074            case NOK: return "An individual designated for notification as the next of kin for a given entity.";
1075            case GUARD: return "Guardian of a ward";
1076            case CIT: return "Citizen of apolitical entity";
1077            case COVPTY: return "A role class played by a person who receives benefit coverage under the terms of a particular insurance policy.  The underwriter of that policy is the scoping entity.  The covered party receives coverage because of some contractual or other relationship with the holder of that policy.\r\n\n                        \n                           Discussion:This reason for coverage is captured in 'Role.code' and 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\n                        Note that a particular policy may cover several individuals 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.";
1078            case CLAIM: return "Description: A role played by a party making a claim for coverage under a policy or program.  A claimant must be either a person or organization, or a group of persons or organizations.  A claimant is not a named insured or a program eligible.\r\n\n                        \n                           Discussion: With respect to liability insurance such as property and casualty insurance, a claimant must file a claim requesting indemnification for a loss that the claimant considers covered under the policy of a named insured.  The claims adjuster for the policy underwriter will review the claim to determine whether the loss meets the benefit coverage criteria under a policy, and base any indemnification or coverage payment on that review.  If a third party is liable in whole or part for the loss, the underwriter may pursue third party liability recovery.  A claimant may be involved in civil or criminal legal proceedings involving claims against a defendant party that is indemnified by an insurance policy or to protest the finding of a claims adjustor. With respect to life insurance, a beneficiary designated by a named insured becomes a claimant of the proceeds of coverage, as in the case of a life insurance policy.  However, a claimant for coverage under life insurance is not necessarily a designated beneficiary.\r\n\n                        \n                           Note: A claimant is not a named insured.  However, a named insured may make a claim under a policy, e.g., an insured driver may make a claim for an injury under his or her comprehensive automobile insurance policy.  Similarly, a program eligible may make a claim under program, e.g., an unemployed worker may claim benefits under an unemployment insurance program, but parties playing these covered party role classes are not, for purposes of this vocabulary and in an effort to clearly distinguish role classes, considered claimants.\r\n\n                        In the case of a named insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that either a named insured or an individual insured has filed a claim for a loss.  In the case of a program eligible, a role type code INJWKR (injured worker) subtypes the class to indicate that the covered party in a workers compensation program is an injured worker, and as such, has filed a \"claim\" under the program for benefits.  Likewise, a covered role type code UNEMP (unemployed worker) subtypes the program eligible class to indicate that the covered party in an unemployment insurance program has filed a claim for unemployment benefits.\r\n\n                        \n                           Example: A claimant under automobile policy that is not the named insured.";
1079            case NAMED: return "Description: A role played by a party to an insurance policy to which the insurer agrees to indemnify for losses, provides benefits for, or renders services.  A named insured may be either a person, non-person living subject, or an organization, or a group of persons, non-person living subjects, or organizations.\r\n\n                        \n                           Discussion: The coded concept NAMED should not be used where a more specific child concept in this Specializable value set applies.  In some cases, the named insured may not be the policy holder, e.g., where a policy holder purchases life insurance policy in which another party is the named insured and the policy holder is the beneficiary of the policy.\r\n\n                        \n                           Note: The party playing the role of a named insured is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant).  However, a named insured may make a claim under a policy, e.g., e.g., a party that is the named insured and policy holder under a comprehensive automobile insurance policy may become the claimant for coverage under that policy e.g., if injured in an automobile accident and there is no liable third party.  In the case of a named insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that a named insured has filed a claim for a loss.\r\n\n                        \n                           Example: The named insured under a comprehensive automobile, disability, or property and casualty policy that is the named insured and may or may not be the policy holder.";
1080            case DEPEN: return "Description: A role played by a person covered under a policy or program based on an association with a subscriber, which is recognized by the policy holder.\r\n\n                        \n                           Note:  The party playing the role of a dependent is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant).  However, a dependent may make a claim under a policy, e.g., a dependent under a health insurance policy may become the claimant for coverage under that policy for wellness examines or if injured and there is no liable third party.  In the case of a dependent making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that the dependent has filed a claim for services covered under the health insurance policy.\r\n\n                        \n                           Example: The dependent has an association with the subscriber such as a financial dependency or personal relationship such as that of a spouse, or a natural or adopted child.  The policy holder may be required by law to recognize certain associations or may have discretion about the associations.  For example, a policy holder may dictate the criteria for the dependent status of adult children who are students, such as requiring full time enrollment, or may recognize domestic partners as dependents.  Under certain circumstances, the dependent may be under the indirect authority of a responsible party acting as a surrogate for the subscriber, for example, if the subscriber is differently abled or deceased, a guardian ad Lidem or estate executor may be appointed to assume the subscriberaTMs legal standing in the relationship with the dependent.";
1081            case INDIV: return "Description: A role played by a party covered under a policy as the policy holder.  An individual may be either a person or an organization.\r\n\n                        \n                           Note: The party playing the role of an individual insured is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant).  However, a named insured may make a claim under a policy, e.g., a party that is the named insured and policy holder under a comprehensive automobile insurance policy may become the claimant for coverage under that policy if injured in an automobile accident and there is no liable third party.  In the case of an individual insured making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that an individual insured has filed a claim for a loss.\r\n\n                        \n                           Example: The individual insured under a comprehensive automobile, disability, or property and casualty policy that is the policy holder.";
1082            case SUBSCR: return "Description: A role played by a person covered under a policy based on association with a sponsor who is the policy holder, and whose association may provide for the eligibility of dependents for coverage.\r\n\n                        \n                           Discussion: The policy holder holds the contract with the policy or program underwriter.  The subscriber holds a certificate of coverage under the contract.  In legal proceedings concerning the policy or program, the terms of the contract takes precedence over the terms of the certificate of coverage if there are any inconsistencies.\r\n\n                        \n                           Note: The party playing the role of a subscriber is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant).  However, a subscriber may make a claim under a policy, e.g., a subscriber under a health insurance policy may become the claimant for coverage under that policy for wellness examines or if injured and there is no liable third party.  In the case of a subscriber making a claim, a role type code INSCLM (insured claimant) subtypes the class to indicate that the subscriber has filed a claim for services covered under the health insurance policy.\r\n\n                        \n                           Example: An employee or a member of an association.";
1083            case PROG: return "Description: A role played by a party that meets the eligibility criteria for coverage under a program.  A program eligible may be either a person, non-person living subject, or an organization, or a group of persons, non-person living subjects, or organizations.\r\n\n                        \n                           Discussion: A program as typically government administered coverage for parties determined eligible under the terms of the program.\r\n\n                        \n                           Note: The party playing a program eligible is not a claimant in the sense conveyed by the RoleClassCoveredParty CLAIM (claimant).  However a program eligible may make a claim under program, e.g., an unemployed worker may claim benefits under an unemployment insurance program, but parties playing these covered party role classes are not, for purposes of this vocabulary and in an effort to clearly distinguish role classes, considered claimants.\r\n\n                        In the case of a program eligible, a role type code INJWKR (injured worker) subtypes the class to indicate that the covered party in a workers compensation program is an injured worker, and as such, has filed a \"claim\" under the program for benefits.  Likewise, a covered role type code UNEMP (unemployed worker) subtypes the program eligible class to indicate that the covered party in an unemployment insurance program has filed a claim for unemployment benefits.\r\n\n                        \n                           Example: A party meeting eligibility criteria related to health or financial status, e.g., in the U.S., persons meeting health, demographic, or financial criteria established by state and federal law are eligible for Medicaid.";
1084            case CRINV: return "A role played by a provider, always a person, who has agency authority from a Clinical Research Sponsor to direct the conduct of a clinical research trial or study on behalf of the sponsor.";
1085            case CRSPNSR: return "A role played by an entity, usually an organization, that is the sponsor of a clinical research trial or study.  The sponsor commissions the study, bears the expenses, is responsible for satisfying all legal requirements concerning subject safety and privacy, and is generally responsible for collection, storage and analysis of the data generated during the trial.  No scoper is necessary, as a clinical research sponsor undertakes the role on its own authority and declaration. Clinical research sponsors are usually educational or other research organizations, government agencies or biopharmaceutical companies.";
1086            case EMP: return "A relationship between a person or organization and a person or organization formed for the purpose of exchanging work for compensation.  The purpose of the role is to identify the type of relationship the employee has to the employer, rather than the nature of the work actually performed.  (Contrast with AssignedEntity.)";
1087            case MIL: return "A role played by a member of a military service. Scoper is the military service (e.g. Army, Navy, Air Force, etc.) or, more specifically, the unit (e.g. Company C, 3rd Battalion, 4th Division, etc.)";
1088            case GUAR: return "A person or organization (player) that serves as a financial guarantor for another person or organization (scoper).";
1089            case INVSBJ: return "An entity that is the subject of an investigation. This role is scoped by the party responsible for the investigation.";
1090            case CASEBJ: return "A person, non-person living subject, or place that is the subject of an investigation related to a notifiable condition (health circumstance that is reportable within the applicable public health jurisdiction)";
1091            case RESBJ: return "Definition:Specifies the administrative functionality within a formal experimental design for which the ResearchSubject role was established.\r\n\n                        \n                           Examples: Screening - role is used for pre-enrollment evaluation portion of the design; enrolled - role is used for subjects admitted to the experimental portion of the design.";
1092            case LIC: return "A relationship in which the scoper certifies the player ( e. g. a medical care giver, a medical device or a provider organization) to perform certain activities that fall under the jurisdiction of the scoper (e.g., a health authority licensing healthcare providers, a medical quality authority certifying healthcare professionals).";
1093            case NOT: return "notary public";
1094            case PROV: return "An Entity (player) that is authorized to provide health care services by some authorizing agency (scoper).";
1095            case PAT: return "A Role of a LivingSubject (player) as an actual or potential recipient of health care services from a healthcare provider organization (scoper).\r\n\n                        \n                           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.";
1096            case PAYEE: return "The role of an organization or individual designated to receive payment for a claim against a particular coverage. The scoping entity is the organization that is the submitter of the invoice in question.";
1097            case PAYOR: return "The role of an organization that undertakes to accept claims invoices, assess the coverage or payments due for those invoices and pay to the designated payees for those invoices.  This role may be either the underwriter or a third-party organization authorized by the underwriter.  The scoping entity is the organization that underwrites the claimed coverage.";
1098            case POLHOLD: return "A role played by a person or organization that holds an insurance policy.  The underwriter of that policy is the scoping entity.\r\n\n                        \n                           Discussion:The identifier of the policy is captured in 'Role.id' when the Role is a policy holder.\r\n\n                        A particular policy may cover several individuals 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.";
1099            case QUAL: return "An entity (player) that has been recognized as having certain training/experience or other characteristics that would make said entity an appropriate performer for a certain activity. The scoper is an organization that educates or qualifies entities.";
1100            case SPNSR: return "A role played by an entity, usually an organization that is the sponsor of an insurance plan or a health program. A sponsor is the party that is ultimately accountable for the coverage by employment contract or by law.  A sponsor can be an employer, union, government agency, or association.  Fully insured sponsors establish the terms of the plan and contract with health insurance plans to assume the risk and to administer the plan.  Self-insured sponsors delegate coverage administration, but not risk, to third-party administrators.  Program sponsors designate services to be covered in accordance with statute.   Program sponsors may administer the coverage themselves, delegate coverage administration, but not risk to third-party administrators, or contract with health insurance plans to assume the risk and administrator a program. Sponsors qualify individuals who may become \r\n\n                        \n                           \n                              a policy holder of the plan;\r\n\n                           \n                           \n                              where the sponsor is the policy holder, who may become a subscriber or a dependent to a policy under the plan; or\r\n\n                           \n                           \n                              where the sponsor is a government agency, who may become program eligibles under a program. \r\n\n                           \n                        \n                        The sponsor role may be further qualified by the SponsorRole.code.  Entities playing the sponsor role may also play the role of a Coverage Administrator.\r\n\n                        \n                           Example: An employer, union, government agency, or association.";
1101            case STD: return "A role played by an individual who is a student of a school, which is the scoping entity.";
1102            case UNDWRT: return "A role played by a person or an organization.  It is the party that \r\n\n                        \n                           \n                              accepts fiscal responsibility for insurance plans and the policies created under those plans;\r\n\n                           \n                           \n                              administers and accepts fiscal responsibility for a program that provides coverage for services to eligible individuals; and/or\r\n\n                           \n                           \n                              has the responsibility to assess the merits of each risk and decide a suitable premium for accepting all or part of the risk.  If played by an organization, this role may be further specified by an appropriate RoleCode.\r\n\n                           \n                        \n                        \n                           Example:\n                        \r\n\n                        \n                           \n                              A health insurer; \r\n\n                           \n                           \n                              Medicaid Program;\r\n\n                           \n                           \n                              Lloyd's of London";
1103            case CAREGIVER: return "A person responsible for the primary care of a patient at home.";
1104            case PRS: return "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.";
1105            case SELF: return "The \"same\" roleclass asserts an identity between playing and scoping entities: that they are in fact instances of the same entity and, in the case of discrepancies (e.g different DOB, gender), that one or both are in error.\r\n\n                        \n                           Usage:\n                        \r\n\n                        playing and scoping entities must have same classcode, but need not have identical attributes or values. \r\n\n                        \n                           Example: \n                        \r\n\n                        a provider registry maintains sets of conflicting demographic data for what is reported to be the same individual.";
1106            case _ROLECLASSPASSIVE: return "An association for a playing Entity that is used, known, treated, handled, built, or destroyed, etc. under the auspices of the scoping Entity. The playing Entity is passive in these roles (even though it may be active in other roles), in the sense that the kinds of things done to it in this role happen without an agreement from the playing Entity.";
1107            case ACCESS: return "A role in which the playing entity (material) provides access to another entity. The principal use case is intravenous (or other bodily) access lines that preexist and need to be referred to for medication routing instructions.";
1108            case ADJY: return "A physical association whereby two Entities are in some (even lose) spatial relationship with each other such that they touch each other in some way.\r\n\n                        \n                           Examples: the colon is connected (and therefore adjacent) to the jejunum; the colon is adjacent to the liver (even if not actually connected.)\r\n\n                        \n                           UsageConstraints: Adjacency is in principle a symmetrical connection, but scoper and player of the role should, where applicable, be assigned to have scoper be the larger, more central Entity and player the smaller, more distant, appendage.";
1109            case CONC: return "An adjacency of two Entities held together by a bond which attaches to each of the two entities. \r\n\n                        \n                           Examples: biceps brachii muscle connected to the radius bone, port 3 on a network switch connected to port 5 on a patch panel.\r\n\n                        \n                           UsageConstraints: See Adjacency for the assignment of scoper (larger, more central) and player (smaller, more distant).";
1110            case BOND: return "A connection between two atoms of a molecule.\r\n\n                        \n                           Examples: double bond between first and second C in ethane, peptide bond between two amino-acid, disulfide bridge between two proteins, chelate and ion associations, even the much weaker van-der-Waals bonds can be considered molecular bonds.\r\n\n                        \n                           UsageConstraints: See connection and adjacency for the assignment of player and scoper.";
1111            case CONY: return "A connection between two regional parts.\r\n\n                        \n                           Examples:  the connection between ascending aorta and the aortic arc, connection between descending colon and sigmoid.\r\n\n                        \n                           UsageConstraints: See connection and adjacency for the assignment of player and scoper.";
1112            case ADMM: return "A material (player) that can be administered to an Entity (scoper).";
1113            case BIRTHPL: return "Relates a place (playing Entity) as the location where a living subject (scoping Entity) was born.";
1114            case DEATHPLC: return "Definition: Relates a place (playing Entity) as the location where a living subject (scoping Entity) died.";
1115            case DST: return "A material (player) distributed by a distributor (scoper) who functions between a manufacturer and a buyer or retailer.";
1116            case RET: return "Material (player) sold by a retailer (scoper), who also give advice to prospective buyers.";
1117            case EXLOC: return "A role played by a place at which the location of an event may be recorded.";
1118            case SDLOC: return "A role played by a place at which services may be provided.";
1119            case DSDLOC: return "A role of a place (player) that is intended to house the provision of services. Scoper is the Entity (typically Organization) that provides these services. This is not synonymous with \"ownership.\"";
1120            case ISDLOC: return "A role played by a place at which health care services may be provided without prior designation or authorization.";
1121            case EXPR: return "A role played by an entity that has been exposed to a person or animal suffering a contagious disease, or with a location from which a toxin has been distributed.  The player of the role is normally a person or animal, but it is possible that other entity types could become exposed.  The role is scoped by the source of the exposure, and it is quite possible for a person playing the role of exposed party to also become the scoper a role played by another person.  That is to say, once a person has become infected, it is possible, perhaps likely, for that person to infect others.\r\n\n                        Management of exposures and tracking exposed parties is a key function within public health, and within most public health contexts - exposed parties are known as \"contacts.\"";
1122            case HLD: return "Entity that is currently in the possession of a holder (scoper), who holds, or uses it, usually based on some agreement with the owner.";
1123            case HLTHCHRT: return "The role of a material (player) that is the physical health chart belonging to an organization (scoper).";
1124            case IDENT: return "A role in which the scoping entity designates an identifier for a playing entity.";
1125            case MANU: return "Scoped by the manufacturer";
1126            case THER: return "A manufactured material (player) that is used for its therapeutic properties.  The manufacturer is the scoper.";
1127            case MNT: return "An entity (player) that is maintained by another entity (scoper).  This is typical role held by durable equipment. The scoper assumes responsibility for proper operation, quality, and safety.";
1128            case OWN: return "An Entity (player) for which someone (scoper) is granted by law the right to call the material (player) his own.  This entitles the scoper to make decisions about the disposition of that material.";
1129            case RGPR: return "A product regulated by some governmentatl orgnization.  The role is played by Material and scoped by Organization.\r\n\n                        Rationale: To support an entity clone used to identify the NDC number for a drug product.";
1130            case TERR: return "Relates a place entity (player) as the region over which the scoper (typically an Organization) has certain authority (jurisdiction). For example, the Calgary Regional Health Authority (scoper) has authority over the territory \"Region 4 of Alberta\" (player) in matters of health.";
1131            case USED: return "Description:An entity (player) that is used by another entity (scoper)";
1132            case WRTE: return "A role a product plays when a guarantee is given to the purchaser by the seller (scoping entity) stating that the product is reliable and free from known defects and that the seller will repair or replace defective parts within a given time limit and under certain conditions.";
1133            case _ROLECLASSONTOLOGICAL: return "A relationship in which the scoping Entity defines or specifies what the playing Entity is.  Thus, the player's \"being\" (Greek: ontos) is specified.";
1134            case EQUIV: return "Description: Specifies the player Entity (the equivalent Entity) as an Entity that is considered to be equivalent to a reference Entity (scoper).  The equivalence is in principle a symmetric relationship, however, it is expected that the scoper is a reference entity which serves as reference entity for multiple different equivalent entities. \r\n\n                        \n                           Examples: An innovator's medicine formulation is the reference for \"generics\", i.e., formulations manufactured differently but having been proven to be biologically equivalent to the reference medicine. Another example is a reference ingredient that serves as basis for quantity specifications (basis of strength, e.g., metoprolol succinate specified in terms of metoprolol tartrate.)";
1135            case SAME: return "The \"same\" role asserts an identity between playing and scoping entities, i.e., that they are in fact two records of the same entity instance, and, in the case of discrepancies (e.g different DOB, gender), that one or both are in error.\r\n\n                        \n                           Usage:\n                        \r\n\n                        playing and scoping entities must have same classCode, but need not have identical attributes or values.\r\n\n                        \n                           Example: \n                        \r\n\n                        a provider registry maintains sets of conflicting demographic data for what is reported to be the same individual.";
1136            case SUBY: return "Relates a prevailing record of an Entity (scoper) with another record (player) that it subsumes.\r\n\n                        \n                           Examples: Show a correct new Person object (scoper) that subsumes one or more duplicate Person objects that had accidentally been created for the same physical person.\r\n\n                        \n                           Constraints: Both the player and scoper must have the same classCode.";
1137            case GEN: return "Relates a specialized material concept (player) to its generalization (scoper).";
1138            case GRIC: return "A special link between pharmaceuticals indicating that the target (scoper) is a generic for the source (player).";
1139            case INST: return "An individual piece of material (player) instantiating a class of material (scoper).";
1140            case SUBS: return "An entity that subsumes the identity of another.  Used in the context of merging documented entity instances. Both the player and scoper must have the same classCode.\r\n\n                        The use of this code is deprecated in favor of the term SUBY which is its inverse and is more ontologically correct.";
1141            case _ROLECLASSPARTITIVE: return "An association between two Entities where the playing Entity is considered in some way \"part\" of the scoping Entity, e.g., as a member, component, ingredient, or content. Being \"part\" in the broadest sense of the word can mean anything from being an integral structural component to a mere incidental temporary association of a playing Entity with a (generally larger) scoping Entity.";
1142            case CONT: return "Relates a material as the content (player) to a container (scoper).  Unlike ingredients, the content and a container remain separate (not mixed) and the content can be removed from the container.  A content is not part of an empty container.";
1143            case EXPAGTCAR: return "An exposure agent carrier is an entity that is capable of conveying an exposure agent from one entity to another.  The scoper of the role must be the exposure agent (e.g., pathogen).";
1144            case EXPVECTOR: return "Description: A vector is a living subject that carries an exposure agent.  The vector does not cause the disease itself, but exposes targets to the exposure agent.  A mosquito carrying malaria is an example of a vector.  The scoper of the role must be the exposure agent (e.g., pathogen).";
1145            case FOMITE: return "Description: A fomite is a non-living entity that is capable of conveying exposure agent from one entity to another.  A doorknob contaminated with a Norovirus is an example of a fomite.  Anyone touching the doorknob would be exposed to the virus.  The scoper of the role must be the exposure agent (e.g., pathogen).";
1146            case INGR: return "Relates a component (player) to a mixture (scoper). E.g., Glucose and Water are ingredients of D5W, latex may be an ingredient in a tracheal tube.";
1147            case ACTI: return "Definition: a therapeutically active ingredient (player) in a mixture (scoper), where the mixture is typically a manufactured pharmaceutical.  It is unknown if the quantity of such an ingredient is expressed precisely in terms of the playing ingredient substance, or, if it is specified in terms of a closely related substance (active moiety or reference substance).";
1148            case ACTIB: return "Description:  Active ingredient, where the ingredient substance (player) is itself the \"basis of strength\", i.e., where the Role.quantity specifies exactly the quantity of the player substance in the medicine formulation. \r\n\n                        \n                           Examples: Lopressor 50 mg actually contains 50 mg of metoprolol succinate, even though the active moiety is metoprolol,  but also: Tenormin 50 mg contain 50 mg of atenolol, as free base, i.e., where the active ingredient atenolol is also the active moiety.";
1149            case ACTIM: return "Description: Active ingredient, where not the ingredient substance (player), but itaTMs active moiety is the \"basis of strength\", i.e., where the Role.quantity specifies the quantity of the player substance's active moiety in the medicine formulation.\r\n\n                        \n                           Examples: 1 mL of Betopic 5mg/mL eye drops contains 5.6 mg betaxolol hydrochloride equivalent to betaxolol base 5 mg.";
1150            case ACTIR: return "Description: Active ingredient, where not the ingredient substance (player) but another reference substance with the same active moiety, is the \"basis of strength\", i.e., where the Role.quantity specifies the quantity of a reference substance, similar but different from the player substance's in the medicine formulation.\r\n\n                        \n                           Examples: Toprol-XL 50 mg contains 47.5 mg of metoprolol succinate equivalent to 50 mg of metoprolol tartrate.";
1151            case ADJV: return "A component (player) added to enhance the action of an active ingredient (scoper) (in the manner of a catalyst) but which has no active effect in and of itself.  Such ingredients are significant in defining equivalence of products in a way that inactive ingredients are not.";
1152            case ADTV: return "An ingredient (player)  that is added to a base (scoper), that amounts to a minor part of the overall mixture.";
1153            case BASE: return "A base ingredient (player) is what comprises the major part of a mixture (scoper). E.g., Water in most i.v. solutions, or Vaseline in salves. Among all ingredients of a material, there should be only one base. A base substance can, in turn, be a mixture.";
1154            case CNTM: return "An ingredient whose presence is not intended but may not be reasonably avoided given the circumstances of the mixture's nature or origin.";
1155            case IACT: return "An ingredient which is not considered therapeutically active, e.g., colors, flavors, stabilizers, or preservatives, fillers, or structural components added to an active ingredient in order to facilitate administration of the active ingredient but without being considered therapeutically active. An inactive ingredient need not be biologically inert, e.g., might be active as an allergen or might have a pleasant taste, but is not an essential constituent delivering the therapeutic effect.";
1156            case COLR: return "A substance (player) influencing the optical aspect of material (scoper).";
1157            case FLVR: return "A substance (player) added to a mixture (scoper) to make it taste a certain way.  In food the use is obvious, in pharmaceuticals flavors can hide disgusting taste of the active ingredient (important in pediatric treatments).";
1158            case PRSV: return "A substance (player) added to a mixture (scoper) to prevent microorganisms (fungi, bacteria) to spoil the mixture.";
1159            case STBL: return "A stabilizer (player) added to a mixture (scoper) in order to prevent the molecular disintegration of the main substance.";
1160            case MECH: return "An ingredient (player) of a medication (scoper) that is inseparable from the active ingredients, but has no intended chemical or pharmaceutical effect itself, but which may have some systemic effect on the patient.\r\n\n                        An example is a collagen matrix used as a base for transplanting skin cells.  The collagen matrix can be left permanently in the graft site.  Because it is of bovine origin, the patient may exhibit allergies or may have cultural objections to its use.";
1161            case LOCE: return "Relates an entity (player) to a location (scoper) at which it is present in some way. This presence may be limited in time.";
1162            case STOR: return "Relates an entity (player) (e.g. a device) to a location (scoper) at which it is normally found or stored when not used.";
1163            case MBR: return "A role played by an entity that is a member of a group.  The group provides the scope for this role.\r\n\n                        Among other uses, groups as used in insurance (groups of covered individuals) and in scheduling where resources may be grouped for scheduling and logistical purposes.";
1164            case PART: return "Definition:  an association between two Entities where the playing Entity (the part) is a component of the whole (scoper) in the sense of an integral structural component, that is distinct from other parts in the same whole, has a distinct function in the whole, and, as an effect, the full integrity of the whole depends (to some degree) on the presence of this part, even though the part may often be separable from the whole.\r\n\n                        \n                           Discussion: Part is defined in opposition to (a) ingredient (not separable), (b) content (not a functional component), and (c) member (not functionally distinct from other members).";
1165            case ACTM: return "The molecule or ion that is responsible for the intended pharmacological action of the drug substance, excluding those appended or associated parts of the molecule that make the molecule an ester, salt (including a salt with hydrogen or coordination bonds), or other noncovalent derivative (such as a complex, chelate, or clathrate).\r\n\n                        Examples: heparin-sodium and heparin-potassium have the same active moiety, heparin; the active moiety of morphine-hydrochloride is morphine.";
1166            case SPEC: return "A role played by a material entity that is a specimen for an act. It is scoped by the source of the specimen.";
1167            case ALQT: return "A portion (player) of an original or source specimen (scoper) used for testing or transportation.";
1168            case ISLT: return "A microorganism that has been isolated from other microorganisms or a source matrix.";
1169            case CHILD: return "The player of the role is a child of the scoping entity, in a generic sense.";
1170            case CRED: return "A role played by an entity that receives credentials from the scoping entity.";
1171            case NURPRAC: return "nurse practitioner";
1172            case NURS: return "nurse";
1173            case PA: return "physician assistant";
1174            case PHYS: return "physician";
1175            default: return "?";
1176          }
1177        }
1178        public String getDisplay() {
1179          switch (this) {
1180            case ROL: return "role";
1181            case _ROLECLASSASSOCIATIVE: return "RoleClassAssociative";
1182            case _ROLECLASSMUTUALRELATIONSHIP: return "RoleClassMutualRelationship";
1183            case _ROLECLASSRELATIONSHIPFORMAL: return "RoleClassRelationshipFormal";
1184            case AFFL: return "affiliate";
1185            case AGNT: return "agent";
1186            case ASSIGNED: return "assigned entity";
1187            case COMPAR: return "commissioning party";
1188            case SGNOFF: return "signing authority or officer";
1189            case CON: return "contact";
1190            case ECON: return "emergency contact";
1191            case NOK: return "next of kin";
1192            case GUARD: return "guardian";
1193            case CIT: return "citizen";
1194            case COVPTY: return "covered party";
1195            case CLAIM: return "claimant";
1196            case NAMED: return "named insured";
1197            case DEPEN: return "dependent";
1198            case INDIV: return "individual";
1199            case SUBSCR: return "subscriber";
1200            case PROG: return "program eligible";
1201            case CRINV: return "clinical research investigator";
1202            case CRSPNSR: return "clinical research sponsor";
1203            case EMP: return "employee";
1204            case MIL: return "military person";
1205            case GUAR: return "guarantor";
1206            case INVSBJ: return "Investigation Subject";
1207            case CASEBJ: return "Case Subject";
1208            case RESBJ: return "research subject";
1209            case LIC: return "licensed entity";
1210            case NOT: return "notary public";
1211            case PROV: return "healthcare provider";
1212            case PAT: return "patient";
1213            case PAYEE: return "payee";
1214            case PAYOR: return "invoice payor";
1215            case POLHOLD: return "policy holder";
1216            case QUAL: return "qualified entity";
1217            case SPNSR: return "coverage sponsor";
1218            case STD: return "student";
1219            case UNDWRT: return "underwriter";
1220            case CAREGIVER: return "caregiver";
1221            case PRS: return "personal relationship";
1222            case SELF: return "self";
1223            case _ROLECLASSPASSIVE: return "RoleClassPassive";
1224            case ACCESS: return "access";
1225            case ADJY: return "adjacency";
1226            case CONC: return "connection";
1227            case BOND: return "molecular bond";
1228            case CONY: return "continuity";
1229            case ADMM: return "Administerable Material";
1230            case BIRTHPL: return "birthplace";
1231            case DEATHPLC: return "place of death";
1232            case DST: return "distributed material";
1233            case RET: return "retailed material";
1234            case EXLOC: return "event location";
1235            case SDLOC: return "service delivery location";
1236            case DSDLOC: return "dedicated service delivery location";
1237            case ISDLOC: return "incidental service delivery location";
1238            case EXPR: return "exposed entity";
1239            case HLD: return "held entity";
1240            case HLTHCHRT: return "health chart";
1241            case IDENT: return "identified entity";
1242            case MANU: return "manufactured product";
1243            case THER: return "therapeutic agent";
1244            case MNT: return "maintained entity";
1245            case OWN: return "owned entity";
1246            case RGPR: return "regulated product";
1247            case TERR: return "territory of authority";
1248            case USED: return "used entity";
1249            case WRTE: return "warranted product";
1250            case _ROLECLASSONTOLOGICAL: return "RoleClassOntological";
1251            case EQUIV: return "equivalent entity";
1252            case SAME: return "same";
1253            case SUBY: return "subsumed by";
1254            case GEN: return "has generalization";
1255            case GRIC: return "has generic";
1256            case INST: return "instance";
1257            case SUBS: return "subsumer";
1258            case _ROLECLASSPARTITIVE: return "RoleClassPartitive";
1259            case CONT: return "content";
1260            case EXPAGTCAR: return "exposure agent carrier";
1261            case EXPVECTOR: return "exposure vector";
1262            case FOMITE: return "fomite";
1263            case INGR: return "ingredient";
1264            case ACTI: return "active ingredient";
1265            case ACTIB: return "active ingredient - basis of strength";
1266            case ACTIM: return "active ingredient - moiety is basis of strength";
1267            case ACTIR: return "active ingredient - reference substance is basis of strength";
1268            case ADJV: return "adjuvant";
1269            case ADTV: return "additive";
1270            case BASE: return "base";
1271            case CNTM: return "contaminant ingredient";
1272            case IACT: return "inactive ingredient";
1273            case COLR: return "color additive";
1274            case FLVR: return "flavor additive";
1275            case PRSV: return "preservative";
1276            case STBL: return "stabilizer";
1277            case MECH: return "mechanical ingredient";
1278            case LOCE: return "located entity";
1279            case STOR: return "stored entity";
1280            case MBR: return "member";
1281            case PART: return "part";
1282            case ACTM: return "active moiety";
1283            case SPEC: return "specimen";
1284            case ALQT: return "aliquot";
1285            case ISLT: return "isolate";
1286            case CHILD: return "child";
1287            case CRED: return "credentialed entity";
1288            case NURPRAC: return "nurse practitioner";
1289            case NURS: return "nurse";
1290            case PA: return "physician assistant";
1291            case PHYS: return "physician";
1292            default: return "?";
1293          }
1294    }
1295
1296
1297}
1298