001package org.hl7.fhir.r4.model.codesystems;
002
003/*
004  Copyright (c) 2011+, HL7, Inc.
005  All rights reserved.
006  
007  Redistribution and use in source and binary forms, with or without modification, 
008  are permitted provided that the following conditions are met:
009  
010   * Redistributions of source code must retain the above copyright notice, this 
011     list of conditions and the following disclaimer.
012   * Redistributions in binary form must reproduce the above copyright notice, 
013     this list of conditions and the following disclaimer in the documentation 
014     and/or other materials provided with the distribution.
015   * Neither the name of HL7 nor the names of its contributors may be used to 
016     endorse or promote products derived from this software without specific 
017     prior written permission.
018  
019  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
020  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
021  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 
022  IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
023  INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
024  NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 
025  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
026  WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
027  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
028  POSSIBILITY OF SUCH DAMAGE.
029  
030*/
031
032// Generated on Wed, Jan 30, 2019 16:19-0500 for FHIR v4.0.0
033
034import org.hl7.fhir.exceptions.FHIRException;
035
036public enum V3ParticipationFunction {
037
038  /**
039   * This code is used to specify the exact function an actor is authorized to
040   * have in a service in all necessary detail.
041   */
042  _AUTHORIZEDPARTICIPATIONFUNCTION,
043  /**
044   * This code is used to specify the exact function an actor is authorized to
045   * have as a receiver of information that is the subject of a consent directive
046   * or consent override.
047   */
048  _AUTHORIZEDRECEIVERPARTICIPATIONFUNCTION,
049  /**
050   * Description:Caregiver authorized to receive patient health information.
051   */
052  AUCG,
053  /**
054   * Description:Provider with legitimate relationship authorized to receive
055   * patient health information.
056   */
057  AULR,
058  /**
059   * Description:Member of care team authorized to receive patient health
060   * information.
061   */
062  AUTM,
063  /**
064   * Description:Entities within specified work area authorized to receive patient
065   * health information.
066   */
067  AUWA,
068  /**
069   * This code is used to specify the exact function an actor is authorized to
070   * have in authoring a consent directive.
071   */
072  _CONSENTERPARTICIPATIONFUNCTION,
073  /**
074   * Description:Legal guardian of the subject of consent authorized to author a
075   * consent directive for the subject of consent.
076   */
077  GRDCON,
078  /**
079   * Description:Person authorized with healthcare power of attorney to author a
080   * consent directive for the subject of consent.
081   */
082  POACON,
083  /**
084   * Description:Personal representative of the subject of consent authorized to
085   * author a consent directive for the subject of consent.
086   */
087  PRCON,
088  /**
089   * Definition:Provider authorized to mask information to protect the patient, a
090   * third party, or to ensure that the provider has consulted with the patient
091   * prior to release of this information.
092   */
093  PROMSK,
094  /**
095   * Description:Subject of consent authorized to author a consent directive.
096   */
097  SUBCON,
098  /**
099   * This code is used to specify the exact function an actor is authorized to
100   * have in authoring a consent override.
101   */
102  _OVERRIDERPARTICIPATIONFUNCTION,
103  /**
104   * Description:Entity authorized to override a consent directive.
105   */
106  AUCOV,
107  /**
108   * Description:Entity authorized to override a consent directive or privacy
109   * policy in an emergency.
110   */
111  AUEMROV,
112  /**
113   * Definition: Set of codes indicating the manner in which sponsors,
114   * underwriters, and payers participate in a policy or program.
115   */
116  _COVERAGEPARTICIPATIONFUNCTION,
117  /**
118   * Definition: Set of codes indicating the manner in which payors participate in
119   * a policy or program.</
120   */
121  _PAYORPARTICIPATIONFUNCTION,
122  /**
123   * Definition: Manages all operations required to adjudicate fee for service
124   * claims or managed care encounter reports.
125   */
126  CLMADJ,
127  /**
128   * Definition: Managing the enrollment of covered parties.
129   */
130  ENROLL,
131  /**
132   * Definition: Managing all operations required to administer a fee for service
133   * or indemnity health plan including enrolling covered parties and providing
134   * customer service, provider contracting, claims payment, care management and
135   * utilization review.
136   */
137  FFSMGT,
138  /**
139   * Definition: Managing all operations required to administer a managed care
140   * plan including enrolling covered parties and providing customer service,,
141   * provider contracting, claims payment, care management and utilization review.
142   */
143  MCMGT,
144  /**
145   * Definition: Managing provider contracting, provider services, credentialing,
146   * profiling, performance measures, and ensuring network adequacy.
147   */
148  PROVMGT,
149  /**
150   * Definition: Managing utilization of services by ensuring that providers
151   * adhere to, e.g., payeraTMs clinical protocols for medical appropriateness and
152   * standards of medical necessity. May include management of authorizations for
153   * services and referrals.
154   */
155  UMGT,
156  /**
157   * Definition: Set of codes indicating the manner in which sponsors participate
158   * in a policy or program. NOTE: use only when the Sponsor is not further
159   * specified with a SponsorRoleType as being either a fully insured sponsor or a
160   * self insured sponsor.
161   */
162  _SPONSORPARTICIPATIONFUNCTION,
163  /**
164   * Definition: Responsibility taken by a sponsor to contract with one or more
165   * underwriters for the assumption of full responsibility for the risk and
166   * administration of a policy or program.
167   */
168  FULINRD,
169  /**
170   * Definition: Responsibility taken by a sponsor to organize the underwriting of
171   * risk and administration of a policy or program.
172   */
173  SELFINRD,
174  /**
175   * Definition: Set of codes indicating the manner in which underwriters
176   * participate in a policy or program.
177   */
178  _UNDERWRITERPARTICIPATIONFUNCTION,
179  /**
180   * Definition: Contracting for the provision and administration of health
181   * services to payors while retaining the risk for coverage. Contracting may be
182   * for all provision and administration; or for provision of certain types of
183   * services; for provision of services by region; and by types of
184   * administration, e.g., claims adjudication, enrollment, provider management,
185   * and utilization management. Typically done by underwriters for sponsors who
186   * need coverage provided to covered parties in multiple regions. The
187   * underwriter may act as the payor in some, but not all of the regions in which
188   * coverage is provided.
189   */
190  PAYORCNTR,
191  /**
192   * Definition: Underwriting reinsurance for another underwriter for the policy
193   * or program.
194   */
195  REINS,
196  /**
197   * Definition: Underwriting reinsurance for another reinsurer.
198   */
199  RETROCES,
200  /**
201   * Definition: Delegating risk for a policy or program to one or more
202   * subcontracting underwriters, e.g., a major health insurer may delegate risk
203   * for provision of coverage under a national health plan to other underwriters
204   * by region .
205   */
206  SUBCTRT,
207  /**
208   * Definition: Provision of underwriting analysis for another underwriter
209   * without assumption of risk.
210   */
211  UNDERWRTNG,
212  /**
213   * A physician who admitted a patient to a hospital or other care unit that is
214   * the context of this service.
215   */
216  ADMPHYS,
217  /**
218   * In a typical anesthesia setting an anesthesiologist or anesthesia resident in
219   * charge of the anesthesia and life support, but only a witness to the surgical
220   * procedure itself. To clarify responsibilities anesthesia should always be
221   * represented as a separate service related to the surgery.
222   */
223  ANEST,
224  /**
225   * In a typical anesthesia setting the nurse principally assisting the
226   * anesthesiologist during the critical periods.
227   */
228  ANRS,
229  /**
230   * A device that operates independently of an author on custodian's algorithms
231   * for data extraction of existing information for purpose of generating a new
232   * artifact. UsageConstraint: ASSEMBLER ParticipationFunction should be used
233   * with DEV (device) ParticipationType.
234   */
235  ASSEMBLER,
236  /**
237   * A physician who is primarily responsible for a patient during the
238   * hospitalization, which is the context of the service.
239   */
240  ATTPHYS,
241  /**
242   * A device used by an author to record new information, which may also be used
243   * by the author to select existing information for aggregation with newly
244   * recorded information for the purpose of generating a new artifact.
245   * UsageConstraint: COMPOSER ParticipationFunction should be used with DEV
246   * (device) ParticipationType.
247   * 
248   * 
249   * Usage Note: This code will enable implementers to more specifically represent
250   * the manner in which a Device participated in and facilitated the generation
251   * of a CDA Clinical Document or a CDA Entry by the responsible Author, which is
252   * comprised of the Author's newly entered content, and may include the
253   * pre-existing content selected by the Author, for the purpose of establishing
254   * the provenance and accountability for these acts.
255   */
256  COMPOSER,
257  /**
258   * A physician who discharged a patient from a hospital or other care unit that
259   * is the context of this service.
260   */
261  DISPHYS,
262  /**
263   * In a typical surgery setting the assistant facing the primary surgeon. The
264   * first assistant performs parts of the operation and assists in others (e.g.,
265   * incision, approach, electrocoutering, ligatures, sutures).
266   */
267  FASST,
268  /**
269   * A person (usually female) helping a woman deliver a baby. Responsibilities
270   * vary locally, ranging from a mere optional assistant to a full required
271   * participant, responsible for (normal) births and pre- and post-natal care for
272   * both mother and baby.
273   */
274  MDWF,
275  /**
276   * In a typical surgery setting the non-sterile nurse handles material supply
277   * from the stock, forwards specimen to pathology, and helps with other
278   * non-sterile tasks (e.g., phone calls, etc.).
279   */
280  NASST,
281  /**
282   * The healthcare provider that holds primary responsibility for the overall
283   * care of a patient.
284   */
285  PCP,
286  /**
287   * In a typical surgery setting the primary performing surgeon.
288   */
289  PRISURG,
290  /**
291   * A verifier who is accountable for reviewing and asserting that the
292   * verification of an Act complies with jurisdictional or organizational policy.
293   * 
294   * 
295   * UsageConstraint: UsageConstraint: Specifies the exact function that an actor
296   * is authorized to have as a verifier of an Act. Connotes that a specialized
297   * verifier asserts compliance for veracity of the review per jurisdictional or
298   * organizational policy. E.g., The Provider who takes responsibility for
299   * authenticity of a record submitted to a payer.
300   * 
301   * REVIEW ParticipationFunction should be used with VFR (verifier)
302   */
303  REVIEWER,
304  /**
305   * A physician who made rounds on a patient in a hospital or other care center.
306   */
307  RNDPHYS,
308  /**
309   * In a typical surgery setting the assistant who primarily holds the hooks.
310   */
311  SASST,
312  /**
313   * In a typical surgery setting the nurse in charge of the instrumentation.
314   */
315  SNRS,
316  /**
317   * In a typical surgery setting there is rarely a third assistant (e.g., in some
318   * Hip operations the third assistant postures the affected leg).
319   */
320  TASST,
321  /**
322   * added to help the parsers
323   */
324  NULL;
325
326  public static V3ParticipationFunction fromCode(String codeString) throws FHIRException {
327    if (codeString == null || "".equals(codeString))
328      return null;
329    if ("_AuthorizedParticipationFunction".equals(codeString))
330      return _AUTHORIZEDPARTICIPATIONFUNCTION;
331    if ("_AuthorizedReceiverParticipationFunction".equals(codeString))
332      return _AUTHORIZEDRECEIVERPARTICIPATIONFUNCTION;
333    if ("AUCG".equals(codeString))
334      return AUCG;
335    if ("AULR".equals(codeString))
336      return AULR;
337    if ("AUTM".equals(codeString))
338      return AUTM;
339    if ("AUWA".equals(codeString))
340      return AUWA;
341    if ("_ConsenterParticipationFunction".equals(codeString))
342      return _CONSENTERPARTICIPATIONFUNCTION;
343    if ("GRDCON".equals(codeString))
344      return GRDCON;
345    if ("POACON".equals(codeString))
346      return POACON;
347    if ("PRCON".equals(codeString))
348      return PRCON;
349    if ("PROMSK".equals(codeString))
350      return PROMSK;
351    if ("SUBCON".equals(codeString))
352      return SUBCON;
353    if ("_OverriderParticipationFunction".equals(codeString))
354      return _OVERRIDERPARTICIPATIONFUNCTION;
355    if ("AUCOV".equals(codeString))
356      return AUCOV;
357    if ("AUEMROV".equals(codeString))
358      return AUEMROV;
359    if ("_CoverageParticipationFunction".equals(codeString))
360      return _COVERAGEPARTICIPATIONFUNCTION;
361    if ("_PayorParticipationFunction".equals(codeString))
362      return _PAYORPARTICIPATIONFUNCTION;
363    if ("CLMADJ".equals(codeString))
364      return CLMADJ;
365    if ("ENROLL".equals(codeString))
366      return ENROLL;
367    if ("FFSMGT".equals(codeString))
368      return FFSMGT;
369    if ("MCMGT".equals(codeString))
370      return MCMGT;
371    if ("PROVMGT".equals(codeString))
372      return PROVMGT;
373    if ("UMGT".equals(codeString))
374      return UMGT;
375    if ("_SponsorParticipationFunction".equals(codeString))
376      return _SPONSORPARTICIPATIONFUNCTION;
377    if ("FULINRD".equals(codeString))
378      return FULINRD;
379    if ("SELFINRD".equals(codeString))
380      return SELFINRD;
381    if ("_UnderwriterParticipationFunction".equals(codeString))
382      return _UNDERWRITERPARTICIPATIONFUNCTION;
383    if ("PAYORCNTR".equals(codeString))
384      return PAYORCNTR;
385    if ("REINS".equals(codeString))
386      return REINS;
387    if ("RETROCES".equals(codeString))
388      return RETROCES;
389    if ("SUBCTRT".equals(codeString))
390      return SUBCTRT;
391    if ("UNDERWRTNG".equals(codeString))
392      return UNDERWRTNG;
393    if ("ADMPHYS".equals(codeString))
394      return ADMPHYS;
395    if ("ANEST".equals(codeString))
396      return ANEST;
397    if ("ANRS".equals(codeString))
398      return ANRS;
399    if ("ASSEMBLER".equals(codeString))
400      return ASSEMBLER;
401    if ("ATTPHYS".equals(codeString))
402      return ATTPHYS;
403    if ("COMPOSER".equals(codeString))
404      return COMPOSER;
405    if ("DISPHYS".equals(codeString))
406      return DISPHYS;
407    if ("FASST".equals(codeString))
408      return FASST;
409    if ("MDWF".equals(codeString))
410      return MDWF;
411    if ("NASST".equals(codeString))
412      return NASST;
413    if ("PCP".equals(codeString))
414      return PCP;
415    if ("PRISURG".equals(codeString))
416      return PRISURG;
417    if ("REVIEWER".equals(codeString))
418      return REVIEWER;
419    if ("RNDPHYS".equals(codeString))
420      return RNDPHYS;
421    if ("SASST".equals(codeString))
422      return SASST;
423    if ("SNRS".equals(codeString))
424      return SNRS;
425    if ("TASST".equals(codeString))
426      return TASST;
427    throw new FHIRException("Unknown V3ParticipationFunction code '" + codeString + "'");
428  }
429
430  public String toCode() {
431    switch (this) {
432    case _AUTHORIZEDPARTICIPATIONFUNCTION:
433      return "_AuthorizedParticipationFunction";
434    case _AUTHORIZEDRECEIVERPARTICIPATIONFUNCTION:
435      return "_AuthorizedReceiverParticipationFunction";
436    case AUCG:
437      return "AUCG";
438    case AULR:
439      return "AULR";
440    case AUTM:
441      return "AUTM";
442    case AUWA:
443      return "AUWA";
444    case _CONSENTERPARTICIPATIONFUNCTION:
445      return "_ConsenterParticipationFunction";
446    case GRDCON:
447      return "GRDCON";
448    case POACON:
449      return "POACON";
450    case PRCON:
451      return "PRCON";
452    case PROMSK:
453      return "PROMSK";
454    case SUBCON:
455      return "SUBCON";
456    case _OVERRIDERPARTICIPATIONFUNCTION:
457      return "_OverriderParticipationFunction";
458    case AUCOV:
459      return "AUCOV";
460    case AUEMROV:
461      return "AUEMROV";
462    case _COVERAGEPARTICIPATIONFUNCTION:
463      return "_CoverageParticipationFunction";
464    case _PAYORPARTICIPATIONFUNCTION:
465      return "_PayorParticipationFunction";
466    case CLMADJ:
467      return "CLMADJ";
468    case ENROLL:
469      return "ENROLL";
470    case FFSMGT:
471      return "FFSMGT";
472    case MCMGT:
473      return "MCMGT";
474    case PROVMGT:
475      return "PROVMGT";
476    case UMGT:
477      return "UMGT";
478    case _SPONSORPARTICIPATIONFUNCTION:
479      return "_SponsorParticipationFunction";
480    case FULINRD:
481      return "FULINRD";
482    case SELFINRD:
483      return "SELFINRD";
484    case _UNDERWRITERPARTICIPATIONFUNCTION:
485      return "_UnderwriterParticipationFunction";
486    case PAYORCNTR:
487      return "PAYORCNTR";
488    case REINS:
489      return "REINS";
490    case RETROCES:
491      return "RETROCES";
492    case SUBCTRT:
493      return "SUBCTRT";
494    case UNDERWRTNG:
495      return "UNDERWRTNG";
496    case ADMPHYS:
497      return "ADMPHYS";
498    case ANEST:
499      return "ANEST";
500    case ANRS:
501      return "ANRS";
502    case ASSEMBLER:
503      return "ASSEMBLER";
504    case ATTPHYS:
505      return "ATTPHYS";
506    case COMPOSER:
507      return "COMPOSER";
508    case DISPHYS:
509      return "DISPHYS";
510    case FASST:
511      return "FASST";
512    case MDWF:
513      return "MDWF";
514    case NASST:
515      return "NASST";
516    case PCP:
517      return "PCP";
518    case PRISURG:
519      return "PRISURG";
520    case REVIEWER:
521      return "REVIEWER";
522    case RNDPHYS:
523      return "RNDPHYS";
524    case SASST:
525      return "SASST";
526    case SNRS:
527      return "SNRS";
528    case TASST:
529      return "TASST";
530    case NULL:
531      return null;
532    default:
533      return "?";
534    }
535  }
536
537  public String getSystem() {
538    return "http://terminology.hl7.org/CodeSystem/v3-ParticipationFunction";
539  }
540
541  public String getDefinition() {
542    switch (this) {
543    case _AUTHORIZEDPARTICIPATIONFUNCTION:
544      return "This code is used to specify the exact function an actor is authorized to have in a service in all necessary detail.";
545    case _AUTHORIZEDRECEIVERPARTICIPATIONFUNCTION:
546      return "This code is used to specify the exact function an actor is authorized to have as a receiver of information that is the subject of a consent directive or consent override.";
547    case AUCG:
548      return "Description:Caregiver authorized to receive patient health information.";
549    case AULR:
550      return "Description:Provider with legitimate relationship authorized to receive patient health information.";
551    case AUTM:
552      return "Description:Member of care team authorized to receive patient health information.";
553    case AUWA:
554      return "Description:Entities within specified work area authorized to receive patient health information.";
555    case _CONSENTERPARTICIPATIONFUNCTION:
556      return "This code is used to specify the exact function an actor is authorized to have in authoring a consent directive.";
557    case GRDCON:
558      return "Description:Legal guardian of the subject of consent authorized to author a consent directive for the subject of consent.";
559    case POACON:
560      return "Description:Person authorized with healthcare power of attorney to author a  consent directive for the subject of consent.";
561    case PRCON:
562      return "Description:Personal representative of the subject of consent authorized to author a consent directive for the subject of consent.";
563    case PROMSK:
564      return "Definition:Provider authorized to mask information to protect the patient, a third party, or to ensure that the provider has consulted with the patient prior to release of this information.";
565    case SUBCON:
566      return "Description:Subject of consent authorized to author a consent directive.";
567    case _OVERRIDERPARTICIPATIONFUNCTION:
568      return "This code is used to specify the exact function an actor is authorized to have in authoring a consent override.";
569    case AUCOV:
570      return "Description:Entity authorized to override a consent directive.";
571    case AUEMROV:
572      return "Description:Entity  authorized to override a consent directive or privacy policy in an emergency.";
573    case _COVERAGEPARTICIPATIONFUNCTION:
574      return "Definition: Set of codes indicating the manner in which sponsors, underwriters, and payers participate in a policy or program.";
575    case _PAYORPARTICIPATIONFUNCTION:
576      return "Definition: Set of codes indicating the manner in which payors participate in a policy or program.</";
577    case CLMADJ:
578      return "Definition: Manages all operations required to adjudicate fee for service claims or managed care encounter reports.";
579    case ENROLL:
580      return "Definition: Managing the enrollment of covered parties.";
581    case FFSMGT:
582      return "Definition: Managing all operations required to administer a fee for service or indemnity health plan including enrolling covered parties and providing customer service, provider contracting, claims payment, care management and utilization review.";
583    case MCMGT:
584      return "Definition: Managing all operations required to administer a managed care plan including enrolling covered parties and providing customer service,, provider contracting, claims payment, care management and utilization review.";
585    case PROVMGT:
586      return "Definition: Managing provider contracting, provider services, credentialing, profiling, performance measures, and ensuring network adequacy.";
587    case UMGT:
588      return "Definition: Managing utilization of services by ensuring that providers adhere to, e.g., payeraTMs clinical protocols for medical appropriateness and standards of medical necessity.  May include management of authorizations for services and referrals.";
589    case _SPONSORPARTICIPATIONFUNCTION:
590      return "Definition: Set of codes indicating the manner in which sponsors participate in a policy or program. NOTE: use only when the Sponsor is not further specified with a SponsorRoleType as being either a fully insured sponsor or a self insured sponsor.";
591    case FULINRD:
592      return "Definition: Responsibility taken by a sponsor to contract with one or more underwriters for the assumption of full responsibility for the risk and administration of a policy or program.";
593    case SELFINRD:
594      return "Definition: Responsibility taken by a sponsor to organize the underwriting of risk and administration of a policy or program.";
595    case _UNDERWRITERPARTICIPATIONFUNCTION:
596      return "Definition: Set of codes indicating the manner in which underwriters participate in a policy or program.";
597    case PAYORCNTR:
598      return "Definition: Contracting for the provision and administration of health services to payors while retaining the risk for coverage.  Contracting may be for all provision and administration; or for provision of certain types of services; for provision of services by region; and by types of administration, e.g., claims adjudication, enrollment, provider management, and utilization management.  Typically done by underwriters for sponsors who need coverage provided to covered parties in multiple regions.  The underwriter may act as the payor in some, but not all of the regions in which coverage is provided.";
599    case REINS:
600      return "Definition: Underwriting reinsurance for another underwriter for the policy or program.";
601    case RETROCES:
602      return "Definition: Underwriting reinsurance for another reinsurer.";
603    case SUBCTRT:
604      return "Definition: Delegating risk for a policy or program to one or more subcontracting underwriters, e.g., a major health insurer may delegate risk for provision of coverage under a national health plan to other underwriters by region .";
605    case UNDERWRTNG:
606      return "Definition: Provision of underwriting analysis for another underwriter without assumption of risk.";
607    case ADMPHYS:
608      return "A physician who admitted a patient to a hospital or other care unit that is the context of this service.";
609    case ANEST:
610      return "In a typical anesthesia setting an anesthesiologist or anesthesia resident in charge of the anesthesia and life support, but only a witness to the surgical procedure itself.  To clarify responsibilities anesthesia should always be represented as a separate service related to the surgery.";
611    case ANRS:
612      return "In a typical anesthesia setting the nurse principally assisting the anesthesiologist during the critical periods.";
613    case ASSEMBLER:
614      return "A device that operates independently of an author on custodian's algorithms for data extraction of existing information for purpose of generating a new artifact.\n                           UsageConstraint: ASSEMBLER ParticipationFunction should be used with DEV (device) ParticipationType.";
615    case ATTPHYS:
616      return "A physician who is primarily responsible for a patient during the hospitalization, which is the context of the service.";
617    case COMPOSER:
618      return "A device used by an author to record new information, which may also be used by the author to select existing information for aggregation with newly recorded information for the purpose of generating a new artifact.\n                           UsageConstraint: COMPOSER ParticipationFunction should be used with DEV (device) ParticipationType.\r\n\n                        \n                           Usage Note: This code will enable implementers to more specifically represent the manner in which a Device participated in and facilitated the generation of a CDA Clinical Document or a CDA Entry by the responsible Author, which is comprised of the Author's newly entered content, and may include the pre-existing content selected by the Author, for the purpose of establishing the provenance and accountability for these acts.";
619    case DISPHYS:
620      return "A physician who discharged a patient from a hospital or other care unit that is the context of this service.";
621    case FASST:
622      return "In a typical surgery setting the assistant facing the primary surgeon.  The first assistant performs parts of the operation and assists in others (e.g., incision, approach, electrocoutering, ligatures, sutures).";
623    case MDWF:
624      return "A person (usually female) helping a woman deliver a baby. Responsibilities vary locally, ranging from a mere optional assistant to a full required participant, responsible for (normal) births and pre- and post-natal care for both mother and baby.";
625    case NASST:
626      return "In a typical surgery setting the non-sterile nurse handles material supply from the stock, forwards specimen to pathology, and helps with other non-sterile tasks (e.g., phone calls, etc.).";
627    case PCP:
628      return "The healthcare provider that holds primary responsibility for the overall care of a patient.";
629    case PRISURG:
630      return "In a typical surgery setting the primary performing surgeon.";
631    case REVIEWER:
632      return "A verifier who is accountable for reviewing and asserting that the verification of an Act complies with jurisdictional or organizational policy.\r\n\n                        \n                           UsageConstraint: UsageConstraint:  Specifies the exact function that an actor is authorized to have as a verifier of an Act.  Connotes that a specialized verifier asserts compliance for veracity of the review per jurisdictional or organizational policy.  E.g., The Provider who takes responsibility for authenticity of a record submitted to a payer.\r\n\n                        REVIEW ParticipationFunction should be used with VFR (verifier)";
633    case RNDPHYS:
634      return "A physician who made rounds on a patient in a hospital or other care center.";
635    case SASST:
636      return "In a typical surgery setting the assistant who primarily holds the hooks.";
637    case SNRS:
638      return "In a typical surgery setting the nurse in charge of the instrumentation.";
639    case TASST:
640      return "In a typical surgery setting there is rarely a third assistant (e.g., in some Hip operations the third assistant postures the affected leg).";
641    case NULL:
642      return null;
643    default:
644      return "?";
645    }
646  }
647
648  public String getDisplay() {
649    switch (this) {
650    case _AUTHORIZEDPARTICIPATIONFUNCTION:
651      return "AuthorizedParticipationFunction";
652    case _AUTHORIZEDRECEIVERPARTICIPATIONFUNCTION:
653      return "AuthorizedReceiverParticipationFunction";
654    case AUCG:
655      return "caregiver information receiver";
656    case AULR:
657      return "legitimate relationship information receiver";
658    case AUTM:
659      return "care team information receiver";
660    case AUWA:
661      return "work area information receiver";
662    case _CONSENTERPARTICIPATIONFUNCTION:
663      return "ConsenterParticipationFunction";
664    case GRDCON:
665      return "legal guardian consent author";
666    case POACON:
667      return "healthcare power of attorney consent author";
668    case PRCON:
669      return "personal representative consent author";
670    case PROMSK:
671      return "authorized provider masking author";
672    case SUBCON:
673      return "subject of consent author";
674    case _OVERRIDERPARTICIPATIONFUNCTION:
675      return "OverriderParticipationFunction";
676    case AUCOV:
677      return "consent overrider";
678    case AUEMROV:
679      return "emergency overrider";
680    case _COVERAGEPARTICIPATIONFUNCTION:
681      return "CoverageParticipationFunction";
682    case _PAYORPARTICIPATIONFUNCTION:
683      return "PayorParticipationFunction";
684    case CLMADJ:
685      return "claims adjudication";
686    case ENROLL:
687      return "enrollment broker";
688    case FFSMGT:
689      return "ffs management";
690    case MCMGT:
691      return "managed care management";
692    case PROVMGT:
693      return "provider management";
694    case UMGT:
695      return "utilization management";
696    case _SPONSORPARTICIPATIONFUNCTION:
697      return "SponsorParticipationFunction";
698    case FULINRD:
699      return "fully insured";
700    case SELFINRD:
701      return "self insured";
702    case _UNDERWRITERPARTICIPATIONFUNCTION:
703      return "UnderwriterParticipationFunction";
704    case PAYORCNTR:
705      return "payor contracting";
706    case REINS:
707      return "reinsures";
708    case RETROCES:
709      return "retrocessionaires";
710    case SUBCTRT:
711      return "subcontracting risk";
712    case UNDERWRTNG:
713      return "underwriting";
714    case ADMPHYS:
715      return "admitting physician";
716    case ANEST:
717      return "anesthesist";
718    case ANRS:
719      return "anesthesia nurse";
720    case ASSEMBLER:
721      return "assembly software";
722    case ATTPHYS:
723      return "attending physician";
724    case COMPOSER:
725      return "composer software";
726    case DISPHYS:
727      return "discharging physician";
728    case FASST:
729      return "first assistant surgeon";
730    case MDWF:
731      return "midwife";
732    case NASST:
733      return "nurse assistant";
734    case PCP:
735      return "primary care physician";
736    case PRISURG:
737      return "primary surgeon";
738    case REVIEWER:
739      return "reviewer";
740    case RNDPHYS:
741      return "rounding physician";
742    case SASST:
743      return "second assistant surgeon";
744    case SNRS:
745      return "scrub nurse";
746    case TASST:
747      return "third assistant";
748    case NULL:
749      return null;
750    default:
751      return "?";
752    }
753  }
754
755}