Omni Codes

Topics:

Omni-Patient uses an internal code set to represent some data like Gender and Marital Status. Many source systems also use codes to represent this same data, so a translation system is provided by Omni to convert source codes to Omni Codes prior to storage. One of the first steps in an Omni implementation is to take the set of source codes and map them to Omni Codes.

Loading Omni Codes

The set of Omni Codes are loaded into the data store when the system starts. This occurs every time in an upsert fashion to support changes to the code set. This behavior can be controlled by changing the property omnicode.load to false.

Loading Source Codes

Source code to Omni Code translations prior to mastering and can be done with the following steps:

  1. From the OmniCode Set.xsl file, determine the OmniCodes for which you wish to make translations.
  2. Create an Omni-Patient IDS document based on the SourceCode.xsd. For example:
    <OmniPatientInterface>
    <SourceCodeSet>
    <SourceName>SystemA</SourceName>
    <CodeSetName>Demographics</CodeSetName>
    <Description>Demographic codes </Description>
    <SourceCodes>
    <SourceCode>
    <SourceName>SystemA </SourceName>
    <SourceCode>F </SourceCode>
    <Description>Female</Description>
    <Note></Note>
    <OmniCode>
    <CodeSetName>0001 </CodeSetName>
    <Code>Female</Code>
    </OmniCode>
    </SourceCode>
    </SourceCodes>
    </SourceCodeSet>
    </OmniPatientInterface>

    Multiple SourceCodeSet and SourceCode elements can be added to the same document, so a full translation can be done using one document.

  3. Start the Omni-Patient system.
  4. Copy your translation IDS XML into the following directory:
    [OmniPatient Home]/iway7/IDS/any/in