Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
Alegría 837P: intento transformar la información del paciente cuando el suscriptor no es el paciente junto con algunos reclamos cuando el suscriptor es el paciente

Estoy tratando de transformar la información del paciente cuando el suscriptor no es el paciente junto con algunos reclamos cuando el suscriptor es el paciente.

Encontré otro desafío cuando el suscriptor no es el paciente o el suscriptor tiene un dependiente. Hasta ahora probé el siguiente código y algunas otras variaciones.

Este código me da todos los suscriptores para todos los reclamos y pacientes con control de calidad calificador. No necesito el nombre del suscriptor TFirst6 cuando el reclamo tiene un dependiente "QC_TFirst6". Ejemplo de mensaje adjunto. Cualquier consejo es muy apreciado. Intenté eliminar el suscriptor cuando el suscriptor no es el paciente

Archivo de muestra procesado

 ["TFirst1","TFirst2","TFirst3","TFirst4","TFirst5","TFirst6","QC_TFirst6","TFirst7","TFirst8","TFirst9","TFirst10","TFirst11","TFirst12","TFirst13","TFirst14","TFirst15"]

Resultados previstos

 ["TFirst1","TFirst2","TFirst3","TFirst4","TFirst5","QC_TFirst6","TFirst7","TFirst8","TFirst9","TFirst10","TFirst11","TFirst12","TFirst13","TFirst14","TFirst15"]
 var PatientFirstName = new Array(); var counter = 0; for(var i = 0; i < msg['SBR'].length(); i++) { for each(nm1 in getSegmentsAfter(msg, msg['SBR'][i], 'NM1', true)) { //msgNM2 = (nm1['NM1.01']['NM1.01.1'].toString()); if (nm1['NM1.01']['NM1.01.1'].toString() == 'QC') { PatientFirstName[counter] = (nm1['NM1.04']['NM1.04.1'].toString()); counter += 1; channelMap.put("PatientFirstName",PatientFirstName); } else if (nm1['NM1.01']['NM1.01.1'].toString() == 'IL') { PatientFirstName[counter] = (nm1['NM1.04']['NM1.04.1'].toString()); counter += 1; channelMap.put("PatientFirstName",PatientFirstName); logger.info("PatientFirstName is=: " + PatientFirstName); } } }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!