Generic Profile Configuration

When the Generic profile is in use, most of the coding systems are hardcoded, except for a few systems which can either return a default system in the response, or be overridden to return another string.

Overriding Default Coding Systems

  1. Edit the web.config file, and find the section titled <appSettings>

  2. Enter the a config key name and a default html according to the following example, replacing the value with the desired system name.

    Note that if multiple APIs are installed, the same key will be shared across them if supported. (For example, setting the MR# system will affect both MedicationDispense and also AuditEvent.)

    <appSettings>
      <add key="UsersLogin" value="Fill in user login system name" />
      <add key="DepartmentsExternalCode" value="Fill in Department system name" />
      <add key="MRNumber" value="Fill in MR number system name" />
    </appSettings>

  1. Now the returned resources should have the coding systems configured. Any unconfigured ones should have the default systems instead.

Default systems, configuration keys, and affected fields:

Object path Config Key Name Default if not configured
AuditEvent.agent.who.identifier.system UsersLogin http://www.imd-soft.com/CodingSystem/Users/Login
AuditEvent.source.observer.identifier.system DepartmentsExternalCode http://www.imd-soft.com/CodingSystem/Departments/ExternalCode
AuditEvent.entity.what.identifier.system MRNumber http://www.imd-soft.com/CodingSystem/Patients/MRNumber