Complete the following steps to configure EpicCare Link to upload documents using multiple OnBase systems.
- Make sure OnBaseEpicWeb.config is set up as described under the previous topic, EpicCare Link Retrieval.
- Create a Location Keyword Type in each OnBase system integrated with Epic.
- Assign the Location Keyword Type to all Document Types used for EpicCare Link upload.
-
In OnBaseEpicWeb.config, add a facilities element containing the following:
<facilities> <facility> <location><![CDATA[]]></location> <facilityID><![CDATA[]]></facilityID> </facility> <facility> <location><![CDATA[]]></location> <facilityID><![CDATA[]]></facilityID> </facility> </facilities>
-
Create one facility child element for each location you need to map.
For example, if two different location values may be passed in, the facilities element requires two facility child elements.
-
Map possible Location values to the appropriate Facility ID for that location. For example:
<facilities> <facility> <location><![CDATA[Eastland]]></location> <facilityID><![CDATA[HY.EF]]></facilityID> </facility> <facility> <location><![CDATA[Westland]]></location> <facilityID><![CDATA[HY.WF]]></facilityID> </facility> </facilities>
-
In this example, the Facility ID for the OnBase system at Eastland is HY.EF. The Facility ID for the OnBase system at Westland is HY.WF. If a user uploads a document with a Location of Eastland, then the integration looks up HY.EF in its default data source. If HY.EF is mapped to an Application Server, the document will be uploaded to the data source configured for that Application Server.
-
Location values are passed in by Epic. Contact your Epic system administrator for a list of all possible Location values for your solution.
-
If a document is uploaded without a Location value, then the document will be saved to the data source for the Application Server specified as the appserverUrl.
-
If a document is uploaded with a Location value that does not exist in OnBaseEpicWeb.config, then the document will not be uploaded to any OnBase system. The error log for the EpicCare Link integration will log the following message:
No FacilityID configured for 'Location' keyword value of '<value>' in the OnBaseEpicWeb.config file.
-
- Save OnBaseEpicWeb.config.