001package org.hl7.fhir.r5.model.codesystems;
002
003/*
004 * #%L
005 * org.hl7.fhir.r5
006 * %%
007 * Copyright (C) 2014 - 2019 Health Level 7
008 * %%
009 * Licensed under the Apache License, Version 2.0 (the "License");
010 * you may not use this file except in compliance with the License.
011 * You may obtain a copy of the License at
012 * 
013 *      http://www.apache.org/licenses/LICENSE-2.0
014 * 
015 * Unless required by applicable law or agreed to in writing, software
016 * distributed under the License is distributed on an "AS IS" BASIS,
017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
018 * See the License for the specific language governing permissions and
019 * limitations under the License.
020 * #L%
021 */
022
023/*
024  Copyright (c) 2011+, HL7, Inc.
025  All rights reserved.
026  
027  Redistribution and use in source and binary forms, with or without modification, 
028  are permitted provided that the following conditions are met:
029  
030   * Redistributions of source code must retain the above copyright notice, this 
031     list of conditions and the following disclaimer.
032   * Redistributions in binary form must reproduce the above copyright notice, 
033     this list of conditions and the following disclaimer in the documentation 
034     and/or other materials provided with the distribution.
035   * Neither the name of HL7 nor the names of its contributors may be used to 
036     endorse or promote products derived from this software without specific 
037     prior written permission.
038  
039  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
040  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
041  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
042  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
043  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
044  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
045  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
046  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
047  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
048  POSSIBILITY OF SUCH DAMAGE.
049  
050*/
051
052// Generated on Thu, Oct 17, 2019 09:42+1100 for FHIR v4.1.0
053
054
055import org.hl7.fhir.exceptions.FHIRException;
056
057public enum ContractSignerType {
058
059        /**
060         * A person who has corrected, edited, or amended pre-existing information.
061         */
062        AMENDER, 
063        /**
064         * A person in the role of verifier who attests to the accuracy of an act, but who does not have privileges to legally authenticate information content. An example would be a resident physician who sees a patient and dictates a note, then later signs it. The resident's signature constitutes an authentication.
065         */
066        AUTHN, 
067        /**
068         * An entity that authored specific content. There can be multiple authors of content, which may take such forms as a contract, a healthcare record entry or document, a policy, or a consent directive.
069         */
070        AUT, 
071        /**
072         * An entity that has a business or professional relationship with another entity in accordance with an agreement.
073         */
074        AFFL, 
075        /**
076         * An entity that acts or is authorized to act on behalf of another entity in accordance with an agreement.
077         */
078        AGNT, 
079        /**
080         * An agent role in which the agent is an Entity acting in the employ of an organization. The focus is on functional role on behalf of the organization, unlike the Employee role where the focus is on the 'Human Resources' relationship between the employee and the organization.
081         */
082        ASSIGNED, 
083        /**
084         * The member of a jurisdiction afforded certain rights and encumbered with certain obligation in accordance with jurisdictional policy.
085         */
086        CIT, 
087        /**
088         * A party that makes a claim for coverage under a policy.
089         */
090        CLAIMANT, 
091        /**
092         * The entity that co-authored content. There can be multiple co-authors of content, which may take such forms as a contract, a healthcare record entry or document, a policy, or a consent directive.
093         */
094        COAUTH, 
095        /**
096         * A patient or patient representative who is the grantee in a healthcare related agreement such as a consent for healthcare services, advanced directive, or a privacy consent directive in accordance with jurisdictional, organizational, or patient policy.
097         */
098        CONSENTER, 
099        /**
100         * A person who has witnessed and attests to observing a patient being counseled about a healthcare related agreement such as a consent for healthcare services, advanced directive, or a privacy consent directive.
101         */
102        CONSWIT, 
103        /**
104         * A person or an organization that provides or receives information regarding another entity. Examples; patient NOK and emergency contacts; guarantor contact; employer contact.
105         */
106        CONT, 
107        /**
108         * A person who participates in the generation of and attest to veracity of content but is not an author or co-author. 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.
109         */
110        COPART, 
111        /**
112         * An entity, which is the insured, that receives benefits such as healthcare services, reimbursement for out-of-pocket expenses, or compensation for losses through coverage under the terms of an insurance policy. The underwriter of that policy is the scoping entity. The covered party receives coverage because of some contractual or other relationship with the holder of that policy. Note that a particular policy may cover several individuals one of whom may be, but need not be, the policy holder. Thus the notion of covered party is a role that is distinct from that of the policy holder.
113         */
114        COVPTY, 
115        /**
116         * A party to whom some right or authority is delegated by a delegator.
117         */
118        DELEGATEE, 
119        /**
120         * A party that delegates a right or authority to another party.
121         */
122        DELEGATOR, 
123        /**
124         * A person covered under an insurance policy or program based on an association with a subscriber, which is recognized by the policy holder. The dependent has an association with the subscriber such as a financial dependency or personal relationship such as that of a spouse, or a natural or adopted child. The policy holder may be required by law to recognize certain associations or may have discretion about the associations. For example, a policy holder may dictate the criteria for the dependent status of adult children who are students, such as requiring full time enrollment, or may recognize domestic partners as dependents. Under certain circumstances, the dependent may be under the indirect authority of a responsible party acting as a surrogate for the subscriber, for example, if the subscriber is differently-abled or deceased, a guardian ad lidem or estate executor may be appointed to assume the subscriber's legal standing in the relationship with the dependent.
125         */
126        DEPEND, 
127        /**
128         * A person who has been granted the authority to represent or act on another's behalf generally 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. 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.
129         */
130        DPOWATT, 
131        /**
132         * An entity to be contacted in the event of an emergency
133         */
134        EMGCON, 
135        /**
136         * A person who attests to observing an occurrence.  For example, the witness has observed a procedure and is attesting to this fact.
137         */
138        EVTWIT, 
139        /**
140         * A person who has been granted the authority to act as an estate executor for a deceased person who was the responsible party.
141         */
142        EXCEST, 
143        /**
144         * A person who grants to another person the authority to represent or act on that person's behalf.  Examples include (1) exercising specific rights belonging to the grantee; (2) performing specific duties on behalf of a grantee; and (3) making specific decisions concerning a grantee.
145         */
146        GRANTEE, 
147        /**
148         * A person who has been granted the authority to represent or act on another's behalf. Examples include (1) exercising specific rights belonging to the grantee; (2) performing specific duties on behalf of a grantee; and (3) making specific decisions concerning a grantee.
149         */
150        GRANTOR, 
151        /**
152         * A person or organization contractually recognized by the issuer as an entity that has assumed fiscal responsibility (e.g., by making or giving a promise, assurance, or pledge) for another entity's financial obligations by guaranteeing to pay for amounts owed to a particular account.  In a healthcare context, the account may be a patient's billing account for services rendered by a provider or a health plan premium account.
153         */
154        GUAR, 
155        /**
156         * A person or organization legally empowered with responsibility for the care of a ward.
157         */
158        GUARD, 
159        /**
160         * A person appointed by the court to look out for the best interests of a minor child during the course of legal proceedings.
161         */
162        GUADLTM, 
163        /**
164         * An entity that is the source of reported information (e.g., a next of kin who answers questions about the patient's history). For history questions, the patient is logically an informant, yet the informant of history questions is implicitly the subject.
165         */
166        INF, 
167        /**
168         * A person who 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.
169         */
170        INTPRT, 
171        /**
172         * An entity that is the subject of an investigation. This role is scoped by the party responsible for the investigation.
173         */
174        INSBJ, 
175        /**
176         * A person who has been granted the authority to represent or act on another's behalf for healthcare related matters 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. Examples include (1) exercising specific healthcare legal rights belonging to the grantee such as signing a consent directive; (2) performing specific healthcare related legal duties on behalf of a grantee such as claims payment; and (3) making specific healthcare legal decisions concerning a grantee such as consenting to healthcare services.
177         */
178        HPOWATT, 
179        /**
180         * An entity that is authorized to provide health care services by an authorizing organization or jurisdiction.
181         */
182        HPROV, 
183        /**
184         * A person in the role of verifier who attests to the accuracy of information content, and who has privileges to certify the legal authenticity of that content with a signature that constitutes a legal authentication.  For example, a licensed physician who signs a consult authored by a resident physician who authenticated it.
185         */
186        LEGAUTHN, 
187        /**
188         * A party to an insurance policy under which the insurer agrees to indemnify for losses, provides benefits for, or renders services. A named insured may be either a person, non-person living subject, or an organization, or a group of persons, non-person living subject that is the named insured under a comprehensive automobile, disability, or property and casualty policy.  The named insured and might or might not be the policy holder.
189         */
190        NMDINS, 
191        /**
192         * A person, who is a type of contact, designated to receive notifications on behalf of another person who is a relative.
193         */
194        NOK, 
195        /**
196         * The party credentialed to legally attest to the contract binding by verifying the identity and capacity of the grantor and grantee, and witnessing their signing of the contract or agreement such as a real estate transaction, pre-nuptial agreement, or a will.
197         */
198        NOTARY, 
199        /**
200         * A person, animal, or other living subject that is the actual or potential recipient of health care services.
201         */
202        PAT, 
203        /**
204         * A person who has been granted the authority to represent or act on another's behalf generally 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. Examples include (1) exercising specific legal rights belonging to the grantee such as signing a contract; (2) performing specific legal duties on behalf of a grantee such as making loan payments; and (3) making specific legal decisions concerning a grantee such as financial investment decisions.
205         */
206        POWATT, 
207        /**
208         * An entity that is the primary or sole author of information content.  In the healthcare context, there can be only one primary author of health information content in a record entry or document.
209         */
210        PRIMAUTH, 
211        /**
212         * An entity that may, should receive, or has received information or an object to which it was primarily addressed.
213         */
214        PRIRECIP, 
215        /**
216         * An entity that may, should receive, or has received information or an object, which might not have been primarily addressed to it. For example, the staff of a provider, a clearinghouse, or other intermediary.
217         */
218        RECIP, 
219        /**
220         * An entity that has legal responsibility for another party.
221         */
222        RESPRSN, 
223        /**
224         * A person, device, or algorithm that has used approved criteria for filtered data for inclusion into the patient record.  Examples: (1) a medical records clerk who scans a document for inclusion in the medical record, enters header information, or catalogues and classifies the data, or a combination thereof; (2) a gateway that receives data from another computer system and interprets that data or changes its format, or both, before entering it into the patient record.
225         */
226        REVIEWER, 
227        /**
228         * An entity entering the data into the originating system. This includes the transcriptionist for dictated text transcribed into electronic form.
229         */
230        TRANS, 
231        /**
232         * An automated data source that generates a signature along with content. Examples: (1) the signature for an image that is generated by a device for inclusion in the patient record; (2) the signature for an ECG derived by an ECG system for inclusion in the patient record; (3) the data from a biomedical monitoring device or system that is for inclusion in the patient record.
233         */
234        SOURCE, 
235        /**
236         * A person who has been granted the authority to represent or act on another's behalf for a limited set of specific matters 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. Examples include (1) exercising specific legal rights belonging to the grantee such as drafting a will; (2) performing specific legal duties on behalf of a grantee such as making a reversible mortgage to pay for end of life expenses; and (3) making specific legal decisions concerning a grantee such as managing a trust.
237         */
238        SPOWATT, 
239        /**
240         * A person who validates a health information document for inclusion in the patient record. For example, a medical student or resident is credentialed to perform history or physical examinations and to write progress notes. The attending physician signs the history and physical examination to validate the entry for inclusion in the patient's medical record.
241         */
242        VALID, 
243        /**
244         * A person who asserts the correctness and appropriateness of an act or the recording of the act, and is accountable for the assertion that the act or the recording of the act complies with jurisdictional or organizational policy. For example, a physician is required to countersign a verbal order that has previously been recorded in the medical record by a registered nurse who has carried out the verbal order.
245         */
246        VERF, 
247        /**
248         * A person witnessing the signature of another party. A witness is not knowledgeable about the content being signed, much less approves of anything stated in the content. For example, an advanced directive witness or a witness that a party to a contract signed that certain demographic or financial information is truthful.
249         */
250        WIT, 
251        /**
252         * added to help the parsers
253         */
254        NULL;
255        public static ContractSignerType fromCode(String codeString) throws FHIRException {
256            if (codeString == null || "".equals(codeString))
257                return null;
258        if ("AMENDER".equals(codeString))
259          return AMENDER;
260        if ("AUTHN".equals(codeString))
261          return AUTHN;
262        if ("AUT".equals(codeString))
263          return AUT;
264        if ("AFFL".equals(codeString))
265          return AFFL;
266        if ("AGNT".equals(codeString))
267          return AGNT;
268        if ("ASSIGNED".equals(codeString))
269          return ASSIGNED;
270        if ("CIT".equals(codeString))
271          return CIT;
272        if ("CLAIMANT".equals(codeString))
273          return CLAIMANT;
274        if ("COAUTH".equals(codeString))
275          return COAUTH;
276        if ("CONSENTER".equals(codeString))
277          return CONSENTER;
278        if ("CONSWIT".equals(codeString))
279          return CONSWIT;
280        if ("CONT".equals(codeString))
281          return CONT;
282        if ("COPART".equals(codeString))
283          return COPART;
284        if ("COVPTY".equals(codeString))
285          return COVPTY;
286        if ("DELEGATEE".equals(codeString))
287          return DELEGATEE;
288        if ("delegator".equals(codeString))
289          return DELEGATOR;
290        if ("DEPEND".equals(codeString))
291          return DEPEND;
292        if ("DPOWATT".equals(codeString))
293          return DPOWATT;
294        if ("EMGCON".equals(codeString))
295          return EMGCON;
296        if ("EVTWIT".equals(codeString))
297          return EVTWIT;
298        if ("EXCEST".equals(codeString))
299          return EXCEST;
300        if ("GRANTEE".equals(codeString))
301          return GRANTEE;
302        if ("GRANTOR".equals(codeString))
303          return GRANTOR;
304        if ("GUAR".equals(codeString))
305          return GUAR;
306        if ("GUARD".equals(codeString))
307          return GUARD;
308        if ("GUADLTM".equals(codeString))
309          return GUADLTM;
310        if ("INF".equals(codeString))
311          return INF;
312        if ("INTPRT".equals(codeString))
313          return INTPRT;
314        if ("INSBJ".equals(codeString))
315          return INSBJ;
316        if ("HPOWATT".equals(codeString))
317          return HPOWATT;
318        if ("HPROV".equals(codeString))
319          return HPROV;
320        if ("LEGAUTHN".equals(codeString))
321          return LEGAUTHN;
322        if ("NMDINS".equals(codeString))
323          return NMDINS;
324        if ("NOK".equals(codeString))
325          return NOK;
326        if ("NOTARY".equals(codeString))
327          return NOTARY;
328        if ("PAT".equals(codeString))
329          return PAT;
330        if ("POWATT".equals(codeString))
331          return POWATT;
332        if ("PRIMAUTH".equals(codeString))
333          return PRIMAUTH;
334        if ("PRIRECIP".equals(codeString))
335          return PRIRECIP;
336        if ("RECIP".equals(codeString))
337          return RECIP;
338        if ("RESPRSN".equals(codeString))
339          return RESPRSN;
340        if ("REVIEWER".equals(codeString))
341          return REVIEWER;
342        if ("TRANS".equals(codeString))
343          return TRANS;
344        if ("SOURCE".equals(codeString))
345          return SOURCE;
346        if ("SPOWATT".equals(codeString))
347          return SPOWATT;
348        if ("VALID".equals(codeString))
349          return VALID;
350        if ("VERF".equals(codeString))
351          return VERF;
352        if ("WIT".equals(codeString))
353          return WIT;
354        throw new FHIRException("Unknown ContractSignerType code '"+codeString+"'");
355        }
356        public String toCode() {
357          switch (this) {
358            case AMENDER: return "AMENDER";
359            case AUTHN: return "AUTHN";
360            case AUT: return "AUT";
361            case AFFL: return "AFFL";
362            case AGNT: return "AGNT";
363            case ASSIGNED: return "ASSIGNED";
364            case CIT: return "CIT";
365            case CLAIMANT: return "CLAIMANT";
366            case COAUTH: return "COAUTH";
367            case CONSENTER: return "CONSENTER";
368            case CONSWIT: return "CONSWIT";
369            case CONT: return "CONT";
370            case COPART: return "COPART";
371            case COVPTY: return "COVPTY";
372            case DELEGATEE: return "DELEGATEE";
373            case DELEGATOR: return "delegator";
374            case DEPEND: return "DEPEND";
375            case DPOWATT: return "DPOWATT";
376            case EMGCON: return "EMGCON";
377            case EVTWIT: return "EVTWIT";
378            case EXCEST: return "EXCEST";
379            case GRANTEE: return "GRANTEE";
380            case GRANTOR: return "GRANTOR";
381            case GUAR: return "GUAR";
382            case GUARD: return "GUARD";
383            case GUADLTM: return "GUADLTM";
384            case INF: return "INF";
385            case INTPRT: return "INTPRT";
386            case INSBJ: return "INSBJ";
387            case HPOWATT: return "HPOWATT";
388            case HPROV: return "HPROV";
389            case LEGAUTHN: return "LEGAUTHN";
390            case NMDINS: return "NMDINS";
391            case NOK: return "NOK";
392            case NOTARY: return "NOTARY";
393            case PAT: return "PAT";
394            case POWATT: return "POWATT";
395            case PRIMAUTH: return "PRIMAUTH";
396            case PRIRECIP: return "PRIRECIP";
397            case RECIP: return "RECIP";
398            case RESPRSN: return "RESPRSN";
399            case REVIEWER: return "REVIEWER";
400            case TRANS: return "TRANS";
401            case SOURCE: return "SOURCE";
402            case SPOWATT: return "SPOWATT";
403            case VALID: return "VALID";
404            case VERF: return "VERF";
405            case WIT: return "WIT";
406            default: return "?";
407          }
408        }
409        public String getSystem() {
410          return "http://terminology.hl7.org/CodeSystem/contractsignertypecodes";
411        }
412        public String getDefinition() {
413          switch (this) {
414            case AMENDER: return "A person who has corrected, edited, or amended pre-existing information.";
415            case AUTHN: return "A person in the role of verifier who attests to the accuracy of an act, but who does not have privileges to legally authenticate information content. An example would be a resident physician who sees a patient and dictates a note, then later signs it. The resident's signature constitutes an authentication.";
416            case AUT: return "An entity that authored specific content. There can be multiple authors of content, which may take such forms as a contract, a healthcare record entry or document, a policy, or a consent directive.";
417            case AFFL: return "An entity that has a business or professional relationship with another entity in accordance with an agreement.";
418            case AGNT: return "An entity that acts or is authorized to act on behalf of another entity in accordance with an agreement.";
419            case ASSIGNED: return "An agent role in which the agent is an Entity acting in the employ of an organization. The focus is on functional role on behalf of the organization, unlike the Employee role where the focus is on the 'Human Resources' relationship between the employee and the organization.";
420            case CIT: return "The member of a jurisdiction afforded certain rights and encumbered with certain obligation in accordance with jurisdictional policy.";
421            case CLAIMANT: return "A party that makes a claim for coverage under a policy.";
422            case COAUTH: return "The entity that co-authored content. There can be multiple co-authors of content, which may take such forms as a contract, a healthcare record entry or document, a policy, or a consent directive.";
423            case CONSENTER: return "A patient or patient representative who is the grantee in a healthcare related agreement such as a consent for healthcare services, advanced directive, or a privacy consent directive in accordance with jurisdictional, organizational, or patient policy.";
424            case CONSWIT: return "A person who has witnessed and attests to observing a patient being counseled about a healthcare related agreement such as a consent for healthcare services, advanced directive, or a privacy consent directive.";
425            case CONT: return "A person or an organization that provides or receives information regarding another entity. Examples; patient NOK and emergency contacts; guarantor contact; employer contact.";
426            case COPART: return "A person who participates in the generation of and attest to veracity of content but is not an author or co-author. 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.";
427            case COVPTY: return "An entity, which is the insured, that receives benefits such as healthcare services, reimbursement for out-of-pocket expenses, or compensation for losses through coverage under the terms of an insurance policy. The underwriter of that policy is the scoping entity. The covered party receives coverage because of some contractual or other relationship with the holder of that policy. Note that a particular policy may cover several individuals one of whom may be, but need not be, the policy holder. Thus the notion of covered party is a role that is distinct from that of the policy holder.";
428            case DELEGATEE: return "A party to whom some right or authority is delegated by a delegator.";
429            case DELEGATOR: return "A party that delegates a right or authority to another party.";
430            case DEPEND: return "A person covered under an insurance policy or program based on an association with a subscriber, which is recognized by the policy holder. The dependent has an association with the subscriber such as a financial dependency or personal relationship such as that of a spouse, or a natural or adopted child. The policy holder may be required by law to recognize certain associations or may have discretion about the associations. For example, a policy holder may dictate the criteria for the dependent status of adult children who are students, such as requiring full time enrollment, or may recognize domestic partners as dependents. Under certain circumstances, the dependent may be under the indirect authority of a responsible party acting as a surrogate for the subscriber, for example, if the subscriber is differently-abled or deceased, a guardian ad lidem or estate executor may be appointed to assume the subscriber's legal standing in the relationship with the dependent.";
431            case DPOWATT: return "A person who has been granted the authority to represent or act on another's behalf generally 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. 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.";
432            case EMGCON: return "An entity to be contacted in the event of an emergency";
433            case EVTWIT: return "A person who attests to observing an occurrence.  For example, the witness has observed a procedure and is attesting to this fact.";
434            case EXCEST: return "A person who has been granted the authority to act as an estate executor for a deceased person who was the responsible party.";
435            case GRANTEE: return "A person who grants to another person the authority to represent or act on that person's behalf.  Examples include (1) exercising specific rights belonging to the grantee; (2) performing specific duties on behalf of a grantee; and (3) making specific decisions concerning a grantee.";
436            case GRANTOR: return "A person who has been granted the authority to represent or act on another's behalf. Examples include (1) exercising specific rights belonging to the grantee; (2) performing specific duties on behalf of a grantee; and (3) making specific decisions concerning a grantee.";
437            case GUAR: return "A person or organization contractually recognized by the issuer as an entity that has assumed fiscal responsibility (e.g., by making or giving a promise, assurance, or pledge) for another entity's financial obligations by guaranteeing to pay for amounts owed to a particular account.  In a healthcare context, the account may be a patient's billing account for services rendered by a provider or a health plan premium account.";
438            case GUARD: return "A person or organization legally empowered with responsibility for the care of a ward.";
439            case GUADLTM: return "A person appointed by the court to look out for the best interests of a minor child during the course of legal proceedings.";
440            case INF: return "An entity that is the source of reported information (e.g., a next of kin who answers questions about the patient's history). For history questions, the patient is logically an informant, yet the informant of history questions is implicitly the subject.";
441            case INTPRT: return "A person who 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.";
442            case INSBJ: return "An entity that is the subject of an investigation. This role is scoped by the party responsible for the investigation.";
443            case HPOWATT: return "A person who has been granted the authority to represent or act on another's behalf for healthcare related matters 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. Examples include (1) exercising specific healthcare legal rights belonging to the grantee such as signing a consent directive; (2) performing specific healthcare related legal duties on behalf of a grantee such as claims payment; and (3) making specific healthcare legal decisions concerning a grantee such as consenting to healthcare services.";
444            case HPROV: return "An entity that is authorized to provide health care services by an authorizing organization or jurisdiction.";
445            case LEGAUTHN: return "A person in the role of verifier who attests to the accuracy of information content, and who has privileges to certify the legal authenticity of that content with a signature that constitutes a legal authentication.  For example, a licensed physician who signs a consult authored by a resident physician who authenticated it.";
446            case NMDINS: return "A party to an insurance policy under which the insurer agrees to indemnify for losses, provides benefits for, or renders services. A named insured may be either a person, non-person living subject, or an organization, or a group of persons, non-person living subject that is the named insured under a comprehensive automobile, disability, or property and casualty policy.  The named insured and might or might not be the policy holder.";
447            case NOK: return "A person, who is a type of contact, designated to receive notifications on behalf of another person who is a relative.";
448            case NOTARY: return "The party credentialed to legally attest to the contract binding by verifying the identity and capacity of the grantor and grantee, and witnessing their signing of the contract or agreement such as a real estate transaction, pre-nuptial agreement, or a will.";
449            case PAT: return "A person, animal, or other living subject that is the actual or potential recipient of health care services.";
450            case POWATT: return "A person who has been granted the authority to represent or act on another's behalf generally 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. Examples include (1) exercising specific legal rights belonging to the grantee such as signing a contract; (2) performing specific legal duties on behalf of a grantee such as making loan payments; and (3) making specific legal decisions concerning a grantee such as financial investment decisions.";
451            case PRIMAUTH: return "An entity that is the primary or sole author of information content.  In the healthcare context, there can be only one primary author of health information content in a record entry or document.";
452            case PRIRECIP: return "An entity that may, should receive, or has received information or an object to which it was primarily addressed.";
453            case RECIP: return "An entity that may, should receive, or has received information or an object, which might not have been primarily addressed to it. For example, the staff of a provider, a clearinghouse, or other intermediary.";
454            case RESPRSN: return "An entity that has legal responsibility for another party.";
455            case REVIEWER: return "A person, device, or algorithm that has used approved criteria for filtered data for inclusion into the patient record.  Examples: (1) a medical records clerk who scans a document for inclusion in the medical record, enters header information, or catalogues and classifies the data, or a combination thereof; (2) a gateway that receives data from another computer system and interprets that data or changes its format, or both, before entering it into the patient record.";
456            case TRANS: return "An entity entering the data into the originating system. This includes the transcriptionist for dictated text transcribed into electronic form.";
457            case SOURCE: return "An automated data source that generates a signature along with content. Examples: (1) the signature for an image that is generated by a device for inclusion in the patient record; (2) the signature for an ECG derived by an ECG system for inclusion in the patient record; (3) the data from a biomedical monitoring device or system that is for inclusion in the patient record.";
458            case SPOWATT: return "A person who has been granted the authority to represent or act on another's behalf for a limited set of specific matters 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. Examples include (1) exercising specific legal rights belonging to the grantee such as drafting a will; (2) performing specific legal duties on behalf of a grantee such as making a reversible mortgage to pay for end of life expenses; and (3) making specific legal decisions concerning a grantee such as managing a trust.";
459            case VALID: return "A person who validates a health information document for inclusion in the patient record. For example, a medical student or resident is credentialed to perform history or physical examinations and to write progress notes. The attending physician signs the history and physical examination to validate the entry for inclusion in the patient's medical record.";
460            case VERF: return "A person who asserts the correctness and appropriateness of an act or the recording of the act, and is accountable for the assertion that the act or the recording of the act complies with jurisdictional or organizational policy. For example, a physician is required to countersign a verbal order that has previously been recorded in the medical record by a registered nurse who has carried out the verbal order.";
461            case WIT: return "A person witnessing the signature of another party. A witness is not knowledgeable about the content being signed, much less approves of anything stated in the content. For example, an advanced directive witness or a witness that a party to a contract signed that certain demographic or financial information is truthful.";
462            default: return "?";
463          }
464        }
465        public String getDisplay() {
466          switch (this) {
467            case AMENDER: return "Amender";
468            case AUTHN: return "Authenticator";
469            case AUT: return "Author";
470            case AFFL: return "Affiliate";
471            case AGNT: return "Agent";
472            case ASSIGNED: return "Assigned Entity";
473            case CIT: return "Citizen";
474            case CLAIMANT: return "Claimant";
475            case COAUTH: return "Co-Author";
476            case CONSENTER: return "Consenter";
477            case CONSWIT: return "Consent Witness";
478            case CONT: return "Contact";
479            case COPART: return "Co-Participant";
480            case COVPTY: return "Covered Party";
481            case DELEGATEE: return "Delegatee";
482            case DELEGATOR: return "Delegator";
483            case DEPEND: return "Dependent";
484            case DPOWATT: return "Durable Power of Attorney";
485            case EMGCON: return "Emergency Contact";
486            case EVTWIT: return "Event Witness";
487            case EXCEST: return "Executor of Estate";
488            case GRANTEE: return "Grantee";
489            case GRANTOR: return "Grantor";
490            case GUAR: return "Guarantor";
491            case GUARD: return "Guardian";
492            case GUADLTM: return "Guardian ad lidem";
493            case INF: return "Informant";
494            case INTPRT: return "Interpreter";
495            case INSBJ: return "Investigation Subject";
496            case HPOWATT: return "Healthcare Power of Attorney";
497            case HPROV: return "Healthcare Provider";
498            case LEGAUTHN: return "Legal Authenticator";
499            case NMDINS: return "Named Insured";
500            case NOK: return "Next of Kin";
501            case NOTARY: return "Notary";
502            case PAT: return "Patient";
503            case POWATT: return "Power of Attorney";
504            case PRIMAUTH: return "Primary Author";
505            case PRIRECIP: return "Primary Responsible Party ";
506            case RECIP: return "Recipient";
507            case RESPRSN: return "Responsible Party";
508            case REVIEWER: return "Reviewer";
509            case TRANS: return "Transcriber";
510            case SOURCE: return "Source";
511            case SPOWATT: return "Special Power of Attorney";
512            case VALID: return "Validator";
513            case VERF: return "Verifier";
514            case WIT: return "Witness";
515            default: return "?";
516          }
517    }
518
519
520}
521