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