001package org.hl7.fhir.r4.model.codesystems;
002
003/*-
004 * #%L
005 * org.hl7.fhir.r4
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/*
025  Copyright (c) 2011+, HL7, Inc.
026  All rights reserved.
027  
028  Redistribution and use in source and binary forms, with or without modification, 
029  are permitted provided that the following conditions are met:
030  
031   * Redistributions of source code must retain the above copyright notice, this 
032     list of conditions and the following disclaimer.
033   * Redistributions in binary form must reproduce the above copyright notice, 
034     this list of conditions and the following disclaimer in the documentation 
035     and/or other materials provided with the distribution.
036   * Neither the name of HL7 nor the names of its contributors may be used to 
037     endorse or promote products derived from this software without specific 
038     prior written permission.
039  
040  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
041  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
042  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
043  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
044  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
045  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
046  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
047  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
048  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
049  POSSIBILITY OF SUCH DAMAGE.
050  
051*/
052
053// Generated on Wed, Jan 30, 2019 16:19-0500 for FHIR v4.0.0
054
055
056import org.hl7.fhir.exceptions.FHIRException;
057
058public enum V3RoleCode {
059
060        /**
061         * Concepts characterizing the type of association formed by player and scoper when there is a recognized Affiliate role by which the two parties are related.
062
063                        
064                           Examples: Business Partner, Business Associate, Colleague
065         */
066        _AFFILIATIONROLETYPE, 
067        /**
068         * Parties that may or should contribute or have contributed to an Act.
069         */
070        _AGENTROLETYPE, 
071        /**
072         * An entity which corrected, edited, or amended pre-existing information.
073         */
074        AMENDER, 
075        /**
076         * An individual authorized to assign an original classification to information, including compilations of unclassified information, based on a determination that the information requires protection against unauthorized disclosure. The individual marks the information with immutable, computable, and human readable security labels in accordance with applicable security labeling policies.  The labeling policies provide instructions on whether and if so how the security labels may be later reclassified [i.e., upgraded, downgraded, used in derivative classification, or declassified] in a manner that preserves the overridden original classification binding and provenance.
077         */
078        CLASSIFIER, 
079        /**
080         * An entity or an entity's delegatee who is the grantee in an agreement such as a consent for services, advanced directive, or a privacy consent directive in accordance with jurisdictional, organizational, or patient policy.
081         */
082        CONSENTER, 
083        /**
084         * An entity which has witnessed and attests to observing another entity being counseled about an agreement such as a consent for services, advanced directive, or a privacy consent directive.
085         */
086        CONSWIT, 
087        /**
088         * An entity which participates in the generation of and attest to veracity of content, but is not an author or coauthor. For example a surgeon who is required by institutional, regulatory, or legal rules to sign an operative report, but who was not involved in the authorship of that report.
089         */
090        COPART, 
091        /**
092         * An individual which is authorized to declassify information based on a determination that the information no longer requires protection against unauthorized disclosure.  The individual marks the information being declassified using computable and human readable security labels indicating that this is copy of previously classified information is unclassified in accordance with applicable security labeling policies.  The labeling policies provide instructions on whether and if so how the security labels may be later reclassified [i.e., upgraded or used in derivative classification] in a manner that preserves the overridden original classification binding and provenance.
093         */
094        DECLASSIFIER, 
095        /**
096         * A party to whom some right or authority is granted by a delegator.
097         */
098        DELEGATEE, 
099        /**
100         * A party that grants all or some portion its right or authority to another party.
101         */
102        DELEGATOR, 
103        /**
104         * An individual authorized to lower the classification level of labeled content and provide rationale for doing so as directed by a classification guide.
105         */
106        DOWNGRDER, 
107        /**
108         * An individual who is only authorized to classify reproduced, extracted, or summarized classified information, or compile classified and unclassified information by applying classification markings derived from source material or as directed by a classification guide.
109         */
110        DRIVCLASSIFIER, 
111        /**
112         * An entity which accepts certain rights or authority from a grantor.
113         */
114        GRANTEE, 
115        /**
116         * An entity which agrees to confer certain rights or authority to a grantee.
117         */
118        GRANTOR, 
119        /**
120         * An entity which converts spoken or written language into the language of key participants in an event such as when a provider is obtaining a patient's consent to treatment or permission to disclose information.
121         */
122        INTPRTER, 
123        /**
124         * An entity authorized to filter information according to approved criteria.
125         */
126        REVIEWER, 
127        /**
128         * An entity authorized to validate information for inclusion in a record.
129         */
130        VALIDATOR, 
131        /**
132         * Description:Codes that indicate a specific type of sponsor.  Used when the sponsor's role is only either as a fully insured sponsor or only as a self-insured sponsor.  NOTE: Where a sponsor may be either, use the SponsorParticipationFunction.code (fully insured or self insured) to indicate the type of responsibility. (CO6-0057)
133         */
134        _COVERAGESPONSORROLETYPE, 
135        /**
136         * Description:An employer or organization that contracts with an underwriter to assumes the financial risk and administrative responsibility for coverage of health services for covered parties.
137         */
138        FULLINS, 
139        /**
140         * Description:An employer or organization that assumes the financial risk and administrative responsibility for coverage of health services for covered parties.
141         */
142        SELFINS, 
143        /**
144         * Description:PayorRoleType for a particular type of policy or program benefit package or plan where more detail about the coverage administration role of the Payor is required.  The functions performed by a Payor qualified by a PayorRoleType may be specified by the PayorParticpationFunction value set.
145
146                        
147                           Examples:A Payor that is a TPA may administer a managed care plan without underwriting the risk.
148         */
149        _PAYORROLETYPE, 
150        /**
151         * Description:A payor that is responsible for functions related to the enrollment of covered parties.
152         */
153        ENROLBKR, 
154        /**
155         * Description:Third party administrator (TPA) is a payor organization that processes health care claims without carrying insurance risk. Third party administrators are prominent players in the managed care industry and have the expertise and capability to administer all or a portion of the claims process. They are normally contracted by a health insurer or self-insuring companies to administer services, including claims administration, premium collection, enrollment and other administrative activities.
156
157                        Self-insured employers often contract with third party administrator to handle their insurance functions. Insurance companies oftentimes outsource the claims, utilization review or membership functions to a TPA. Sometimes TPAs only manage provider networks, only claims or only utilization review.
158
159                        While some third-party administrators may operate as units of insurance companies, they are often independent. However, hospitals or provider organizations desiring to set up their own health plans will often outsource certain responsibilities to TPAs.  TPAs may perform one or several payor functions, specified by the PayorParticipationFunction value set, such as provider management, enrollment, utilization management, and fee for service claims adjudication management.
160         */
161        TPA, 
162        /**
163         * Description:A payor that is responsible for review and case management of health services covered under a policy or program.
164         */
165        UMO, 
166        /**
167         * The role played by a party who has legal responsibility for another party.
168         */
169        RESPRSN, 
170        /**
171         * The role played by a person acting as the estate executor for a deceased subscriber or policyholder who was the responsible party
172         */
173        EXCEST, 
174        /**
175         * The role played by a person appointed by the court to look out for the best interests of a minor child during the course of legal proceedings.
176         */
177        GUADLTM, 
178        /**
179         * The role played by a person or institution legally empowered with responsibility for the care of a ward.
180         */
181        GUARD, 
182        /**
183         * A relationship between two people in which one person authorizes another to act for him in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts.
184         */
185        POWATT, 
186        /**
187         * A relationship between two people in which one person authorizes another, usually a family member or relative, to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that is often limited in the kinds of powers that can be assigned.  Unlike ordinary powers of attorney, durable powers can survive for long periods of time, and again, unlike standard powers of attorney, durable powers can continue after incompetency.
188         */
189        DPOWATT, 
190        /**
191         * A relationship between two people in which one person authorizes another to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that continues (by its terms) to be effective even though the grantor has become mentally incompetent after signing the document.
192         */
193        HPOWATT, 
194        /**
195         * A relationship between two people in which one person authorizes another to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that is often limited in the kinds of powers that can be assigned.
196         */
197        SPOWATT, 
198        /**
199         * AssignedRoleType
200         */
201        _ASSIGNEDROLETYPE, 
202        /**
203         * Description:A role type that is used to further qualify a non-person subject playing a role where the role class attribute is set to RoleClass AssignedEntity
204         */
205        _ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE, 
206        /**
207         * Description:Dogs trained to assist the ill or physically challenged.
208         */
209        ASSIST, 
210        /**
211         * Description:Animals, including fish and insects, and microorganisms which may participate as assigned entities in biotherapies.
212         */
213        BIOTH, 
214        /**
215         * Description:Non-person living subject used as antibiotic.
216
217                        
218                           Examples:Bacteriophage, is a virus that infects bacteria.
219         */
220        ANTIBIOT, 
221        /**
222         * Description:Maggots raised for biodebridement.
223
224                        
225                           Discussion: Maggot Debridement Therapy is the medical use of live maggots for cleaning non-healing wounds.
226
227                        
228                           Examples:Removal of burnt skin.
229         */
230        DEBR, 
231        /**
232         * Description:Companion animals, such as dogs, cats, and rabbits, which may be provided to patients to improve general mood, decrease depression and loneliness, and distract from stress-inducing concerns to improve quality of life.
233         */
234        CCO, 
235        /**
236         * Description:Dogs trained to assist persons who are seeing impaired or blind.
237         */
238        SEE, 
239        /**
240         * Description:Dogs trained or having the ability to detect imminent seizures or cancers in humans, probably as a result of volatile chemical (odors) given off by the malignancy of the host.
241         */
242        SNIFF, 
243        /**
244         * Defines types of certifications for all entities
245         */
246        _CERTIFIEDENTITYTYPE, 
247        /**
248         * A role type used to qualify a person's legal status within a country or nation.
249         */
250        _CITIZENROLETYPE, 
251        /**
252         * A person who has fled his or her home country to find a safe place elsewhere.
253         */
254        CAS, 
255        /**
256         * A person who is someone of below legal age who has fled his or her home country, without his or her parents, to find a safe place elsewhere at time of categorization.
257         */
258        CASM, 
259        /**
260         * A person who is legally recognized as a member of a nation or country, with associated rights and obligations.
261         */
262        CN, 
263        /**
264         * A foreigner who is present in a country (which is foreign to him/her) unlawfully or without the country's authorization (may be called an illegal alien).
265         */
266        CNRP, 
267        /**
268         * A person who is below legal age present in a country, without his or her parents, (which is foreign to him/her) unlawfully or without the country's authorization.
269         */
270        CNRPM, 
271        /**
272         * A non-country member admitted to the territory of a nation or country as a non-resident for an explicit purpose.
273         */
274        CPCA, 
275        /**
276         * A foreigner who is a resident of the country but does not have citizenship.
277         */
278        CRP, 
279        /**
280         * A person who is a resident below legal age of the country without his or her parents and does not have citizenship.
281         */
282        CRPM, 
283        /**
284         * Types of contact for Role code "CON"
285         */
286        _CONTACTROLETYPE, 
287        /**
288         * A contact role used for business and/or administrative purposes.
289         */
290        _ADMINISTRATIVECONTACTROLETYPE, 
291        /**
292         * A contact role used to identify a person within a Provider organization that can be contacted for billing purposes (e.g. about the content of the Invoice).
293         */
294        BILL, 
295        /**
296         * A contact for an organization for administrative purposes. Contact role specifies a person acting as a liason for the organization.
297
298                        Example: HR Department representative.
299         */
300        ORG, 
301        /**
302         * A contact role used to identify a person within a Payor organization to whom this communication is addressed.
303         */
304        PAYOR, 
305        /**
306         * A contact designated for contact in emergent situations.
307         */
308        ECON, 
309        /**
310         * Played by an individual who is designated as the next of kin for another individual which scopes the role.
311         */
312        NOK, 
313        /**
314         * Definition: A code representing the type of identifier that has been assigned to the identified entity (IDENT).
315
316                        
317                           Examples: Example values include Social Insurance Number, Product Catalog ID, Product Model Number.
318         */
319        _IDENTIFIEDENTITYTYPE, 
320        /**
321         * Description:Describes types of identifiers other than the primary location registry identifier for a service delivery location.  Identifiers may be assigned by a local service delivery organization, a formal body capable of accrediting the location for the capability to provide specific services or the identifier may be assigned at a jurisdictional level.
322         */
323        _LOCATIONIDENTIFIEDENTITYROLECODE, 
324        /**
325         * Description:Identifier assigned to a  location by the organization responsible for accrediting the location.
326         */
327        ACHFID, 
328        /**
329         * Description:Identifier assigned to a location by a jurisdiction.
330         */
331        JURID, 
332        /**
333         * Description:Identifier assigned to a  location by a local party (which could be the facility itself or organization overseeing a group of facilities).
334         */
335        LOCHFID, 
336        /**
337         * Code indicating the primary use for which a living subject is bred or grown
338         */
339        _LIVINGSUBJECTPRODUCTIONCLASS, 
340        /**
341         * Cattle used for meat production
342         */
343        BF, 
344        /**
345         * Chickens raised for meat
346         */
347        BL, 
348        /**
349         * Breeding/genetic stock
350         */
351        BR, 
352        /**
353         * Companion animals
354         */
355        CO, 
356        /**
357         * Milk production
358         */
359        DA, 
360        /**
361         * Draft animals
362         */
363        DR, 
364        /**
365         * Dual purpose.  Defined purposes based on species and breed
366         */
367        DU, 
368        /**
369         * Animals raised for their fur, hair or skins
370         */
371        FI, 
372        /**
373         * Chickens raised for egg production
374         */
375        LY, 
376        /**
377         * Animals raised for meat production
378         */
379        MT, 
380        /**
381         * Poultry flocks used for chick/poult production
382         */
383        MU, 
384        /**
385         * Animals rasied for recreation
386         */
387        PL, 
388        /**
389         * Animals raised for racing perfomance
390         */
391        RC, 
392        /**
393         * Animals raised for shows
394         */
395        SH, 
396        /**
397         * Cattle raised for veal meat production.  Implicit is the husbandry method.
398         */
399        VL, 
400        /**
401         * Sheep, goats and other mammals raised for their fiber
402         */
403        WL, 
404        /**
405         * Animals used to perform work
406         */
407        WO, 
408        /**
409         * Identifies the specific hierarchical relationship between the playing and scoping medications. 
410
411                        
412                           Examples: Generic, Generic Formulation, Therapeutic Class, etc.
413         */
414        _MEDICATIONGENERALIZATIONROLETYPE, 
415        /**
416         * Description:A categorization of medicinal products by their therapeutic properties and/or main therapeutic use.
417         */
418        DC, 
419        /**
420         * Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients independent of strength, and form.
421
422                        The scoping entity identifies a unique combination of medicine ingredients; sometimes referred to as "ingredient set".
423         */
424        GD, 
425        /**
426         * Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients and dose form, independent of strength of the ingredients. The scoping entity identifies a unique combination of medicine ingredients in a specific dose form.
427         */
428        GDF, 
429        /**
430         * Relates a manufactured drug product to the non-proprietary (generic) representation of is ingredients with their strength.  The scoping entity identifies a unique combination of medicine ingredients with their strength.
431         */
432        GDS, 
433        /**
434         * Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients with their strength in a specific dose form. The scoping entity identifies a unique combination of medicine ingredients with their strength in a single dose form.
435         */
436        GDSF, 
437        /**
438         * Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients with their strength in a specific dose form. The scoping entity identifies a unique combination of medicine ingredients with their strength in a single dose form.
439         */
440        MGDSF, 
441        /**
442         * Types of membership for Role code "MBR"
443         */
444        _MEMBERROLETYPE, 
445        /**
446         * A person who is a member of a tribe.
447         */
448        TRB, 
449        /**
450         * PersonalRelationshipRoleType
451         */
452        _PERSONALRELATIONSHIPROLETYPE, 
453        /**
454         * A relationship between two people characterizing their "familial" relationship
455         */
456        FAMMEMB, 
457        /**
458         * The player of the role is a child of the scoping entity.
459         */
460        CHILD, 
461        /**
462         * The player of the role is a child taken into a family through legal means and raised by the scoping person (parent) as his or her own child.
463         */
464        CHLDADOPT, 
465        /**
466         * The player of the role is a female child taken into a family through legal means and raised by the scoping person (parent) as his or her own child.
467         */
468        DAUADOPT, 
469        /**
470         * The player of the role is a male child taken into a family through legal means and raised by the scoping person (parent) as his or her own child.
471         */
472        SONADOPT, 
473        /**
474         * The player of the role is a child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties.
475         */
476        CHLDFOST, 
477        /**
478         * The player of the role is a female child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties.
479         */
480        DAUFOST, 
481        /**
482         * The player of the role is a male child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties.
483         */
484        SONFOST, 
485        /**
486         * Description: The player of the role is a female child (of any type) of scoping entity (parent)
487         */
488        DAUC, 
489        /**
490         * The player of the role is a female offspring of the scoping entity (parent).
491         */
492        DAU, 
493        /**
494         * The player of the role is a daughter of the scoping person's spouse by a previous union.
495         */
496        STPDAU, 
497        /**
498         * The player of the role is an offspring of the scoping entity as determined by birth.
499         */
500        NCHILD, 
501        /**
502         * The player of the role is a male offspring of the scoping entity (parent).
503         */
504        SON, 
505        /**
506         * Description: The player of the role is a male child (of any type) of scoping entity (parent)
507         */
508        SONC, 
509        /**
510         * The player of the role is a son of the scoping person's spouse by a previous union.
511         */
512        STPSON, 
513        /**
514         * The player of the role is a child of the scoping person's spouse by a previous union.
515         */
516        STPCHLD, 
517        /**
518         * Description: A family member not having an immediate genetic or legal relationship e.g. Aunt, cousin, great grandparent, grandchild, grandparent, niece, nephew or uncle.
519         */
520        EXT, 
521        /**
522         * The player of the role is a sister of the scoping person's mother or father.
523         */
524        AUNT, 
525        /**
526         * Description:The player of the role is a biological sister of the scoping person's biological mother.
527         */
528        MAUNT, 
529        /**
530         * Description:The player of the role is a biological sister of the scoping person's biological father.
531         */
532        PAUNT, 
533        /**
534         * The player of the role is a relative of the scoping person descended from a common ancestor, such as a       grandparent, by two or more steps in a diverging line.
535         */
536        COUSN, 
537        /**
538         * Description:The player of the role is a biological relative of the scoping person descended from a common ancestor on the player's mother's side, such as a grandparent, by two or more steps in a diverging line.
539         */
540        MCOUSN, 
541        /**
542         * Description:The player of the role is a biological relative of the scoping person descended from a common ancestor on the player's father's side, such as a grandparent, by two or more steps in a diverging line.
543         */
544        PCOUSN, 
545        /**
546         * The player of the role is a parent of the scoping person's grandparent.
547         */
548        GGRPRN, 
549        /**
550         * The player of the role is the father of the scoping person's grandparent.
551         */
552        GGRFTH, 
553        /**
554         * Description:The player of the role is the biological father of the scoping person's biological mother's parent.
555         */
556        MGGRFTH, 
557        /**
558         * Description:The player of the role is the biological father of the scoping person's biological father's parent.
559         */
560        PGGRFTH, 
561        /**
562         * The player of the role is the mother of the scoping person's grandparent.
563         */
564        GGRMTH, 
565        /**
566         * Description:The player of the role is the biological mother of the scoping person's biological mother's parent.
567         */
568        MGGRMTH, 
569        /**
570         * Description:The player of the role is the biological mother of the scoping person's biological father's parent.
571         */
572        PGGRMTH, 
573        /**
574         * Description:The player of the role is a biological parent of the scoping person's biological mother's parent.
575         */
576        MGGRPRN, 
577        /**
578         * Description:The player of the role is a biological parent of the scoping person's biological father's parent.
579         */
580        PGGRPRN, 
581        /**
582         * The player of the role is a child of the scoping person's son or daughter.
583         */
584        GRNDCHILD, 
585        /**
586         * The player of the role is a daughter of the scoping person's son or daughter.
587         */
588        GRNDDAU, 
589        /**
590         * The player of the role is a son of the scoping person's son or daughter.
591         */
592        GRNDSON, 
593        /**
594         * The player of the role is a parent of the scoping person's mother or father.
595         */
596        GRPRN, 
597        /**
598         * The player of the role is the father of the scoping person's mother or father.
599         */
600        GRFTH, 
601        /**
602         * Description:The player of the role is the biological father of the scoping person's biological mother.
603         */
604        MGRFTH, 
605        /**
606         * Description:The player of the role is the biological father of the scoping person's biological father.
607         */
608        PGRFTH, 
609        /**
610         * The player of the role is the mother of the scoping person's mother or father.
611         */
612        GRMTH, 
613        /**
614         * Description:The player of the role is the biological mother of the scoping person's biological mother.
615         */
616        MGRMTH, 
617        /**
618         * Description:The player of the role is the biological mother of the scoping person's biological father.
619         */
620        PGRMTH, 
621        /**
622         * Description:The player of the role is the biological parent of the scoping person's biological mother.
623         */
624        MGRPRN, 
625        /**
626         * Description:The player of the role is the biological parent of the scoping person's biological father.
627         */
628        PGRPRN, 
629        /**
630         * A relationship between an individual and a member of their spousal partner's immediate family.
631         */
632        INLAW, 
633        /**
634         * The player of the role is the spouse of scoping person's child.
635         */
636        CHLDINLAW, 
637        /**
638         * The player of the role is the wife of scoping person's son.
639         */
640        DAUINLAW, 
641        /**
642         * The player of the role is the husband of scoping person's daughter.
643         */
644        SONINLAW, 
645        /**
646         * The player of the role is the parent of scoping person's husband or wife.
647         */
648        PRNINLAW, 
649        /**
650         * The player of the role is the father of the scoping person's husband or wife.
651         */
652        FTHINLAW, 
653        /**
654         * The player of the role is the mother of the scoping person's husband or wife.
655         */
656        MTHINLAW, 
657        /**
658         * The player of the role is: (1) a sibling of the scoping person's spouse, or (2) the spouse of the scoping person's sibling, or (3) the spouse of a sibling of the scoping person's spouse.
659         */
660        SIBINLAW, 
661        /**
662         * The player of the role is: (1) a brother of the scoping person's spouse, or (2) the husband of the scoping person's sister, or (3) the husband of a sister of the scoping person's spouse.
663         */
664        BROINLAW, 
665        /**
666         * The player of the role is: (1) a sister of the scoping person's spouse, or (2) the wife of the scoping person's brother, or (3) the wife of a brother of the scoping person's spouse.
667         */
668        SISINLAW, 
669        /**
670         * The player of the role is a child of scoping person's brother or sister or of the brother or sister of the   scoping person's spouse.
671         */
672        NIENEPH, 
673        /**
674         * The player of the role is a son of the scoping person's brother or sister or of the brother or sister of the         scoping person's spouse.
675         */
676        NEPHEW, 
677        /**
678         * The player of the role is a daughter of the scoping person's brother or sister or of the brother or sister of the    scoping person's spouse.
679         */
680        NIECE, 
681        /**
682         * The player of the role is a brother of the scoping person's mother or father.
683         */
684        UNCLE, 
685        /**
686         * Description:The player of the role is a biological brother of the scoping person's biological mother.
687         */
688        MUNCLE, 
689        /**
690         * Description:The player of the role is a biological brother of the scoping person's biological father.
691         */
692        PUNCLE, 
693        /**
694         * The player of the role is one who begets, gives birth to, or nurtures and raises the scoping entity (child).
695         */
696        PRN, 
697        /**
698         * The player of the role (parent) has taken the scoper (child) into their family through legal means and raises them as his or her own child.
699         */
700        ADOPTP, 
701        /**
702         * The player of the role (father) is a male who has taken the scoper (child) into their family through legal means and raises them as his own child.
703         */
704        ADOPTF, 
705        /**
706         * The player of the role (father) is a female who has taken the scoper (child) into their family through legal means and raises them as her own child.
707         */
708        ADOPTM, 
709        /**
710         * The player of the role is a male who begets or raises or nurtures the scoping entity (child).
711         */
712        FTH, 
713        /**
714         * The player of the role (parent) who is a male state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary.
715
716                        The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child.
717         */
718        FTHFOST, 
719        /**
720         * The player of the role is a male who begets the scoping entity (child).
721         */
722        NFTH, 
723        /**
724         * Indicates the biologic male parent of a fetus.
725         */
726        NFTHF, 
727        /**
728         * The player of the role is the husband of scoping person's mother and not the scoping person's natural father.
729         */
730        STPFTH, 
731        /**
732         * The player of the role is a female who conceives, gives birth to, or raises and nurtures the scoping entity (child).
733         */
734        MTH, 
735        /**
736         * The player is a female whose womb carries the fetus of the scoper.  Generally used when the gestational mother and natural mother are not the same.
737         */
738        GESTM, 
739        /**
740         * The player of the role (parent) who is a female state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary.
741
742                        The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child.
743         */
744        MTHFOST, 
745        /**
746         * The player of the role is a female who conceives or gives birth to the scoping entity (child).
747         */
748        NMTH, 
749        /**
750         * The player is the biologic female parent of the scoping fetus.
751         */
752        NMTHF, 
753        /**
754         * The player of the role is the wife of scoping person's father and not the scoping person's natural mother.
755         */
756        STPMTH, 
757        /**
758         * natural parent
759         */
760        NPRN, 
761        /**
762         * The player of the role (parent) who is a state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary.
763
764                        The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child.
765         */
766        PRNFOST, 
767        /**
768         * The player of the role is the spouse of the scoping person's parent and not the scoping person's natural parent.
769         */
770        STPPRN, 
771        /**
772         * The player of the role shares one or both parents in common with the scoping entity.
773         */
774        SIB, 
775        /**
776         * The player of the role is a male sharing one or both parents in common with the scoping entity.
777         */
778        BRO, 
779        /**
780         * The player of the role is a male related to the scoping entity by sharing only one biological parent.
781         */
782        HBRO, 
783        /**
784         * The player of the role is a male having the same biological parents as the scoping entity.
785         */
786        NBRO, 
787        /**
788         * The scoper was carried in the same womb as the male player and shares common biological parents.
789         */
790        TWINBRO, 
791        /**
792         * The scoper was carried in the same womb as the male player and shares common biological parents but is the product of a distinct egg/sperm pair.
793         */
794        FTWINBRO, 
795        /**
796         * The male scoper is an offspring of the same egg-sperm pair as the male player.
797         */
798        ITWINBRO, 
799        /**
800         * The player of the role is a son of the scoping person's stepparent.
801         */
802        STPBRO, 
803        /**
804         * The player of the role is related to the scoping entity by sharing only one biological parent.
805         */
806        HSIB, 
807        /**
808         * The player of the role is a female related to the scoping entity by sharing only one biological parent.
809         */
810        HSIS, 
811        /**
812         * The player of the role has both biological parents in common with the scoping entity.
813         */
814        NSIB, 
815        /**
816         * The player of the role is a female having the same biological parents as the scoping entity.
817         */
818        NSIS, 
819        /**
820         * The scoper was carried in the same womb as the female player and shares common biological parents.
821         */
822        TWINSIS, 
823        /**
824         * The scoper was carried in the same womb as the female player and shares common biological parents but is the product of a distinct egg/sperm pair.
825         */
826        FTWINSIS, 
827        /**
828         * The female scoper is an offspring of the same egg-sperm pair as the female player.
829         */
830        ITWINSIS, 
831        /**
832         * The scoper and player were carried in the same womb and shared common biological parents.
833         */
834        TWIN, 
835        /**
836         * The scoper and player were carried in the same womb and share common biological parents but are the product of distinct egg/sperm pairs.
837         */
838        FTWIN, 
839        /**
840         * The scoper and player are offspring of the same egg-sperm pair.
841         */
842        ITWIN, 
843        /**
844         * The player of the role is a female sharing one or both parents in common with the scoping entity.
845         */
846        SIS, 
847        /**
848         * The player of the role is a daughter of the scoping person's stepparent.
849         */
850        STPSIS, 
851        /**
852         * The player of the role is a child of the scoping person's stepparent.
853         */
854        STPSIB, 
855        /**
856         * A person who is important to one's well being; especially a spouse or one in a similar relationship.  (The player is the one who is important)
857         */
858        SIGOTHR, 
859        /**
860         * The player of the role cohabits with the scoping person but is not the scoping person's spouse.
861         */
862        DOMPART, 
863        /**
864         * Player of the role was previously joined to the scoping person in marriage and this marriage is now dissolved and inactive.
865
866                        
867                           Usage Note: This is significant to indicate as some jurisdictions have different legal requirements for former spouse to access the patient's record, from a general friend.
868         */
869        FMRSPS, 
870        /**
871         * The player of the role is a marriage partner of the scoping person.
872         */
873        SPS, 
874        /**
875         * The player of the role is a man joined to a woman (scoping person) in marriage.
876         */
877        HUSB, 
878        /**
879         * The player of the role is a woman joined to a man (scoping person) in marriage.
880         */
881        WIFE, 
882        /**
883         * The player of the role is a person who is known, liked, and trusted by the scoping person.
884         */
885        FRND, 
886        /**
887         * The player of the role lives near or next to the     scoping person.
888         */
889        NBOR, 
890        /**
891         * The relationship that a person has with his or her self.
892         */
893        ONESELF, 
894        /**
895         * One who shares living quarters with the subject.
896         */
897        ROOM, 
898        /**
899         * Description: A role recognized through the eligibility of an identified party for benefits covered under an insurance policy or a program based on meeting eligibility criteria.
900
901                        Eligibility as a covered party may be conditioned on the party meeting criteria to qualify for coverage under a policy or program, which may be mandated by law.  These criteria may be: 
902
903                        
904                           
905                              The sole basis for coverage, e.g., being differently abled may qualify a person for disability coverage
906
907                           
908                           
909                              May more fully qualify a covered party role e.g, being differently abled may qualify an adult child as a dependent
910
911                           
912                           
913                              May impact the level of coverage for a covered party under a policy or program, e.g., being differently abled may qualify a program eligible for additional benefits.
914
915                           
916                        
917                        
918                           Discussion:  The Abstract Value Set "CoverageRoleType", which was developed for use in the Canadian realm "pre-coordinate" coverage roles with other roles that a covered party must play in order to be eligible for coverage, e.g., "handicapped dependent".   These role.codes may only be used with COVPTY to avoid overlapping concepts that would result from using them to specify the specializations of COVPTY, e.g., the role.class DEPEN should not be used with the role.code family dependent because that relationship has overlapping concepts due to the role.code precoodination and is conveyed in FICO with the personal relationship role that has a PART role link to the covered party role.  For the same reasons, the role.class DEPEN should not be used with the role.code HANDIC (handicapped dependent); the role.code DIFFABLE (differently abled) should be used instead.
919
920                        In summary, the coded concepts in the Abstract Value Set "CoveredPartyRoleType" can be "post-coordinated" with the "RoleClassCoveredParty" Abstract Value Set.  Decoupling these concepts is intended to support an expansive range of covered party concepts and their semantic comparability.
921         */
922        _POLICYORPROGRAMCOVERAGEROLETYPE, 
923        /**
924         * Role recognized through the issuance of insurance coverage to an identified covered party who has this relationship with the policy holder such as the policy holder themselves (self), spouse, child, etc
925         */
926        _COVERAGEROLETYPE, 
927        /**
928         * The player of the role is dependent of the scoping entity.
929         */
930        FAMDEP, 
931        /**
932         * Covered party is a dependent of the policy holder with a physical or mental disability causing a disadvantage that makes independent achievement unusually difficult.
933         */
934        HANDIC, 
935        /**
936         * Covered party is an injured party with a legal claim for compensation against a policy holder under an insurance policy.
937         */
938        INJ, 
939        /**
940         * Covered party is the policy holder.  Also known as the subscriber.
941         */
942        SELF, 
943        /**
944         * Covered party is an individual that the policy holder has assumed responsibility for, such as foster child or legal ward.
945         */
946        SPON, 
947        /**
948         * Covered party to an insurance policy has coverage through full-time or part-time attendance at a recognized educational institution as defined by a particular insurance policy.
949         */
950        STUD, 
951        /**
952         * Covered party to an insurance policy has coverage through full-time attendance at a recognized educational institution as defined by a particular insurance policy.
953         */
954        FSTUD, 
955        /**
956         * Covered party to an insurance policy has coverage through part-time attendance at a recognized educational institution as defined by a particular insurance policy.
957         */
958        PSTUD, 
959        /**
960         * A child taken into one's family through legal means and raised as one's own child.
961         */
962        ADOPT, 
963        /**
964         * A child of one's son or daughter.
965         */
966        GCHILD, 
967        /**
968         * parent of a parent of the subject.
969         */
970        GPARNT, 
971        /**
972         * A child as determined by birth.
973         */
974        NAT, 
975        /**
976         * A child of one's brother or sister or of the brother or sister of one's spouse.
977         */
978        NIENE, 
979        /**
980         * One that begets or brings forth offspring or a person who brings up and cares for for another (Webster's Collegiate Dictionary)
981         */
982        PARNT, 
983        /**
984         * A marriage partner; a husband or wife.
985         */
986        SPSE, 
987        /**
988         * A child receiving parental care and nurture from a person who is related to them through marriage to their parent.
989         */
990        STEP, 
991        /**
992         * A role recognized through the eligibility of an identified living subject for benefits covered under an insurance policy or a program.  Eligibility as a covered party may be conditioned on a relationship with (1) the policy holder such as the policy holder who is covered as an individual under a poliy or as a party sponsored for coverage by the policy holder.
993
994                        
995                           Example:An employee as a subscriber; or (2) on being scoped another covered party such as the subscriber, as in the case of a dependent. 
996
997                        
998                           Discussion:  The Abstract Value Set "CoverageRoleType", which was developed for use in the Canadian realm "pre-coordinate" coverage roles with other roles that a covered party must play in order to be eligible for coverage, e.g., "handicapped dependent".  Other codes in the Abstract Value Set CoveredPartyRoleType domain can be "post-coordinated" with the EligiblePartyRoleType codes to denote comparable concepts.  Decoupling the concepts is intended to support a wider range of concepts and semantic comparability of coded concepts.
999         */
1000        _COVEREDPARTYROLETYPE, 
1001        /**
1002         * DescriptionA role recognized through the eligibility of a party play a claimant for benefits covered or provided under an insurance policy.
1003         */
1004        _CLAIMANTCOVEREDPARTYROLETYPE, 
1005        /**
1006         * Description: A person playing the role of program eligible under a program based on allegations of being the victim of a crime.
1007
1008                        
1009                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is "program eligible" and the person's status as a crime victim meets jurisdictional or program criteria.
1010         */
1011        CRIMEVIC, 
1012        /**
1013         * Description: A person playing the role of program eligible under a workers compensation program based on the filing of work-related injury claim.
1014
1015                        
1016                           Discussion:  This CoveredPartyRoleType.code is used when the CoveredPartyRole class code is either "program eligible", a "named insured", and "individual insured",  or "dependent", and the person's status as differently abled or "handicapped" meets jurisdictional, policy, or program criteria.
1017         */
1018        INJWKR, 
1019        /**
1020         * Description: A role recognized through the eligibility of a party to play a dependent for benefits covered or provided under a health insurance policy because of an association with the subscriber that is recognized by the policy underwriter.
1021         */
1022        _DEPENDENTCOVEREDPARTYROLETYPE, 
1023        /**
1024         * Description: A person playing the role of an individual insured with continuity of coverage under a policy which is being terminated based on loss of original status that was the basis for coverage.  Criteria for qualifying for continuity of coverage may be set by law.
1025
1026                        
1027                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the person's status as a continuity of coverage beneficiary meets jurisdictional or policy criteria.
1028         */
1029        COCBEN, 
1030        /**
1031         * Description: A person playing the role of program eligible under a program based on meeting criteria for health or functional limitation set by law or by the program.
1032
1033                        
1034                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible", "named insured", "individual insured", or "dependent", and the person's status as differently abled meets jurisdictional, policy, or program criteria.
1035         */
1036        DIFFABL, 
1037        /**
1038         * Description: A person, who is a minor or is deemed incompetent, who plays the role of a program eligible where eligibility for coverage is based on meeting program eligibility criteria for status as a ward of a court or jurisdiction.
1039
1040                        
1041                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is a "claimant", "program eligible", a "named insured", an "individual Insured" or a "dependent", and the person's status as a ward meets program or policy criteria. In the case of a ward covered under a program providing financial or health benefits, a governmental agency may take temporary custody of a minor or incompetent for his/her protection and care, e.g., if the ward is suffering from neglect or abuse, or has been in trouble with the law.
1042         */
1043        WARD, 
1044        /**
1045         * A role recognized through the eligibility of a party to play an individual insured for benefits covered or provided under an insurance policy where the party is also the policy holder.
1046         */
1047        _INDIVIDUALINSUREDPARTYROLETYPE, 
1048        /**
1049         * Description: A person playing the role of an individual insured under a policy based on meeting criteria for the employment status of retired set by law or the policy.
1050
1051                        
1052                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the person's status as a retiree meets jurisdictional or policy criteria.
1053         */
1054        RETIREE, 
1055        /**
1056         * Description:A role recognized through the eligibility of a party to play a program eligible for benefits covered or provided under a program.
1057         */
1058        _PROGRAMELIGIBLEPARTYROLETYPE, 
1059        /**
1060         * Description: A person playing the role of program eligible under a program based on aboriginal ancestry or as a member of an aboriginal community.
1061
1062                        
1063                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is "program eligible" and the person's status as a member of an indigenous people meets jurisdictional or program criteria.
1064         */
1065        INDIG, 
1066        /**
1067         * Definition: A person playing the role of program eligible under a program based on military status.
1068
1069                        
1070                           Discussion:  This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the person's status as a member of the military meets jurisdictional or program criteria
1071         */
1072        MIL, 
1073        /**
1074         * Description: A person playing the role of program eligible under a program based on active military status.
1075
1076                        
1077                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the persons status as active duty military meets jurisdictional or program criteria.
1078         */
1079        ACTMIL, 
1080        /**
1081         * Description: A person playing the role of program eligible under a program based on retired military status.
1082
1083                        
1084                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the persons status as retired military meets jurisdictional or program criteria.
1085         */
1086        RETMIL, 
1087        /**
1088         * Description: A person playing the role of program eligible under a program based on status as a military veteran.
1089
1090                        
1091                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either "program eligible" or "subscriber" and the persons status as a veteran meets jurisdictional or program criteria.
1092         */
1093        VET, 
1094        /**
1095         * Description: A role recognized through the eligibility of a party to play a subscriber for benefits covered or provided under a health insurance policy.
1096         */
1097        _SUBSCRIBERCOVEREDPARTYROLETYPE, 
1098        /**
1099         * Specifies the administrative functionality within a formal experimental design for which the ResearchSubject role was established.  Examples: screening - role is used for pre-enrollment evaluation portion of the design; enrolled - role is used for subjects admitted to the active treatment portion of the design.
1100         */
1101        _RESEARCHSUBJECTROLEBASIS, 
1102        /**
1103         * Definition:The specific role being played by a research subject participating in the active treatment or primary data collection portion of a research study.
1104         */
1105        ERL, 
1106        /**
1107         * Definition:The specific role being played by a research subject participating in the pre-enrollment evaluation portion of  a research study.
1108         */
1109        SCN, 
1110        /**
1111         * A role of a place that further classifies the setting (e.g., accident site, road side, work site, community location) in which services are delivered.
1112         */
1113        _SERVICEDELIVERYLOCATIONROLETYPE, 
1114        /**
1115         * A role of a place that further classifies a setting that is intended to house the provision of services.
1116         */
1117        _DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE, 
1118        /**
1119         * A role of a place that further classifies the clinical setting (e.g., cardiology clinic, primary care clinic, rehabilitation hospital, skilled nursing facility) in which care is delivered during an encounter.
1120         */
1121        _DEDICATEDCLINICALLOCATIONROLETYPE, 
1122        /**
1123         * A practice setting where diagnostic procedures or therapeutic interventions are performed
1124         */
1125        DX, 
1126        /**
1127         * A practice setting where cardiovascular diagnostic procedures or therapeutic interventions are performed (e.g., cardiac catheterization lab, echocardiography suite)
1128         */
1129        CVDX, 
1130        /**
1131         * Cardiac catheterization lab
1132         */
1133        CATH, 
1134        /**
1135         * Echocardiography lab
1136         */
1137        ECHO, 
1138        /**
1139         * A practice setting where GI procedures (such as endoscopies) are performed
1140         */
1141        GIDX, 
1142        /**
1143         * (X12N 261QD0000N)
1144         */
1145        ENDOS, 
1146        /**
1147         * A practice setting where radiology services (diagnostic or therapeutic) are provided            (X12N 261QR0200N)
1148         */
1149        RADDX, 
1150        /**
1151         * (X12N 261QX0203N)
1152         */
1153        RADO, 
1154        /**
1155         * Neuroradiology unit
1156         */
1157        RNEU, 
1158        /**
1159         * An acute care institution that provides medical, surgical, or psychiatric care and treatment for the sick or the injured.
1160         */
1161        HOSP, 
1162        /**
1163         * (1) A hospital including a physical plant and personnel that provides multidisciplinary diagnosis and treatment for diseases that have one or more of the following characteristics: is permanent; leaves residual disability; is caused by nonreversible pathological alteration; requires special training of the patient for rehabilitation; and/or may be expected to require a long period of supervision or care. In addition, patients require the safety, security, and shelter of these specialized inpatient or partial hospitalization settings. (2) A hospital that provides medical and skilled nursing services to patients with long-term illnesses who are not in an acute phase but who require an intensity of services not available in nursing homes
1164         */
1165        CHR, 
1166        /**
1167         * (X12N 282N00000N)
1168         */
1169        GACH, 
1170        /**
1171         * A health care facility operated by the Department of Defense or other military operation.
1172         */
1173        MHSP, 
1174        /**
1175         * Healthcare facility that cares for patients with psychiatric illness(s).
1176         */
1177        PSYCHF, 
1178        /**
1179         * (X12N 283X00000N)
1180         */
1181        RH, 
1182        /**
1183         * Description: A location that plays the role of delivering services which may include life training and/or social support to people with addictions.
1184         */
1185        RHAT, 
1186        /**
1187         * Description: A location that plays the role of delivering services which may include adaptation, rehabilitation and social integration services for people with intellectual and/or pervasive development disorders such as autism or severe behaviour disorder.
1188         */
1189        RHII, 
1190        /**
1191         * Description: A location that plays the role of delivering services which may social support services for adolescents who are pregnant or have child and are experiencing adaptation issues/difficulties in their current or eventual parenting role.
1192         */
1193        RHMAD, 
1194        /**
1195         * Description: A location that plays the role of delivering services which may include adaptation, rehabilitation and social integration services for people with physical impairments.
1196         */
1197        RHPI, 
1198        /**
1199         * Description: A location that plays the role of delivering services for people with hearing impairments.
1200         */
1201        RHPIH, 
1202        /**
1203         * Description: A location that plays the role of delivering services for people with motor skill impairments.
1204         */
1205        RHPIMS, 
1206        /**
1207         * Description: A location that plays the role of delivering services for people with visual skill impairments.
1208         */
1209        RHPIVS, 
1210        /**
1211         * Description: A location that plays the role of delivering services which may include life training and/or social support services for the adaption, rehabilitation and social integration of youths with adjustment difficulties.
1212         */
1213        RHYAD, 
1214        /**
1215         * Hospital unit
1216         */
1217        HU, 
1218        /**
1219         * Bone marrow transplant unit
1220         */
1221        BMTU, 
1222        /**
1223         * Coronary care unit
1224         */
1225        CCU, 
1226        /**
1227         * A specialty unit in hospital that focuses on chronic respirator patients and pulmonary failure
1228         */
1229        CHEST, 
1230        /**
1231         * Epilepsy unit
1232         */
1233        EPIL, 
1234        /**
1235         * The section of a health care facility for providing rapid treatment to victims of sudden illness or trauma.
1236         */
1237        ER, 
1238        /**
1239         * Emergency trauma unit
1240         */
1241        ETU, 
1242        /**
1243         * Hemodialysis unit
1244         */
1245        HD, 
1246        /**
1247         * Description: A location that plays the role of delivering services which may include tests done based on clinical specimens to get health information about a patient as pertaining to the diagnosis, treatment and prevention of disease.  Hospital laboratories may be further divided into specialized units such as Anatomic Pathology, Microbiology, and Biochemistry.
1248         */
1249        HLAB, 
1250        /**
1251         * Description: A location that plays the role of delivering services which may include tests are done on clinical specimens to get health information about a patient pertaining to the diagnosis, treatment, and prevention of disease for a hospital visit longer than one day.
1252         */
1253        INLAB, 
1254        /**
1255         * Description: A location that plays the role of delivering services which may include tests are done on clinical specimens to get health information about a patient pertaining to the diagnosis, treatment, and prevention of disease for same day visits.
1256         */
1257        OUTLAB, 
1258        /**
1259         * Description: A location that plays the role of delivering services which may include the branch of medicine that uses ionizing and non-ionizing radiation to diagnose and treat diseases.  The radiology unit may be further divided into subspecialties such as Imaging, Cardiovascular, Thoracic, and Ultrasound.
1260         */
1261        HRAD, 
1262        /**
1263         * Description: A location that plays the role of delivering services which may include collecting specimens and/or samples from patients for laboratory testing purposes, but does not perform any tests or analysis functions.
1264         */
1265        HUSCS, 
1266        /**
1267         * Intensive care unit
1268         */
1269        ICU, 
1270        /**
1271         * Pediatric intensive care unit
1272         */
1273        PEDICU, 
1274        /**
1275         * Pediatric neonatal intensive care unit
1276         */
1277        PEDNICU, 
1278        /**
1279         * Description: A location that plays the role of delivering services which may include providing judicious, safe, efficacious, appropriate and cost effective use of medicines for treatment of patients for visits longer than one day. The distinction between inpatient pharmacies and retail (or outpatient) pharmacies is that they are part of a patient's continuity of care while staying in the hospital.
1280         */
1281        INPHARM, 
1282        /**
1283         * Description: A location that plays the role of delivering services which include biochemistry, hematology, microbiology, immunochemistry, and toxicology.
1284         */
1285        MBL, 
1286        /**
1287         * Neurology critical care and stroke unit
1288         */
1289        NCCS, 
1290        /**
1291         * Neurosurgery unit
1292         */
1293        NS, 
1294        /**
1295         * Description: A location that plays the role of delivering services which may include providing judicious, safe, efficacious, appropriate and cost effective use of medicines for treatment of patients for outpatient visits and may also be used for discharge prescriptions.
1296         */
1297        OUTPHARM, 
1298        /**
1299         * Pediatric unit
1300         */
1301        PEDU, 
1302        /**
1303         * (X12N 273R00000N)
1304         */
1305        PHU, 
1306        /**
1307         * Rehabilitation hospital unit
1308         */
1309        RHU, 
1310        /**
1311         * (X12N 261QA1200N)
1312         */
1313        SLEEP, 
1314        /**
1315         * Nursing or custodial care facility
1316         */
1317        NCCF, 
1318        /**
1319         * (X12N 314000000N)
1320         */
1321        SNF, 
1322        /**
1323         * Outpatient facility
1324         */
1325        OF, 
1326        /**
1327         * Allergy clinic
1328         */
1329        ALL, 
1330        /**
1331         * Amputee clinic
1332         */
1333        AMPUT, 
1334        /**
1335         * Bone marrow transplant clinic
1336         */
1337        BMTC, 
1338        /**
1339         * Breast clinic
1340         */
1341        BREAST, 
1342        /**
1343         * Child and adolescent neurology clinic
1344         */
1345        CANC, 
1346        /**
1347         * Child and adolescent psychiatry clinic
1348         */
1349        CAPC, 
1350        /**
1351         * Ambulatory Health Care Facilities; Clinic/Center; Rehabilitation: Cardiac Facilities
1352         */
1353        CARD, 
1354        /**
1355         * Pediatric cardiology clinic
1356         */
1357        PEDCARD, 
1358        /**
1359         * Coagulation clinic
1360         */
1361        COAG, 
1362        /**
1363         * Colon and rectal surgery clinic
1364         */
1365        CRS, 
1366        /**
1367         * Dermatology clinic
1368         */
1369        DERM, 
1370        /**
1371         * Endocrinology clinic
1372         */
1373        ENDO, 
1374        /**
1375         * Pediatric endocrinology clinic
1376         */
1377        PEDE, 
1378        /**
1379         * Otorhinolaryngology clinic
1380         */
1381        ENT, 
1382        /**
1383         * Family medicine clinic
1384         */
1385        FMC, 
1386        /**
1387         * Gastroenterology clinic
1388         */
1389        GI, 
1390        /**
1391         * Pediatric gastroenterology clinic
1392         */
1393        PEDGI, 
1394        /**
1395         * General internal medicine clinic
1396         */
1397        GIM, 
1398        /**
1399         * Gynecology clinic
1400         */
1401        GYN, 
1402        /**
1403         * Hematology clinic
1404         */
1405        HEM, 
1406        /**
1407         * Pediatric hematology clinic
1408         */
1409        PEDHEM, 
1410        /**
1411         * Hypertension clinic
1412         */
1413        HTN, 
1414        /**
1415         * Focuses on assessing disability
1416         */
1417        IEC, 
1418        /**
1419         * Infectious disease clinic
1420         */
1421        INFD, 
1422        /**
1423         * Pediatric infectious disease clinic
1424         */
1425        PEDID, 
1426        /**
1427         * Infertility clinic
1428         */
1429        INV, 
1430        /**
1431         * Lympedema clinic
1432         */
1433        LYMPH, 
1434        /**
1435         * Medical genetics clinic
1436         */
1437        MGEN, 
1438        /**
1439         * Nephrology clinic
1440         */
1441        NEPH, 
1442        /**
1443         * Pediatric nephrology clinic
1444         */
1445        PEDNEPH, 
1446        /**
1447         * Neurology clinic
1448         */
1449        NEUR, 
1450        /**
1451         * Obstetrics clinic
1452         */
1453        OB, 
1454        /**
1455         * Oral and maxillofacial surgery clinic
1456         */
1457        OMS, 
1458        /**
1459         * Medical oncology clinic
1460         */
1461        ONCL, 
1462        /**
1463         * Pediatric oncology clinic
1464         */
1465        PEDHO, 
1466        /**
1467         * Opthalmology clinic
1468         */
1469        OPH, 
1470        /**
1471         * Description: A location that plays the role of delivering services which may include examination, diagnosis, treatment, management, and prevention of diseases and disorders of the eye as well as prescribing and fitting appropriate corrective lenses (glasses or contact lenses) as needed.  Optometry clinics may also provide tests for visual field screening, measuring intra-ocular pressure and ophthalmoscopy, as and when required.
1472         */
1473        OPTC, 
1474        /**
1475         * Orthopedics clinic
1476         */
1477        ORTHO, 
1478        /**
1479         * Hand clinic
1480         */
1481        HAND, 
1482        /**
1483         * (X12N 261QP3300N)
1484         */
1485        PAINCL, 
1486        /**
1487         * (X12N 261QP2300N)
1488         */
1489        PC, 
1490        /**
1491         * Pediatrics clinic
1492         */
1493        PEDC, 
1494        /**
1495         * Pediatric rheumatology clinic
1496         */
1497        PEDRHEUM, 
1498        /**
1499         * (X12N 261QP1100N)
1500         */
1501        POD, 
1502        /**
1503         * Preventive medicine clinic
1504         */
1505        PREV, 
1506        /**
1507         * Proctology clinic
1508         */
1509        PROCTO, 
1510        /**
1511         * Location where healthcare service was delivered, identified as the healthcare provider's practice office.
1512         */
1513        PROFF, 
1514        /**
1515         * Prosthodontics clinic
1516         */
1517        PROS, 
1518        /**
1519         * Psychology clinic
1520         */
1521        PSI, 
1522        /**
1523         * Psychiatry clinic
1524         */
1525        PSY, 
1526        /**
1527         * Rheumatology clinic
1528         */
1529        RHEUM, 
1530        /**
1531         * Sports medicine clinic
1532         */
1533        SPMED, 
1534        /**
1535         * Surgery clinic
1536         */
1537        SU, 
1538        /**
1539         * Plastic surgery clinic
1540         */
1541        PLS, 
1542        /**
1543         * Urology clinic
1544         */
1545        URO, 
1546        /**
1547         * Transplant clinic
1548         */
1549        TR, 
1550        /**
1551         * Travel and geographic medicine clinic
1552         */
1553        TRAVEL, 
1554        /**
1555         * Wound clinic
1556         */
1557        WND, 
1558        /**
1559         * Residential treatment facility
1560         */
1561        RTF, 
1562        /**
1563         * Pain rehabilitation center
1564         */
1565        PRC, 
1566        /**
1567         * (X12N 324500000N)
1568         */
1569        SURF, 
1570        /**
1571         * A role of a place that further classifies a setting that is intended to house the provision of non-clinical services.
1572         */
1573        _DEDICATEDNONCLINICALLOCATIONROLETYPE, 
1574        /**
1575         * Location address where medical supplies were transported to for use.
1576         */
1577        DADDR, 
1578        /**
1579         * Location (mobile) where healthcare service was delivered.
1580         */
1581        MOBL, 
1582        /**
1583         * Location (mobile) where healthcare service was delivered, identified specifically as an ambulance.
1584         */
1585        AMB, 
1586        /**
1587         * Location where healthcare service was delivered, identified as a pharmacy.
1588         */
1589        PHARM, 
1590        /**
1591         * IncidentalServiceDeliveryLocationRoleType
1592         */
1593        _INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE, 
1594        /**
1595         * Location of an accident where healthcare service was delivered, such as a roadside.
1596         */
1597        ACC, 
1598        /**
1599         * Community location where healthcare is delivered.
1600         */
1601        COMM, 
1602        /**
1603         * Description: A location that plays the role of delivering services which may include providing front-line services to the population of a defined geographic area such as: healthcare services and social services, preventive or curative, rehabilitation or reintegration.
1604         */
1605        CSC, 
1606        /**
1607         * location where healthcare was delivered which is the residence of the Patient.
1608         */
1609        PTRES, 
1610        /**
1611         * Location where healthcare service was delivered, identified as a school or educational facility.
1612         */
1613        SCHOOL, 
1614        /**
1615         * Description: A location that plays the role of delivering services which may include: social emergency services required for a young person as required under any jurisdictional youth laws, child placement, and family mediation in the defined geographical area the SDL is responsible for. It may provide expertise in a judiciary setting on child custody, adoption and biological history research.
1616         */
1617        UPC, 
1618        /**
1619         * Location where healthcare service was delivered, identified as a work place.
1620         */
1621        WORK, 
1622        /**
1623         * SpecimenRoleType
1624         */
1625        _SPECIMENROLETYPE, 
1626        /**
1627         * A specimen used for initial calibration settings of an instrument
1628         */
1629        C, 
1630        /**
1631         * A set of patient samples in which the individuals of the group may or may not be identified.
1632         */
1633        G, 
1634        /**
1635         * Aliquots of individual specimens combined to form a single specimen representing all of the included individuals.
1636         */
1637        L, 
1638        /**
1639         * A specimen that has been collected from a patient.
1640         */
1641        P, 
1642        /**
1643         * A specimen specifically used to verify the sensitivity, specificity, accuracy or other perfomance parameter of a diagnostic test.
1644         */
1645        Q, 
1646        /**
1647         * Quality Control specimen submitted to the lab whose identity and composition is not known to the lab.
1648         */
1649        B, 
1650        /**
1651         * An electronically simulated QC specimen
1652         */
1653        E, 
1654        /**
1655         * Specimen used for testing proficiency of an organization performing testing (how does this differ from O?)
1656         */
1657        F, 
1658        /**
1659         * A specimen used for evaluation of operator proficiency (operator in what context?)
1660         */
1661        O, 
1662        /**
1663         * A specimen used for periodic calibration checks of instruments
1664         */
1665        V, 
1666        /**
1667         * A portion of an original patent sample that is tested at the same time as the original sample
1668         */
1669        R, 
1670        /**
1671         * A party that makes a claim for coverage under a policy.
1672         */
1673        CLAIM, 
1674        /**
1675         * Community Laboratory
1676         */
1677        COMMUNITYLABORATORY, 
1678        /**
1679         * An individual or organization that makes or gives a promise, assurance, pledge to pay or has paid the healthcare service provider.
1680         */
1681        GT, 
1682        /**
1683         * Home Health
1684         */
1685        HOMEHEALTH, 
1686        /**
1687         * Laboratory
1688         */
1689        LABORATORY, 
1690        /**
1691         * Pathologist
1692         */
1693        PATHOLOGIST, 
1694        /**
1695         * Policy holder for the insurance policy.
1696         */
1697        PH, 
1698        /**
1699         * Phlebotomist
1700         */
1701        PHLEBOTOMIST, 
1702        /**
1703         * A party that meets the eligibility criteria for coverage under a program.
1704         */
1705        PROG, 
1706        /**
1707         * The recipient for the service(s) and/or product(s) when they are not the covered party.
1708         */
1709        PT, 
1710        /**
1711         * Self
1712         */
1713        SUBJECT, 
1714        /**
1715         * Third Party
1716         */
1717        THIRDPARTY, 
1718        /**
1719         * null
1720         */
1721        DEP, 
1722        /**
1723         * A party covered under a policy based on association with a subscriber.
1724         */
1725        DEPEN, 
1726        /**
1727         * A member of the covered party's family. This could be the spouse, a parent, a grand parent, a sibling, etc.
1728         */
1729        FM, 
1730        /**
1731         * A party covered under a policy as the policyholder.
1732         */
1733        INDIV, 
1734        /**
1735         * A party to an insurance policy to whom the insurer agrees to indemnify for losses, provides benefits for, or renders services.
1736         */
1737        NAMED, 
1738        /**
1739         * null
1740         */
1741        PSYCHCF, 
1742        /**
1743         * A party 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
1744         */
1745        SUBSCR, 
1746        /**
1747         * added to help the parsers
1748         */
1749        NULL;
1750        public static V3RoleCode fromCode(String codeString) throws FHIRException {
1751            if (codeString == null || "".equals(codeString))
1752                return null;
1753        if ("_AffiliationRoleType".equals(codeString))
1754          return _AFFILIATIONROLETYPE;
1755        if ("_AgentRoleType".equals(codeString))
1756          return _AGENTROLETYPE;
1757        if ("AMENDER".equals(codeString))
1758          return AMENDER;
1759        if ("CLASSIFIER".equals(codeString))
1760          return CLASSIFIER;
1761        if ("CONSENTER".equals(codeString))
1762          return CONSENTER;
1763        if ("CONSWIT".equals(codeString))
1764          return CONSWIT;
1765        if ("COPART".equals(codeString))
1766          return COPART;
1767        if ("DECLASSIFIER".equals(codeString))
1768          return DECLASSIFIER;
1769        if ("DELEGATEE".equals(codeString))
1770          return DELEGATEE;
1771        if ("DELEGATOR".equals(codeString))
1772          return DELEGATOR;
1773        if ("DOWNGRDER".equals(codeString))
1774          return DOWNGRDER;
1775        if ("DRIVCLASSIFIER".equals(codeString))
1776          return DRIVCLASSIFIER;
1777        if ("GRANTEE".equals(codeString))
1778          return GRANTEE;
1779        if ("GRANTOR".equals(codeString))
1780          return GRANTOR;
1781        if ("INTPRTER".equals(codeString))
1782          return INTPRTER;
1783        if ("REVIEWER".equals(codeString))
1784          return REVIEWER;
1785        if ("VALIDATOR".equals(codeString))
1786          return VALIDATOR;
1787        if ("_CoverageSponsorRoleType".equals(codeString))
1788          return _COVERAGESPONSORROLETYPE;
1789        if ("FULLINS".equals(codeString))
1790          return FULLINS;
1791        if ("SELFINS".equals(codeString))
1792          return SELFINS;
1793        if ("_PayorRoleType".equals(codeString))
1794          return _PAYORROLETYPE;
1795        if ("ENROLBKR".equals(codeString))
1796          return ENROLBKR;
1797        if ("TPA".equals(codeString))
1798          return TPA;
1799        if ("UMO".equals(codeString))
1800          return UMO;
1801        if ("RESPRSN".equals(codeString))
1802          return RESPRSN;
1803        if ("EXCEST".equals(codeString))
1804          return EXCEST;
1805        if ("GUADLTM".equals(codeString))
1806          return GUADLTM;
1807        if ("GUARD".equals(codeString))
1808          return GUARD;
1809        if ("POWATT".equals(codeString))
1810          return POWATT;
1811        if ("DPOWATT".equals(codeString))
1812          return DPOWATT;
1813        if ("HPOWATT".equals(codeString))
1814          return HPOWATT;
1815        if ("SPOWATT".equals(codeString))
1816          return SPOWATT;
1817        if ("_AssignedRoleType".equals(codeString))
1818          return _ASSIGNEDROLETYPE;
1819        if ("_AssignedNonPersonLivingSubjectRoleType".equals(codeString))
1820          return _ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE;
1821        if ("ASSIST".equals(codeString))
1822          return ASSIST;
1823        if ("BIOTH".equals(codeString))
1824          return BIOTH;
1825        if ("ANTIBIOT".equals(codeString))
1826          return ANTIBIOT;
1827        if ("DEBR".equals(codeString))
1828          return DEBR;
1829        if ("CCO".equals(codeString))
1830          return CCO;
1831        if ("SEE".equals(codeString))
1832          return SEE;
1833        if ("SNIFF".equals(codeString))
1834          return SNIFF;
1835        if ("_CertifiedEntityType".equals(codeString))
1836          return _CERTIFIEDENTITYTYPE;
1837        if ("_CitizenRoleType".equals(codeString))
1838          return _CITIZENROLETYPE;
1839        if ("CAS".equals(codeString))
1840          return CAS;
1841        if ("CASM".equals(codeString))
1842          return CASM;
1843        if ("CN".equals(codeString))
1844          return CN;
1845        if ("CNRP".equals(codeString))
1846          return CNRP;
1847        if ("CNRPM".equals(codeString))
1848          return CNRPM;
1849        if ("CPCA".equals(codeString))
1850          return CPCA;
1851        if ("CRP".equals(codeString))
1852          return CRP;
1853        if ("CRPM".equals(codeString))
1854          return CRPM;
1855        if ("_ContactRoleType".equals(codeString))
1856          return _CONTACTROLETYPE;
1857        if ("_AdministrativeContactRoleType".equals(codeString))
1858          return _ADMINISTRATIVECONTACTROLETYPE;
1859        if ("BILL".equals(codeString))
1860          return BILL;
1861        if ("ORG".equals(codeString))
1862          return ORG;
1863        if ("PAYOR".equals(codeString))
1864          return PAYOR;
1865        if ("ECON".equals(codeString))
1866          return ECON;
1867        if ("NOK".equals(codeString))
1868          return NOK;
1869        if ("_IdentifiedEntityType".equals(codeString))
1870          return _IDENTIFIEDENTITYTYPE;
1871        if ("_LocationIdentifiedEntityRoleCode".equals(codeString))
1872          return _LOCATIONIDENTIFIEDENTITYROLECODE;
1873        if ("ACHFID".equals(codeString))
1874          return ACHFID;
1875        if ("JURID".equals(codeString))
1876          return JURID;
1877        if ("LOCHFID".equals(codeString))
1878          return LOCHFID;
1879        if ("_LivingSubjectProductionClass".equals(codeString))
1880          return _LIVINGSUBJECTPRODUCTIONCLASS;
1881        if ("BF".equals(codeString))
1882          return BF;
1883        if ("BL".equals(codeString))
1884          return BL;
1885        if ("BR".equals(codeString))
1886          return BR;
1887        if ("CO".equals(codeString))
1888          return CO;
1889        if ("DA".equals(codeString))
1890          return DA;
1891        if ("DR".equals(codeString))
1892          return DR;
1893        if ("DU".equals(codeString))
1894          return DU;
1895        if ("FI".equals(codeString))
1896          return FI;
1897        if ("LY".equals(codeString))
1898          return LY;
1899        if ("MT".equals(codeString))
1900          return MT;
1901        if ("MU".equals(codeString))
1902          return MU;
1903        if ("PL".equals(codeString))
1904          return PL;
1905        if ("RC".equals(codeString))
1906          return RC;
1907        if ("SH".equals(codeString))
1908          return SH;
1909        if ("VL".equals(codeString))
1910          return VL;
1911        if ("WL".equals(codeString))
1912          return WL;
1913        if ("WO".equals(codeString))
1914          return WO;
1915        if ("_MedicationGeneralizationRoleType".equals(codeString))
1916          return _MEDICATIONGENERALIZATIONROLETYPE;
1917        if ("DC".equals(codeString))
1918          return DC;
1919        if ("GD".equals(codeString))
1920          return GD;
1921        if ("GDF".equals(codeString))
1922          return GDF;
1923        if ("GDS".equals(codeString))
1924          return GDS;
1925        if ("GDSF".equals(codeString))
1926          return GDSF;
1927        if ("MGDSF".equals(codeString))
1928          return MGDSF;
1929        if ("_MemberRoleType".equals(codeString))
1930          return _MEMBERROLETYPE;
1931        if ("TRB".equals(codeString))
1932          return TRB;
1933        if ("_PersonalRelationshipRoleType".equals(codeString))
1934          return _PERSONALRELATIONSHIPROLETYPE;
1935        if ("FAMMEMB".equals(codeString))
1936          return FAMMEMB;
1937        if ("CHILD".equals(codeString))
1938          return CHILD;
1939        if ("CHLDADOPT".equals(codeString))
1940          return CHLDADOPT;
1941        if ("DAUADOPT".equals(codeString))
1942          return DAUADOPT;
1943        if ("SONADOPT".equals(codeString))
1944          return SONADOPT;
1945        if ("CHLDFOST".equals(codeString))
1946          return CHLDFOST;
1947        if ("DAUFOST".equals(codeString))
1948          return DAUFOST;
1949        if ("SONFOST".equals(codeString))
1950          return SONFOST;
1951        if ("DAUC".equals(codeString))
1952          return DAUC;
1953        if ("DAU".equals(codeString))
1954          return DAU;
1955        if ("STPDAU".equals(codeString))
1956          return STPDAU;
1957        if ("NCHILD".equals(codeString))
1958          return NCHILD;
1959        if ("SON".equals(codeString))
1960          return SON;
1961        if ("SONC".equals(codeString))
1962          return SONC;
1963        if ("STPSON".equals(codeString))
1964          return STPSON;
1965        if ("STPCHLD".equals(codeString))
1966          return STPCHLD;
1967        if ("EXT".equals(codeString))
1968          return EXT;
1969        if ("AUNT".equals(codeString))
1970          return AUNT;
1971        if ("MAUNT".equals(codeString))
1972          return MAUNT;
1973        if ("PAUNT".equals(codeString))
1974          return PAUNT;
1975        if ("COUSN".equals(codeString))
1976          return COUSN;
1977        if ("MCOUSN".equals(codeString))
1978          return MCOUSN;
1979        if ("PCOUSN".equals(codeString))
1980          return PCOUSN;
1981        if ("GGRPRN".equals(codeString))
1982          return GGRPRN;
1983        if ("GGRFTH".equals(codeString))
1984          return GGRFTH;
1985        if ("MGGRFTH".equals(codeString))
1986          return MGGRFTH;
1987        if ("PGGRFTH".equals(codeString))
1988          return PGGRFTH;
1989        if ("GGRMTH".equals(codeString))
1990          return GGRMTH;
1991        if ("MGGRMTH".equals(codeString))
1992          return MGGRMTH;
1993        if ("PGGRMTH".equals(codeString))
1994          return PGGRMTH;
1995        if ("MGGRPRN".equals(codeString))
1996          return MGGRPRN;
1997        if ("PGGRPRN".equals(codeString))
1998          return PGGRPRN;
1999        if ("GRNDCHILD".equals(codeString))
2000          return GRNDCHILD;
2001        if ("GRNDDAU".equals(codeString))
2002          return GRNDDAU;
2003        if ("GRNDSON".equals(codeString))
2004          return GRNDSON;
2005        if ("GRPRN".equals(codeString))
2006          return GRPRN;
2007        if ("GRFTH".equals(codeString))
2008          return GRFTH;
2009        if ("MGRFTH".equals(codeString))
2010          return MGRFTH;
2011        if ("PGRFTH".equals(codeString))
2012          return PGRFTH;
2013        if ("GRMTH".equals(codeString))
2014          return GRMTH;
2015        if ("MGRMTH".equals(codeString))
2016          return MGRMTH;
2017        if ("PGRMTH".equals(codeString))
2018          return PGRMTH;
2019        if ("MGRPRN".equals(codeString))
2020          return MGRPRN;
2021        if ("PGRPRN".equals(codeString))
2022          return PGRPRN;
2023        if ("INLAW".equals(codeString))
2024          return INLAW;
2025        if ("CHLDINLAW".equals(codeString))
2026          return CHLDINLAW;
2027        if ("DAUINLAW".equals(codeString))
2028          return DAUINLAW;
2029        if ("SONINLAW".equals(codeString))
2030          return SONINLAW;
2031        if ("PRNINLAW".equals(codeString))
2032          return PRNINLAW;
2033        if ("FTHINLAW".equals(codeString))
2034          return FTHINLAW;
2035        if ("MTHINLAW".equals(codeString))
2036          return MTHINLAW;
2037        if ("SIBINLAW".equals(codeString))
2038          return SIBINLAW;
2039        if ("BROINLAW".equals(codeString))
2040          return BROINLAW;
2041        if ("SISINLAW".equals(codeString))
2042          return SISINLAW;
2043        if ("NIENEPH".equals(codeString))
2044          return NIENEPH;
2045        if ("NEPHEW".equals(codeString))
2046          return NEPHEW;
2047        if ("NIECE".equals(codeString))
2048          return NIECE;
2049        if ("UNCLE".equals(codeString))
2050          return UNCLE;
2051        if ("MUNCLE".equals(codeString))
2052          return MUNCLE;
2053        if ("PUNCLE".equals(codeString))
2054          return PUNCLE;
2055        if ("PRN".equals(codeString))
2056          return PRN;
2057        if ("ADOPTP".equals(codeString))
2058          return ADOPTP;
2059        if ("ADOPTF".equals(codeString))
2060          return ADOPTF;
2061        if ("ADOPTM".equals(codeString))
2062          return ADOPTM;
2063        if ("FTH".equals(codeString))
2064          return FTH;
2065        if ("FTHFOST".equals(codeString))
2066          return FTHFOST;
2067        if ("NFTH".equals(codeString))
2068          return NFTH;
2069        if ("NFTHF".equals(codeString))
2070          return NFTHF;
2071        if ("STPFTH".equals(codeString))
2072          return STPFTH;
2073        if ("MTH".equals(codeString))
2074          return MTH;
2075        if ("GESTM".equals(codeString))
2076          return GESTM;
2077        if ("MTHFOST".equals(codeString))
2078          return MTHFOST;
2079        if ("NMTH".equals(codeString))
2080          return NMTH;
2081        if ("NMTHF".equals(codeString))
2082          return NMTHF;
2083        if ("STPMTH".equals(codeString))
2084          return STPMTH;
2085        if ("NPRN".equals(codeString))
2086          return NPRN;
2087        if ("PRNFOST".equals(codeString))
2088          return PRNFOST;
2089        if ("STPPRN".equals(codeString))
2090          return STPPRN;
2091        if ("SIB".equals(codeString))
2092          return SIB;
2093        if ("BRO".equals(codeString))
2094          return BRO;
2095        if ("HBRO".equals(codeString))
2096          return HBRO;
2097        if ("NBRO".equals(codeString))
2098          return NBRO;
2099        if ("TWINBRO".equals(codeString))
2100          return TWINBRO;
2101        if ("FTWINBRO".equals(codeString))
2102          return FTWINBRO;
2103        if ("ITWINBRO".equals(codeString))
2104          return ITWINBRO;
2105        if ("STPBRO".equals(codeString))
2106          return STPBRO;
2107        if ("HSIB".equals(codeString))
2108          return HSIB;
2109        if ("HSIS".equals(codeString))
2110          return HSIS;
2111        if ("NSIB".equals(codeString))
2112          return NSIB;
2113        if ("NSIS".equals(codeString))
2114          return NSIS;
2115        if ("TWINSIS".equals(codeString))
2116          return TWINSIS;
2117        if ("FTWINSIS".equals(codeString))
2118          return FTWINSIS;
2119        if ("ITWINSIS".equals(codeString))
2120          return ITWINSIS;
2121        if ("TWIN".equals(codeString))
2122          return TWIN;
2123        if ("FTWIN".equals(codeString))
2124          return FTWIN;
2125        if ("ITWIN".equals(codeString))
2126          return ITWIN;
2127        if ("SIS".equals(codeString))
2128          return SIS;
2129        if ("STPSIS".equals(codeString))
2130          return STPSIS;
2131        if ("STPSIB".equals(codeString))
2132          return STPSIB;
2133        if ("SIGOTHR".equals(codeString))
2134          return SIGOTHR;
2135        if ("DOMPART".equals(codeString))
2136          return DOMPART;
2137        if ("FMRSPS".equals(codeString))
2138          return FMRSPS;
2139        if ("SPS".equals(codeString))
2140          return SPS;
2141        if ("HUSB".equals(codeString))
2142          return HUSB;
2143        if ("WIFE".equals(codeString))
2144          return WIFE;
2145        if ("FRND".equals(codeString))
2146          return FRND;
2147        if ("NBOR".equals(codeString))
2148          return NBOR;
2149        if ("ONESELF".equals(codeString))
2150          return ONESELF;
2151        if ("ROOM".equals(codeString))
2152          return ROOM;
2153        if ("_PolicyOrProgramCoverageRoleType".equals(codeString))
2154          return _POLICYORPROGRAMCOVERAGEROLETYPE;
2155        if ("_CoverageRoleType".equals(codeString))
2156          return _COVERAGEROLETYPE;
2157        if ("FAMDEP".equals(codeString))
2158          return FAMDEP;
2159        if ("HANDIC".equals(codeString))
2160          return HANDIC;
2161        if ("INJ".equals(codeString))
2162          return INJ;
2163        if ("SELF".equals(codeString))
2164          return SELF;
2165        if ("SPON".equals(codeString))
2166          return SPON;
2167        if ("STUD".equals(codeString))
2168          return STUD;
2169        if ("FSTUD".equals(codeString))
2170          return FSTUD;
2171        if ("PSTUD".equals(codeString))
2172          return PSTUD;
2173        if ("ADOPT".equals(codeString))
2174          return ADOPT;
2175        if ("GCHILD".equals(codeString))
2176          return GCHILD;
2177        if ("GPARNT".equals(codeString))
2178          return GPARNT;
2179        if ("NAT".equals(codeString))
2180          return NAT;
2181        if ("NIENE".equals(codeString))
2182          return NIENE;
2183        if ("PARNT".equals(codeString))
2184          return PARNT;
2185        if ("SPSE".equals(codeString))
2186          return SPSE;
2187        if ("STEP".equals(codeString))
2188          return STEP;
2189        if ("_CoveredPartyRoleType".equals(codeString))
2190          return _COVEREDPARTYROLETYPE;
2191        if ("_ClaimantCoveredPartyRoleType".equals(codeString))
2192          return _CLAIMANTCOVEREDPARTYROLETYPE;
2193        if ("CRIMEVIC".equals(codeString))
2194          return CRIMEVIC;
2195        if ("INJWKR".equals(codeString))
2196          return INJWKR;
2197        if ("_DependentCoveredPartyRoleType".equals(codeString))
2198          return _DEPENDENTCOVEREDPARTYROLETYPE;
2199        if ("COCBEN".equals(codeString))
2200          return COCBEN;
2201        if ("DIFFABL".equals(codeString))
2202          return DIFFABL;
2203        if ("WARD".equals(codeString))
2204          return WARD;
2205        if ("_IndividualInsuredPartyRoleType".equals(codeString))
2206          return _INDIVIDUALINSUREDPARTYROLETYPE;
2207        if ("RETIREE".equals(codeString))
2208          return RETIREE;
2209        if ("_ProgramEligiblePartyRoleType".equals(codeString))
2210          return _PROGRAMELIGIBLEPARTYROLETYPE;
2211        if ("INDIG".equals(codeString))
2212          return INDIG;
2213        if ("MIL".equals(codeString))
2214          return MIL;
2215        if ("ACTMIL".equals(codeString))
2216          return ACTMIL;
2217        if ("RETMIL".equals(codeString))
2218          return RETMIL;
2219        if ("VET".equals(codeString))
2220          return VET;
2221        if ("_SubscriberCoveredPartyRoleType".equals(codeString))
2222          return _SUBSCRIBERCOVEREDPARTYROLETYPE;
2223        if ("_ResearchSubjectRoleBasis".equals(codeString))
2224          return _RESEARCHSUBJECTROLEBASIS;
2225        if ("ERL".equals(codeString))
2226          return ERL;
2227        if ("SCN".equals(codeString))
2228          return SCN;
2229        if ("_ServiceDeliveryLocationRoleType".equals(codeString))
2230          return _SERVICEDELIVERYLOCATIONROLETYPE;
2231        if ("_DedicatedServiceDeliveryLocationRoleType".equals(codeString))
2232          return _DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE;
2233        if ("_DedicatedClinicalLocationRoleType".equals(codeString))
2234          return _DEDICATEDCLINICALLOCATIONROLETYPE;
2235        if ("DX".equals(codeString))
2236          return DX;
2237        if ("CVDX".equals(codeString))
2238          return CVDX;
2239        if ("CATH".equals(codeString))
2240          return CATH;
2241        if ("ECHO".equals(codeString))
2242          return ECHO;
2243        if ("GIDX".equals(codeString))
2244          return GIDX;
2245        if ("ENDOS".equals(codeString))
2246          return ENDOS;
2247        if ("RADDX".equals(codeString))
2248          return RADDX;
2249        if ("RADO".equals(codeString))
2250          return RADO;
2251        if ("RNEU".equals(codeString))
2252          return RNEU;
2253        if ("HOSP".equals(codeString))
2254          return HOSP;
2255        if ("CHR".equals(codeString))
2256          return CHR;
2257        if ("GACH".equals(codeString))
2258          return GACH;
2259        if ("MHSP".equals(codeString))
2260          return MHSP;
2261        if ("PSYCHF".equals(codeString))
2262          return PSYCHF;
2263        if ("RH".equals(codeString))
2264          return RH;
2265        if ("RHAT".equals(codeString))
2266          return RHAT;
2267        if ("RHII".equals(codeString))
2268          return RHII;
2269        if ("RHMAD".equals(codeString))
2270          return RHMAD;
2271        if ("RHPI".equals(codeString))
2272          return RHPI;
2273        if ("RHPIH".equals(codeString))
2274          return RHPIH;
2275        if ("RHPIMS".equals(codeString))
2276          return RHPIMS;
2277        if ("RHPIVS".equals(codeString))
2278          return RHPIVS;
2279        if ("RHYAD".equals(codeString))
2280          return RHYAD;
2281        if ("HU".equals(codeString))
2282          return HU;
2283        if ("BMTU".equals(codeString))
2284          return BMTU;
2285        if ("CCU".equals(codeString))
2286          return CCU;
2287        if ("CHEST".equals(codeString))
2288          return CHEST;
2289        if ("EPIL".equals(codeString))
2290          return EPIL;
2291        if ("ER".equals(codeString))
2292          return ER;
2293        if ("ETU".equals(codeString))
2294          return ETU;
2295        if ("HD".equals(codeString))
2296          return HD;
2297        if ("HLAB".equals(codeString))
2298          return HLAB;
2299        if ("INLAB".equals(codeString))
2300          return INLAB;
2301        if ("OUTLAB".equals(codeString))
2302          return OUTLAB;
2303        if ("HRAD".equals(codeString))
2304          return HRAD;
2305        if ("HUSCS".equals(codeString))
2306          return HUSCS;
2307        if ("ICU".equals(codeString))
2308          return ICU;
2309        if ("PEDICU".equals(codeString))
2310          return PEDICU;
2311        if ("PEDNICU".equals(codeString))
2312          return PEDNICU;
2313        if ("INPHARM".equals(codeString))
2314          return INPHARM;
2315        if ("MBL".equals(codeString))
2316          return MBL;
2317        if ("NCCS".equals(codeString))
2318          return NCCS;
2319        if ("NS".equals(codeString))
2320          return NS;
2321        if ("OUTPHARM".equals(codeString))
2322          return OUTPHARM;
2323        if ("PEDU".equals(codeString))
2324          return PEDU;
2325        if ("PHU".equals(codeString))
2326          return PHU;
2327        if ("RHU".equals(codeString))
2328          return RHU;
2329        if ("SLEEP".equals(codeString))
2330          return SLEEP;
2331        if ("NCCF".equals(codeString))
2332          return NCCF;
2333        if ("SNF".equals(codeString))
2334          return SNF;
2335        if ("OF".equals(codeString))
2336          return OF;
2337        if ("ALL".equals(codeString))
2338          return ALL;
2339        if ("AMPUT".equals(codeString))
2340          return AMPUT;
2341        if ("BMTC".equals(codeString))
2342          return BMTC;
2343        if ("BREAST".equals(codeString))
2344          return BREAST;
2345        if ("CANC".equals(codeString))
2346          return CANC;
2347        if ("CAPC".equals(codeString))
2348          return CAPC;
2349        if ("CARD".equals(codeString))
2350          return CARD;
2351        if ("PEDCARD".equals(codeString))
2352          return PEDCARD;
2353        if ("COAG".equals(codeString))
2354          return COAG;
2355        if ("CRS".equals(codeString))
2356          return CRS;
2357        if ("DERM".equals(codeString))
2358          return DERM;
2359        if ("ENDO".equals(codeString))
2360          return ENDO;
2361        if ("PEDE".equals(codeString))
2362          return PEDE;
2363        if ("ENT".equals(codeString))
2364          return ENT;
2365        if ("FMC".equals(codeString))
2366          return FMC;
2367        if ("GI".equals(codeString))
2368          return GI;
2369        if ("PEDGI".equals(codeString))
2370          return PEDGI;
2371        if ("GIM".equals(codeString))
2372          return GIM;
2373        if ("GYN".equals(codeString))
2374          return GYN;
2375        if ("HEM".equals(codeString))
2376          return HEM;
2377        if ("PEDHEM".equals(codeString))
2378          return PEDHEM;
2379        if ("HTN".equals(codeString))
2380          return HTN;
2381        if ("IEC".equals(codeString))
2382          return IEC;
2383        if ("INFD".equals(codeString))
2384          return INFD;
2385        if ("PEDID".equals(codeString))
2386          return PEDID;
2387        if ("INV".equals(codeString))
2388          return INV;
2389        if ("LYMPH".equals(codeString))
2390          return LYMPH;
2391        if ("MGEN".equals(codeString))
2392          return MGEN;
2393        if ("NEPH".equals(codeString))
2394          return NEPH;
2395        if ("PEDNEPH".equals(codeString))
2396          return PEDNEPH;
2397        if ("NEUR".equals(codeString))
2398          return NEUR;
2399        if ("OB".equals(codeString))
2400          return OB;
2401        if ("OMS".equals(codeString))
2402          return OMS;
2403        if ("ONCL".equals(codeString))
2404          return ONCL;
2405        if ("PEDHO".equals(codeString))
2406          return PEDHO;
2407        if ("OPH".equals(codeString))
2408          return OPH;
2409        if ("OPTC".equals(codeString))
2410          return OPTC;
2411        if ("ORTHO".equals(codeString))
2412          return ORTHO;
2413        if ("HAND".equals(codeString))
2414          return HAND;
2415        if ("PAINCL".equals(codeString))
2416          return PAINCL;
2417        if ("PC".equals(codeString))
2418          return PC;
2419        if ("PEDC".equals(codeString))
2420          return PEDC;
2421        if ("PEDRHEUM".equals(codeString))
2422          return PEDRHEUM;
2423        if ("POD".equals(codeString))
2424          return POD;
2425        if ("PREV".equals(codeString))
2426          return PREV;
2427        if ("PROCTO".equals(codeString))
2428          return PROCTO;
2429        if ("PROFF".equals(codeString))
2430          return PROFF;
2431        if ("PROS".equals(codeString))
2432          return PROS;
2433        if ("PSI".equals(codeString))
2434          return PSI;
2435        if ("PSY".equals(codeString))
2436          return PSY;
2437        if ("RHEUM".equals(codeString))
2438          return RHEUM;
2439        if ("SPMED".equals(codeString))
2440          return SPMED;
2441        if ("SU".equals(codeString))
2442          return SU;
2443        if ("PLS".equals(codeString))
2444          return PLS;
2445        if ("URO".equals(codeString))
2446          return URO;
2447        if ("TR".equals(codeString))
2448          return TR;
2449        if ("TRAVEL".equals(codeString))
2450          return TRAVEL;
2451        if ("WND".equals(codeString))
2452          return WND;
2453        if ("RTF".equals(codeString))
2454          return RTF;
2455        if ("PRC".equals(codeString))
2456          return PRC;
2457        if ("SURF".equals(codeString))
2458          return SURF;
2459        if ("_DedicatedNonClinicalLocationRoleType".equals(codeString))
2460          return _DEDICATEDNONCLINICALLOCATIONROLETYPE;
2461        if ("DADDR".equals(codeString))
2462          return DADDR;
2463        if ("MOBL".equals(codeString))
2464          return MOBL;
2465        if ("AMB".equals(codeString))
2466          return AMB;
2467        if ("PHARM".equals(codeString))
2468          return PHARM;
2469        if ("_IncidentalServiceDeliveryLocationRoleType".equals(codeString))
2470          return _INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE;
2471        if ("ACC".equals(codeString))
2472          return ACC;
2473        if ("COMM".equals(codeString))
2474          return COMM;
2475        if ("CSC".equals(codeString))
2476          return CSC;
2477        if ("PTRES".equals(codeString))
2478          return PTRES;
2479        if ("SCHOOL".equals(codeString))
2480          return SCHOOL;
2481        if ("UPC".equals(codeString))
2482          return UPC;
2483        if ("WORK".equals(codeString))
2484          return WORK;
2485        if ("_SpecimenRoleType".equals(codeString))
2486          return _SPECIMENROLETYPE;
2487        if ("C".equals(codeString))
2488          return C;
2489        if ("G".equals(codeString))
2490          return G;
2491        if ("L".equals(codeString))
2492          return L;
2493        if ("P".equals(codeString))
2494          return P;
2495        if ("Q".equals(codeString))
2496          return Q;
2497        if ("B".equals(codeString))
2498          return B;
2499        if ("E".equals(codeString))
2500          return E;
2501        if ("F".equals(codeString))
2502          return F;
2503        if ("O".equals(codeString))
2504          return O;
2505        if ("V".equals(codeString))
2506          return V;
2507        if ("R".equals(codeString))
2508          return R;
2509        if ("CLAIM".equals(codeString))
2510          return CLAIM;
2511        if ("communityLaboratory".equals(codeString))
2512          return COMMUNITYLABORATORY;
2513        if ("GT".equals(codeString))
2514          return GT;
2515        if ("homeHealth".equals(codeString))
2516          return HOMEHEALTH;
2517        if ("laboratory".equals(codeString))
2518          return LABORATORY;
2519        if ("pathologist".equals(codeString))
2520          return PATHOLOGIST;
2521        if ("PH".equals(codeString))
2522          return PH;
2523        if ("phlebotomist".equals(codeString))
2524          return PHLEBOTOMIST;
2525        if ("PROG".equals(codeString))
2526          return PROG;
2527        if ("PT".equals(codeString))
2528          return PT;
2529        if ("subject".equals(codeString))
2530          return SUBJECT;
2531        if ("thirdParty".equals(codeString))
2532          return THIRDPARTY;
2533        if ("DEP".equals(codeString))
2534          return DEP;
2535        if ("DEPEN".equals(codeString))
2536          return DEPEN;
2537        if ("FM".equals(codeString))
2538          return FM;
2539        if ("INDIV".equals(codeString))
2540          return INDIV;
2541        if ("NAMED".equals(codeString))
2542          return NAMED;
2543        if ("PSYCHCF".equals(codeString))
2544          return PSYCHCF;
2545        if ("SUBSCR".equals(codeString))
2546          return SUBSCR;
2547        throw new FHIRException("Unknown V3RoleCode code '"+codeString+"'");
2548        }
2549        public String toCode() {
2550          switch (this) {
2551            case _AFFILIATIONROLETYPE: return "_AffiliationRoleType";
2552            case _AGENTROLETYPE: return "_AgentRoleType";
2553            case AMENDER: return "AMENDER";
2554            case CLASSIFIER: return "CLASSIFIER";
2555            case CONSENTER: return "CONSENTER";
2556            case CONSWIT: return "CONSWIT";
2557            case COPART: return "COPART";
2558            case DECLASSIFIER: return "DECLASSIFIER";
2559            case DELEGATEE: return "DELEGATEE";
2560            case DELEGATOR: return "DELEGATOR";
2561            case DOWNGRDER: return "DOWNGRDER";
2562            case DRIVCLASSIFIER: return "DRIVCLASSIFIER";
2563            case GRANTEE: return "GRANTEE";
2564            case GRANTOR: return "GRANTOR";
2565            case INTPRTER: return "INTPRTER";
2566            case REVIEWER: return "REVIEWER";
2567            case VALIDATOR: return "VALIDATOR";
2568            case _COVERAGESPONSORROLETYPE: return "_CoverageSponsorRoleType";
2569            case FULLINS: return "FULLINS";
2570            case SELFINS: return "SELFINS";
2571            case _PAYORROLETYPE: return "_PayorRoleType";
2572            case ENROLBKR: return "ENROLBKR";
2573            case TPA: return "TPA";
2574            case UMO: return "UMO";
2575            case RESPRSN: return "RESPRSN";
2576            case EXCEST: return "EXCEST";
2577            case GUADLTM: return "GUADLTM";
2578            case GUARD: return "GUARD";
2579            case POWATT: return "POWATT";
2580            case DPOWATT: return "DPOWATT";
2581            case HPOWATT: return "HPOWATT";
2582            case SPOWATT: return "SPOWATT";
2583            case _ASSIGNEDROLETYPE: return "_AssignedRoleType";
2584            case _ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE: return "_AssignedNonPersonLivingSubjectRoleType";
2585            case ASSIST: return "ASSIST";
2586            case BIOTH: return "BIOTH";
2587            case ANTIBIOT: return "ANTIBIOT";
2588            case DEBR: return "DEBR";
2589            case CCO: return "CCO";
2590            case SEE: return "SEE";
2591            case SNIFF: return "SNIFF";
2592            case _CERTIFIEDENTITYTYPE: return "_CertifiedEntityType";
2593            case _CITIZENROLETYPE: return "_CitizenRoleType";
2594            case CAS: return "CAS";
2595            case CASM: return "CASM";
2596            case CN: return "CN";
2597            case CNRP: return "CNRP";
2598            case CNRPM: return "CNRPM";
2599            case CPCA: return "CPCA";
2600            case CRP: return "CRP";
2601            case CRPM: return "CRPM";
2602            case _CONTACTROLETYPE: return "_ContactRoleType";
2603            case _ADMINISTRATIVECONTACTROLETYPE: return "_AdministrativeContactRoleType";
2604            case BILL: return "BILL";
2605            case ORG: return "ORG";
2606            case PAYOR: return "PAYOR";
2607            case ECON: return "ECON";
2608            case NOK: return "NOK";
2609            case _IDENTIFIEDENTITYTYPE: return "_IdentifiedEntityType";
2610            case _LOCATIONIDENTIFIEDENTITYROLECODE: return "_LocationIdentifiedEntityRoleCode";
2611            case ACHFID: return "ACHFID";
2612            case JURID: return "JURID";
2613            case LOCHFID: return "LOCHFID";
2614            case _LIVINGSUBJECTPRODUCTIONCLASS: return "_LivingSubjectProductionClass";
2615            case BF: return "BF";
2616            case BL: return "BL";
2617            case BR: return "BR";
2618            case CO: return "CO";
2619            case DA: return "DA";
2620            case DR: return "DR";
2621            case DU: return "DU";
2622            case FI: return "FI";
2623            case LY: return "LY";
2624            case MT: return "MT";
2625            case MU: return "MU";
2626            case PL: return "PL";
2627            case RC: return "RC";
2628            case SH: return "SH";
2629            case VL: return "VL";
2630            case WL: return "WL";
2631            case WO: return "WO";
2632            case _MEDICATIONGENERALIZATIONROLETYPE: return "_MedicationGeneralizationRoleType";
2633            case DC: return "DC";
2634            case GD: return "GD";
2635            case GDF: return "GDF";
2636            case GDS: return "GDS";
2637            case GDSF: return "GDSF";
2638            case MGDSF: return "MGDSF";
2639            case _MEMBERROLETYPE: return "_MemberRoleType";
2640            case TRB: return "TRB";
2641            case _PERSONALRELATIONSHIPROLETYPE: return "_PersonalRelationshipRoleType";
2642            case FAMMEMB: return "FAMMEMB";
2643            case CHILD: return "CHILD";
2644            case CHLDADOPT: return "CHLDADOPT";
2645            case DAUADOPT: return "DAUADOPT";
2646            case SONADOPT: return "SONADOPT";
2647            case CHLDFOST: return "CHLDFOST";
2648            case DAUFOST: return "DAUFOST";
2649            case SONFOST: return "SONFOST";
2650            case DAUC: return "DAUC";
2651            case DAU: return "DAU";
2652            case STPDAU: return "STPDAU";
2653            case NCHILD: return "NCHILD";
2654            case SON: return "SON";
2655            case SONC: return "SONC";
2656            case STPSON: return "STPSON";
2657            case STPCHLD: return "STPCHLD";
2658            case EXT: return "EXT";
2659            case AUNT: return "AUNT";
2660            case MAUNT: return "MAUNT";
2661            case PAUNT: return "PAUNT";
2662            case COUSN: return "COUSN";
2663            case MCOUSN: return "MCOUSN";
2664            case PCOUSN: return "PCOUSN";
2665            case GGRPRN: return "GGRPRN";
2666            case GGRFTH: return "GGRFTH";
2667            case MGGRFTH: return "MGGRFTH";
2668            case PGGRFTH: return "PGGRFTH";
2669            case GGRMTH: return "GGRMTH";
2670            case MGGRMTH: return "MGGRMTH";
2671            case PGGRMTH: return "PGGRMTH";
2672            case MGGRPRN: return "MGGRPRN";
2673            case PGGRPRN: return "PGGRPRN";
2674            case GRNDCHILD: return "GRNDCHILD";
2675            case GRNDDAU: return "GRNDDAU";
2676            case GRNDSON: return "GRNDSON";
2677            case GRPRN: return "GRPRN";
2678            case GRFTH: return "GRFTH";
2679            case MGRFTH: return "MGRFTH";
2680            case PGRFTH: return "PGRFTH";
2681            case GRMTH: return "GRMTH";
2682            case MGRMTH: return "MGRMTH";
2683            case PGRMTH: return "PGRMTH";
2684            case MGRPRN: return "MGRPRN";
2685            case PGRPRN: return "PGRPRN";
2686            case INLAW: return "INLAW";
2687            case CHLDINLAW: return "CHLDINLAW";
2688            case DAUINLAW: return "DAUINLAW";
2689            case SONINLAW: return "SONINLAW";
2690            case PRNINLAW: return "PRNINLAW";
2691            case FTHINLAW: return "FTHINLAW";
2692            case MTHINLAW: return "MTHINLAW";
2693            case SIBINLAW: return "SIBINLAW";
2694            case BROINLAW: return "BROINLAW";
2695            case SISINLAW: return "SISINLAW";
2696            case NIENEPH: return "NIENEPH";
2697            case NEPHEW: return "NEPHEW";
2698            case NIECE: return "NIECE";
2699            case UNCLE: return "UNCLE";
2700            case MUNCLE: return "MUNCLE";
2701            case PUNCLE: return "PUNCLE";
2702            case PRN: return "PRN";
2703            case ADOPTP: return "ADOPTP";
2704            case ADOPTF: return "ADOPTF";
2705            case ADOPTM: return "ADOPTM";
2706            case FTH: return "FTH";
2707            case FTHFOST: return "FTHFOST";
2708            case NFTH: return "NFTH";
2709            case NFTHF: return "NFTHF";
2710            case STPFTH: return "STPFTH";
2711            case MTH: return "MTH";
2712            case GESTM: return "GESTM";
2713            case MTHFOST: return "MTHFOST";
2714            case NMTH: return "NMTH";
2715            case NMTHF: return "NMTHF";
2716            case STPMTH: return "STPMTH";
2717            case NPRN: return "NPRN";
2718            case PRNFOST: return "PRNFOST";
2719            case STPPRN: return "STPPRN";
2720            case SIB: return "SIB";
2721            case BRO: return "BRO";
2722            case HBRO: return "HBRO";
2723            case NBRO: return "NBRO";
2724            case TWINBRO: return "TWINBRO";
2725            case FTWINBRO: return "FTWINBRO";
2726            case ITWINBRO: return "ITWINBRO";
2727            case STPBRO: return "STPBRO";
2728            case HSIB: return "HSIB";
2729            case HSIS: return "HSIS";
2730            case NSIB: return "NSIB";
2731            case NSIS: return "NSIS";
2732            case TWINSIS: return "TWINSIS";
2733            case FTWINSIS: return "FTWINSIS";
2734            case ITWINSIS: return "ITWINSIS";
2735            case TWIN: return "TWIN";
2736            case FTWIN: return "FTWIN";
2737            case ITWIN: return "ITWIN";
2738            case SIS: return "SIS";
2739            case STPSIS: return "STPSIS";
2740            case STPSIB: return "STPSIB";
2741            case SIGOTHR: return "SIGOTHR";
2742            case DOMPART: return "DOMPART";
2743            case FMRSPS: return "FMRSPS";
2744            case SPS: return "SPS";
2745            case HUSB: return "HUSB";
2746            case WIFE: return "WIFE";
2747            case FRND: return "FRND";
2748            case NBOR: return "NBOR";
2749            case ONESELF: return "ONESELF";
2750            case ROOM: return "ROOM";
2751            case _POLICYORPROGRAMCOVERAGEROLETYPE: return "_PolicyOrProgramCoverageRoleType";
2752            case _COVERAGEROLETYPE: return "_CoverageRoleType";
2753            case FAMDEP: return "FAMDEP";
2754            case HANDIC: return "HANDIC";
2755            case INJ: return "INJ";
2756            case SELF: return "SELF";
2757            case SPON: return "SPON";
2758            case STUD: return "STUD";
2759            case FSTUD: return "FSTUD";
2760            case PSTUD: return "PSTUD";
2761            case ADOPT: return "ADOPT";
2762            case GCHILD: return "GCHILD";
2763            case GPARNT: return "GPARNT";
2764            case NAT: return "NAT";
2765            case NIENE: return "NIENE";
2766            case PARNT: return "PARNT";
2767            case SPSE: return "SPSE";
2768            case STEP: return "STEP";
2769            case _COVEREDPARTYROLETYPE: return "_CoveredPartyRoleType";
2770            case _CLAIMANTCOVEREDPARTYROLETYPE: return "_ClaimantCoveredPartyRoleType";
2771            case CRIMEVIC: return "CRIMEVIC";
2772            case INJWKR: return "INJWKR";
2773            case _DEPENDENTCOVEREDPARTYROLETYPE: return "_DependentCoveredPartyRoleType";
2774            case COCBEN: return "COCBEN";
2775            case DIFFABL: return "DIFFABL";
2776            case WARD: return "WARD";
2777            case _INDIVIDUALINSUREDPARTYROLETYPE: return "_IndividualInsuredPartyRoleType";
2778            case RETIREE: return "RETIREE";
2779            case _PROGRAMELIGIBLEPARTYROLETYPE: return "_ProgramEligiblePartyRoleType";
2780            case INDIG: return "INDIG";
2781            case MIL: return "MIL";
2782            case ACTMIL: return "ACTMIL";
2783            case RETMIL: return "RETMIL";
2784            case VET: return "VET";
2785            case _SUBSCRIBERCOVEREDPARTYROLETYPE: return "_SubscriberCoveredPartyRoleType";
2786            case _RESEARCHSUBJECTROLEBASIS: return "_ResearchSubjectRoleBasis";
2787            case ERL: return "ERL";
2788            case SCN: return "SCN";
2789            case _SERVICEDELIVERYLOCATIONROLETYPE: return "_ServiceDeliveryLocationRoleType";
2790            case _DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE: return "_DedicatedServiceDeliveryLocationRoleType";
2791            case _DEDICATEDCLINICALLOCATIONROLETYPE: return "_DedicatedClinicalLocationRoleType";
2792            case DX: return "DX";
2793            case CVDX: return "CVDX";
2794            case CATH: return "CATH";
2795            case ECHO: return "ECHO";
2796            case GIDX: return "GIDX";
2797            case ENDOS: return "ENDOS";
2798            case RADDX: return "RADDX";
2799            case RADO: return "RADO";
2800            case RNEU: return "RNEU";
2801            case HOSP: return "HOSP";
2802            case CHR: return "CHR";
2803            case GACH: return "GACH";
2804            case MHSP: return "MHSP";
2805            case PSYCHF: return "PSYCHF";
2806            case RH: return "RH";
2807            case RHAT: return "RHAT";
2808            case RHII: return "RHII";
2809            case RHMAD: return "RHMAD";
2810            case RHPI: return "RHPI";
2811            case RHPIH: return "RHPIH";
2812            case RHPIMS: return "RHPIMS";
2813            case RHPIVS: return "RHPIVS";
2814            case RHYAD: return "RHYAD";
2815            case HU: return "HU";
2816            case BMTU: return "BMTU";
2817            case CCU: return "CCU";
2818            case CHEST: return "CHEST";
2819            case EPIL: return "EPIL";
2820            case ER: return "ER";
2821            case ETU: return "ETU";
2822            case HD: return "HD";
2823            case HLAB: return "HLAB";
2824            case INLAB: return "INLAB";
2825            case OUTLAB: return "OUTLAB";
2826            case HRAD: return "HRAD";
2827            case HUSCS: return "HUSCS";
2828            case ICU: return "ICU";
2829            case PEDICU: return "PEDICU";
2830            case PEDNICU: return "PEDNICU";
2831            case INPHARM: return "INPHARM";
2832            case MBL: return "MBL";
2833            case NCCS: return "NCCS";
2834            case NS: return "NS";
2835            case OUTPHARM: return "OUTPHARM";
2836            case PEDU: return "PEDU";
2837            case PHU: return "PHU";
2838            case RHU: return "RHU";
2839            case SLEEP: return "SLEEP";
2840            case NCCF: return "NCCF";
2841            case SNF: return "SNF";
2842            case OF: return "OF";
2843            case ALL: return "ALL";
2844            case AMPUT: return "AMPUT";
2845            case BMTC: return "BMTC";
2846            case BREAST: return "BREAST";
2847            case CANC: return "CANC";
2848            case CAPC: return "CAPC";
2849            case CARD: return "CARD";
2850            case PEDCARD: return "PEDCARD";
2851            case COAG: return "COAG";
2852            case CRS: return "CRS";
2853            case DERM: return "DERM";
2854            case ENDO: return "ENDO";
2855            case PEDE: return "PEDE";
2856            case ENT: return "ENT";
2857            case FMC: return "FMC";
2858            case GI: return "GI";
2859            case PEDGI: return "PEDGI";
2860            case GIM: return "GIM";
2861            case GYN: return "GYN";
2862            case HEM: return "HEM";
2863            case PEDHEM: return "PEDHEM";
2864            case HTN: return "HTN";
2865            case IEC: return "IEC";
2866            case INFD: return "INFD";
2867            case PEDID: return "PEDID";
2868            case INV: return "INV";
2869            case LYMPH: return "LYMPH";
2870            case MGEN: return "MGEN";
2871            case NEPH: return "NEPH";
2872            case PEDNEPH: return "PEDNEPH";
2873            case NEUR: return "NEUR";
2874            case OB: return "OB";
2875            case OMS: return "OMS";
2876            case ONCL: return "ONCL";
2877            case PEDHO: return "PEDHO";
2878            case OPH: return "OPH";
2879            case OPTC: return "OPTC";
2880            case ORTHO: return "ORTHO";
2881            case HAND: return "HAND";
2882            case PAINCL: return "PAINCL";
2883            case PC: return "PC";
2884            case PEDC: return "PEDC";
2885            case PEDRHEUM: return "PEDRHEUM";
2886            case POD: return "POD";
2887            case PREV: return "PREV";
2888            case PROCTO: return "PROCTO";
2889            case PROFF: return "PROFF";
2890            case PROS: return "PROS";
2891            case PSI: return "PSI";
2892            case PSY: return "PSY";
2893            case RHEUM: return "RHEUM";
2894            case SPMED: return "SPMED";
2895            case SU: return "SU";
2896            case PLS: return "PLS";
2897            case URO: return "URO";
2898            case TR: return "TR";
2899            case TRAVEL: return "TRAVEL";
2900            case WND: return "WND";
2901            case RTF: return "RTF";
2902            case PRC: return "PRC";
2903            case SURF: return "SURF";
2904            case _DEDICATEDNONCLINICALLOCATIONROLETYPE: return "_DedicatedNonClinicalLocationRoleType";
2905            case DADDR: return "DADDR";
2906            case MOBL: return "MOBL";
2907            case AMB: return "AMB";
2908            case PHARM: return "PHARM";
2909            case _INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE: return "_IncidentalServiceDeliveryLocationRoleType";
2910            case ACC: return "ACC";
2911            case COMM: return "COMM";
2912            case CSC: return "CSC";
2913            case PTRES: return "PTRES";
2914            case SCHOOL: return "SCHOOL";
2915            case UPC: return "UPC";
2916            case WORK: return "WORK";
2917            case _SPECIMENROLETYPE: return "_SpecimenRoleType";
2918            case C: return "C";
2919            case G: return "G";
2920            case L: return "L";
2921            case P: return "P";
2922            case Q: return "Q";
2923            case B: return "B";
2924            case E: return "E";
2925            case F: return "F";
2926            case O: return "O";
2927            case V: return "V";
2928            case R: return "R";
2929            case CLAIM: return "CLAIM";
2930            case COMMUNITYLABORATORY: return "communityLaboratory";
2931            case GT: return "GT";
2932            case HOMEHEALTH: return "homeHealth";
2933            case LABORATORY: return "laboratory";
2934            case PATHOLOGIST: return "pathologist";
2935            case PH: return "PH";
2936            case PHLEBOTOMIST: return "phlebotomist";
2937            case PROG: return "PROG";
2938            case PT: return "PT";
2939            case SUBJECT: return "subject";
2940            case THIRDPARTY: return "thirdParty";
2941            case DEP: return "DEP";
2942            case DEPEN: return "DEPEN";
2943            case FM: return "FM";
2944            case INDIV: return "INDIV";
2945            case NAMED: return "NAMED";
2946            case PSYCHCF: return "PSYCHCF";
2947            case SUBSCR: return "SUBSCR";
2948            default: return "?";
2949          }
2950        }
2951        public String getSystem() {
2952          return "http://terminology.hl7.org/CodeSystem/v3-RoleCode";
2953        }
2954        public String getDefinition() {
2955          switch (this) {
2956            case _AFFILIATIONROLETYPE: return "Concepts characterizing the type of association formed by player and scoper when there is a recognized Affiliate role by which the two parties are related.\r\n\n                        \n                           Examples: Business Partner, Business Associate, Colleague";
2957            case _AGENTROLETYPE: return "Parties that may or should contribute or have contributed to an Act.";
2958            case AMENDER: return "An entity which corrected, edited, or amended pre-existing information.";
2959            case CLASSIFIER: return "An individual authorized to assign an original classification to information, including compilations of unclassified information, based on a determination that the information requires protection against unauthorized disclosure. The individual marks the information with immutable, computable, and human readable security labels in accordance with applicable security labeling policies.  The labeling policies provide instructions on whether and if so how the security labels may be later reclassified [i.e., upgraded, downgraded, used in derivative classification, or declassified] in a manner that preserves the overridden original classification binding and provenance.";
2960            case CONSENTER: return "An entity or an entity's delegatee who is the grantee in an agreement such as a consent for services, advanced directive, or a privacy consent directive in accordance with jurisdictional, organizational, or patient policy.";
2961            case CONSWIT: return "An entity which has witnessed and attests to observing another entity being counseled about an agreement such as a consent for services, advanced directive, or a privacy consent directive.";
2962            case COPART: return "An entity which participates in the generation of and attest to veracity of content, but is not an author or coauthor. For example a surgeon who is required by institutional, regulatory, or legal rules to sign an operative report, but who was not involved in the authorship of that report.";
2963            case DECLASSIFIER: return "An individual which is authorized to declassify information based on a determination that the information no longer requires protection against unauthorized disclosure.  The individual marks the information being declassified using computable and human readable security labels indicating that this is copy of previously classified information is unclassified in accordance with applicable security labeling policies.  The labeling policies provide instructions on whether and if so how the security labels may be later reclassified [i.e., upgraded or used in derivative classification] in a manner that preserves the overridden original classification binding and provenance.";
2964            case DELEGATEE: return "A party to whom some right or authority is granted by a delegator.";
2965            case DELEGATOR: return "A party that grants all or some portion its right or authority to another party.";
2966            case DOWNGRDER: return "An individual authorized to lower the classification level of labeled content and provide rationale for doing so as directed by a classification guide.";
2967            case DRIVCLASSIFIER: return "An individual who is only authorized to classify reproduced, extracted, or summarized classified information, or compile classified and unclassified information by applying classification markings derived from source material or as directed by a classification guide.";
2968            case GRANTEE: return "An entity which accepts certain rights or authority from a grantor.";
2969            case GRANTOR: return "An entity which agrees to confer certain rights or authority to a grantee.";
2970            case INTPRTER: return "An entity which converts spoken or written language into the language of key participants in an event such as when a provider is obtaining a patient's consent to treatment or permission to disclose information.";
2971            case REVIEWER: return "An entity authorized to filter information according to approved criteria.";
2972            case VALIDATOR: return "An entity authorized to validate information for inclusion in a record.";
2973            case _COVERAGESPONSORROLETYPE: return "Description:Codes that indicate a specific type of sponsor.  Used when the sponsor's role is only either as a fully insured sponsor or only as a self-insured sponsor.  NOTE: Where a sponsor may be either, use the SponsorParticipationFunction.code (fully insured or self insured) to indicate the type of responsibility. (CO6-0057)";
2974            case FULLINS: return "Description:An employer or organization that contracts with an underwriter to assumes the financial risk and administrative responsibility for coverage of health services for covered parties.";
2975            case SELFINS: return "Description:An employer or organization that assumes the financial risk and administrative responsibility for coverage of health services for covered parties.";
2976            case _PAYORROLETYPE: return "Description:PayorRoleType for a particular type of policy or program benefit package or plan where more detail about the coverage administration role of the Payor is required.  The functions performed by a Payor qualified by a PayorRoleType may be specified by the PayorParticpationFunction value set.\r\n\n                        \n                           Examples:A Payor that is a TPA may administer a managed care plan without underwriting the risk.";
2977            case ENROLBKR: return "Description:A payor that is responsible for functions related to the enrollment of covered parties.";
2978            case TPA: return "Description:Third party administrator (TPA) is a payor organization that processes health care claims without carrying insurance risk. Third party administrators are prominent players in the managed care industry and have the expertise and capability to administer all or a portion of the claims process. They are normally contracted by a health insurer or self-insuring companies to administer services, including claims administration, premium collection, enrollment and other administrative activities.\r\n\n                        Self-insured employers often contract with third party administrator to handle their insurance functions. Insurance companies oftentimes outsource the claims, utilization review or membership functions to a TPA. Sometimes TPAs only manage provider networks, only claims or only utilization review.\r\n\n                        While some third-party administrators may operate as units of insurance companies, they are often independent. However, hospitals or provider organizations desiring to set up their own health plans will often outsource certain responsibilities to TPAs.  TPAs may perform one or several payor functions, specified by the PayorParticipationFunction value set, such as provider management, enrollment, utilization management, and fee for service claims adjudication management.";
2979            case UMO: return "Description:A payor that is responsible for review and case management of health services covered under a policy or program.";
2980            case RESPRSN: return "The role played by a party who has legal responsibility for another party.";
2981            case EXCEST: return "The role played by a person acting as the estate executor for a deceased subscriber or policyholder who was the responsible party";
2982            case GUADLTM: return "The role played by a person appointed by the court to look out for the best interests of a minor child during the course of legal proceedings.";
2983            case GUARD: return "The role played by a person or institution legally empowered with responsibility for the care of a ward.";
2984            case POWATT: return "A relationship between two people in which one person authorizes another to act for him in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts.";
2985            case DPOWATT: return "A relationship between two people in which one person authorizes another, usually a family member or relative, to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that is often limited in the kinds of powers that can be assigned.  Unlike ordinary powers of attorney, durable powers can survive for long periods of time, and again, unlike standard powers of attorney, durable powers can continue after incompetency.";
2986            case HPOWATT: return "A relationship between two people in which one person authorizes another to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that continues (by its terms) to be effective even though the grantor has become mentally incompetent after signing the document.";
2987            case SPOWATT: return "A relationship between two people in which one person authorizes another to act for him or her in a manner which is a legally binding upon the person giving such authority as if he or she personally were to do the acts that is often limited in the kinds of powers that can be assigned.";
2988            case _ASSIGNEDROLETYPE: return "AssignedRoleType";
2989            case _ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE: return "Description:A role type that is used to further qualify a non-person subject playing a role where the role class attribute is set to RoleClass AssignedEntity";
2990            case ASSIST: return "Description:Dogs trained to assist the ill or physically challenged.";
2991            case BIOTH: return "Description:Animals, including fish and insects, and microorganisms which may participate as assigned entities in biotherapies.";
2992            case ANTIBIOT: return "Description:Non-person living subject used as antibiotic.\r\n\n                        \n                           Examples:Bacteriophage, is a virus that infects bacteria.";
2993            case DEBR: return "Description:Maggots raised for biodebridement.\r\n\n                        \n                           Discussion: Maggot Debridement Therapy is the medical use of live maggots for cleaning non-healing wounds.\r\n\n                        \n                           Examples:Removal of burnt skin.";
2994            case CCO: return "Description:Companion animals, such as dogs, cats, and rabbits, which may be provided to patients to improve general mood, decrease depression and loneliness, and distract from stress-inducing concerns to improve quality of life.";
2995            case SEE: return "Description:Dogs trained to assist persons who are seeing impaired or blind.";
2996            case SNIFF: return "Description:Dogs trained or having the ability to detect imminent seizures or cancers in humans, probably as a result of volatile chemical (odors) given off by the malignancy of the host.";
2997            case _CERTIFIEDENTITYTYPE: return "Defines types of certifications for all entities";
2998            case _CITIZENROLETYPE: return "A role type used to qualify a person's legal status within a country or nation.";
2999            case CAS: return "A person who has fled his or her home country to find a safe place elsewhere.";
3000            case CASM: return "A person who is someone of below legal age who has fled his or her home country, without his or her parents, to find a safe place elsewhere at time of categorization.";
3001            case CN: return "A person who is legally recognized as a member of a nation or country, with associated rights and obligations.";
3002            case CNRP: return "A foreigner who is present in a country (which is foreign to him/her) unlawfully or without the country's authorization (may be called an illegal alien).";
3003            case CNRPM: return "A person who is below legal age present in a country, without his or her parents, (which is foreign to him/her) unlawfully or without the country's authorization.";
3004            case CPCA: return "A non-country member admitted to the territory of a nation or country as a non-resident for an explicit purpose.";
3005            case CRP: return "A foreigner who is a resident of the country but does not have citizenship.";
3006            case CRPM: return "A person who is a resident below legal age of the country without his or her parents and does not have citizenship.";
3007            case _CONTACTROLETYPE: return "Types of contact for Role code \"CON\"";
3008            case _ADMINISTRATIVECONTACTROLETYPE: return "A contact role used for business and/or administrative purposes.";
3009            case BILL: return "A contact role used to identify a person within a Provider organization that can be contacted for billing purposes (e.g. about the content of the Invoice).";
3010            case ORG: return "A contact for an organization for administrative purposes. Contact role specifies a person acting as a liason for the organization.\r\n\n                        Example: HR Department representative.";
3011            case PAYOR: return "A contact role used to identify a person within a Payor organization to whom this communication is addressed.";
3012            case ECON: return "A contact designated for contact in emergent situations.";
3013            case NOK: return "Played by an individual who is designated as the next of kin for another individual which scopes the role.";
3014            case _IDENTIFIEDENTITYTYPE: return "Definition: A code representing the type of identifier that has been assigned to the identified entity (IDENT).\r\n\n                        \n                           Examples: Example values include Social Insurance Number, Product Catalog ID, Product Model Number.";
3015            case _LOCATIONIDENTIFIEDENTITYROLECODE: return "Description:Describes types of identifiers other than the primary location registry identifier for a service delivery location.  Identifiers may be assigned by a local service delivery organization, a formal body capable of accrediting the location for the capability to provide specific services or the identifier may be assigned at a jurisdictional level.";
3016            case ACHFID: return "Description:Identifier assigned to a  location by the organization responsible for accrediting the location.";
3017            case JURID: return "Description:Identifier assigned to a location by a jurisdiction.";
3018            case LOCHFID: return "Description:Identifier assigned to a  location by a local party (which could be the facility itself or organization overseeing a group of facilities).";
3019            case _LIVINGSUBJECTPRODUCTIONCLASS: return "Code indicating the primary use for which a living subject is bred or grown";
3020            case BF: return "Cattle used for meat production";
3021            case BL: return "Chickens raised for meat";
3022            case BR: return "Breeding/genetic stock";
3023            case CO: return "Companion animals";
3024            case DA: return "Milk production";
3025            case DR: return "Draft animals";
3026            case DU: return "Dual purpose.  Defined purposes based on species and breed";
3027            case FI: return "Animals raised for their fur, hair or skins";
3028            case LY: return "Chickens raised for egg production";
3029            case MT: return "Animals raised for meat production";
3030            case MU: return "Poultry flocks used for chick/poult production";
3031            case PL: return "Animals rasied for recreation";
3032            case RC: return "Animals raised for racing perfomance";
3033            case SH: return "Animals raised for shows";
3034            case VL: return "Cattle raised for veal meat production.  Implicit is the husbandry method.";
3035            case WL: return "Sheep, goats and other mammals raised for their fiber";
3036            case WO: return "Animals used to perform work";
3037            case _MEDICATIONGENERALIZATIONROLETYPE: return "Identifies the specific hierarchical relationship between the playing and scoping medications. \r\n\n                        \n                           Examples: Generic, Generic Formulation, Therapeutic Class, etc.";
3038            case DC: return "Description:A categorization of medicinal products by their therapeutic properties and/or main therapeutic use.";
3039            case GD: return "Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients independent of strength, and form.\r\n\n                        The scoping entity identifies a unique combination of medicine ingredients; sometimes referred to as \"ingredient set\".";
3040            case GDF: return "Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients and dose form, independent of strength of the ingredients. The scoping entity identifies a unique combination of medicine ingredients in a specific dose form.";
3041            case GDS: return "Relates a manufactured drug product to the non-proprietary (generic) representation of is ingredients with their strength.  The scoping entity identifies a unique combination of medicine ingredients with their strength.";
3042            case GDSF: return "Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients with their strength in a specific dose form. The scoping entity identifies a unique combination of medicine ingredients with their strength in a single dose form.";
3043            case MGDSF: return "Relates a manufactured drug product to the non-proprietary (generic) representation of its ingredients with their strength in a specific dose form. The scoping entity identifies a unique combination of medicine ingredients with their strength in a single dose form.";
3044            case _MEMBERROLETYPE: return "Types of membership for Role code \"MBR\"";
3045            case TRB: return "A person who is a member of a tribe.";
3046            case _PERSONALRELATIONSHIPROLETYPE: return "PersonalRelationshipRoleType";
3047            case FAMMEMB: return "A relationship between two people characterizing their \"familial\" relationship";
3048            case CHILD: return "The player of the role is a child of the scoping entity.";
3049            case CHLDADOPT: return "The player of the role is a child taken into a family through legal means and raised by the scoping person (parent) as his or her own child.";
3050            case DAUADOPT: return "The player of the role is a female child taken into a family through legal means and raised by the scoping person (parent) as his or her own child.";
3051            case SONADOPT: return "The player of the role is a male child taken into a family through legal means and raised by the scoping person (parent) as his or her own child.";
3052            case CHLDFOST: return "The player of the role is a child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties.";
3053            case DAUFOST: return "The player of the role is a female child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties.";
3054            case SONFOST: return "The player of the role is a male child receiving parental care and nurture from the scoping person (parent) but not related to him or her through legal or blood ties.";
3055            case DAUC: return "Description: The player of the role is a female child (of any type) of scoping entity (parent)";
3056            case DAU: return "The player of the role is a female offspring of the scoping entity (parent).";
3057            case STPDAU: return "The player of the role is a daughter of the scoping person's spouse by a previous union.";
3058            case NCHILD: return "The player of the role is an offspring of the scoping entity as determined by birth.";
3059            case SON: return "The player of the role is a male offspring of the scoping entity (parent).";
3060            case SONC: return "Description: The player of the role is a male child (of any type) of scoping entity (parent)";
3061            case STPSON: return "The player of the role is a son of the scoping person's spouse by a previous union.";
3062            case STPCHLD: return "The player of the role is a child of the scoping person's spouse by a previous union.";
3063            case EXT: return "Description: A family member not having an immediate genetic or legal relationship e.g. Aunt, cousin, great grandparent, grandchild, grandparent, niece, nephew or uncle.";
3064            case AUNT: return "The player of the role is a sister of the scoping person's mother or father.";
3065            case MAUNT: return "Description:The player of the role is a biological sister of the scoping person's biological mother.";
3066            case PAUNT: return "Description:The player of the role is a biological sister of the scoping person's biological father.";
3067            case COUSN: return "The player of the role is a relative of the scoping person descended from a common ancestor, such as a  grandparent, by two or more steps in a diverging line.";
3068            case MCOUSN: return "Description:The player of the role is a biological relative of the scoping person descended from a common ancestor on the player's mother's side, such as a grandparent, by two or more steps in a diverging line.";
3069            case PCOUSN: return "Description:The player of the role is a biological relative of the scoping person descended from a common ancestor on the player's father's side, such as a grandparent, by two or more steps in a diverging line.";
3070            case GGRPRN: return "The player of the role is a parent of the scoping person's grandparent.";
3071            case GGRFTH: return "The player of the role is the father of the scoping person's grandparent.";
3072            case MGGRFTH: return "Description:The player of the role is the biological father of the scoping person's biological mother's parent.";
3073            case PGGRFTH: return "Description:The player of the role is the biological father of the scoping person's biological father's parent.";
3074            case GGRMTH: return "The player of the role is the mother of the scoping person's grandparent.";
3075            case MGGRMTH: return "Description:The player of the role is the biological mother of the scoping person's biological mother's parent.";
3076            case PGGRMTH: return "Description:The player of the role is the biological mother of the scoping person's biological father's parent.";
3077            case MGGRPRN: return "Description:The player of the role is a biological parent of the scoping person's biological mother's parent.";
3078            case PGGRPRN: return "Description:The player of the role is a biological parent of the scoping person's biological father's parent.";
3079            case GRNDCHILD: return "The player of the role is a child of the scoping person's son or daughter.";
3080            case GRNDDAU: return "The player of the role is a daughter of the scoping person's son or daughter.";
3081            case GRNDSON: return "The player of the role is a son of the scoping person's son or daughter.";
3082            case GRPRN: return "The player of the role is a parent of the scoping person's mother or father.";
3083            case GRFTH: return "The player of the role is the father of the scoping person's mother or father.";
3084            case MGRFTH: return "Description:The player of the role is the biological father of the scoping person's biological mother.";
3085            case PGRFTH: return "Description:The player of the role is the biological father of the scoping person's biological father.";
3086            case GRMTH: return "The player of the role is the mother of the scoping person's mother or father.";
3087            case MGRMTH: return "Description:The player of the role is the biological mother of the scoping person's biological mother.";
3088            case PGRMTH: return "Description:The player of the role is the biological mother of the scoping person's biological father.";
3089            case MGRPRN: return "Description:The player of the role is the biological parent of the scoping person's biological mother.";
3090            case PGRPRN: return "Description:The player of the role is the biological parent of the scoping person's biological father.";
3091            case INLAW: return "A relationship between an individual and a member of their spousal partner's immediate family.";
3092            case CHLDINLAW: return "The player of the role is the spouse of scoping person's child.";
3093            case DAUINLAW: return "The player of the role is the wife of scoping person's son.";
3094            case SONINLAW: return "The player of the role is the husband of scoping person's daughter.";
3095            case PRNINLAW: return "The player of the role is the parent of scoping person's husband or wife.";
3096            case FTHINLAW: return "The player of the role is the father of the scoping person's husband or wife.";
3097            case MTHINLAW: return "The player of the role is the mother of the scoping person's husband or wife.";
3098            case SIBINLAW: return "The player of the role is: (1) a sibling of the scoping person's spouse, or (2) the spouse of the scoping person's sibling, or (3) the spouse of a sibling of the scoping person's spouse.";
3099            case BROINLAW: return "The player of the role is: (1) a brother of the scoping person's spouse, or (2) the husband of the scoping person's sister, or (3) the husband of a sister of the scoping person's spouse.";
3100            case SISINLAW: return "The player of the role is: (1) a sister of the scoping person's spouse, or (2) the wife of the scoping person's brother, or (3) the wife of a brother of the scoping person's spouse.";
3101            case NIENEPH: return "The player of the role is a child of scoping person's brother or sister or of the brother or sister of the    scoping person's spouse.";
3102            case NEPHEW: return "The player of the role is a son of the scoping person's brother or sister or of the brother or sister of the   scoping person's spouse.";
3103            case NIECE: return "The player of the role is a daughter of the scoping person's brother or sister or of the brother or sister of the       scoping person's spouse.";
3104            case UNCLE: return "The player of the role is a brother of the scoping person's mother or father.";
3105            case MUNCLE: return "Description:The player of the role is a biological brother of the scoping person's biological mother.";
3106            case PUNCLE: return "Description:The player of the role is a biological brother of the scoping person's biological father.";
3107            case PRN: return "The player of the role is one who begets, gives birth to, or nurtures and raises the scoping entity (child).";
3108            case ADOPTP: return "The player of the role (parent) has taken the scoper (child) into their family through legal means and raises them as his or her own child.";
3109            case ADOPTF: return "The player of the role (father) is a male who has taken the scoper (child) into their family through legal means and raises them as his own child.";
3110            case ADOPTM: return "The player of the role (father) is a female who has taken the scoper (child) into their family through legal means and raises them as her own child.";
3111            case FTH: return "The player of the role is a male who begets or raises or nurtures the scoping entity (child).";
3112            case FTHFOST: return "The player of the role (parent) who is a male state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary.\r\n\n                        The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child.";
3113            case NFTH: return "The player of the role is a male who begets the scoping entity (child).";
3114            case NFTHF: return "Indicates the biologic male parent of a fetus.";
3115            case STPFTH: return "The player of the role is the husband of scoping person's mother and not the scoping person's natural father.";
3116            case MTH: return "The player of the role is a female who conceives, gives birth to, or raises and nurtures the scoping entity (child).";
3117            case GESTM: return "The player is a female whose womb carries the fetus of the scoper.  Generally used when the gestational mother and natural mother are not the same.";
3118            case MTHFOST: return "The player of the role (parent) who is a female state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary.\r\n\n                        The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child.";
3119            case NMTH: return "The player of the role is a female who conceives or gives birth to the scoping entity (child).";
3120            case NMTHF: return "The player is the biologic female parent of the scoping fetus.";
3121            case STPMTH: return "The player of the role is the wife of scoping person's father and not the scoping person's natural mother.";
3122            case NPRN: return "natural parent";
3123            case PRNFOST: return "The player of the role (parent) who is a state-certified caregiver responsible for the scoper (child) who has been placed in the parent's care. The placement of the child is usually arranged through the government or a social-service agency, and temporary.\r\n\n                        The state, via a jurisdiction recognized child protection agency, stands as in loco parentis to the child, making all legal decisions while the foster parent is responsible for the day-to-day care of the specified child.";
3124            case STPPRN: return "The player of the role is the spouse of the scoping person's parent and not the scoping person's natural parent.";
3125            case SIB: return "The player of the role shares one or both parents in common with the scoping entity.";
3126            case BRO: return "The player of the role is a male sharing one or both parents in common with the scoping entity.";
3127            case HBRO: return "The player of the role is a male related to the scoping entity by sharing only one biological parent.";
3128            case NBRO: return "The player of the role is a male having the same biological parents as the scoping entity.";
3129            case TWINBRO: return "The scoper was carried in the same womb as the male player and shares common biological parents.";
3130            case FTWINBRO: return "The scoper was carried in the same womb as the male player and shares common biological parents but is the product of a distinct egg/sperm pair.";
3131            case ITWINBRO: return "The male scoper is an offspring of the same egg-sperm pair as the male player.";
3132            case STPBRO: return "The player of the role is a son of the scoping person's stepparent.";
3133            case HSIB: return "The player of the role is related to the scoping entity by sharing only one biological parent.";
3134            case HSIS: return "The player of the role is a female related to the scoping entity by sharing only one biological parent.";
3135            case NSIB: return "The player of the role has both biological parents in common with the scoping entity.";
3136            case NSIS: return "The player of the role is a female having the same biological parents as the scoping entity.";
3137            case TWINSIS: return "The scoper was carried in the same womb as the female player and shares common biological parents.";
3138            case FTWINSIS: return "The scoper was carried in the same womb as the female player and shares common biological parents but is the product of a distinct egg/sperm pair.";
3139            case ITWINSIS: return "The female scoper is an offspring of the same egg-sperm pair as the female player.";
3140            case TWIN: return "The scoper and player were carried in the same womb and shared common biological parents.";
3141            case FTWIN: return "The scoper and player were carried in the same womb and share common biological parents but are the product of distinct egg/sperm pairs.";
3142            case ITWIN: return "The scoper and player are offspring of the same egg-sperm pair.";
3143            case SIS: return "The player of the role is a female sharing one or both parents in common with the scoping entity.";
3144            case STPSIS: return "The player of the role is a daughter of the scoping person's stepparent.";
3145            case STPSIB: return "The player of the role is a child of the scoping person's stepparent.";
3146            case SIGOTHR: return "A person who is important to one's well being; especially a spouse or one in a similar relationship.  (The player is the one who is important)";
3147            case DOMPART: return "The player of the role cohabits with the scoping person but is not the scoping person's spouse.";
3148            case FMRSPS: return "Player of the role was previously joined to the scoping person in marriage and this marriage is now dissolved and inactive.\r\n\n                        \n                           Usage Note: This is significant to indicate as some jurisdictions have different legal requirements for former spouse to access the patient's record, from a general friend.";
3149            case SPS: return "The player of the role is a marriage partner of the scoping person.";
3150            case HUSB: return "The player of the role is a man joined to a woman (scoping person) in marriage.";
3151            case WIFE: return "The player of the role is a woman joined to a man (scoping person) in marriage.";
3152            case FRND: return "The player of the role is a person who is known, liked, and trusted by the scoping person.";
3153            case NBOR: return "The player of the role lives near or next to the         scoping person.";
3154            case ONESELF: return "The relationship that a person has with his or her self.";
3155            case ROOM: return "One who shares living quarters with the subject.";
3156            case _POLICYORPROGRAMCOVERAGEROLETYPE: return "Description: A role recognized through the eligibility of an identified party for benefits covered under an insurance policy or a program based on meeting eligibility criteria.\r\n\n                        Eligibility as a covered party may be conditioned on the party meeting criteria to qualify for coverage under a policy or program, which may be mandated by law.  These criteria may be: \r\n\n                        \n                           \n                              The sole basis for coverage, e.g., being differently abled may qualify a person for disability coverage\r\n\n                           \n                           \n                              May more fully qualify a covered party role e.g, being differently abled may qualify an adult child as a dependent\r\n\n                           \n                           \n                              May impact the level of coverage for a covered party under a policy or program, e.g., being differently abled may qualify a program eligible for additional benefits.\r\n\n                           \n                        \n                        \n                           Discussion:  The Abstract Value Set \"CoverageRoleType\", which was developed for use in the Canadian realm \"pre-coordinate\" coverage roles with other roles that a covered party must play in order to be eligible for coverage, e.g., \"handicapped dependent\".   These role.codes may only be used with COVPTY to avoid overlapping concepts that would result from using them to specify the specializations of COVPTY, e.g., the role.class DEPEN should not be used with the role.code family dependent because that relationship has overlapping concepts due to the role.code precoodination and is conveyed in FICO with the personal relationship role that has a PART role link to the covered party role.  For the same reasons, the role.class DEPEN should not be used with the role.code HANDIC (handicapped dependent); the role.code DIFFABLE (differently abled) should be used instead.\r\n\n                        In summary, the coded concepts in the Abstract Value Set \"CoveredPartyRoleType\" can be \"post-coordinated\" with the \"RoleClassCoveredParty\" Abstract Value Set.  Decoupling these concepts is intended to support an expansive range of covered party concepts and their semantic comparability.";
3157            case _COVERAGEROLETYPE: return "Role recognized through the issuance of insurance coverage to an identified covered party who has this relationship with the policy holder such as the policy holder themselves (self), spouse, child, etc";
3158            case FAMDEP: return "The player of the role is dependent of the scoping entity.";
3159            case HANDIC: return "Covered party is a dependent of the policy holder with a physical or mental disability causing a disadvantage that makes independent achievement unusually difficult.";
3160            case INJ: return "Covered party is an injured party with a legal claim for compensation against a policy holder under an insurance policy.";
3161            case SELF: return "Covered party is the policy holder.  Also known as the subscriber.";
3162            case SPON: return "Covered party is an individual that the policy holder has assumed responsibility for, such as foster child or legal ward.";
3163            case STUD: return "Covered party to an insurance policy has coverage through full-time or part-time attendance at a recognized educational institution as defined by a particular insurance policy.";
3164            case FSTUD: return "Covered party to an insurance policy has coverage through full-time attendance at a recognized educational institution as defined by a particular insurance policy.";
3165            case PSTUD: return "Covered party to an insurance policy has coverage through part-time attendance at a recognized educational institution as defined by a particular insurance policy.";
3166            case ADOPT: return "A child taken into one's family through legal means and raised as one's own child.";
3167            case GCHILD: return "A child of one's son or daughter.";
3168            case GPARNT: return "parent of a parent of the subject.";
3169            case NAT: return "A child as determined by birth.";
3170            case NIENE: return "A child of one's brother or sister or of the brother or sister of one's spouse.";
3171            case PARNT: return "One that begets or brings forth offspring or a person who brings up and cares for for another (Webster's Collegiate Dictionary)";
3172            case SPSE: return "A marriage partner; a husband or wife.";
3173            case STEP: return "A child receiving parental care and nurture from a person who is related to them through marriage to their parent.";
3174            case _COVEREDPARTYROLETYPE: return "A role recognized through the eligibility of an identified living subject for benefits covered under an insurance policy or a program.  Eligibility as a covered party may be conditioned on a relationship with (1) the policy holder such as the policy holder who is covered as an individual under a poliy or as a party sponsored for coverage by the policy holder.\r\n\n                        \n                           Example:An employee as a subscriber; or (2) on being scoped another covered party such as the subscriber, as in the case of a dependent. \r\n\n                        \n                           Discussion:  The Abstract Value Set \"CoverageRoleType\", which was developed for use in the Canadian realm \"pre-coordinate\" coverage roles with other roles that a covered party must play in order to be eligible for coverage, e.g., \"handicapped dependent\".  Other codes in the Abstract Value Set CoveredPartyRoleType domain can be \"post-coordinated\" with the EligiblePartyRoleType codes to denote comparable concepts.  Decoupling the concepts is intended to support a wider range of concepts and semantic comparability of coded concepts.";
3175            case _CLAIMANTCOVEREDPARTYROLETYPE: return "DescriptionA role recognized through the eligibility of a party play a claimant for benefits covered or provided under an insurance policy.";
3176            case CRIMEVIC: return "Description: A person playing the role of program eligible under a program based on allegations of being the victim of a crime.\r\n\n                        \n                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is \"program eligible\" and the person's status as a crime victim meets jurisdictional or program criteria.";
3177            case INJWKR: return "Description: A person playing the role of program eligible under a workers compensation program based on the filing of work-related injury claim.\r\n\n                        \n                           Discussion:  This CoveredPartyRoleType.code is used when the CoveredPartyRole class code is either \"program eligible\", a \"named insured\", and \"individual insured\",  or \"dependent\", and the person's status as differently abled or \"handicapped\" meets jurisdictional, policy, or program criteria.";
3178            case _DEPENDENTCOVEREDPARTYROLETYPE: return "Description: A role recognized through the eligibility of a party to play a dependent for benefits covered or provided under a health insurance policy because of an association with the subscriber that is recognized by the policy underwriter.";
3179            case COCBEN: return "Description: A person playing the role of an individual insured with continuity of coverage under a policy which is being terminated based on loss of original status that was the basis for coverage.  Criteria for qualifying for continuity of coverage may be set by law.\r\n\n                        \n                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either \"program eligible\" or \"subscriber\" and the person's status as a continuity of coverage beneficiary meets jurisdictional or policy criteria.";
3180            case DIFFABL: return "Description: A person playing the role of program eligible under a program based on meeting criteria for health or functional limitation set by law or by the program.\r\n\n                        \n                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either \"program eligible\", \"named insured\", \"individual insured\", or \"dependent\", and the person's status as differently abled meets jurisdictional, policy, or program criteria.";
3181            case WARD: return "Description: A person, who is a minor or is deemed incompetent, who plays the role of a program eligible where eligibility for coverage is based on meeting program eligibility criteria for status as a ward of a court or jurisdiction.\r\n\n                        \n                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is a \"claimant\", \"program eligible\", a \"named insured\", an \"individual Insured\" or a \"dependent\", and the person's status as a ward meets program or policy criteria. In the case of a ward covered under a program providing financial or health benefits, a governmental agency may take temporary custody of a minor or incompetent for his/her protection and care, e.g., if the ward is suffering from neglect or abuse, or has been in trouble with the law.";
3182            case _INDIVIDUALINSUREDPARTYROLETYPE: return "A role recognized through the eligibility of a party to play an individual insured for benefits covered or provided under an insurance policy where the party is also the policy holder.";
3183            case RETIREE: return "Description: A person playing the role of an individual insured under a policy based on meeting criteria for the employment status of retired set by law or the policy.\r\n\n                        \n                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either \"program eligible\" or \"subscriber\" and the person's status as a retiree meets jurisdictional or policy criteria.";
3184            case _PROGRAMELIGIBLEPARTYROLETYPE: return "Description:A role recognized through the eligibility of a party to play a program eligible for benefits covered or provided under a program.";
3185            case INDIG: return "Description: A person playing the role of program eligible under a program based on aboriginal ancestry or as a member of an aboriginal community.\r\n\n                        \n                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is \"program eligible\" and the person's status as a member of an indigenous people meets jurisdictional or program criteria.";
3186            case MIL: return "Definition: A person playing the role of program eligible under a program based on military status.\r\n\n                        \n                           Discussion:  This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either \"program eligible\" or \"subscriber\" and the person's status as a member of the military meets jurisdictional or program criteria";
3187            case ACTMIL: return "Description: A person playing the role of program eligible under a program based on active military status.\r\n\n                        \n                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either \"program eligible\" or \"subscriber\" and the persons status as active duty military meets jurisdictional or program criteria.";
3188            case RETMIL: return "Description: A person playing the role of program eligible under a program based on retired military status.\r\n\n                        \n                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either \"program eligible\" or \"subscriber\" and the persons status as retired military meets jurisdictional or program criteria.";
3189            case VET: return "Description: A person playing the role of program eligible under a program based on status as a military veteran.\r\n\n                        \n                           Discussion: This CoveredPartyRoleType.code is typically used when the CoveredPartyRole class code is either \"program eligible\" or \"subscriber\" and the persons status as a veteran meets jurisdictional or program criteria.";
3190            case _SUBSCRIBERCOVEREDPARTYROLETYPE: return "Description: A role recognized through the eligibility of a party to play a subscriber for benefits covered or provided under a health insurance policy.";
3191            case _RESEARCHSUBJECTROLEBASIS: return "Specifies the administrative functionality within a formal experimental design for which the ResearchSubject role was established.  Examples: screening - role is used for pre-enrollment evaluation portion of the design; enrolled - role is used for subjects admitted to the active treatment portion of the design.";
3192            case ERL: return "Definition:The specific role being played by a research subject participating in the active treatment or primary data collection portion of a research study.";
3193            case SCN: return "Definition:The specific role being played by a research subject participating in the pre-enrollment evaluation portion of  a research study.";
3194            case _SERVICEDELIVERYLOCATIONROLETYPE: return "A role of a place that further classifies the setting (e.g., accident site, road side, work site, community location) in which services are delivered.";
3195            case _DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE: return "A role of a place that further classifies a setting that is intended to house the provision of services.";
3196            case _DEDICATEDCLINICALLOCATIONROLETYPE: return "A role of a place that further classifies the clinical setting (e.g., cardiology clinic, primary care clinic, rehabilitation hospital, skilled nursing facility) in which care is delivered during an encounter.";
3197            case DX: return "A practice setting where diagnostic procedures or therapeutic interventions are performed";
3198            case CVDX: return "A practice setting where cardiovascular diagnostic procedures or therapeutic interventions are performed (e.g., cardiac catheterization lab, echocardiography suite)";
3199            case CATH: return "Cardiac catheterization lab";
3200            case ECHO: return "Echocardiography lab";
3201            case GIDX: return "A practice setting where GI procedures (such as endoscopies) are performed";
3202            case ENDOS: return "(X12N 261QD0000N)";
3203            case RADDX: return "A practice setting where radiology services (diagnostic or therapeutic) are provided            (X12N 261QR0200N)";
3204            case RADO: return "(X12N 261QX0203N)";
3205            case RNEU: return "Neuroradiology unit";
3206            case HOSP: return "An acute care institution that provides medical, surgical, or psychiatric care and treatment for the sick or the injured.";
3207            case CHR: return "(1) A hospital including a physical plant and personnel that provides multidisciplinary diagnosis and treatment for diseases that have one or more of the following characteristics: is permanent; leaves residual disability; is caused by nonreversible pathological alteration; requires special training of the patient for rehabilitation; and/or may be expected to require a long period of supervision or care. In addition, patients require the safety, security, and shelter of these specialized inpatient or partial hospitalization settings. (2) A hospital that provides medical and skilled nursing services to patients with long-term illnesses who are not in an acute phase but who require an intensity of services not available in nursing homes";
3208            case GACH: return "(X12N 282N00000N)";
3209            case MHSP: return "A health care facility operated by the Department of Defense or other military operation.";
3210            case PSYCHF: return "Healthcare facility that cares for patients with psychiatric illness(s).";
3211            case RH: return "(X12N 283X00000N)";
3212            case RHAT: return "Description: A location that plays the role of delivering services which may include life training and/or social support to people with addictions.";
3213            case RHII: return "Description: A location that plays the role of delivering services which may include adaptation, rehabilitation and social integration services for people with intellectual and/or pervasive development disorders such as autism or severe behaviour disorder.";
3214            case RHMAD: return "Description: A location that plays the role of delivering services which may social support services for adolescents who are pregnant or have child and are experiencing adaptation issues/difficulties in their current or eventual parenting role.";
3215            case RHPI: return "Description: A location that plays the role of delivering services which may include adaptation, rehabilitation and social integration services for people with physical impairments.";
3216            case RHPIH: return "Description: A location that plays the role of delivering services for people with hearing impairments.";
3217            case RHPIMS: return "Description: A location that plays the role of delivering services for people with motor skill impairments.";
3218            case RHPIVS: return "Description: A location that plays the role of delivering services for people with visual skill impairments.";
3219            case RHYAD: return "Description: A location that plays the role of delivering services which may include life training and/or social support services for the adaption, rehabilitation and social integration of youths with adjustment difficulties.";
3220            case HU: return "Hospital unit";
3221            case BMTU: return "Bone marrow transplant unit";
3222            case CCU: return "Coronary care unit";
3223            case CHEST: return "A specialty unit in hospital that focuses on chronic respirator patients and pulmonary failure";
3224            case EPIL: return "Epilepsy unit";
3225            case ER: return "The section of a health care facility for providing rapid treatment to victims of sudden illness or trauma.";
3226            case ETU: return "Emergency trauma unit";
3227            case HD: return "Hemodialysis unit";
3228            case HLAB: return "Description: A location that plays the role of delivering services which may include tests done based on clinical specimens to get health information about a patient as pertaining to the diagnosis, treatment and prevention of disease.  Hospital laboratories may be further divided into specialized units such as Anatomic Pathology, Microbiology, and Biochemistry.";
3229            case INLAB: return "Description: A location that plays the role of delivering services which may include tests are done on clinical specimens to get health information about a patient pertaining to the diagnosis, treatment, and prevention of disease for a hospital visit longer than one day.";
3230            case OUTLAB: return "Description: A location that plays the role of delivering services which may include tests are done on clinical specimens to get health information about a patient pertaining to the diagnosis, treatment, and prevention of disease for same day visits.";
3231            case HRAD: return "Description: A location that plays the role of delivering services which may include the branch of medicine that uses ionizing and non-ionizing radiation to diagnose and treat diseases.  The radiology unit may be further divided into subspecialties such as Imaging, Cardiovascular, Thoracic, and Ultrasound.";
3232            case HUSCS: return "Description: A location that plays the role of delivering services which may include collecting specimens and/or samples from patients for laboratory testing purposes, but does not perform any tests or analysis functions.";
3233            case ICU: return "Intensive care unit";
3234            case PEDICU: return "Pediatric intensive care unit";
3235            case PEDNICU: return "Pediatric neonatal intensive care unit";
3236            case INPHARM: return "Description: A location that plays the role of delivering services which may include providing judicious, safe, efficacious, appropriate and cost effective use of medicines for treatment of patients for visits longer than one day. The distinction between inpatient pharmacies and retail (or outpatient) pharmacies is that they are part of a patient's continuity of care while staying in the hospital.";
3237            case MBL: return "Description: A location that plays the role of delivering services which include biochemistry, hematology, microbiology, immunochemistry, and toxicology.";
3238            case NCCS: return "Neurology critical care and stroke unit";
3239            case NS: return "Neurosurgery unit";
3240            case OUTPHARM: return "Description: A location that plays the role of delivering services which may include providing judicious, safe, efficacious, appropriate and cost effective use of medicines for treatment of patients for outpatient visits and may also be used for discharge prescriptions.";
3241            case PEDU: return "Pediatric unit";
3242            case PHU: return "(X12N 273R00000N)";
3243            case RHU: return "Rehabilitation hospital unit";
3244            case SLEEP: return "(X12N 261QA1200N)";
3245            case NCCF: return "Nursing or custodial care facility";
3246            case SNF: return "(X12N 314000000N)";
3247            case OF: return "Outpatient facility";
3248            case ALL: return "Allergy clinic";
3249            case AMPUT: return "Amputee clinic";
3250            case BMTC: return "Bone marrow transplant clinic";
3251            case BREAST: return "Breast clinic";
3252            case CANC: return "Child and adolescent neurology clinic";
3253            case CAPC: return "Child and adolescent psychiatry clinic";
3254            case CARD: return "Ambulatory Health Care Facilities; Clinic/Center; Rehabilitation: Cardiac Facilities";
3255            case PEDCARD: return "Pediatric cardiology clinic";
3256            case COAG: return "Coagulation clinic";
3257            case CRS: return "Colon and rectal surgery clinic";
3258            case DERM: return "Dermatology clinic";
3259            case ENDO: return "Endocrinology clinic";
3260            case PEDE: return "Pediatric endocrinology clinic";
3261            case ENT: return "Otorhinolaryngology clinic";
3262            case FMC: return "Family medicine clinic";
3263            case GI: return "Gastroenterology clinic";
3264            case PEDGI: return "Pediatric gastroenterology clinic";
3265            case GIM: return "General internal medicine clinic";
3266            case GYN: return "Gynecology clinic";
3267            case HEM: return "Hematology clinic";
3268            case PEDHEM: return "Pediatric hematology clinic";
3269            case HTN: return "Hypertension clinic";
3270            case IEC: return "Focuses on assessing disability";
3271            case INFD: return "Infectious disease clinic";
3272            case PEDID: return "Pediatric infectious disease clinic";
3273            case INV: return "Infertility clinic";
3274            case LYMPH: return "Lympedema clinic";
3275            case MGEN: return "Medical genetics clinic";
3276            case NEPH: return "Nephrology clinic";
3277            case PEDNEPH: return "Pediatric nephrology clinic";
3278            case NEUR: return "Neurology clinic";
3279            case OB: return "Obstetrics clinic";
3280            case OMS: return "Oral and maxillofacial surgery clinic";
3281            case ONCL: return "Medical oncology clinic";
3282            case PEDHO: return "Pediatric oncology clinic";
3283            case OPH: return "Opthalmology clinic";
3284            case OPTC: return "Description: A location that plays the role of delivering services which may include examination, diagnosis, treatment, management, and prevention of diseases and disorders of the eye as well as prescribing and fitting appropriate corrective lenses (glasses or contact lenses) as needed.  Optometry clinics may also provide tests for visual field screening, measuring intra-ocular pressure and ophthalmoscopy, as and when required.";
3285            case ORTHO: return "Orthopedics clinic";
3286            case HAND: return "Hand clinic";
3287            case PAINCL: return "(X12N 261QP3300N)";
3288            case PC: return "(X12N 261QP2300N)";
3289            case PEDC: return "Pediatrics clinic";
3290            case PEDRHEUM: return "Pediatric rheumatology clinic";
3291            case POD: return "(X12N 261QP1100N)";
3292            case PREV: return "Preventive medicine clinic";
3293            case PROCTO: return "Proctology clinic";
3294            case PROFF: return "Location where healthcare service was delivered, identified as the healthcare provider's practice office.";
3295            case PROS: return "Prosthodontics clinic";
3296            case PSI: return "Psychology clinic";
3297            case PSY: return "Psychiatry clinic";
3298            case RHEUM: return "Rheumatology clinic";
3299            case SPMED: return "Sports medicine clinic";
3300            case SU: return "Surgery clinic";
3301            case PLS: return "Plastic surgery clinic";
3302            case URO: return "Urology clinic";
3303            case TR: return "Transplant clinic";
3304            case TRAVEL: return "Travel and geographic medicine clinic";
3305            case WND: return "Wound clinic";
3306            case RTF: return "Residential treatment facility";
3307            case PRC: return "Pain rehabilitation center";
3308            case SURF: return "(X12N 324500000N)";
3309            case _DEDICATEDNONCLINICALLOCATIONROLETYPE: return "A role of a place that further classifies a setting that is intended to house the provision of non-clinical services.";
3310            case DADDR: return "Location address where medical supplies were transported to for use.";
3311            case MOBL: return "Location (mobile) where healthcare service was delivered.";
3312            case AMB: return "Location (mobile) where healthcare service was delivered, identified specifically as an ambulance.";
3313            case PHARM: return "Location where healthcare service was delivered, identified as a pharmacy.";
3314            case _INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE: return "IncidentalServiceDeliveryLocationRoleType";
3315            case ACC: return "Location of an accident where healthcare service was delivered, such as a roadside.";
3316            case COMM: return "Community location where healthcare is delivered.";
3317            case CSC: return "Description: A location that plays the role of delivering services which may include providing front-line services to the population of a defined geographic area such as: healthcare services and social services, preventive or curative, rehabilitation or reintegration.";
3318            case PTRES: return "location where healthcare was delivered which is the residence of the Patient.";
3319            case SCHOOL: return "Location where healthcare service was delivered, identified as a school or educational facility.";
3320            case UPC: return "Description: A location that plays the role of delivering services which may include: social emergency services required for a young person as required under any jurisdictional youth laws, child placement, and family mediation in the defined geographical area the SDL is responsible for. It may provide expertise in a judiciary setting on child custody, adoption and biological history research.";
3321            case WORK: return "Location where healthcare service was delivered, identified as a work place.";
3322            case _SPECIMENROLETYPE: return "SpecimenRoleType";
3323            case C: return "A specimen used for initial calibration settings of an instrument";
3324            case G: return "A set of patient samples in which the individuals of the group may or may not be identified.";
3325            case L: return "Aliquots of individual specimens combined to form a single specimen representing all of the included individuals.";
3326            case P: return "A specimen that has been collected from a patient.";
3327            case Q: return "A specimen specifically used to verify the sensitivity, specificity, accuracy or other perfomance parameter of a diagnostic test.";
3328            case B: return "Quality Control specimen submitted to the lab whose identity and composition is not known to the lab.";
3329            case E: return "An electronically simulated QC specimen";
3330            case F: return "Specimen used for testing proficiency of an organization performing testing (how does this differ from O?)";
3331            case O: return "A specimen used for evaluation of operator proficiency (operator in what context?)";
3332            case V: return "A specimen used for periodic calibration checks of instruments";
3333            case R: return "A portion of an original patent sample that is tested at the same time as the original sample";
3334            case CLAIM: return "A party that makes a claim for coverage under a policy.";
3335            case COMMUNITYLABORATORY: return "Community Laboratory";
3336            case GT: return "An individual or organization that makes or gives a promise, assurance, pledge to pay or has paid the healthcare service provider.";
3337            case HOMEHEALTH: return "Home Health";
3338            case LABORATORY: return "Laboratory";
3339            case PATHOLOGIST: return "Pathologist";
3340            case PH: return "Policy holder for the insurance policy.";
3341            case PHLEBOTOMIST: return "Phlebotomist";
3342            case PROG: return "A party that meets the eligibility criteria for coverage under a program.";
3343            case PT: return "The recipient for the service(s) and/or product(s) when they are not the covered party.";
3344            case SUBJECT: return "Self";
3345            case THIRDPARTY: return "Third Party";
3346            case DEP: return "";
3347            case DEPEN: return "A party covered under a policy based on association with a subscriber.";
3348            case FM: return "A member of the covered party's family. This could be the spouse, a parent, a grand parent, a sibling, etc.";
3349            case INDIV: return "A party covered under a policy as the policyholder.";
3350            case NAMED: return "A party to an insurance policy to whom the insurer agrees to indemnify for losses, provides benefits for, or renders services.";
3351            case PSYCHCF: return "";
3352            case SUBSCR: return "A party 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";
3353            default: return "?";
3354          }
3355        }
3356        public String getDisplay() {
3357          switch (this) {
3358            case _AFFILIATIONROLETYPE: return "AffiliationRoleType";
3359            case _AGENTROLETYPE: return "AgentRoleType";
3360            case AMENDER: return "amender";
3361            case CLASSIFIER: return "classifier";
3362            case CONSENTER: return "consenter";
3363            case CONSWIT: return "consent witness";
3364            case COPART: return "co-participant";
3365            case DECLASSIFIER: return "declassifier";
3366            case DELEGATEE: return "delegatee";
3367            case DELEGATOR: return "delegator";
3368            case DOWNGRDER: return "downgrader";
3369            case DRIVCLASSIFIER: return "derivative classifier";
3370            case GRANTEE: return "grantee";
3371            case GRANTOR: return "grantor";
3372            case INTPRTER: return "interpreter";
3373            case REVIEWER: return "reviewer";
3374            case VALIDATOR: return "validator";
3375            case _COVERAGESPONSORROLETYPE: return "CoverageSponsorRoleType";
3376            case FULLINS: return "Fully insured coverage sponsor";
3377            case SELFINS: return "Self insured coverage sponsor";
3378            case _PAYORROLETYPE: return "PayorRoleType";
3379            case ENROLBKR: return "Enrollment Broker";
3380            case TPA: return "Third party administrator";
3381            case UMO: return "Utilization management organization";
3382            case RESPRSN: return "responsible party";
3383            case EXCEST: return "executor of estate";
3384            case GUADLTM: return "guardian ad lidem";
3385            case GUARD: return "guardian";
3386            case POWATT: return "power of attorney";
3387            case DPOWATT: return "durable power of attorney";
3388            case HPOWATT: return "healthcare power of attorney";
3389            case SPOWATT: return "special power of attorney";
3390            case _ASSIGNEDROLETYPE: return "AssignedRoleType";
3391            case _ASSIGNEDNONPERSONLIVINGSUBJECTROLETYPE: return "AssignedNonPersonLivingSubjectRoleType";
3392            case ASSIST: return "Assistive non-person living subject";
3393            case BIOTH: return "Biotherapeutic non-person living subject";
3394            case ANTIBIOT: return "Antibiotic";
3395            case DEBR: return "Debridement";
3396            case CCO: return "Clinical Companion";
3397            case SEE: return "Seeing";
3398            case SNIFF: return "Sniffing";
3399            case _CERTIFIEDENTITYTYPE: return "CertifiedEntityType";
3400            case _CITIZENROLETYPE: return "CitizenRoleType";
3401            case CAS: return "asylum seeker";
3402            case CASM: return "single minor asylum seeker";
3403            case CN: return "national";
3404            case CNRP: return "non-country member without residence permit";
3405            case CNRPM: return "non-country member minor without residence permit";
3406            case CPCA: return "permit card applicant";
3407            case CRP: return "non-country member with residence permit";
3408            case CRPM: return "non-country member minor with residence permit";
3409            case _CONTACTROLETYPE: return "ContactRoleType";
3410            case _ADMINISTRATIVECONTACTROLETYPE: return "AdministrativeContactRoleType";
3411            case BILL: return "Billing Contact";
3412            case ORG: return "organizational contact";
3413            case PAYOR: return "Payor Contact";
3414            case ECON: return "emergency contact";
3415            case NOK: return "next of kin";
3416            case _IDENTIFIEDENTITYTYPE: return "IdentifiedEntityType";
3417            case _LOCATIONIDENTIFIEDENTITYROLECODE: return "LocationIdentifiedEntityRoleCode";
3418            case ACHFID: return "accreditation location identifier";
3419            case JURID: return "jurisdiction location identifier";
3420            case LOCHFID: return "local location identifier";
3421            case _LIVINGSUBJECTPRODUCTIONCLASS: return "LivingSubjectProductionClass";
3422            case BF: return "Beef";
3423            case BL: return "Broiler";
3424            case BR: return "Breeder";
3425            case CO: return "Companion";
3426            case DA: return "Dairy";
3427            case DR: return "Draft";
3428            case DU: return "Dual";
3429            case FI: return "Fiber";
3430            case LY: return "Layer";
3431            case MT: return "Meat";
3432            case MU: return "Multiplier";
3433            case PL: return "Pleasure";
3434            case RC: return "Racing";
3435            case SH: return "Show";
3436            case VL: return "Veal";
3437            case WL: return "Wool";
3438            case WO: return "Working";
3439            case _MEDICATIONGENERALIZATIONROLETYPE: return "MedicationGeneralizationRoleType";
3440            case DC: return "therapeutic class";
3441            case GD: return "generic drug";
3442            case GDF: return "generic drug form";
3443            case GDS: return "generic drug strength";
3444            case GDSF: return "generic drug strength form";
3445            case MGDSF: return "manufactured drug strength form";
3446            case _MEMBERROLETYPE: return "MemberRoleType";
3447            case TRB: return "Tribal Member";
3448            case _PERSONALRELATIONSHIPROLETYPE: return "PersonalRelationshipRoleType";
3449            case FAMMEMB: return "family member";
3450            case CHILD: return "child";
3451            case CHLDADOPT: return "adopted child";
3452            case DAUADOPT: return "adopted daughter";
3453            case SONADOPT: return "adopted son";
3454            case CHLDFOST: return "foster child";
3455            case DAUFOST: return "foster daughter";
3456            case SONFOST: return "foster son";
3457            case DAUC: return "daughter";
3458            case DAU: return "natural daughter";
3459            case STPDAU: return "stepdaughter";
3460            case NCHILD: return "natural child";
3461            case SON: return "natural son";
3462            case SONC: return "son";
3463            case STPSON: return "stepson";
3464            case STPCHLD: return "step child";
3465            case EXT: return "extended family member";
3466            case AUNT: return "aunt";
3467            case MAUNT: return "maternal aunt";
3468            case PAUNT: return "paternal aunt";
3469            case COUSN: return "cousin";
3470            case MCOUSN: return "maternal cousin";
3471            case PCOUSN: return "paternal cousin";
3472            case GGRPRN: return "great grandparent";
3473            case GGRFTH: return "great grandfather";
3474            case MGGRFTH: return "maternal great-grandfather";
3475            case PGGRFTH: return "paternal great-grandfather";
3476            case GGRMTH: return "great grandmother";
3477            case MGGRMTH: return "maternal great-grandmother";
3478            case PGGRMTH: return "paternal great-grandmother";
3479            case MGGRPRN: return "maternal great-grandparent";
3480            case PGGRPRN: return "paternal great-grandparent";
3481            case GRNDCHILD: return "grandchild";
3482            case GRNDDAU: return "granddaughter";
3483            case GRNDSON: return "grandson";
3484            case GRPRN: return "grandparent";
3485            case GRFTH: return "grandfather";
3486            case MGRFTH: return "maternal grandfather";
3487            case PGRFTH: return "paternal grandfather";
3488            case GRMTH: return "grandmother";
3489            case MGRMTH: return "maternal grandmother";
3490            case PGRMTH: return "paternal grandmother";
3491            case MGRPRN: return "maternal grandparent";
3492            case PGRPRN: return "paternal grandparent";
3493            case INLAW: return "inlaw";
3494            case CHLDINLAW: return "child-in-law";
3495            case DAUINLAW: return "daughter in-law";
3496            case SONINLAW: return "son in-law";
3497            case PRNINLAW: return "parent in-law";
3498            case FTHINLAW: return "father-in-law";
3499            case MTHINLAW: return "mother-in-law";
3500            case SIBINLAW: return "sibling in-law";
3501            case BROINLAW: return "brother-in-law";
3502            case SISINLAW: return "sister-in-law";
3503            case NIENEPH: return "niece/nephew";
3504            case NEPHEW: return "nephew";
3505            case NIECE: return "niece";
3506            case UNCLE: return "uncle";
3507            case MUNCLE: return "maternal uncle";
3508            case PUNCLE: return "paternal uncle";
3509            case PRN: return "parent";
3510            case ADOPTP: return "adoptive parent";
3511            case ADOPTF: return "adoptive father";
3512            case ADOPTM: return "adoptive mother";
3513            case FTH: return "father";
3514            case FTHFOST: return "foster father";
3515            case NFTH: return "natural father";
3516            case NFTHF: return "natural father of fetus";
3517            case STPFTH: return "stepfather";
3518            case MTH: return "mother";
3519            case GESTM: return "gestational mother";
3520            case MTHFOST: return "foster mother";
3521            case NMTH: return "natural mother";
3522            case NMTHF: return "natural mother of fetus";
3523            case STPMTH: return "stepmother";
3524            case NPRN: return "natural parent";
3525            case PRNFOST: return "foster parent";
3526            case STPPRN: return "step parent";
3527            case SIB: return "sibling";
3528            case BRO: return "brother";
3529            case HBRO: return "half-brother";
3530            case NBRO: return "natural brother";
3531            case TWINBRO: return "twin brother";
3532            case FTWINBRO: return "fraternal twin brother";
3533            case ITWINBRO: return "identical twin brother";
3534            case STPBRO: return "stepbrother";
3535            case HSIB: return "half-sibling";
3536            case HSIS: return "half-sister";
3537            case NSIB: return "natural sibling";
3538            case NSIS: return "natural sister";
3539            case TWINSIS: return "twin sister";
3540            case FTWINSIS: return "fraternal twin sister";
3541            case ITWINSIS: return "identical twin sister";
3542            case TWIN: return "twin";
3543            case FTWIN: return "fraternal twin";
3544            case ITWIN: return "identical twin";
3545            case SIS: return "sister";
3546            case STPSIS: return "stepsister";
3547            case STPSIB: return "step sibling";
3548            case SIGOTHR: return "significant other";
3549            case DOMPART: return "domestic partner";
3550            case FMRSPS: return "former spouse";
3551            case SPS: return "spouse";
3552            case HUSB: return "husband";
3553            case WIFE: return "wife";
3554            case FRND: return "unrelated friend";
3555            case NBOR: return "neighbor";
3556            case ONESELF: return "self";
3557            case ROOM: return "Roommate";
3558            case _POLICYORPROGRAMCOVERAGEROLETYPE: return "PolicyOrProgramCoverageRoleType";
3559            case _COVERAGEROLETYPE: return "CoverageRoleType";
3560            case FAMDEP: return "family dependent";
3561            case HANDIC: return "handicapped dependent";
3562            case INJ: return "injured plaintiff";
3563            case SELF: return "self";
3564            case SPON: return "sponsored dependent";
3565            case STUD: return "student";
3566            case FSTUD: return "full-time student";
3567            case PSTUD: return "part-time student";
3568            case ADOPT: return "adopted child";
3569            case GCHILD: return "grandchild";
3570            case GPARNT: return "grandparent";
3571            case NAT: return "natural child";
3572            case NIENE: return "niece/nephew";
3573            case PARNT: return "parent";
3574            case SPSE: return "spouse";
3575            case STEP: return "step child";
3576            case _COVEREDPARTYROLETYPE: return "covered party role type";
3577            case _CLAIMANTCOVEREDPARTYROLETYPE: return "ClaimantCoveredPartyRoleType";
3578            case CRIMEVIC: return "crime victim";
3579            case INJWKR: return "injured worker";
3580            case _DEPENDENTCOVEREDPARTYROLETYPE: return "DependentCoveredPartyRoleType";
3581            case COCBEN: return "continuity of coverage beneficiary";
3582            case DIFFABL: return "differently abled";
3583            case WARD: return "ward";
3584            case _INDIVIDUALINSUREDPARTYROLETYPE: return "IndividualInsuredPartyRoleType";
3585            case RETIREE: return "retiree";
3586            case _PROGRAMELIGIBLEPARTYROLETYPE: return "ProgramEligiblePartyRoleType";
3587            case INDIG: return "member of an indigenous people";
3588            case MIL: return "military";
3589            case ACTMIL: return "active duty military";
3590            case RETMIL: return "retired military";
3591            case VET: return "veteran";
3592            case _SUBSCRIBERCOVEREDPARTYROLETYPE: return "SubscriberCoveredPartyRoleType";
3593            case _RESEARCHSUBJECTROLEBASIS: return "ResearchSubjectRoleBasis";
3594            case ERL: return "enrollment";
3595            case SCN: return "screening";
3596            case _SERVICEDELIVERYLOCATIONROLETYPE: return "ServiceDeliveryLocationRoleType";
3597            case _DEDICATEDSERVICEDELIVERYLOCATIONROLETYPE: return "DedicatedServiceDeliveryLocationRoleType";
3598            case _DEDICATEDCLINICALLOCATIONROLETYPE: return "DedicatedClinicalLocationRoleType";
3599            case DX: return "Diagnostics or therapeutics unit";
3600            case CVDX: return "Cardiovascular diagnostics or therapeutics unit";
3601            case CATH: return "Cardiac catheterization lab";
3602            case ECHO: return "Echocardiography lab";
3603            case GIDX: return "Gastroenterology diagnostics or therapeutics lab";
3604            case ENDOS: return "Endoscopy lab";
3605            case RADDX: return "Radiology diagnostics or therapeutics unit";
3606            case RADO: return "Radiation oncology unit";
3607            case RNEU: return "Neuroradiology unit";
3608            case HOSP: return "Hospital";
3609            case CHR: return "Chronic Care Facility";
3610            case GACH: return "Hospitals; General Acute Care Hospital";
3611            case MHSP: return "Military Hospital";
3612            case PSYCHF: return "Psychatric Care Facility";
3613            case RH: return "Rehabilitation hospital";
3614            case RHAT: return "addiction treatment center";
3615            case RHII: return "intellectual impairment center";
3616            case RHMAD: return "parents with adjustment difficulties center";
3617            case RHPI: return "physical impairment center";
3618            case RHPIH: return "physical impairment - hearing center";
3619            case RHPIMS: return "physical impairment - motor skills center";
3620            case RHPIVS: return "physical impairment - visual skills center";
3621            case RHYAD: return "youths with adjustment difficulties center";
3622            case HU: return "Hospital unit";
3623            case BMTU: return "Bone marrow transplant unit";
3624            case CCU: return "Coronary care unit";
3625            case CHEST: return "Chest unit";
3626            case EPIL: return "Epilepsy unit";
3627            case ER: return "Emergency room";
3628            case ETU: return "Emergency trauma unit";
3629            case HD: return "Hemodialysis unit";
3630            case HLAB: return "hospital laboratory";
3631            case INLAB: return "inpatient laboratory";
3632            case OUTLAB: return "outpatient laboratory";
3633            case HRAD: return "radiology unit";
3634            case HUSCS: return "specimen collection site";
3635            case ICU: return "Intensive care unit";
3636            case PEDICU: return "Pediatric intensive care unit";
3637            case PEDNICU: return "Pediatric neonatal intensive care unit";
3638            case INPHARM: return "inpatient pharmacy";
3639            case MBL: return "medical laboratory";
3640            case NCCS: return "Neurology critical care and stroke unit";
3641            case NS: return "Neurosurgery unit";
3642            case OUTPHARM: return "outpatient pharmacy";
3643            case PEDU: return "Pediatric unit";
3644            case PHU: return "Psychiatric hospital unit";
3645            case RHU: return "Rehabilitation hospital unit";
3646            case SLEEP: return "Sleep disorders unit";
3647            case NCCF: return "Nursing or custodial care facility";
3648            case SNF: return "Skilled nursing facility";
3649            case OF: return "Outpatient facility";
3650            case ALL: return "Allergy clinic";
3651            case AMPUT: return "Amputee clinic";
3652            case BMTC: return "Bone marrow transplant clinic";
3653            case BREAST: return "Breast clinic";
3654            case CANC: return "Child and adolescent neurology clinic";
3655            case CAPC: return "Child and adolescent psychiatry clinic";
3656            case CARD: return "Ambulatory Health Care Facilities; Clinic/Center; Rehabilitation: Cardiac Facilities";
3657            case PEDCARD: return "Pediatric cardiology clinic";
3658            case COAG: return "Coagulation clinic";
3659            case CRS: return "Colon and rectal surgery clinic";
3660            case DERM: return "Dermatology clinic";
3661            case ENDO: return "Endocrinology clinic";
3662            case PEDE: return "Pediatric endocrinology clinic";
3663            case ENT: return "Otorhinolaryngology clinic";
3664            case FMC: return "Family medicine clinic";
3665            case GI: return "Gastroenterology clinic";
3666            case PEDGI: return "Pediatric gastroenterology clinic";
3667            case GIM: return "General internal medicine clinic";
3668            case GYN: return "Gynecology clinic";
3669            case HEM: return "Hematology clinic";
3670            case PEDHEM: return "Pediatric hematology clinic";
3671            case HTN: return "Hypertension clinic";
3672            case IEC: return "Impairment evaluation center";
3673            case INFD: return "Infectious disease clinic";
3674            case PEDID: return "Pediatric infectious disease clinic";
3675            case INV: return "Infertility clinic";
3676            case LYMPH: return "Lympedema clinic";
3677            case MGEN: return "Medical genetics clinic";
3678            case NEPH: return "Nephrology clinic";
3679            case PEDNEPH: return "Pediatric nephrology clinic";
3680            case NEUR: return "Neurology clinic";
3681            case OB: return "Obstetrics clinic";
3682            case OMS: return "Oral and maxillofacial surgery clinic";
3683            case ONCL: return "Medical oncology clinic";
3684            case PEDHO: return "Pediatric oncology clinic";
3685            case OPH: return "Opthalmology clinic";
3686            case OPTC: return "optometry clinic";
3687            case ORTHO: return "Orthopedics clinic";
3688            case HAND: return "Hand clinic";
3689            case PAINCL: return "Pain clinic";
3690            case PC: return "Primary care clinic";
3691            case PEDC: return "Pediatrics clinic";
3692            case PEDRHEUM: return "Pediatric rheumatology clinic";
3693            case POD: return "Podiatry clinic";
3694            case PREV: return "Preventive medicine clinic";
3695            case PROCTO: return "Proctology clinic";
3696            case PROFF: return "Provider's Office";
3697            case PROS: return "Prosthodontics clinic";
3698            case PSI: return "Psychology clinic";
3699            case PSY: return "Psychiatry clinic";
3700            case RHEUM: return "Rheumatology clinic";
3701            case SPMED: return "Sports medicine clinic";
3702            case SU: return "Surgery clinic";
3703            case PLS: return "Plastic surgery clinic";
3704            case URO: return "Urology clinic";
3705            case TR: return "Transplant clinic";
3706            case TRAVEL: return "Travel and geographic medicine clinic";
3707            case WND: return "Wound clinic";
3708            case RTF: return "Residential treatment facility";
3709            case PRC: return "Pain rehabilitation center";
3710            case SURF: return "Substance use rehabilitation facility";
3711            case _DEDICATEDNONCLINICALLOCATIONROLETYPE: return "DedicatedNonClinicalLocationRoleType";
3712            case DADDR: return "Delivery Address";
3713            case MOBL: return "Mobile Unit";
3714            case AMB: return "Ambulance";
3715            case PHARM: return "Pharmacy";
3716            case _INCIDENTALSERVICEDELIVERYLOCATIONROLETYPE: return "IncidentalServiceDeliveryLocationRoleType";
3717            case ACC: return "accident site";
3718            case COMM: return "Community Location";
3719            case CSC: return "community service center";
3720            case PTRES: return "Patient's Residence";
3721            case SCHOOL: return "school";
3722            case UPC: return "underage protection center";
3723            case WORK: return "work site";
3724            case _SPECIMENROLETYPE: return "SpecimenRoleType";
3725            case C: return "Calibrator";
3726            case G: return "Group";
3727            case L: return "Pool";
3728            case P: return "Patient";
3729            case Q: return "Quality Control";
3730            case B: return "Blind";
3731            case E: return "Electronic QC";
3732            case F: return "Filler Proficiency";
3733            case O: return "Operator Proficiency";
3734            case V: return "Verifying";
3735            case R: return "Replicate";
3736            case CLAIM: return "claimant";
3737            case COMMUNITYLABORATORY: return "Community Laboratory";
3738            case GT: return "Guarantor";
3739            case HOMEHEALTH: return "Home Health";
3740            case LABORATORY: return "Laboratory";
3741            case PATHOLOGIST: return "Pathologist";
3742            case PH: return "Policy Holder";
3743            case PHLEBOTOMIST: return "Phlebotomist";
3744            case PROG: return "program eligible";
3745            case PT: return "Patient";
3746            case SUBJECT: return "Self";
3747            case THIRDPARTY: return "Third Party";
3748            case DEP: return "DEP";
3749            case DEPEN: return "dependent";
3750            case FM: return "Family Member";
3751            case INDIV: return "individual";
3752            case NAMED: return "named insured";
3753            case PSYCHCF: return "PSYCHCF";
3754            case SUBSCR: return "subscriber";
3755            default: return "?";
3756          }
3757    }
3758
3759
3760}
3761