001package org.hl7.fhir.instance.model.valuesets;
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 Wed, Nov 11, 2015 10:54-0500 for FHIR v1.0.2
033
034
035public enum V3ParticipationType {
036
037        /**
038         * Indicates that the target of the participation is involved in some manner in the act, but does not qualify how.
039         */
040        PART, 
041        /**
042         * 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.
043         */
044        _PARTICIPATIONANCILLARY, 
045        /**
046         * The practitioner who is responsible for admitting a patient to a patient encounter.
047         */
048        ADM, 
049        /**
050         * The practitioner that has responsibility for overseeing a patient's care during a patient encounter.
051         */
052        ATND, 
053        /**
054         * A person or organization who should be contacted for follow-up questions about the act in place of the author.
055         */
056        CALLBCK, 
057        /**
058         * An advisor participating in the service by performing evaluations and making recommendations.
059         */
060        CON, 
061        /**
062         * The practitioner who is responsible for the discharge of a patient from a patient encounter.
063         */
064        DIS, 
065        /**
066         * Only with Transportation services.  A person who escorts the patient.
067         */
068        ESC, 
069        /**
070         * A person having referred the subject of the service to the performer (referring physician).  Typically, a referring physician will receive a report.
071         */
072        REF, 
073        /**
074         * 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).
075         */
076        _PARTICIPATIONINFORMATIONGENERATOR, 
077        /**
078         * Definition: A party that originates the Act and therefore has responsibility for the information given in the Act and ownership of this Act.
079
080                        
081                           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. 
082
083                        Examples of such policies might include:
084
085                        
086                           
087                              The author and anyone they explicitly delegate may update the report;
088
089                           
090                           
091                              All administrators within the same clinic may cancel and reschedule appointments created by other administrators within that clinic;
092
093                           
094                        
095                        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.
096         */
097        AUT, 
098        /**
099         * 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.
100         */
101        INF, 
102        /**
103         * 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.
104         */
105        TRANS, 
106        /**
107         * 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.
108         */
109        ENT, 
110        /**
111         * 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.
112         */
113        WIT, 
114        /**
115         * 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.).
116         */
117        CST, 
118        /**
119         * Target participant  that is substantially present in the act  and which is directly involved in the action (includes consumed material, devices, etc.).
120         */
121        DIR, 
122        /**
123         * 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.
124
125                        
126                           Examples: A "plasma porcelain substance concentration" has analyte a Role with player substance Entity "porcelain".
127
128                        
129                           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".
130         */
131        ALY, 
132        /**
133         * In an obstetric service, the baby.
134         */
135        BBY, 
136        /**
137         * The catalyst of a chemical reaction, such as an enzyme or a platinum surface. In biochemical reactions, connects the enzyme with the molecular interaction
138         */
139        CAT, 
140        /**
141         * Participant material that is taken up, diminished, altered, or disappears in the act.
142         */
143        CSM, 
144        /**
145         * 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.
146         */
147        TPA, 
148        /**
149         * Participant used in performing the act without being substantially affected by the act (i.e. durable or inert with respect to that particular service).
150
151                        
152                           Examples: monitoring equipment, tools, but also access/drainage lines, prostheses, pace maker, etc.
153         */
154        DEV, 
155        /**
156         * 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.
157         */
158        NRD, 
159        /**
160         * 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.
161         */
162        RDV, 
163        /**
164         * 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.
165         */
166        DON, 
167        /**
168         * 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.
169         */
170        EXPAGNT, 
171        /**
172         * 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.
173         */
174        EXPART, 
175        /**
176         * Description: The entity playing the associated role is the target (contact) of exposure.
177         */
178        EXPTRGT, 
179        /**
180         * Description:The entity playing the associated role is the source of exposure.
181         */
182        EXSRC, 
183        /**
184         * 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).
185         */
186        PRD, 
187        /**
188         * The principle target on which the action happens.
189
190                        
191                           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). 
192
193                        
194                           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.
195         */
196        SBJ, 
197        /**
198         * The subject of non-clinical (e.g. laboratory) observation services is a specimen.
199         */
200        SPC, 
201        /**
202         * 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.
203         */
204        IND, 
205        /**
206         * 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.
207
208                        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.
209         */
210        BEN, 
211        /**
212         * 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.
213
214                        Constraint:  The use of this participation is limited to observations.
215         */
216        CAGNT, 
217        /**
218         * 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.
219         */
220        COV, 
221        /**
222         * 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
223
224                        
225                           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.
226         */
227        GUAR, 
228        /**
229         * Participant who posses an instrument such as a financial contract (insurance policy) usually based on some agreement with the author.
230         */
231        HLD, 
232        /**
233         * 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.
234         */
235        RCT, 
236        /**
237         * The person (or organization) who receives the product of an Act.
238         */
239        RCV, 
240        /**
241         * 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.
242         */
243        IRCP, 
244        /**
245         * 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).
246         */
247        NOT, 
248        /**
249         * 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.
250         */
251        PRCP, 
252        /**
253         * A participant (e.g. provider) who has referred the subject of an act (e.g. patient).
254
255                        Typically, a referred by participant will provide a report (e.g. referral).
256         */
257        REFB, 
258        /**
259         * The person who receives the patient
260         */
261        REFT, 
262        /**
263         * A secondary information recipient, who receives copies (e.g. a primary care provider receiving copies of results as ordered by specialist).
264         */
265        TRC, 
266        /**
267         * 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.)
268         */
269        LOC, 
270        /**
271         * The destination for services.  May be a static building (or room therein) or a movable facility (e.g. ship).
272         */
273        DST, 
274        /**
275         * A location where data about an Act was entered.
276         */
277        ELOC, 
278        /**
279         * The location of origin for services.  May be a static building (or room therein) or a movable facility (e.g. ship).
280         */
281        ORG, 
282        /**
283         * 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."
284         */
285        RML, 
286        /**
287         * For services, an intermediate location that specifies a path between origin an destination.
288         */
289        VIA, 
290        /**
291         * 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.
292
293                        
294                           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.
295
296                        
297                           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.
298         */
299        PRF, 
300        /**
301         * Distributes material used in or generated during the act.
302         */
303        DIST, 
304        /**
305         * The principal or primary performer of the act.
306         */
307        PPRF, 
308        /**
309         * A person assisting in an act through his substantial presence and involvement   This includes: assistants, technicians, associates, or whatever the job titles may be.
310         */
311        SPRF, 
312        /**
313         * 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.
314
315                        
316                           Example: A person who is the head of a biochemical laboratory; a sponsor for a policy or government program.
317         */
318        RESP, 
319        /**
320         * A person who verifies the correctness and appropriateness of the service (plan, order, event, etc.) and hence takes on accountability.
321         */
322        VRF, 
323        /**
324         * 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.
325         */
326        AUTHEN, 
327        /**
328         * 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.
329         */
330        LA, 
331        /**
332         * added to help the parsers
333         */
334        NULL;
335        public static V3ParticipationType fromCode(String codeString) throws Exception {
336            if (codeString == null || "".equals(codeString))
337                return null;
338        if ("PART".equals(codeString))
339          return PART;
340        if ("_ParticipationAncillary".equals(codeString))
341          return _PARTICIPATIONANCILLARY;
342        if ("ADM".equals(codeString))
343          return ADM;
344        if ("ATND".equals(codeString))
345          return ATND;
346        if ("CALLBCK".equals(codeString))
347          return CALLBCK;
348        if ("CON".equals(codeString))
349          return CON;
350        if ("DIS".equals(codeString))
351          return DIS;
352        if ("ESC".equals(codeString))
353          return ESC;
354        if ("REF".equals(codeString))
355          return REF;
356        if ("_ParticipationInformationGenerator".equals(codeString))
357          return _PARTICIPATIONINFORMATIONGENERATOR;
358        if ("AUT".equals(codeString))
359          return AUT;
360        if ("INF".equals(codeString))
361          return INF;
362        if ("TRANS".equals(codeString))
363          return TRANS;
364        if ("ENT".equals(codeString))
365          return ENT;
366        if ("WIT".equals(codeString))
367          return WIT;
368        if ("CST".equals(codeString))
369          return CST;
370        if ("DIR".equals(codeString))
371          return DIR;
372        if ("ALY".equals(codeString))
373          return ALY;
374        if ("BBY".equals(codeString))
375          return BBY;
376        if ("CAT".equals(codeString))
377          return CAT;
378        if ("CSM".equals(codeString))
379          return CSM;
380        if ("TPA".equals(codeString))
381          return TPA;
382        if ("DEV".equals(codeString))
383          return DEV;
384        if ("NRD".equals(codeString))
385          return NRD;
386        if ("RDV".equals(codeString))
387          return RDV;
388        if ("DON".equals(codeString))
389          return DON;
390        if ("EXPAGNT".equals(codeString))
391          return EXPAGNT;
392        if ("EXPART".equals(codeString))
393          return EXPART;
394        if ("EXPTRGT".equals(codeString))
395          return EXPTRGT;
396        if ("EXSRC".equals(codeString))
397          return EXSRC;
398        if ("PRD".equals(codeString))
399          return PRD;
400        if ("SBJ".equals(codeString))
401          return SBJ;
402        if ("SPC".equals(codeString))
403          return SPC;
404        if ("IND".equals(codeString))
405          return IND;
406        if ("BEN".equals(codeString))
407          return BEN;
408        if ("CAGNT".equals(codeString))
409          return CAGNT;
410        if ("COV".equals(codeString))
411          return COV;
412        if ("GUAR".equals(codeString))
413          return GUAR;
414        if ("HLD".equals(codeString))
415          return HLD;
416        if ("RCT".equals(codeString))
417          return RCT;
418        if ("RCV".equals(codeString))
419          return RCV;
420        if ("IRCP".equals(codeString))
421          return IRCP;
422        if ("NOT".equals(codeString))
423          return NOT;
424        if ("PRCP".equals(codeString))
425          return PRCP;
426        if ("REFB".equals(codeString))
427          return REFB;
428        if ("REFT".equals(codeString))
429          return REFT;
430        if ("TRC".equals(codeString))
431          return TRC;
432        if ("LOC".equals(codeString))
433          return LOC;
434        if ("DST".equals(codeString))
435          return DST;
436        if ("ELOC".equals(codeString))
437          return ELOC;
438        if ("ORG".equals(codeString))
439          return ORG;
440        if ("RML".equals(codeString))
441          return RML;
442        if ("VIA".equals(codeString))
443          return VIA;
444        if ("PRF".equals(codeString))
445          return PRF;
446        if ("DIST".equals(codeString))
447          return DIST;
448        if ("PPRF".equals(codeString))
449          return PPRF;
450        if ("SPRF".equals(codeString))
451          return SPRF;
452        if ("RESP".equals(codeString))
453          return RESP;
454        if ("VRF".equals(codeString))
455          return VRF;
456        if ("AUTHEN".equals(codeString))
457          return AUTHEN;
458        if ("LA".equals(codeString))
459          return LA;
460        throw new Exception("Unknown V3ParticipationType code '"+codeString+"'");
461        }
462        public String toCode() {
463          switch (this) {
464            case PART: return "PART";
465            case _PARTICIPATIONANCILLARY: return "_ParticipationAncillary";
466            case ADM: return "ADM";
467            case ATND: return "ATND";
468            case CALLBCK: return "CALLBCK";
469            case CON: return "CON";
470            case DIS: return "DIS";
471            case ESC: return "ESC";
472            case REF: return "REF";
473            case _PARTICIPATIONINFORMATIONGENERATOR: return "_ParticipationInformationGenerator";
474            case AUT: return "AUT";
475            case INF: return "INF";
476            case TRANS: return "TRANS";
477            case ENT: return "ENT";
478            case WIT: return "WIT";
479            case CST: return "CST";
480            case DIR: return "DIR";
481            case ALY: return "ALY";
482            case BBY: return "BBY";
483            case CAT: return "CAT";
484            case CSM: return "CSM";
485            case TPA: return "TPA";
486            case DEV: return "DEV";
487            case NRD: return "NRD";
488            case RDV: return "RDV";
489            case DON: return "DON";
490            case EXPAGNT: return "EXPAGNT";
491            case EXPART: return "EXPART";
492            case EXPTRGT: return "EXPTRGT";
493            case EXSRC: return "EXSRC";
494            case PRD: return "PRD";
495            case SBJ: return "SBJ";
496            case SPC: return "SPC";
497            case IND: return "IND";
498            case BEN: return "BEN";
499            case CAGNT: return "CAGNT";
500            case COV: return "COV";
501            case GUAR: return "GUAR";
502            case HLD: return "HLD";
503            case RCT: return "RCT";
504            case RCV: return "RCV";
505            case IRCP: return "IRCP";
506            case NOT: return "NOT";
507            case PRCP: return "PRCP";
508            case REFB: return "REFB";
509            case REFT: return "REFT";
510            case TRC: return "TRC";
511            case LOC: return "LOC";
512            case DST: return "DST";
513            case ELOC: return "ELOC";
514            case ORG: return "ORG";
515            case RML: return "RML";
516            case VIA: return "VIA";
517            case PRF: return "PRF";
518            case DIST: return "DIST";
519            case PPRF: return "PPRF";
520            case SPRF: return "SPRF";
521            case RESP: return "RESP";
522            case VRF: return "VRF";
523            case AUTHEN: return "AUTHEN";
524            case LA: return "LA";
525            default: return "?";
526          }
527        }
528        public String getSystem() {
529          return "http://hl7.org/fhir/v3/ParticipationType";
530        }
531        public String getDefinition() {
532          switch (this) {
533            case PART: return "Indicates that the target of the participation is involved in some manner in the act, but does not qualify how.";
534            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.";
535            case ADM: return "The practitioner who is responsible for admitting a patient to a patient encounter.";
536            case ATND: return "The practitioner that has responsibility for overseeing a patient's care during a patient encounter.";
537            case CALLBCK: return "A person or organization who should be contacted for follow-up questions about the act in place of the author.";
538            case CON: return "An advisor participating in the service by performing evaluations and making recommendations.";
539            case DIS: return "The practitioner who is responsible for the discharge of a patient from a patient encounter.";
540            case ESC: return "Only with Transportation services.  A person who escorts the patient.";
541            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.";
542            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).";
543            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.";
544            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.";
545            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.";
546            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.";
547            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.";
548            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.).";
549            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.).";
550            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\".";
551            case BBY: return "In an obstetric service, the baby.";
552            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";
553            case CSM: return "Participant material that is taken up, diminished, altered, or disappears in the act.";
554            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.";
555            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.";
556            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.";
557            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.";
558            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.";
559            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.";
560            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.";
561            case EXPTRGT: return "Description: The entity playing the associated role is the target (contact) of exposure.";
562            case EXSRC: return "Description:The entity playing the associated role is the source of exposure.";
563            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).";
564            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.";
565            case SPC: return "The subject of non-clinical (e.g. laboratory) observation services is a specimen.";
566            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.";
567            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.";
568            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.";
569            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.";
570            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.";
571            case HLD: return "Participant who posses an instrument such as a financial contract (insurance policy) usually based on some agreement with the author.";
572            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.";
573            case RCV: return "The person (or organization) who receives the product of an Act.";
574            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.";
575            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).";
576            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.";
577            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).";
578            case REFT: return "The person who receives the patient";
579            case TRC: return "A secondary information recipient, who receives copies (e.g. a primary care provider receiving copies of results as ordered by specialist).";
580            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.)";
581            case DST: return "The destination for services.  May be a static building (or room therein) or a movable facility (e.g. ship).";
582            case ELOC: return "A location where data about an Act was entered.";
583            case ORG: return "The location of origin for services.  May be a static building (or room therein) or a movable facility (e.g. ship).";
584            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.\"";
585            case VIA: return "For services, an intermediate location that specifies a path between origin an destination.";
586            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.";
587            case DIST: return "Distributes material used in or generated during the act.";
588            case PPRF: return "The principal or primary performer of the act.";
589            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.";
590            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.";
591            case VRF: return "A person who verifies the correctness and appropriateness of the service (plan, order, event, etc.) and hence takes on accountability.";
592            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.";
593            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.";
594            default: return "?";
595          }
596        }
597        public String getDisplay() {
598          switch (this) {
599            case PART: return "Participation";
600            case _PARTICIPATIONANCILLARY: return "ParticipationAncillary";
601            case ADM: return "admitter";
602            case ATND: return "attender";
603            case CALLBCK: return "callback contact";
604            case CON: return "consultant";
605            case DIS: return "discharger";
606            case ESC: return "escort";
607            case REF: return "referrer";
608            case _PARTICIPATIONINFORMATIONGENERATOR: return "ParticipationInformationGenerator";
609            case AUT: return "author (originator)";
610            case INF: return "informant";
611            case TRANS: return "Transcriber";
612            case ENT: return "data entry person";
613            case WIT: return "witness";
614            case CST: return "custodian";
615            case DIR: return "direct target";
616            case ALY: return "analyte";
617            case BBY: return "baby";
618            case CAT: return "catalyst";
619            case CSM: return "consumable";
620            case TPA: return "therapeutic agent";
621            case DEV: return "device";
622            case NRD: return "non-reuseable device";
623            case RDV: return "reusable device";
624            case DON: return "donor";
625            case EXPAGNT: return "ExposureAgent";
626            case EXPART: return "ExposureParticipation";
627            case EXPTRGT: return "ExposureTarget";
628            case EXSRC: return "ExposureSource";
629            case PRD: return "product";
630            case SBJ: return "subject";
631            case SPC: return "specimen";
632            case IND: return "indirect target";
633            case BEN: return "beneficiary";
634            case CAGNT: return "causative agent";
635            case COV: return "coverage target";
636            case GUAR: return "guarantor party";
637            case HLD: return "holder";
638            case RCT: return "record target";
639            case RCV: return "receiver";
640            case IRCP: return "information recipient";
641            case NOT: return "ugent notification contact";
642            case PRCP: return "primary information recipient";
643            case REFB: return "Referred By";
644            case REFT: return "Referred to";
645            case TRC: return "tracker";
646            case LOC: return "location";
647            case DST: return "destination";
648            case ELOC: return "entry location";
649            case ORG: return "origin";
650            case RML: return "remote";
651            case VIA: return "via";
652            case PRF: return "performer";
653            case DIST: return "distributor";
654            case PPRF: return "primary performer";
655            case SPRF: return "secondary performer";
656            case RESP: return "responsible party";
657            case VRF: return "verifier";
658            case AUTHEN: return "authenticator";
659            case LA: return "legal authenticator";
660            default: return "?";
661          }
662    }
663
664
665}
666