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 Thu, Sep 13, 2018 09:04-0400 for FHIR v3.5.0
033
034
035import org.hl7.fhir.exceptions.FHIRException;
036
037public enum V3ParticipationType {
038
039        /**
040         * Indicates that the target of the participation is involved in some manner in the act, but does not qualify how.
041         */
042        PART, 
043        /**
044         * Participations related, but not primary to an act. The Referring, Admitting, and Discharging practitioners must be the same person as those authoring the ControlAct event for their respective trigger events.
045         */
046        _PARTICIPATIONANCILLARY, 
047        /**
048         * The practitioner who is responsible for admitting a patient to a patient encounter.
049         */
050        ADM, 
051        /**
052         * The practitioner that has responsibility for overseeing a patient's care during a patient encounter.
053         */
054        ATND, 
055        /**
056         * A person or organization who should be contacted for follow-up questions about the act in place of the author.
057         */
058        CALLBCK, 
059        /**
060         * An advisor participating in the service by performing evaluations and making recommendations.
061         */
062        CON, 
063        /**
064         * The practitioner who is responsible for the discharge of a patient from a patient encounter.
065         */
066        DIS, 
067        /**
068         * Only with Transportation services.  A person who escorts the patient.
069         */
070        ESC, 
071        /**
072         * A person having referred the subject of the service to the performer (referring physician).  Typically, a referring physician will receive a report.
073         */
074        REF, 
075        /**
076         * Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g., consultant), information that the Act itself seeks to reveal (e.g., informant of clinical history), or information about what Act was performed (e.g., informant witness).
077         */
078        _PARTICIPATIONINFORMATIONGENERATOR, 
079        /**
080         * Definition: A party that originates the Act and therefore has responsibility for the information given in the Act and ownership of this Act.
081
082                        
083                           Example: the report writer, the person writing the act definition, the guideline author, the placer of an order, the EKG cart (device) creating a report etc. Every Act should have an author. Authorship is regardless of mood always actual authorship. 
084
085                        Examples of such policies might include:
086
087                        
088                           
089                              The author and anyone they explicitly delegate may update the report;
090
091                           
092                           
093                              All administrators within the same clinic may cancel and reschedule appointments created by other administrators within that clinic;
094
095                           
096                        
097                        A party that is neither an author nor a party who is extended authorship maintenance rights by policy, may only amend, reverse, override, replace, or follow up in other ways on this Act, whereby the Act remains intact and is linked to another Act authored by that other party.
098         */
099        AUT, 
100        /**
101         * A 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.
102         */
103        INF, 
104        /**
105         * An entity entering the data into the originating system. The data entry entity is collected optionally for internal quality control purposes. This includes the transcriptionist for dictated text transcribed into electronic form.
106         */
107        TRANS, 
108        /**
109         * A person entering the data into the originating system.  The data entry person is collected optionally for internal quality control purposes.  This includes the transcriptionist for dictated text.
110         */
111        ENT, 
112        /**
113         * Only with service events.  A person witnessing the action happening without doing anything.  A witness is not necessarily aware, much less approves of anything stated in the service event.  Example for a witness is students watching an operation or an advanced directive witness.
114         */
115        WIT, 
116        /**
117         * An entity (person, organization or device) that is in charge of maintaining the information of this act (e.g., who maintains the report or the master service catalog item, etc.).
118         */
119        CST, 
120        /**
121         * Target participant  that is substantially present in the act  and which is directly involved in the action (includes consumed material, devices, etc.).
122         */
123        DIR, 
124        /**
125         * The target of an Observation action. Links an observation to a Role whose player is the substance or most specific component entity (material, micro-organism, etc.) being measured within the subject.
126
127                        
128                           Examples: A "plasma porcelain substance concentration" has analyte a Role with player substance Entity "porcelain".
129
130                        
131                           UsageNotes: The Role that this participation connects to may be any Role whose player is that substance measured. Very often, the scoper may indicate the system in which the component is being measured. E.g., for "plasma porcelain" the scoper could be "Plasma".
132         */
133        ALY, 
134        /**
135         * In an obstetric service, the baby.
136         */
137        BBY, 
138        /**
139         * The catalyst of a chemical reaction, such as an enzyme or a platinum surface. In biochemical reactions, connects the enzyme with the molecular interaction
140         */
141        CAT, 
142        /**
143         * Participant material that is taken up, diminished, altered, or disappears in the act.
144         */
145        CSM, 
146        /**
147         * Something incorporated in the subject of a therapy service to achieve a physiologic effect (e.g., heal, relieve, provoke a condition, etc.) on the subject.  In an administration service the therapeutic agent is a consumable, in a preparation or dispense service, it is a product.  Thus, consumable or product must be specified in accordance with the kind of service.
148         */
149        TPA, 
150        /**
151         * Participant used in performing the act without being substantially affected by the act (i.e. durable or inert with respect to that particular service).
152
153                        
154                           Examples: monitoring equipment, tools, but also access/drainage lines, prostheses, pace maker, etc.
155         */
156        DEV, 
157        /**
158         * A device that changes ownership due to the service, e.g., a pacemaker, a prosthesis, an insulin injection equipment (pen), etc.  Such material may need to be restocked after he service.
159         */
160        NRD, 
161        /**
162         * A device that does not change ownership due to the service, i.e., a surgical instrument or tool or an endoscope.  The distinction between reuseable and non-reuseable must be made in order to know whether material must be re-stocked.
163         */
164        RDV, 
165        /**
166         * In some organ transplantation services and rarely in transfusion services a donor will be a target participant in the service.  However, in most cases transplantation is decomposed in three services: explantation, transport, and implantation.  The identity of the donor (recipient) is often irrelevant for the explantation (implantation) service.
167         */
168        DON, 
169        /**
170         * Description: The entity playing the associated role is the physical (including energy), chemical or biological substance that is participating in the exposure.  For example in communicable diseases, the associated playing entity is the disease causing pathogen.
171         */
172        EXPAGNT, 
173        /**
174         * Description:Direct participation in an exposure act where it is unknown that the participant is the source or subject of the exposure.  If the participant is known to be the contact of an exposure then the SBJ participation type should be used.  If the participant is known to be the source then the EXSRC participation type should be used.
175         */
176        EXPART, 
177        /**
178         * Description: The entity playing the associated role is the target (contact) of exposure.
179         */
180        EXPTRGT, 
181        /**
182         * Description:The entity playing the associated role is the source of exposure.
183         */
184        EXSRC, 
185        /**
186         * Participant material that is brought forth (produced) in the act (e.g., specimen in a specimen collection, access or drainage in a placement service, medication package in a dispense service). It does not matter whether the material produced had existence prior to the service, or whether it is created in the service (e.g., in supply services the product is taken from a stock).
187         */
188        PRD, 
189        /**
190         * The principle target on which the action happens.
191
192                        
193                           Examples: The patient in physical examination, a specimen in a lab observation. May also be a patient's family member (teaching) or a device or room (cleaning, disinfecting, housekeeping). 
194
195                        
196                           UsageNotes: Not all direct targets are subjects. Consumables and devices used as tools for an act are not subjects. However, a device may be a subject of a maintenance action.
197         */
198        SBJ, 
199        /**
200         * The subject of non-clinical (e.g. laboratory) observation services is a specimen.
201         */
202        SPC, 
203        /**
204         * Target that is not substantially present in the act and which is not directly affected by the act, but which will be a focus of the record or documentation of the act.
205         */
206        IND, 
207        /**
208         * Target on behalf of whom the service happens, but that is not necessarily present in the service.  Can occur together with direct target to indicate that a target is both, as in the case where the patient is the indirect beneficiary of a service rendered to a family member, e.g. counseling or given home care instructions.  This concept includes a participant, such as a covered party, who derives benefits from a service act covered by a coverage act.
209
210                        Note that the semantic role of the intended recipient who benefits from the happening denoted by the verb in the clause.  Thus, a patient who has no coverage under a policy or program may be a beneficiary of a health service while not being the beneficiary of coverage for that service.
211         */
212        BEN, 
213        /**
214         * Definition: A factor, such as a microorganism, chemical substance, or form of radiation, whose presence, excessive presence, or (in deficiency diseases) relative absence is essential, in whole or in part, for the occurrence of a condition.
215
216                        Constraint:  The use of this participation is limited to observations.
217         */
218        CAGNT, 
219        /**
220         * The target participation for an individual in a health care coverage act in which the target role is either the policy holder of the coverage, or a covered party under the coverage.
221         */
222        COV, 
223        /**
224         * The target person or organization contractually recognized by the issuer as a participant who has assumed fiscal responsibility for another personaTMs financial obligations by guaranteeing to pay for amounts owed to a particular account
225
226                        
227                           Example:The subscriber of the patientaTMs health insurance policy signs a contract with the provider to be fiscally responsible for the patient billing account balance amount owed.
228         */
229        GUAR, 
230        /**
231         * Participant who posses an instrument such as a financial contract (insurance policy) usually based on some agreement with the author.
232         */
233        HLD, 
234        /**
235         * The record target indicates whose medical record holds the documentation of this act.  This is especially important when the subject of a service is not the patient himself.
236         */
237        RCT, 
238        /**
239         * The person (or organization) who receives the product of an Act.
240         */
241        RCV, 
242        /**
243         * A party, who may or should receive or who has recieved the Act or subsequent or derivative information of that Act. Information recipient is inert, i.e., independent of mood." Rationale: this is a generalization of a too diverse family that the definition can't be any more specific, and the concept is abstract so one of the specializations should be used.
244         */
245        IRCP, 
246        /**
247         * An information recipient to notify for urgent matters about this Act. (e.g., in a laboratory order, critical results are being called by phone right away, this is the contact to call; or for an inpatient encounter, a next of kin to notify when the patient becomes critically ill).
248         */
249        NOT, 
250        /**
251         * Information recipient to whom an act statement is primarily directed. E.g., a primary care provider receiving a discharge letter from a hospitalist, a health department receiving information on a suspected case of infectious disease. Multiple of these participations may exist on the same act without requiring that recipients be ranked as primary vs. secondary.
252         */
253        PRCP, 
254        /**
255         * A participant (e.g. provider) who has referred the subject of an act (e.g. patient).
256
257                        Typically, a referred by participant will provide a report (e.g. referral).
258         */
259        REFB, 
260        /**
261         * The person who receives the patient
262         */
263        REFT, 
264        /**
265         * A secondary information recipient, who receives copies (e.g., a primary care provider receiving copies of results as ordered by specialist).
266         */
267        TRC, 
268        /**
269         * The facility where the service is done.  May be a static building (or room therein) or a moving location (e.g., ambulance, helicopter, aircraft, train, truck, ship, etc.)
270         */
271        LOC, 
272        /**
273         * The destination for services.  May be a static building (or room therein) or a movable facility (e.g., ship).
274         */
275        DST, 
276        /**
277         * A location where data about an Act was entered.
278         */
279        ELOC, 
280        /**
281         * The location of origin for services.  May be a static building (or room therein) or a movable facility (e.g., ship).
282         */
283        ORG, 
284        /**
285         * Some services take place at multiple concurrent locations (e.g., telemedicine, telephone consultation).  The location where the principal performing actor is located is taken as the primary location (LOC) while the other location(s) are considered "remote."
286         */
287        RML, 
288        /**
289         * For services, an intermediate location that specifies a path between origin an destination.
290         */
291        VIA, 
292        /**
293         * Definition: A person, non-person living subject, organization or device that who actually and principally carries out the action. Device should only be assigned as a performer in circumstances where the device is performing independent of human intervention.  Need not be the principal responsible actor.
294
295                        
296                           Exampe: A surgery resident operating under supervision of attending surgeon, a search and rescue dog locating survivors, an electronic laboratory analyzer or the laboratory discipline requested to perform a laboratory test. The performer may also be the patient in self-care, e.g. fingerstick blood sugar. The traditional order filler is a performer. This information should accompany every service event.
297
298                        
299                           Note: that existing HL7 designs assign an organization as the playing entity of the Role that is the performer.  These designs should be revised in subsequent releases to make this the scooping entity for the role involved.
300         */
301        PRF, 
302        /**
303         * Distributes material used in or generated during the act.
304         */
305        DIST, 
306        /**
307         * The principal or primary performer of the act.
308         */
309        PPRF, 
310        /**
311         * A person assisting in an act through his substantial presence and involvement   This includes: assistants, technicians, associates, or whatever the job titles may be.
312         */
313        SPRF, 
314        /**
315         * The person or organization that has primary responsibility for the act.  The responsible party is not necessarily present in an action, but is accountable for the action through the power to delegate, and the duty to review actions with the performing actor after the fact.  This responsibility may be ethical, legal, contractual, fiscal, or fiduciary in nature.
316
317                        
318                           Example: A person who is the head of a biochemical laboratory; a sponsor for a policy or government program.
319         */
320        RESP, 
321        /**
322         * A person who verifies the correctness and appropriateness of the service (plan, order, event, etc.) and hence takes on accountability.
323         */
324        VRF, 
325        /**
326         * A verifier who attests to the accuracy of an act, but who does not have privileges to legally authenticate the act. An example would be a resident physician who sees a patient and dictates a note, then later signs it. Their signature constitutes an authentication.
327         */
328        AUTHEN, 
329        /**
330         * A verifier who legally authenticates the accuracy of an act. An example would be a staff physician who sees a patient and dictates a note, then later signs it. Their signature constitutes a legal authentication.
331         */
332        LA, 
333        /**
334         * added to help the parsers
335         */
336        NULL;
337        public static V3ParticipationType fromCode(String codeString) throws FHIRException {
338            if (codeString == null || "".equals(codeString))
339                return null;
340        if ("PART".equals(codeString))
341          return PART;
342        if ("_ParticipationAncillary".equals(codeString))
343          return _PARTICIPATIONANCILLARY;
344        if ("ADM".equals(codeString))
345          return ADM;
346        if ("ATND".equals(codeString))
347          return ATND;
348        if ("CALLBCK".equals(codeString))
349          return CALLBCK;
350        if ("CON".equals(codeString))
351          return CON;
352        if ("DIS".equals(codeString))
353          return DIS;
354        if ("ESC".equals(codeString))
355          return ESC;
356        if ("REF".equals(codeString))
357          return REF;
358        if ("_ParticipationInformationGenerator".equals(codeString))
359          return _PARTICIPATIONINFORMATIONGENERATOR;
360        if ("AUT".equals(codeString))
361          return AUT;
362        if ("INF".equals(codeString))
363          return INF;
364        if ("TRANS".equals(codeString))
365          return TRANS;
366        if ("ENT".equals(codeString))
367          return ENT;
368        if ("WIT".equals(codeString))
369          return WIT;
370        if ("CST".equals(codeString))
371          return CST;
372        if ("DIR".equals(codeString))
373          return DIR;
374        if ("ALY".equals(codeString))
375          return ALY;
376        if ("BBY".equals(codeString))
377          return BBY;
378        if ("CAT".equals(codeString))
379          return CAT;
380        if ("CSM".equals(codeString))
381          return CSM;
382        if ("TPA".equals(codeString))
383          return TPA;
384        if ("DEV".equals(codeString))
385          return DEV;
386        if ("NRD".equals(codeString))
387          return NRD;
388        if ("RDV".equals(codeString))
389          return RDV;
390        if ("DON".equals(codeString))
391          return DON;
392        if ("EXPAGNT".equals(codeString))
393          return EXPAGNT;
394        if ("EXPART".equals(codeString))
395          return EXPART;
396        if ("EXPTRGT".equals(codeString))
397          return EXPTRGT;
398        if ("EXSRC".equals(codeString))
399          return EXSRC;
400        if ("PRD".equals(codeString))
401          return PRD;
402        if ("SBJ".equals(codeString))
403          return SBJ;
404        if ("SPC".equals(codeString))
405          return SPC;
406        if ("IND".equals(codeString))
407          return IND;
408        if ("BEN".equals(codeString))
409          return BEN;
410        if ("CAGNT".equals(codeString))
411          return CAGNT;
412        if ("COV".equals(codeString))
413          return COV;
414        if ("GUAR".equals(codeString))
415          return GUAR;
416        if ("HLD".equals(codeString))
417          return HLD;
418        if ("RCT".equals(codeString))
419          return RCT;
420        if ("RCV".equals(codeString))
421          return RCV;
422        if ("IRCP".equals(codeString))
423          return IRCP;
424        if ("NOT".equals(codeString))
425          return NOT;
426        if ("PRCP".equals(codeString))
427          return PRCP;
428        if ("REFB".equals(codeString))
429          return REFB;
430        if ("REFT".equals(codeString))
431          return REFT;
432        if ("TRC".equals(codeString))
433          return TRC;
434        if ("LOC".equals(codeString))
435          return LOC;
436        if ("DST".equals(codeString))
437          return DST;
438        if ("ELOC".equals(codeString))
439          return ELOC;
440        if ("ORG".equals(codeString))
441          return ORG;
442        if ("RML".equals(codeString))
443          return RML;
444        if ("VIA".equals(codeString))
445          return VIA;
446        if ("PRF".equals(codeString))
447          return PRF;
448        if ("DIST".equals(codeString))
449          return DIST;
450        if ("PPRF".equals(codeString))
451          return PPRF;
452        if ("SPRF".equals(codeString))
453          return SPRF;
454        if ("RESP".equals(codeString))
455          return RESP;
456        if ("VRF".equals(codeString))
457          return VRF;
458        if ("AUTHEN".equals(codeString))
459          return AUTHEN;
460        if ("LA".equals(codeString))
461          return LA;
462        throw new FHIRException("Unknown V3ParticipationType code '"+codeString+"'");
463        }
464        public String toCode() {
465          switch (this) {
466            case PART: return "PART";
467            case _PARTICIPATIONANCILLARY: return "_ParticipationAncillary";
468            case ADM: return "ADM";
469            case ATND: return "ATND";
470            case CALLBCK: return "CALLBCK";
471            case CON: return "CON";
472            case DIS: return "DIS";
473            case ESC: return "ESC";
474            case REF: return "REF";
475            case _PARTICIPATIONINFORMATIONGENERATOR: return "_ParticipationInformationGenerator";
476            case AUT: return "AUT";
477            case INF: return "INF";
478            case TRANS: return "TRANS";
479            case ENT: return "ENT";
480            case WIT: return "WIT";
481            case CST: return "CST";
482            case DIR: return "DIR";
483            case ALY: return "ALY";
484            case BBY: return "BBY";
485            case CAT: return "CAT";
486            case CSM: return "CSM";
487            case TPA: return "TPA";
488            case DEV: return "DEV";
489            case NRD: return "NRD";
490            case RDV: return "RDV";
491            case DON: return "DON";
492            case EXPAGNT: return "EXPAGNT";
493            case EXPART: return "EXPART";
494            case EXPTRGT: return "EXPTRGT";
495            case EXSRC: return "EXSRC";
496            case PRD: return "PRD";
497            case SBJ: return "SBJ";
498            case SPC: return "SPC";
499            case IND: return "IND";
500            case BEN: return "BEN";
501            case CAGNT: return "CAGNT";
502            case COV: return "COV";
503            case GUAR: return "GUAR";
504            case HLD: return "HLD";
505            case RCT: return "RCT";
506            case RCV: return "RCV";
507            case IRCP: return "IRCP";
508            case NOT: return "NOT";
509            case PRCP: return "PRCP";
510            case REFB: return "REFB";
511            case REFT: return "REFT";
512            case TRC: return "TRC";
513            case LOC: return "LOC";
514            case DST: return "DST";
515            case ELOC: return "ELOC";
516            case ORG: return "ORG";
517            case RML: return "RML";
518            case VIA: return "VIA";
519            case PRF: return "PRF";
520            case DIST: return "DIST";
521            case PPRF: return "PPRF";
522            case SPRF: return "SPRF";
523            case RESP: return "RESP";
524            case VRF: return "VRF";
525            case AUTHEN: return "AUTHEN";
526            case LA: return "LA";
527            default: return "?";
528          }
529        }
530        public String getSystem() {
531          return "http://terminology.hl7.org/CodeSystem/v3-ParticipationType";
532        }
533        public String getDefinition() {
534          switch (this) {
535            case PART: return "Indicates that the target of the participation is involved in some manner in the act, but does not qualify how.";
536            case _PARTICIPATIONANCILLARY: return "Participations related, but not primary to an act. The Referring, Admitting, and Discharging practitioners must be the same person as those authoring the ControlAct event for their respective trigger events.";
537            case ADM: return "The practitioner who is responsible for admitting a patient to a patient encounter.";
538            case ATND: return "The practitioner that has responsibility for overseeing a patient's care during a patient encounter.";
539            case CALLBCK: return "A person or organization who should be contacted for follow-up questions about the act in place of the author.";
540            case CON: return "An advisor participating in the service by performing evaluations and making recommendations.";
541            case DIS: return "The practitioner who is responsible for the discharge of a patient from a patient encounter.";
542            case ESC: return "Only with Transportation services.  A person who escorts the patient.";
543            case REF: return "A person having referred the subject of the service to the performer (referring physician).  Typically, a referring physician will receive a report.";
544            case _PARTICIPATIONINFORMATIONGENERATOR: return "Parties that may or should contribute or have contributed information to the Act. Such information includes information leading to the decision to perform the Act and how to perform the Act (e.g., consultant), information that the Act itself seeks to reveal (e.g., informant of clinical history), or information about what Act was performed (e.g., informant witness).";
545            case AUT: return "Definition: A party that originates the Act and therefore has responsibility for the information given in the Act and ownership of this Act.\r\n\n                        \n                           Example: the report writer, the person writing the act definition, the guideline author, the placer of an order, the EKG cart (device) creating a report etc. Every Act should have an author. Authorship is regardless of mood always actual authorship. \r\n\n                        Examples of such policies might include:\r\n\n                        \n                           \n                              The author and anyone they explicitly delegate may update the report;\r\n\n                           \n                           \n                              All administrators within the same clinic may cancel and reschedule appointments created by other administrators within that clinic;\r\n\n                           \n                        \n                        A party that is neither an author nor a party who is extended authorship maintenance rights by policy, may only amend, reverse, override, replace, or follow up in other ways on this Act, whereby the Act remains intact and is linked to another Act authored by that other party.";
546            case INF: return "A 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.";
547            case TRANS: return "An entity entering the data into the originating system. The data entry entity is collected optionally for internal quality control purposes. This includes the transcriptionist for dictated text transcribed into electronic form.";
548            case ENT: return "A person entering the data into the originating system.  The data entry person is collected optionally for internal quality control purposes.  This includes the transcriptionist for dictated text.";
549            case WIT: return "Only with service events.  A person witnessing the action happening without doing anything.  A witness is not necessarily aware, much less approves of anything stated in the service event.  Example for a witness is students watching an operation or an advanced directive witness.";
550            case CST: return "An entity (person, organization or device) that is in charge of maintaining the information of this act (e.g., who maintains the report or the master service catalog item, etc.).";
551            case DIR: return "Target participant  that is substantially present in the act  and which is directly involved in the action (includes consumed material, devices, etc.).";
552            case ALY: return "The target of an Observation action. Links an observation to a Role whose player is the substance or most specific component entity (material, micro-organism, etc.) being measured within the subject.\r\n\n                        \n                           Examples: A \"plasma porcelain substance concentration\" has analyte a Role with player substance Entity \"porcelain\".\r\n\n                        \n                           UsageNotes: The Role that this participation connects to may be any Role whose player is that substance measured. Very often, the scoper may indicate the system in which the component is being measured. E.g., for \"plasma porcelain\" the scoper could be \"Plasma\".";
553            case BBY: return "In an obstetric service, the baby.";
554            case CAT: return "The catalyst of a chemical reaction, such as an enzyme or a platinum surface. In biochemical reactions, connects the enzyme with the molecular interaction";
555            case CSM: return "Participant material that is taken up, diminished, altered, or disappears in the act.";
556            case TPA: return "Something incorporated in the subject of a therapy service to achieve a physiologic effect (e.g., heal, relieve, provoke a condition, etc.) on the subject.  In an administration service the therapeutic agent is a consumable, in a preparation or dispense service, it is a product.  Thus, consumable or product must be specified in accordance with the kind of service.";
557            case DEV: return "Participant used in performing the act without being substantially affected by the act (i.e. durable or inert with respect to that particular service).\r\n\n                        \n                           Examples: monitoring equipment, tools, but also access/drainage lines, prostheses, pace maker, etc.";
558            case NRD: return "A device that changes ownership due to the service, e.g., a pacemaker, a prosthesis, an insulin injection equipment (pen), etc.  Such material may need to be restocked after he service.";
559            case RDV: return "A device that does not change ownership due to the service, i.e., a surgical instrument or tool or an endoscope.  The distinction between reuseable and non-reuseable must be made in order to know whether material must be re-stocked.";
560            case DON: return "In some organ transplantation services and rarely in transfusion services a donor will be a target participant in the service.  However, in most cases transplantation is decomposed in three services: explantation, transport, and implantation.  The identity of the donor (recipient) is often irrelevant for the explantation (implantation) service.";
561            case EXPAGNT: return "Description: The entity playing the associated role is the physical (including energy), chemical or biological substance that is participating in the exposure.  For example in communicable diseases, the associated playing entity is the disease causing pathogen.";
562            case EXPART: return "Description:Direct participation in an exposure act where it is unknown that the participant is the source or subject of the exposure.  If the participant is known to be the contact of an exposure then the SBJ participation type should be used.  If the participant is known to be the source then the EXSRC participation type should be used.";
563            case EXPTRGT: return "Description: The entity playing the associated role is the target (contact) of exposure.";
564            case EXSRC: return "Description:The entity playing the associated role is the source of exposure.";
565            case PRD: return "Participant material that is brought forth (produced) in the act (e.g., specimen in a specimen collection, access or drainage in a placement service, medication package in a dispense service). It does not matter whether the material produced had existence prior to the service, or whether it is created in the service (e.g., in supply services the product is taken from a stock).";
566            case SBJ: return "The principle target on which the action happens.\r\n\n                        \n                           Examples: The patient in physical examination, a specimen in a lab observation. May also be a patient's family member (teaching) or a device or room (cleaning, disinfecting, housekeeping). \r\n\n                        \n                           UsageNotes: Not all direct targets are subjects. Consumables and devices used as tools for an act are not subjects. However, a device may be a subject of a maintenance action.";
567            case SPC: return "The subject of non-clinical (e.g. laboratory) observation services is a specimen.";
568            case IND: return "Target that is not substantially present in the act and which is not directly affected by the act, but which will be a focus of the record or documentation of the act.";
569            case BEN: return "Target on behalf of whom the service happens, but that is not necessarily present in the service.  Can occur together with direct target to indicate that a target is both, as in the case where the patient is the indirect beneficiary of a service rendered to a family member, e.g. counseling or given home care instructions.  This concept includes a participant, such as a covered party, who derives benefits from a service act covered by a coverage act.\r\n\n                        Note that the semantic role of the intended recipient who benefits from the happening denoted by the verb in the clause.  Thus, a patient who has no coverage under a policy or program may be a beneficiary of a health service while not being the beneficiary of coverage for that service.";
570            case CAGNT: return "Definition: A factor, such as a microorganism, chemical substance, or form of radiation, whose presence, excessive presence, or (in deficiency diseases) relative absence is essential, in whole or in part, for the occurrence of a condition.\r\n\n                        Constraint:  The use of this participation is limited to observations.";
571            case COV: return "The target participation for an individual in a health care coverage act in which the target role is either the policy holder of the coverage, or a covered party under the coverage.";
572            case GUAR: return "The target person or organization contractually recognized by the issuer as a participant who has assumed fiscal responsibility for another personaTMs financial obligations by guaranteeing to pay for amounts owed to a particular account\r\n\n                        \n                           Example:The subscriber of the patientaTMs health insurance policy signs a contract with the provider to be fiscally responsible for the patient billing account balance amount owed.";
573            case HLD: return "Participant who posses an instrument such as a financial contract (insurance policy) usually based on some agreement with the author.";
574            case RCT: return "The record target indicates whose medical record holds the documentation of this act.  This is especially important when the subject of a service is not the patient himself.";
575            case RCV: return "The person (or organization) who receives the product of an Act.";
576            case IRCP: return "A party, who may or should receive or who has recieved the Act or subsequent or derivative information of that Act. Information recipient is inert, i.e., independent of mood.\" Rationale: this is a generalization of a too diverse family that the definition can't be any more specific, and the concept is abstract so one of the specializations should be used.";
577            case NOT: return "An information recipient to notify for urgent matters about this Act. (e.g., in a laboratory order, critical results are being called by phone right away, this is the contact to call; or for an inpatient encounter, a next of kin to notify when the patient becomes critically ill).";
578            case PRCP: return "Information recipient to whom an act statement is primarily directed. E.g., a primary care provider receiving a discharge letter from a hospitalist, a health department receiving information on a suspected case of infectious disease. Multiple of these participations may exist on the same act without requiring that recipients be ranked as primary vs. secondary.";
579            case REFB: return "A participant (e.g. provider) who has referred the subject of an act (e.g. patient).\r\n\n                        Typically, a referred by participant will provide a report (e.g. referral).";
580            case REFT: return "The person who receives the patient";
581            case TRC: return "A secondary information recipient, who receives copies (e.g., a primary care provider receiving copies of results as ordered by specialist).";
582            case LOC: return "The facility where the service is done.  May be a static building (or room therein) or a moving location (e.g., ambulance, helicopter, aircraft, train, truck, ship, etc.)";
583            case DST: return "The destination for services.  May be a static building (or room therein) or a movable facility (e.g., ship).";
584            case ELOC: return "A location where data about an Act was entered.";
585            case ORG: return "The location of origin for services.  May be a static building (or room therein) or a movable facility (e.g., ship).";
586            case RML: return "Some services take place at multiple concurrent locations (e.g., telemedicine, telephone consultation).  The location where the principal performing actor is located is taken as the primary location (LOC) while the other location(s) are considered \"remote.\"";
587            case VIA: return "For services, an intermediate location that specifies a path between origin an destination.";
588            case PRF: return "Definition: A person, non-person living subject, organization or device that who actually and principally carries out the action. Device should only be assigned as a performer in circumstances where the device is performing independent of human intervention.  Need not be the principal responsible actor.\r\n\n                        \n                           Exampe: A surgery resident operating under supervision of attending surgeon, a search and rescue dog locating survivors, an electronic laboratory analyzer or the laboratory discipline requested to perform a laboratory test. The performer may also be the patient in self-care, e.g. fingerstick blood sugar. The traditional order filler is a performer. This information should accompany every service event.\r\n\n                        \n                           Note: that existing HL7 designs assign an organization as the playing entity of the Role that is the performer.  These designs should be revised in subsequent releases to make this the scooping entity for the role involved.";
589            case DIST: return "Distributes material used in or generated during the act.";
590            case PPRF: return "The principal or primary performer of the act.";
591            case SPRF: return "A person assisting in an act through his substantial presence and involvement   This includes: assistants, technicians, associates, or whatever the job titles may be.";
592            case RESP: return "The person or organization that has primary responsibility for the act.  The responsible party is not necessarily present in an action, but is accountable for the action through the power to delegate, and the duty to review actions with the performing actor after the fact.  This responsibility may be ethical, legal, contractual, fiscal, or fiduciary in nature.\r\n\n                        \n                           Example: A person who is the head of a biochemical laboratory; a sponsor for a policy or government program.";
593            case VRF: return "A person who verifies the correctness and appropriateness of the service (plan, order, event, etc.) and hence takes on accountability.";
594            case AUTHEN: return "A verifier who attests to the accuracy of an act, but who does not have privileges to legally authenticate the act. An example would be a resident physician who sees a patient and dictates a note, then later signs it. Their signature constitutes an authentication.";
595            case LA: return "A verifier who legally authenticates the accuracy of an act. An example would be a staff physician who sees a patient and dictates a note, then later signs it. Their signature constitutes a legal authentication.";
596            default: return "?";
597          }
598        }
599        public String getDisplay() {
600          switch (this) {
601            case PART: return "Participation";
602            case _PARTICIPATIONANCILLARY: return "ParticipationAncillary";
603            case ADM: return "admitter";
604            case ATND: return "attender";
605            case CALLBCK: return "callback contact";
606            case CON: return "consultant";
607            case DIS: return "discharger";
608            case ESC: return "escort";
609            case REF: return "referrer";
610            case _PARTICIPATIONINFORMATIONGENERATOR: return "ParticipationInformationGenerator";
611            case AUT: return "author (originator)";
612            case INF: return "informant";
613            case TRANS: return "Transcriber";
614            case ENT: return "data entry person";
615            case WIT: return "witness";
616            case CST: return "custodian";
617            case DIR: return "direct target";
618            case ALY: return "analyte";
619            case BBY: return "baby";
620            case CAT: return "catalyst";
621            case CSM: return "consumable";
622            case TPA: return "therapeutic agent";
623            case DEV: return "device";
624            case NRD: return "non-reuseable device";
625            case RDV: return "reusable device";
626            case DON: return "donor";
627            case EXPAGNT: return "ExposureAgent";
628            case EXPART: return "ExposureParticipation";
629            case EXPTRGT: return "ExposureTarget";
630            case EXSRC: return "ExposureSource";
631            case PRD: return "product";
632            case SBJ: return "subject";
633            case SPC: return "specimen";
634            case IND: return "indirect target";
635            case BEN: return "beneficiary";
636            case CAGNT: return "causative agent";
637            case COV: return "coverage target";
638            case GUAR: return "guarantor party";
639            case HLD: return "holder";
640            case RCT: return "record target";
641            case RCV: return "receiver";
642            case IRCP: return "information recipient";
643            case NOT: return "ugent notification contact";
644            case PRCP: return "primary information recipient";
645            case REFB: return "Referred By";
646            case REFT: return "Referred to";
647            case TRC: return "tracker";
648            case LOC: return "location";
649            case DST: return "destination";
650            case ELOC: return "entry location";
651            case ORG: return "origin";
652            case RML: return "remote";
653            case VIA: return "via";
654            case PRF: return "performer";
655            case DIST: return "distributor";
656            case PPRF: return "primary performer";
657            case SPRF: return "secondary performer";
658            case RESP: return "responsible party";
659            case VRF: return "verifier";
660            case AUTHEN: return "authenticator";
661            case LA: return "legal authenticator";
662            default: return "?";
663          }
664    }
665
666
667}
668