GENERAL DESCRIPTION |
An integration agreement is needed with the PCE package
for the Scheduling data conversion project. The PCE package's standard filer
entrypoints require that all providers added to PCE for a visit have a valid
provider class. The problem is that some of the encounters that the
Scheduling conversion can convert will consist of old provider data where the
provider class for the provider does not exist. As a result, many many
providers will not be able to be converted with their visits/encounters
because they do not have a valid provider class. Denis Eaton was consulted
about this and he concluded the only way to store these old providers in PCE
would be to pre-set the global array that PCE uses to file the data to what it
would look like after all the edit checks were done, and call the filer
directly. Since the affected provider data is old and its corresponding visit
will be flagged as historical in PCE, there should not be a data integrity
issue with storing a provider without a valid provider class. It also makes
the conversion more consistent and complete. This exemption is requested
specifically for filing the new provider data and would be a one-time
exemption to be used only when new visits are created as a result of the
conversion. All other data added to PCE via this project would flow through
the normal PCE edits. The agreement would only exist for the life of the
conversion.
The array definition follows:
^TMP("PXK",$J,"SOR") = Source ien
^TMP("PXK",$J,"VST",1,0,"BEFORE") = the 0-node of the visit file
^TMP("PXK",$J,"VST",1,0,"AFTER") = the same as "BEFORE"
^TMP("PXK",$J,"VST",provider counter,"IEN") = ""
^TMP("PXK",$J,"PRV",provider counter,0,"BEFORE") = ""
^TMP("PXK",$J,"PRV",provider counter,0,"AFTER") = Provider id^DFN^Visit
ien^P/S for primary/secondary
^TMP("PXK",$J,"PRV",provider counter,"IEN") = "" ^TMP("PXK",$J,"PRV",provider
counter,"BEFORE") = "" ^TMP("PXK",$J,"PRV",provider counter,"AFTER") =
^Package ien^Source ien
The entrypoint to call for the post-edit filer is EN1^PXKMAIN
|