First of all thanks for your help and time
We would need to find inside PID:3 which one meets the following condition:
PID 3.4.1 = "CAC" and PID 3.5 = "JHN"
We have been investigating how could we do it
We have achieved to get single fields in a call request as follows:
request.GetValueAt("ORCgrp(1).ORC:OrderingProvider(1).IDNumber")
##class(Ens.Util.Time).ConvertDateTime(request.GetValueAt("PID:DateTimeofBirth"),"%Y%m%d","%Y-%m-%d")