001package org.hl7.fhir.r4.model.codesystems;
002
003/*
004  Copyright (c) 2011+, HL7, Inc.
005  All rights reserved.
006  
007  Redistribution and use in source and binary forms, with or without modification, 
008  are permitted provided that the following conditions are met:
009  
010   * Redistributions of source code must retain the above copyright notice, this 
011     list of conditions and the following disclaimer.
012   * Redistributions in binary form must reproduce the above copyright notice, 
013     this list of conditions and the following disclaimer in the documentation 
014     and/or other materials provided with the distribution.
015   * Neither the name of HL7 nor the names of its contributors may be used to 
016     endorse or promote products derived from this software without specific 
017     prior written permission.
018  
019  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
020  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
021  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
022  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
023  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
024  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
025  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
026  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
027  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
028  POSSIBILITY OF SUCH DAMAGE.
029  
030*/
031
032// Generated on Sun, May 6, 2018 17:51-0400 for FHIR v3.4.0
033
034
035import org.hl7.fhir.exceptions.FHIRException;
036
037public enum ContractSignerType {
038
039        /**
040         * A person who has corrected, edited, or amended pre-existing information.
041         */
042        AMENDER, 
043        /**
044         * 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.
045         */
046        AUTHN, 
047        /**
048         * 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.
049         */
050        AUT, 
051        /**
052         * An entity that has a business or professional relationship with another entity in accordance with an agreement.
053         */
054        AFFL, 
055        /**
056         * An entity that acts or is authorized to act on behalf of another entity in accordance with an agreement.
057         */
058        AGNT, 
059        /**
060         * 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.
061         */
062        ASSIGNED, 
063        /**
064         * The member of a jurisdiction afforded certain rights and encumbered with certain obligation in accordance with jurisdictional policy.
065         */
066        CIT, 
067        /**
068         * A party that makes a claim for coverage under a policy.
069         */
070        CLAIMANT, 
071        /**
072         * The entity that co-authored content. There can be multiple co-authors of content,which may take such forms as a  such as a contract, a healthcare record entry or document, a policy, or a consent directive.
073         */
074        COAUTH, 
075        /**
076         * 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.
077         */
078        CONSENTER, 
079        /**
080         * 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.
081         */
082        CONSWIT, 
083        /**
084         * A person or an organization that provides or receives information regarding another entity. Examples; patient NOK and emergency contacts; guarantor contact; employer contact.
085         */
086        CONT, 
087        /**
088         * 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.
089         */
090        COPART, 
091        /**
092         * 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.
093         */
094        COVPTY, 
095        /**
096         * A party to whom some right or authority is delegated by a delegator.
097         */
098        DELEGATEE, 
099        /**
100         * A party that delegates a right or authority to another party.
101         */
102        DELEGATOR, 
103        /**
104         * 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.
105         */
106        DEPEND, 
107        /**
108         * 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.
109         */
110        DPOWATT, 
111        /**
112         * An entity to be contacted in the event of an emergency
113         */
114        EMGCON, 
115        /**
116         * A person who attests to observing an occurrence.  For example, the witness has observed a procedure and is attesting to this fact.
117         */
118        EVTWIT, 
119        /**
120         * A person who has been granted the authority to act as an estate executor for a deceased person who was the responsible party.
121         */
122        EXCEST, 
123        /**
124         * 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.
125         */
126        GRANTEE, 
127        /**
128         * 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.
129         */
130        GRANTOR, 
131        /**
132         * 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.
133         */
134        GUAR, 
135        /**
136         * A person or organization legally empowered with responsibility for the care of a ward.
137         */
138        GUARD, 
139        /**
140         * A person appointed by the court to look out for the best interests of a minor child during the course of legal proceedings.
141         */
142        GUADLTM, 
143        /**
144         * 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.
145         */
146        INF, 
147        /**
148         * 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.
149         */
150        INTPRT, 
151        /**
152         * An entity that is the subject of an investigation. This role is scoped by the party responsible for the investigation.
153         */
154        INSBJ, 
155        /**
156         * 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.
157         */
158        HPOWATT, 
159        /**
160         * An entity that is authorized to provide health care services by an authorizing organization or jurisdiction.
161         */
162        HPROV, 
163        /**
164         * 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.
165         */
166        LEGAUTHN, 
167        /**
168         * 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.
169         */
170        NMDINS, 
171        /**
172         * A person, who is a type of contact, designated to receive notifications on behalf of another person who is a relative.
173         */
174        NOK, 
175        /**
176         * 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.
177         */
178        NOTARY, 
179        /**
180         * A person, animal, or other living subject that is the actual or potential recipient of health care services.
181         */
182        PAT, 
183        /**
184         * 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.
185         */
186        POWATT, 
187        /**
188         * 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.
189         */
190        PRIMAUTH, 
191        /**
192         * An entity that may, should receive, or has received information or an object to which it was primarily addressed.
193         */
194        PRIRECIP, 
195        /**
196         * 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.
197         */
198        RECIP, 
199        /**
200         * An entity that has legal responsibility for another party.
201         */
202        RESPRSN, 
203        /**
204         * 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.
205         */
206        REVIEWER, 
207        /**
208         * An entity entering the data into the originating system. This includes the transcriptionist for dictated text transcribed into electronic form.
209         */
210        TRANS, 
211        /**
212         * 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.
213         */
214        SOURCE, 
215        /**
216         * 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.
217         */
218        SPOWATT, 
219        /**
220         * 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.
221         */
222        VALID, 
223        /**
224         * 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.
225         */
226        VERF, 
227        /**
228         * 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.
229         */
230        WIT, 
231        /**
232         * added to help the parsers
233         */
234        NULL;
235        public static ContractSignerType fromCode(String codeString) throws FHIRException {
236            if (codeString == null || "".equals(codeString))
237                return null;
238        if ("AMENDER".equals(codeString))
239          return AMENDER;
240        if ("AUTHN".equals(codeString))
241          return AUTHN;
242        if ("AUT".equals(codeString))
243          return AUT;
244        if ("AFFL".equals(codeString))
245          return AFFL;
246        if ("AGNT".equals(codeString))
247          return AGNT;
248        if ("ASSIGNED".equals(codeString))
249          return ASSIGNED;
250        if ("CIT".equals(codeString))
251          return CIT;
252        if ("CLAIMANT".equals(codeString))
253          return CLAIMANT;
254        if ("COAUTH".equals(codeString))
255          return COAUTH;
256        if ("CONSENTER".equals(codeString))
257          return CONSENTER;
258        if ("CONSWIT".equals(codeString))
259          return CONSWIT;
260        if ("CONT".equals(codeString))
261          return CONT;
262        if ("COPART".equals(codeString))
263          return COPART;
264        if ("COVPTY".equals(codeString))
265          return COVPTY;
266        if ("DELEGATEE".equals(codeString))
267          return DELEGATEE;
268        if ("delegator".equals(codeString))
269          return DELEGATOR;
270        if ("DEPEND".equals(codeString))
271          return DEPEND;
272        if ("DPOWATT".equals(codeString))
273          return DPOWATT;
274        if ("EMGCON".equals(codeString))
275          return EMGCON;
276        if ("EVTWIT".equals(codeString))
277          return EVTWIT;
278        if ("EXCEST".equals(codeString))
279          return EXCEST;
280        if ("GRANTEE".equals(codeString))
281          return GRANTEE;
282        if ("GRANTOR".equals(codeString))
283          return GRANTOR;
284        if ("GUAR".equals(codeString))
285          return GUAR;
286        if ("GUARD".equals(codeString))
287          return GUARD;
288        if ("GUADLTM".equals(codeString))
289          return GUADLTM;
290        if ("INF".equals(codeString))
291          return INF;
292        if ("INTPRT".equals(codeString))
293          return INTPRT;
294        if ("INSBJ".equals(codeString))
295          return INSBJ;
296        if ("HPOWATT".equals(codeString))
297          return HPOWATT;
298        if ("HPROV".equals(codeString))
299          return HPROV;
300        if ("LEGAUTHN".equals(codeString))
301          return LEGAUTHN;
302        if ("NMDINS".equals(codeString))
303          return NMDINS;
304        if ("NOK".equals(codeString))
305          return NOK;
306        if ("NOTARY".equals(codeString))
307          return NOTARY;
308        if ("PAT".equals(codeString))
309          return PAT;
310        if ("POWATT".equals(codeString))
311          return POWATT;
312        if ("PRIMAUTH".equals(codeString))
313          return PRIMAUTH;
314        if ("PRIRECIP".equals(codeString))
315          return PRIRECIP;
316        if ("RECIP".equals(codeString))
317          return RECIP;
318        if ("RESPRSN".equals(codeString))
319          return RESPRSN;
320        if ("REVIEWER".equals(codeString))
321          return REVIEWER;
322        if ("TRANS".equals(codeString))
323          return TRANS;
324        if ("SOURCE".equals(codeString))
325          return SOURCE;
326        if ("SPOWATT".equals(codeString))
327          return SPOWATT;
328        if ("VALID".equals(codeString))
329          return VALID;
330        if ("VERF".equals(codeString))
331          return VERF;
332        if ("WIT".equals(codeString))
333          return WIT;
334        throw new FHIRException("Unknown ContractSignerType code '"+codeString+"'");
335        }
336        public String toCode() {
337          switch (this) {
338            case AMENDER: return "AMENDER";
339            case AUTHN: return "AUTHN";
340            case AUT: return "AUT";
341            case AFFL: return "AFFL";
342            case AGNT: return "AGNT";
343            case ASSIGNED: return "ASSIGNED";
344            case CIT: return "CIT";
345            case CLAIMANT: return "CLAIMANT";
346            case COAUTH: return "COAUTH";
347            case CONSENTER: return "CONSENTER";
348            case CONSWIT: return "CONSWIT";
349            case CONT: return "CONT";
350            case COPART: return "COPART";
351            case COVPTY: return "COVPTY";
352            case DELEGATEE: return "DELEGATEE";
353            case DELEGATOR: return "delegator";
354            case DEPEND: return "DEPEND";
355            case DPOWATT: return "DPOWATT";
356            case EMGCON: return "EMGCON";
357            case EVTWIT: return "EVTWIT";
358            case EXCEST: return "EXCEST";
359            case GRANTEE: return "GRANTEE";
360            case GRANTOR: return "GRANTOR";
361            case GUAR: return "GUAR";
362            case GUARD: return "GUARD";
363            case GUADLTM: return "GUADLTM";
364            case INF: return "INF";
365            case INTPRT: return "INTPRT";
366            case INSBJ: return "INSBJ";
367            case HPOWATT: return "HPOWATT";
368            case HPROV: return "HPROV";
369            case LEGAUTHN: return "LEGAUTHN";
370            case NMDINS: return "NMDINS";
371            case NOK: return "NOK";
372            case NOTARY: return "NOTARY";
373            case PAT: return "PAT";
374            case POWATT: return "POWATT";
375            case PRIMAUTH: return "PRIMAUTH";
376            case PRIRECIP: return "PRIRECIP";
377            case RECIP: return "RECIP";
378            case RESPRSN: return "RESPRSN";
379            case REVIEWER: return "REVIEWER";
380            case TRANS: return "TRANS";
381            case SOURCE: return "SOURCE";
382            case SPOWATT: return "SPOWATT";
383            case VALID: return "VALID";
384            case VERF: return "VERF";
385            case WIT: return "WIT";
386            default: return "?";
387          }
388        }
389        public String getSystem() {
390          return "http://www.hl7.org/fhir/contractsignertypecodes";
391        }
392        public String getDefinition() {
393          switch (this) {
394            case AMENDER: return "A person who has corrected, edited, or amended pre-existing information.";
395            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.";
396            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.";
397            case AFFL: return "An entity that has a business or professional relationship with another entity in accordance with an agreement.";
398            case AGNT: return "An entity that acts or is authorized to act on behalf of another entity in accordance with an agreement.";
399            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.";
400            case CIT: return "The member of a jurisdiction afforded certain rights and encumbered with certain obligation in accordance with jurisdictional policy.";
401            case CLAIMANT: return "A party that makes a claim for coverage under a policy.";
402            case COAUTH: return "The entity that co-authored content. There can be multiple co-authors of content,which may take such forms as a  such as a contract, a healthcare record entry or document, a policy, or a consent directive.";
403            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.";
404            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.";
405            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.";
406            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.";
407            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.";
408            case DELEGATEE: return "A party to whom some right or authority is delegated by a delegator.";
409            case DELEGATOR: return "A party that delegates a right or authority to another party.";
410            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.";
411            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.";
412            case EMGCON: return "An entity to be contacted in the event of an emergency";
413            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.";
414            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.";
415            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.";
416            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.";
417            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.";
418            case GUARD: return "A person or organization legally empowered with responsibility for the care of a ward.";
419            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.";
420            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.";
421            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.";
422            case INSBJ: return "An entity that is the subject of an investigation. This role is scoped by the party responsible for the investigation.";
423            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.";
424            case HPROV: return "An entity that is authorized to provide health care services by an authorizing organization or jurisdiction.";
425            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.";
426            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.";
427            case NOK: return "A person, who is a type of contact, designated to receive notifications on behalf of another person who is a relative.";
428            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.";
429            case PAT: return "A person, animal, or other living subject that is the actual or potential recipient of health care services.";
430            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.";
431            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.";
432            case PRIRECIP: return "An entity that may, should receive, or has received information or an object to which it was primarily addressed.";
433            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.";
434            case RESPRSN: return "An entity that has legal responsibility for another party.";
435            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.";
436            case TRANS: return "An entity entering the data into the originating system. This includes the transcriptionist for dictated text transcribed into electronic form.";
437            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.";
438            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.";
439            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.";
440            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.";
441            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.";
442            default: return "?";
443          }
444        }
445        public String getDisplay() {
446          switch (this) {
447            case AMENDER: return "Amender";
448            case AUTHN: return "Authenticator";
449            case AUT: return "Author";
450            case AFFL: return "Affiliate";
451            case AGNT: return "Agent";
452            case ASSIGNED: return "Assigned Entity";
453            case CIT: return "Citizen";
454            case CLAIMANT: return "Claimant";
455            case COAUTH: return "Co-Author";
456            case CONSENTER: return "Consenter";
457            case CONSWIT: return "Consent Witness";
458            case CONT: return "Contact";
459            case COPART: return "Co-Participant";
460            case COVPTY: return "Covered Party";
461            case DELEGATEE: return "Delegatee";
462            case DELEGATOR: return "Delegator";
463            case DEPEND: return "Dependent";
464            case DPOWATT: return "Durable Power of Attorney";
465            case EMGCON: return "Emergency Contact";
466            case EVTWIT: return "Event Witness";
467            case EXCEST: return "Executor of Estate";
468            case GRANTEE: return "Grantee";
469            case GRANTOR: return "Grantor";
470            case GUAR: return "Guarantor";
471            case GUARD: return "Guardian";
472            case GUADLTM: return "Guardian ad lidem";
473            case INF: return "Informant";
474            case INTPRT: return "Interpreter";
475            case INSBJ: return "Investigation Subject";
476            case HPOWATT: return "Healthcare Power of Attorney";
477            case HPROV: return "Healthcare Provider";
478            case LEGAUTHN: return "Legal Authenticator";
479            case NMDINS: return "Named Insured";
480            case NOK: return "Next of Kin";
481            case NOTARY: return "Notary";
482            case PAT: return "Patient";
483            case POWATT: return "Power of Attorney";
484            case PRIMAUTH: return "Primary Author";
485            case PRIRECIP: return "Primary Responsible Party ";
486            case RECIP: return "Recipient";
487            case RESPRSN: return "Responsible Party";
488            case REVIEWER: return "Reviewer";
489            case TRANS: return "Transcriber";
490            case SOURCE: return "Source";
491            case SPOWATT: return "Special Power of Attorney";
492            case VALID: return "Validator";
493            case VERF: return "Verifier";
494            case WIT: return "Witness";
495            default: return "?";
496          }
497    }
498
499
500}
501