<ValueSet xmlns="http://hl7.org/fhir">
  <id value="meri-error-codes" />
  <url value="http://electronichealth.se/fhir/NDI/ValueSet/meri-error-codes" />
  <version value="0.1.0" />
  <name value="meri-error-codes" />
  <title value="Error codes (MeRI)" />
  <status value="active" />
  <description value="Includes error and success messages for Medical Record Indexing transactions." />
  <compose>
    <include>
      <system value="http://electronichealth.se/CodeSystem/error-codes" />
      <concept>
        <code value="2-44-1" />
        <display value="Required parameter missing." />
      </concept>
      <concept>
        <code value="2-44-2" />
        <display value="Invalid format of personal identity number. Submit the personal identity number using 12 digits with or without hyphen, e.g. 198001032385." />
      </concept>
      <concept>
        <code value="2-44-3" />
        <display value="Invalid format of coordination number. Submit the coordination number using 12 digits with or without  hyphen, e.g. 198000602394." />
      </concept>
      <concept>
        <code value="2-44-4" />
        <display value="Invalid system. Valid systems are %s." />
      </concept>
      <concept>
        <code value="2-44-5" />
        <display value="Invalid timestamp. Submit the timestamp in the format YYYY-MM-DDThh:mm:ss.sss+zz:zz, e.g. 2015-02-07T13:28:17.239+02:00." />
      </concept>
      <concept>
        <code value="2-44-7" />
        <display value="Invalid format of organization identifier. Submit the organization identifier using 10 digits without hyphen, e.g. 5560269986." />
      </concept>
      <concept>
        <code value="2-44-9" />
        <display value="Invalid parameter. Valid parameters are %s." />
      </concept>
      <concept>
        <code value="2-44-10" />
        <display value="Parameter '%s' allowed only once." />
      </concept>
      <concept>
        <code value="2-44-100" />
        <display value="Required attribute missing in JWT token." />
      </concept>
      <concept>
        <code value="4-44-300" />
        <display value="Index record registered successfully." />
      </concept>
      <concept>
        <code value="4-44-301" />
        <display value="Index record unregistered successfully." />
      </concept>
      <concept>
        <code value="4-44-302" />
        <display value="Index record was not found." />
      </concept>
      <concept>
        <code value="4-44-303" />
        <display value="Index record for supplied patient and healthcare provider already exists." />
      </concept>
    </include>
  </compose>
</ValueSet>