Java 类ims.admin.vo.ConfigPropertyVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateConfigurationItemsControl(ProviderSystemVo voProviderSystem)
{
    if (!voProviderSystem.getConfigItemsIsNotNull())
        return;

    GenForm.grdConfigurationItemsRow row;
    for (int i = 0; i < form.grdConfigurationItems().getRows().size(); i++)
    {
        row = form.grdConfigurationItems().getRows().get(i);
        ConfigPropertyVo vo = voProviderSystem.getConfigurationProperty(row.getProperty());
        if (vo != null)
        {
            row.setValue(vo);
            row.setColValue(vo.getPropertyValue());
        }
    }

}
项目:AvoinApotti    文件:Logic.java   
protected void populateScreenFromData(ProviderSystemVo voProviderSystem)
{
    if (voProviderSystem == null)
        return;

    form.cmbIdComp().setValue(voProviderSystem.getIdtypeComponent());
    super.populateScreenFromData(voProviderSystem);

    // Populate Configuration Items
    if (voProviderSystem.getConfigItemsIsNotNull())
    {
        GenForm.grdConfigItemsRow row;
        form.grdConfigItems().getRows().clear();
        for (int i=0; i<voProviderSystem.getConfigItems().size(); i++)
        {
            ConfigPropertyVo vo = voProviderSystem.getConfigItems().get(i);
            row = form.grdConfigItems().getRows().newRow();
            row.setProperty(vo.getPropertyName());
            if (vo.getPropertyValueIsNotNull())
            {
                //TODO review
                row.setColValue(vo.getPropertyValue().equals("TRUE")?true:false);
            }
        }
    }
}
项目:AvoinApotti    文件:Logic.java   
private void populateConfigurationItemsControl(ProviderSystemVo voProviderSystem)
{
    if (!voProviderSystem.getConfigItemsIsNotNull())
        return;

    GenForm.grdConfigurationItemsRow row;
    for (int i = 0; i < form.grdConfigurationItems().getRows().size(); i++)
    {
        row = form.grdConfigurationItems().getRows().get(i);
        ConfigPropertyVo vo = voProviderSystem.getConfigurationProperty(row.getProperty());
        if (vo != null)
        {
            row.setValue(vo);
            row.setColValue(vo.getPropertyValue());
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
private void populateConfigurationItemsControl(ProviderSystemVo voProviderSystem)
{
    if (!voProviderSystem.getConfigItemsIsNotNull())
        return;

    GenForm.grdConfigurationItemsRow row;
    for (int i = 0; i < form.grdConfigurationItems().getRows().size(); i++)
    {
        row = form.grdConfigurationItems().getRows().get(i);
        ConfigPropertyVo vo = voProviderSystem.getConfigurationProperty(row.getProperty());
        if (vo != null)
        {
            row.setValue(vo);
            row.setColValue(vo.getPropertyValue());
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
protected void populateScreenFromData(ProviderSystemVo voProviderSystem)
{
    if (voProviderSystem == null)
        return;

    form.cmbIdComp().setValue(voProviderSystem.getIdtypeComponent());
    super.populateScreenFromData(voProviderSystem);

    // Populate Configuration Items
    if (voProviderSystem.getConfigItemsIsNotNull())
    {
        GenForm.grdConfigItemsRow row;
        form.grdConfigItems().getRows().clear();
        for (int i=0; i<voProviderSystem.getConfigItems().size(); i++)
        {
            ConfigPropertyVo vo = voProviderSystem.getConfigItems().get(i);
            row = form.grdConfigItems().getRows().newRow();
            row.setProperty(vo.getPropertyName());
            if (vo.getPropertyValueIsNotNull())
            {
                //TODO review
                row.setColValue(vo.getPropertyValue().equals("TRUE")?true:false);
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateConfigurationItemsControl(ProviderSystemVo voProviderSystem)
{
    if (!voProviderSystem.getConfigItemsIsNotNull())
        return;

    GenForm.grdConfigurationItemsRow row;
    for (int i = 0; i < form.grdConfigurationItems().getRows().size(); i++)
    {
        row = form.grdConfigurationItems().getRows().get(i);
        ConfigPropertyVo vo = voProviderSystem.getConfigurationProperty(row.getProperty());
        if (vo != null)
        {
            row.setValue(vo);
            row.setColValue(vo.getPropertyValue());
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
private void populateConfigurationItemsControl(ProviderSystemVo voProviderSystem)
{
    if (!voProviderSystem.getConfigItemsIsNotNull())
        return;

    GenForm.grdConfigurationItemsRow row;
    for (int i = 0; i < form.grdConfigurationItems().getRows().size(); i++)
    {
        row = form.grdConfigurationItems().getRows().get(i);
        ConfigPropertyVo vo = voProviderSystem.getConfigurationProperty(row.getProperty());
        if (vo != null)
        {
            row.setValue(vo);
            row.setColValue(vo.getPropertyValue());
        }
    }

}
项目:openMAXIMS    文件:Logic.java   
protected void populateScreenFromData(ProviderSystemVo voProviderSystem)
{
    if (voProviderSystem == null)
        return;

    form.cmbIdComp().setValue(voProviderSystem.getIdtypeComponent());
    super.populateScreenFromData(voProviderSystem);

    // Populate Configuration Items
    if (voProviderSystem.getConfigItemsIsNotNull())
    {
        GenForm.grdConfigItemsRow row;
        form.grdConfigItems().getRows().clear();
        for (int i=0; i<voProviderSystem.getConfigItems().size(); i++)
        {
            ConfigPropertyVo vo = voProviderSystem.getConfigItems().get(i);
            row = form.grdConfigItems().getRows().newRow();
            row.setProperty(vo.getPropertyName());
            if (vo.getPropertyValueIsNotNull())
            {
                //TODO review
                row.setColValue(vo.getPropertyValue().equals("TRUE")?true:false);
            }
        }
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateConfigurationItemsControl(ProviderSystemVo voProviderSystem)
{
    if (!voProviderSystem.getConfigItemsIsNotNull())
        return;

    GenForm.grdConfigurationItemsRow row;
    for (int i = 0; i < form.grdConfigurationItems().getRows().size(); i++)
    {
        row = form.grdConfigurationItems().getRows().get(i);
        ConfigPropertyVo vo = voProviderSystem.getConfigurationProperty(row.getProperty());
        if (vo != null)
        {
            row.setValue(vo);
            row.setColValue(vo.getPropertyValue());
        }
    }

}
项目:openmaxims-linux    文件:Logic.java   
private void populateConfigurationItemsControl(ProviderSystemVo voProviderSystem)
{
    if (!voProviderSystem.getConfigItemsIsNotNull())
        return;

    GenForm.grdConfigurationItemsRow row;
    for (int i = 0; i < form.grdConfigurationItems().getRows().size(); i++)
    {
        row = form.grdConfigurationItems().getRows().get(i);
        ConfigPropertyVo vo = voProviderSystem.getConfigurationProperty(row.getProperty());
        if (vo != null)
        {
            row.setValue(vo);
            row.setColValue(vo.getPropertyValue());
        }
    }

}
项目:openmaxims-linux    文件:Logic.java   
protected void populateScreenFromData(ProviderSystemVo voProviderSystem)
{
    if (voProviderSystem == null)
        return;

    form.cmbIdComp().setValue(voProviderSystem.getIdtypeComponent());
    super.populateScreenFromData(voProviderSystem);

    // Populate Configuration Items
    if (voProviderSystem.getConfigItemsIsNotNull())
    {
        GenForm.grdConfigItemsRow row;
        form.grdConfigItems().getRows().clear();
        for (int i=0; i<voProviderSystem.getConfigItems().size(); i++)
        {
            ConfigPropertyVo vo = voProviderSystem.getConfigItems().get(i);
            row = form.grdConfigItems().getRows().newRow();
            row.setProperty(vo.getPropertyName());
            if (vo.getPropertyValueIsNotNull())
            {
                //TODO review
                row.setColValue(vo.getPropertyValue().equals("TRUE")?true:false);
            }
        }
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateConfigurationItemsControl(ProviderSystemVo voProviderSystem)
{
    if (!voProviderSystem.getConfigItemsIsNotNull())
        return;

    GenForm.grdConfigurationItemsRow row;
    for (int i = 0; i < form.grdConfigurationItems().getRows().size(); i++)
    {
        row = form.grdConfigurationItems().getRows().get(i);
        ConfigPropertyVo vo = voProviderSystem.getConfigurationProperty(row.getProperty());
        if (vo != null)
        {
            row.setValue(vo);
            row.setColValue(vo.getPropertyValue());
        }
    }

}
项目:AvoinApotti    文件:OcsIfInboundImpl.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:AvoinApotti    文件:VoMapper.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:AvoinApotti    文件:VoMapper.java   
protected void populateMSH(ProviderSystemVo proVo, MSH msh, String messageControlID,
        String messageType, String triggerEvent) throws DataTypeException, Exception {
    LOG.debug("VoMapper populateMSH: entry");
    renderDateTimeVoToTS(new DateTime(), msh.getDateTimeOfMessage());

    String receivingFacility=null;
    ConfigPropertyVo prop = proVo.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();

    String processingId=null;
    ConfigPropertyVo hl7Prop = proVo.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();

    msh.getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());    
    msh.getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 
    msh.getFieldSeparator().setValue("|");  
    msh.getEncodingCharacters().setValue("^~\\&");
    msh.getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msh.getReceivingApplication().getNamespaceID().setValue(proVo.getHl7Application());
    msh.getVersionID().getVersionID().setValue("2.4");
    msh.getMessageType().getMessageType().setValue(messageType);
    msh.getMessageType().getTriggerEvent().setValue(triggerEvent);
    msh.getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msh.getMessageControlID().setValue(messageControlID);
    //      order.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("VoMapper populateMSH: exit");

}
项目:AvoinApotti    文件:A60VoMapper.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:AvoinApotti    文件:A28VoMapper.java   
private void populateMSH(ADT_A05 msg, ProviderSystemVo providerSystem) throws DataTypeException, Exception
{
    LOG.debug("A28VoMapper populateMSH: entry");
    String receivingFacility=null;
    ConfigPropertyVo prop = providerSystem.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();
    String processingId=null;
    ConfigPropertyVo hl7Prop = providerSystem.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();
    DateTime msgDateTime = new DateTime();
    renderDateTimeVoToTS(msgDateTime, msg.getMSH().getDateTimeOfMessage());
    msg.getMSH().getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());
    msg.getMSH().getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 

    msg.getMSH().getFieldSeparator().setValue("|");  
    msg.getMSH().getEncodingCharacters().setValue("^~\\&");
    msg.getMSH().getReceivingApplication().getNamespaceID().setValue(providerSystem.getHl7Application());
    msg.getMSH().getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msg.getMSH().getVersionID().getVersionID().setValue("2.4");
    msg.getMSH().getMessageType().getMessageType().setValue("ADT");
    msg.getMSH().getMessageType().getTriggerEvent().setValue("A28");
    msg.getMSH().getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msg.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("A28VoMapper populateMSH: exit");

}
项目:AvoinApotti    文件:A10VoMapper.java   
private void populateMSH(ADT_A09 msg, ProviderSystemVo providerSystem) throws DataTypeException, Exception
{

    LOG.debug("A10VoMapper populateMSH: entry");
    String receivingFacility=null;
    ConfigPropertyVo prop = providerSystem.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();
    String processingId=null;
    ConfigPropertyVo hl7Prop = providerSystem.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();
    DateTime msgDateTime = new DateTime();
    renderDateTimeVoToTS(msgDateTime, msg.getMSH().getDateTimeOfMessage());
    msg.getMSH().getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());
    msg.getMSH().getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 

    msg.getMSH().getFieldSeparator().setValue("|");  
    msg.getMSH().getEncodingCharacters().setValue("^~\\&");
    msg.getMSH().getReceivingApplication().getNamespaceID().setValue(providerSystem.getHl7Application());
    msg.getMSH().getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msg.getMSH().getVersionID().getVersionID().setValue("2.4");
    msg.getMSH().getMessageType().getMessageType().setValue("ADT");
    msg.getMSH().getMessageType().getTriggerEvent().setValue("A10");
    msg.getMSH().getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msg.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("A10VoMapper populateMSH: exit");

}
项目:openMAXIMS    文件:OcsIfInboundImpl.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:openMAXIMS    文件:VoMapper.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:openMAXIMS    文件:VoMapper.java   
protected void populateMSH(ProviderSystemVo proVo, MSH msh, String messageControlID,
        String messageType, String triggerEvent,DateTimeFormat format) throws DataTypeException, Exception 
{
    LOG.debug("VoMapper populateMSH: entry");
    renderDateTimeVoToTS(new DateTime(), msh.getDateTimeOfMessage(),format);//WDEV-19913

    String receivingFacility=null;
    ConfigPropertyVo prop = proVo.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();

    String processingId=null;
    ConfigPropertyVo hl7Prop = proVo.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();

    msh.getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());    
    msh.getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 
    msh.getFieldSeparator().setValue("|");  
    msh.getEncodingCharacters().setValue("^~\\&");
    msh.getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msh.getReceivingApplication().getNamespaceID().setValue(proVo.getHl7Application());
    msh.getVersionID().getVersionID().setValue("2.4");
    msh.getMessageType().getMessageType().setValue(messageType);
    msh.getMessageType().getTriggerEvent().setValue(triggerEvent);
    msh.getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msh.getMessageControlID().setValue(messageControlID);
    //      order.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("VoMapper populateMSH: exit");

}
项目:openMAXIMS    文件:A60VoMapper.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:openMAXIMS    文件:A28VoMapper.java   
private void populateMSH(ADT_A05 msg, ProviderSystemVo providerSystem) throws DataTypeException, Exception
{
    LOG.debug("A28VoMapper populateMSH: entry");
    String receivingFacility=null;
    ConfigPropertyVo prop = providerSystem.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();
    String processingId=null;
    ConfigPropertyVo hl7Prop = providerSystem.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();
    DateTime msgDateTime = new DateTime();
    renderDateTimeVoToTS(msgDateTime, msg.getMSH().getDateTimeOfMessage());
    msg.getMSH().getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());
    msg.getMSH().getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 

    msg.getMSH().getFieldSeparator().setValue("|");  
    msg.getMSH().getEncodingCharacters().setValue("^~\\&");
    msg.getMSH().getReceivingApplication().getNamespaceID().setValue(providerSystem.getHl7Application());
    msg.getMSH().getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msg.getMSH().getVersionID().getVersionID().setValue("2.4");
    msg.getMSH().getMessageType().getMessageType().setValue("ADT");
    msg.getMSH().getMessageType().getTriggerEvent().setValue("A28");
    msg.getMSH().getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msg.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("A28VoMapper populateMSH: exit");

}
项目:openMAXIMS    文件:A10VoMapper.java   
private void populateMSH(ADT_A09 msg, ProviderSystemVo providerSystem) throws DataTypeException, Exception
{

    LOG.debug("A10VoMapper populateMSH: entry");
    String receivingFacility=null;
    ConfigPropertyVo prop = providerSystem.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();
    String processingId=null;
    ConfigPropertyVo hl7Prop = providerSystem.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();
    DateTime msgDateTime = new DateTime();
    renderDateTimeVoToTS(msgDateTime, msg.getMSH().getDateTimeOfMessage());
    msg.getMSH().getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());
    msg.getMSH().getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 

    msg.getMSH().getFieldSeparator().setValue("|");  
    msg.getMSH().getEncodingCharacters().setValue("^~\\&");
    msg.getMSH().getReceivingApplication().getNamespaceID().setValue(providerSystem.getHl7Application());
    msg.getMSH().getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msg.getMSH().getVersionID().getVersionID().setValue("2.4");
    msg.getMSH().getMessageType().getMessageType().setValue("ADT");
    msg.getMSH().getMessageType().getTriggerEvent().setValue("A10");
    msg.getMSH().getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msg.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("A10VoMapper populateMSH: exit");

}
项目:openMAXIMS    文件:OcsIfInboundImpl.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:openMAXIMS    文件:VoMapper.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:openMAXIMS    文件:VoMapper.java   
protected void populateMSH(ProviderSystemVo proVo, MSH msh, String messageControlID,
        String messageType, String triggerEvent) throws DataTypeException, Exception {
    LOG.debug("VoMapper populateMSH: entry");
    renderDateTimeVoToTS(new DateTime(), msh.getDateTimeOfMessage());

    String receivingFacility=null;
    ConfigPropertyVo prop = proVo.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();

    String processingId=null;
    ConfigPropertyVo hl7Prop = proVo.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();

    msh.getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());    
    msh.getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 
    msh.getFieldSeparator().setValue("|");  
    msh.getEncodingCharacters().setValue("^~\\&");
    msh.getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msh.getReceivingApplication().getNamespaceID().setValue(proVo.getHl7Application());
    msh.getVersionID().getVersionID().setValue("2.4");
    msh.getMessageType().getMessageType().setValue(messageType);
    msh.getMessageType().getTriggerEvent().setValue(triggerEvent);
    msh.getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msh.getMessageControlID().setValue(messageControlID);
    //      order.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("VoMapper populateMSH: exit");

}
项目:openMAXIMS    文件:A60VoMapper.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:openMAXIMS    文件:A28VoMapper.java   
private void populateMSH(ADT_A05 msg, ProviderSystemVo providerSystem) throws DataTypeException, Exception
{
    LOG.debug("A28VoMapper populateMSH: entry");
    String receivingFacility=null;
    ConfigPropertyVo prop = providerSystem.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();
    String processingId=null;
    ConfigPropertyVo hl7Prop = providerSystem.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();
    DateTime msgDateTime = new DateTime();
    renderDateTimeVoToTS(msgDateTime, msg.getMSH().getDateTimeOfMessage());
    msg.getMSH().getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());
    msg.getMSH().getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 

    msg.getMSH().getFieldSeparator().setValue("|");  
    msg.getMSH().getEncodingCharacters().setValue("^~\\&");
    msg.getMSH().getReceivingApplication().getNamespaceID().setValue(providerSystem.getHl7Application());
    msg.getMSH().getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msg.getMSH().getVersionID().getVersionID().setValue("2.4");
    msg.getMSH().getMessageType().getMessageType().setValue("ADT");
    msg.getMSH().getMessageType().getTriggerEvent().setValue("A28");
    msg.getMSH().getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msg.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("A28VoMapper populateMSH: exit");

}
项目:openMAXIMS    文件:A10VoMapper.java   
private void populateMSH(ADT_A09 msg, ProviderSystemVo providerSystem) throws DataTypeException, Exception
{

    LOG.debug("A10VoMapper populateMSH: entry");
    String receivingFacility=null;
    ConfigPropertyVo prop = providerSystem.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();
    String processingId=null;
    ConfigPropertyVo hl7Prop = providerSystem.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();
    DateTime msgDateTime = new DateTime();
    renderDateTimeVoToTS(msgDateTime, msg.getMSH().getDateTimeOfMessage());
    msg.getMSH().getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());
    msg.getMSH().getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 

    msg.getMSH().getFieldSeparator().setValue("|");  
    msg.getMSH().getEncodingCharacters().setValue("^~\\&");
    msg.getMSH().getReceivingApplication().getNamespaceID().setValue(providerSystem.getHl7Application());
    msg.getMSH().getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msg.getMSH().getVersionID().getVersionID().setValue("2.4");
    msg.getMSH().getMessageType().getMessageType().setValue("ADT");
    msg.getMSH().getMessageType().getTriggerEvent().setValue("A10");
    msg.getMSH().getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msg.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("A10VoMapper populateMSH: exit");

}
项目:openmaxims-linux    文件:OcsIfInboundImpl.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:openmaxims-linux    文件:VoMapper.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:openmaxims-linux    文件:VoMapper.java   
protected void populateMSH(ProviderSystemVo proVo, MSH msh, String messageControlID,
        String messageType, String triggerEvent) throws DataTypeException, Exception {
    LOG.debug("VoMapper populateMSH: entry");
    renderDateTimeVoToTS(new DateTime(), msh.getDateTimeOfMessage());

    String receivingFacility=null;
    ConfigPropertyVo prop = proVo.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();

    String processingId=null;
    ConfigPropertyVo hl7Prop = proVo.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();

    msh.getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());    
    msh.getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 
    msh.getFieldSeparator().setValue("|");  
    msh.getEncodingCharacters().setValue("^~\\&");
    msh.getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msh.getReceivingApplication().getNamespaceID().setValue(proVo.getHl7Application());
    msh.getVersionID().getVersionID().setValue("2.4");
    msh.getMessageType().getMessageType().setValue(messageType);
    msh.getMessageType().getTriggerEvent().setValue(triggerEvent);
    msh.getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msh.getMessageControlID().setValue(messageControlID);
    //      order.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("VoMapper populateMSH: exit");

}
项目:openmaxims-linux    文件:A60VoMapper.java   
public static ConfigItems[] toConfigItemArray(ConfigPropertyVoCollection properties)
{
    if (properties == null || properties.size() == 0)
        return null;

    ConfigItems[] items = new ConfigItems[properties.size()];
    for (int i=0; i<properties.size(); i++)
    {
        ConfigPropertyVo prop= properties.get(i);
        ConfigItems item = new ConfigItems(prop.getPropertyName(), prop.getPropertyValue());
        items[i] = item;
    }
    return items;
}
项目:openmaxims-linux    文件:A28VoMapper.java   
private void populateMSH(ADT_A05 msg, ProviderSystemVo providerSystem) throws DataTypeException, Exception
{
    LOG.debug("A28VoMapper populateMSH: entry");
    String receivingFacility=null;
    ConfigPropertyVo prop = providerSystem.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();
    String processingId=null;
    ConfigPropertyVo hl7Prop = providerSystem.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();
    DateTime msgDateTime = new DateTime();
    renderDateTimeVoToTS(msgDateTime, msg.getMSH().getDateTimeOfMessage());
    msg.getMSH().getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());
    msg.getMSH().getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 

    msg.getMSH().getFieldSeparator().setValue("|");  
    msg.getMSH().getEncodingCharacters().setValue("^~\\&");
    msg.getMSH().getReceivingApplication().getNamespaceID().setValue(providerSystem.getHl7Application());
    msg.getMSH().getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msg.getMSH().getVersionID().getVersionID().setValue("2.4");
    msg.getMSH().getMessageType().getMessageType().setValue("ADT");
    msg.getMSH().getMessageType().getTriggerEvent().setValue("A28");
    msg.getMSH().getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msg.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("A28VoMapper populateMSH: exit");

}
项目:openmaxims-linux    文件:A10VoMapper.java   
private void populateMSH(ADT_A09 msg, ProviderSystemVo providerSystem) throws DataTypeException, Exception
{

    LOG.debug("A10VoMapper populateMSH: entry");
    String receivingFacility=null;
    ConfigPropertyVo prop = providerSystem.getConfigurationProperty(ConfigItems.Hl7Facility);
    if (prop != null)
    {
        receivingFacility = prop.getPropertyValue();
    }
    if (receivingFacility == null)
        receivingFacility = cfg.getReceivingFacility();
    String processingId=null;
    ConfigPropertyVo hl7Prop = providerSystem.getConfigurationProperty(ConfigItems.ProcessingID);
    if (hl7Prop != null)
    {
        processingId=hl7Prop.getPropertyValue();
    }
    if (processingId == null)
        processingId = cfg.getProcessingId();
    DateTime msgDateTime = new DateTime();
    renderDateTimeVoToTS(msgDateTime, msg.getMSH().getDateTimeOfMessage());
    msg.getMSH().getSendingApplication().getNamespaceID().setValue(cfg.getSendApplication());
    msg.getMSH().getSendingFacility().getNamespaceID().setValue(cfg.getSendFacility()); 

    msg.getMSH().getFieldSeparator().setValue("|");  
    msg.getMSH().getEncodingCharacters().setValue("^~\\&");
    msg.getMSH().getReceivingApplication().getNamespaceID().setValue(providerSystem.getHl7Application());
    msg.getMSH().getReceivingFacility().getNamespaceID().setValue(receivingFacility);
    msg.getMSH().getVersionID().getVersionID().setValue("2.4");
    msg.getMSH().getMessageType().getMessageType().setValue("ADT");
    msg.getMSH().getMessageType().getTriggerEvent().setValue("A10");
    msg.getMSH().getProcessingID().getProcessingID().setValue(processingId);  // Debug / Production / Training
    msg.getMSH().getMessageControlID().setValue(new String() + new java.util.Date().getTime());
    LOG.debug("A10VoMapper populateMSH: exit");

}
项目:AvoinApotti    文件:VoMapper.java   
protected final void populateLocationVoFromPL(PL pl, IfOcsOrderVo order, ProviderSystemVo providerSystem) throws HL7Exception
{
    LOG.debug("VoMapper populateLocationVoFromPL: entry");
    if (pl == null)
        return;


    //WDEV-6828 - if config item is valued and the same value has been sent in, ensure the Patient Location isn't overwritten
    ConfigPropertyVo prop= providerSystem.getConfigurationProperty(ConfigItems.GenericClinicCode);
    if (prop != null && (prop.getPropertyValue().length() > 0) && prop.getPropertyValue().equalsIgnoreCase(pl.getPointOfCare().getValue()))
        return;

    // wdev-3051 - get PatientLocation by Provider Systems type and not National Location Code
    //http://jira/browse/WDEV-3246 use the lite version
    LocationLiteVo loc= orgLoc.getLocationLiteByTaxonomyType(pl.getPointOfCare().getValue(),providerSystem.getCodeSystem());
    if (loc == null)
    {
        // Check to see if it is a clinic
        ClinicVo clinic =orgLoc.getClinicByTaxonomyCode((TaxonomyType)providerSystem.getCodeSystem(),pl.getPointOfCare().getValue());
        if (clinic != null)
        {
            order.setPatientClinic(clinic);
            order.setOutpatientDept(clinic.getOutpatientDept());
        }
    }
    else
    {
        order.setPatientLocation(loc);
        if (loc.getType()!=null&&loc.getType().equals(LocationType.OUTPATIENT_DEPT))
        {
            order.setOutpatientDept(loc);
        }
    }
    //WDEV-8884 
    if(ConfigFlag.HL7.REJECT_RESULTS_FOR_UNKNOWN_ORDERINGPROVIDER_OR_LOCATION.getValue())
    {

        // wdev-2746 Either PatientClinic or PatientLocation must map
        if (pl.getPointOfCare().getValue() != null &&
                !order.getPatientClinicIsNotNull() && !order.getPatientLocationIsNotNull())
        {
            throw new HL7Exception("PatientLocation (PV1-3) does not map to a valid Location or Clinic - Message Rejected");
        }
    }
    LOG.debug("VoMapper populateLocationVoFromPL: -exit ");
}
项目:AvoinApotti    文件:O01VoMapper.java   
private void renderNewOrderToORC_OBR(ProviderSystemVo providerSystem,IfOutOcsOrderVo newOrder, ORC commonOrder, OBR obr) throws Exception
{
    LOG.debug("O01VoMapper renderNewOrderToORC_OBR: entry");

    // ORC-4   Placer group number   (EI)   00218
    commonOrder.getPlacerGroupNumber().getEntityIdentifier().setValue("" + newOrder.getID_OcsOrderSession());

    if (newOrder.getOrderedByIsNotNull())
    {
        // ORC-10   Entered by   (XCN)   00224
        renderMemberOfStaffShortVoToXCN(newOrder.getOrderedBy(), commonOrder.getEnteredBy(0),providerSystem);

        // ORC-13   Enterer�s location   (PL)   00227 
        if (newOrder.getOrderedBy().getPrimaryLocationIsNotNull())
        {
            commonOrder.getEntererSLocation().getLocationDescription().setValue(newOrder.getOrderedBy().getPrimaryLocation().getName());
        }

        if (newOrder.getOrderedBy().getCommChannelsIsNotNull())
        {
            // ORC-14   Call back phone number   (XTN)   00228
            renderCommChannelVoCollectionToXTN(newOrder.getOrderedBy().getCommChannels(), commonOrder.getCallBackPhoneNumber(0));
        }
    }

    // OBR-16   Ordering provider  (XCN)   
    // ORC-12   Ordering provider   (XCN)   00226


    //http://jira/browse/WDEV-6910
    ConfigPropertyVo prop= providerSystem.getConfigurationProperty(ConfigItems.UseGpAsOrderingProvider);
    if (prop != null && (prop.getPropertyValueIsNotNull())&&(prop.getPropertyValue().length() > 0)
            &&prop.getPropertyValue().trim().equalsIgnoreCase("TRUE"))
    {
        if(newOrder.getResponsibleGpIsNotNull())
        {
            renderGpShortVoToXCN(newOrder.getResponsibleGp(), commonOrder.getOrderingProvider(0),providerSystem);
            renderGpShortVoToXCN(newOrder.getResponsibleGp(), obr.getOrderingProvider(0),providerSystem);
        }
    }

    else if (newOrder.getResponsibleClinicianIsNotNull())
    {
        renderMemberOfStaffShortVoToXCN(newOrder.getResponsibleClinician().getMos(), commonOrder.getOrderingProvider(0),providerSystem);
        renderMemberOfStaffShortVoToXCN(newOrder.getResponsibleClinician().getMos(), obr.getOrderingProvider(0),providerSystem);
        // OBR-17   Order callback phone number 

        if (!ConfigFlag.GEN.SITE_USES_ORDER_BLEEP_EXT_NUMBER.getValue()
                && newOrder.getResponsibleClinician().getMosIsNotNull())
            renderCommChannelVoToXTN(newOrder.getResponsibleClinician().getMos().getCommChannel(ChannelType.BLEEP), obr.getOrderCallbackPhoneNumber(0));
    }

    if(ConfigFlag.GEN.SITE_USES_ORDER_BLEEP_EXT_NUMBER.getValue()&&newOrder.getBleepExtNumberIsNotNull())
    {
        CommChannelVo bleepVo = new CommChannelVo();
        bleepVo.setCommValue(newOrder.getBleepExtNumber());
        bleepVo.setChannelType(ChannelType.BLEEP);
        renderCommChannelVoToXTN(bleepVo, obr.getOrderCallbackPhoneNumber(0));
    }


    // OBR-28   Result copies to   
    if (newOrder.getReportToIsNotNull())
    {
        for (int i=0; i<newOrder.getReportTo().size(); i++)
        {
            obr.getResultCopiesTo(i).getFamilyName().getSurname().setValue(newOrder.getReportTo().get(i).getValue());
        }
    }

    // OBR-30   Transportation mode
    if (newOrder.getPatMobilityIsNotNull())
    {
        obr.getTransportationMode().setValue(svc.getRemoteLookup(newOrder.getPatMobility().getId(), providerSystem.getCodeSystem().getText()));
    }

    LOG.debug("O01VoMapper renderNewOrderToORC_OBR: exit");

}
项目:AvoinApotti    文件:Logic.java   
private String formatProviderVo(ProviderSystemVo voProviderSystem)
{
    String out = makeTextile("<CENTER>*_____________________________________________________________*</CENTER>", "SlateBlue", "tahoma", "12");
    out += makeNewLine(new Integer(1));
    out += makeTextile("*System Name: *" + makeTextile((voProviderSystem.getSystemNameIsNotNull() ? voProviderSystem.getSystemName() : ""), "black", "tahoma", "12"), "DarkRed", "tahoma", "12");
    out += makeNewLine(new Integer(2));
    out += makeTextile("*Description: *", "SlateBlue", "tahoma", "12");
    out += voProviderSystem.getDescriptionIsNotNull() ? makeTextile(voProviderSystem.getDescription(), "black", "tahoma", "12") : "";
    out += makeNewLine(new Integer(2));
    out += makeTextile("*Category: *", "SlateBlue", "tahoma", "12");
    out += voProviderSystem.getCategoryIsNotNull() ? makeTextile(voProviderSystem.getCategory().getText(), "black", "tahoma", "12") : "";
    out += makeNewLine(new Integer(2));
    out += makeTextile("*IP Address/Host: *", "SlateBlue", "tahoma", "12");
    out += voProviderSystem.getIPAddressIsNotNull() ? makeTextile(voProviderSystem.getIPAddress(), "black", "tahoma", "12") : "";
    out += makeNewLine(new Integer(2));
    out += makeTextile("*IP Port: *", "SlateBlue", "tahoma", "12");
    out += voProviderSystem.getIPPortIsNotNull() ? makeTextile(voProviderSystem.getIPPort().toString(), "black", "tahoma", "12") : "";
    out += makeNewLine(new Integer(2));
    out += makeTextile("*Hl7 Application: *", "SlateBlue", "tahoma", "12");
    out += voProviderSystem.getHl7ApplicationIsNotNull() ? makeTextile(voProviderSystem.getHl7Application(), "black", "tahoma", "12") : "";
    out += makeNewLine(new Integer(2));
    out += makeTextile("*Code System: *", "SlateBlue", "tahoma", "12");
    out += voProviderSystem.getCodeSystemIsNotNull() ? makeTextile(LookupHelper.getTaxonomyTypeInstance(this.domain.getLookupService(), voProviderSystem.getCodeSystem().getId()).toString(), "black", "tahoma", "12") : "";
    out += makeNewLine(new Integer(2));
    out += makeTextile("*Id Type Component: *", "SlateBlue", "tahoma", "12");
    out += voProviderSystem.getIdtypeComponentIsNotNull() ? makeTextile(voProviderSystem.getIdtypeComponent().toString(), "black", "tahoma", "12") : "";
    out += makeNewLine(new Integer(2));
    out += makeTextile("*Primary Patient Id: *", "SlateBlue", "tahoma", "12");
    out += voProviderSystem.getPrimaryPatientIdIsNotNull() ? makeTextile(LookupHelper.getPatIdTypeInstance(this.domain.getLookupService(), voProviderSystem.getPrimaryPatientId().getId()).toString(), "black", "tahoma", "12") : "";

    // Output all configuration items
    if (voProviderSystem.getConfigItemsIsNotNull())
    {
        out += makeNewLine(new Integer(2));
        out += makeTextile("*Configuration Items: *", "SlateBlue", "tahoma", "12");
        for (int i=0; i<voProviderSystem.getConfigItems().size(); i++)
        {
            ConfigPropertyVo vo = voProviderSystem.getConfigItems().get(i);
            out += makeTextile(vo.getPropertyName() + " = " + vo.getPropertyValue(), "black", "tahoma", "12");
            out += makeNewLine(new Integer(2));
        }
    }

    return new TextileString(out).toString();
}
项目:openMAXIMS    文件:VoMapper.java   
protected final void populateLocationVoFromPL(PL pl, IfOcsOrderVo order, ProviderSystemVo providerSystem) throws HL7Exception
{
    LOG.debug("VoMapper populateLocationVoFromPL: entry");
    if (pl == null)
        return;


    //WDEV-6828 - if config item is valued and the same value has been sent in, ensure the Patient Location isn't overwritten
    ConfigPropertyVo prop= providerSystem.getConfigurationProperty(ConfigItems.GenericClinicCode);
    if (prop != null && (prop.getPropertyValue().length() > 0) && prop.getPropertyValue().equalsIgnoreCase(pl.getPointOfCare().getValue()))
        return;

    // wdev-3051 - get PatientLocation by Provider Systems type and not National Location Code
    //http://jira/browse/WDEV-3246 use the lite version
    LocationLiteVo loc= orgLoc.getLocationLiteByTaxonomyType(pl.getPointOfCare().getValue(),providerSystem.getCodeSystem());
    if (loc == null)
    {
        // Check to see if it is a clinic
        ClinicVo clinic =orgLoc.getClinicByTaxonomyCode((TaxonomyType)providerSystem.getCodeSystem(),pl.getPointOfCare().getValue());
        if (clinic != null)
        {
            order.setPatientClinic(clinic);
            order.setOutpatientDept(clinic.getOutpatientDept());
        }
    }
    else
    {
        order.setPatientLocation(loc);
        if (loc.getType()!=null&&loc.getType().equals(LocationType.OUTPATIENT_DEPT))
        {
            order.setOutpatientDept(loc);
        }
    }
    //WDEV-8884 
    if(ConfigFlag.HL7.REJECT_RESULTS_FOR_UNKNOWN_ORDERINGPROVIDER_OR_LOCATION.getValue())
    {

        // wdev-2746 Either PatientClinic or PatientLocation must map
        if (pl.getPointOfCare().getValue() != null &&
                !order.getPatientClinicIsNotNull() && !order.getPatientLocationIsNotNull())
        {
            throw new HL7Exception("PatientLocation (PV1-3) does not map to a valid Location or Clinic - Message Rejected");
        }
    }
    LOG.debug("VoMapper populateLocationVoFromPL: -exit ");
}