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