I'm having trouble importing a subscription for an immunization registry in our test environment. When I click Import Subscriptions under Administration>System>Interoperability>Configuration, and choose the imm_registry.xml file, nothing happens. No subscriptions appear in the list. Can anyone tell me what I might be missing? I've tried a number of variations on the xml file. Here is the latest:
<?xml version="1.0" encoding="utf-8"?>
<subscriptions version="12.0.0">
<subscription
name="Immunization Registry"
activity="5"
registryOptInByDefault="Y"
allowsInquiries="Y"
initialDate="2016-04-01"
finalDate="2099-12-31"
>
<deliveryMethodPull destinationEndPoint=""/>
<scheduled
start = "0 0 7 ? * MON-FRI *"
stop = "0 0 22 ? * MON-FRI *"
/>
</subscription>
</subscriptions>
We had some issues with one of our Subscriptions where it wasn't fully imported, but was enough that it wouldn't let me import it again. You need to check the CEM_Subscription table.
select*
from CEM_Subscription
If you see your Immunization Registry subscription in this table then delete it and then try to do a fresh import of it.
Good suggestion. I had checked the CEM_Subscription table and it was empty.
Amazingly, when I tried again this morning the subscriptions import just fine. For anyone else who encounters this problem, I did notice that importing subscriptions other than the Imm_registry resulted in a failure message that there were NULL GroupIDs and I needed to run the FixGroupIDs tool. So from Server Setup > Utilities I ran the file SS\FixGroupIds.inf. It didn't make any difference yesterday. But since then the nightly cleanup jobs have run, so maybe running the file combined with the nightly cleanup routines fixed it.