{
  "resourceType": "ValueSet",
  "status": "active",
  "name": "meri-error-codes",
  "id": "meri-error-codes",
  "title": "Error codes (MeRI)",
  "description": "Includes error and success messages for Medical Record Indexing transactions.",
  "url": "http://electronichealth.se/fhir/NDI/ValueSet/meri-error-codes",
  "version": "0.1.0",
  "compose": {
    "include": [
      {
        "system": "http://electronichealth.se/CodeSystem/error-codes",
        "concept": [
          {
            "code": "2-44-1",
            "display": "Required parameter missing."
          },
          {
            "code": "2-44-2",
            "display": "Invalid format of personal identity number. Submit the personal identity number using 12 digits with or without hyphen, e.g. 198001032385."
          },
          {
            "code": "2-44-3",
            "display": "Invalid format of coordination number. Submit the coordination number using 12 digits with or without  hyphen, e.g. 198000602394."
          },
          {
            "code": "2-44-4",
            "display": "Invalid system. Valid systems are %s."
          },
          {
            "code": "2-44-5",
            "display": "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."
          },
          {
            "code": "2-44-7",
            "display": "Invalid format of organization identifier. Submit the organization identifier using 10 digits without hyphen, e.g. 5560269986."
          },
          {
            "code": "2-44-9",
            "display": "Invalid parameter. Valid parameters are %s."
          },
          {
            "code": "2-44-10",
            "display": "Parameter '%s' allowed only once."
          },
          {
            "code": "2-44-100",
            "display": "Required attribute missing in JWT token."
          },
          {
            "code": "4-44-300",
            "display": "Index record registered successfully."
          },
          {
            "code": "4-44-301",
            "display": "Index record unregistered successfully."
          },
          {
            "code": "4-44-302",
            "display": "Index record was not found."
          },
          {
            "code": "4-44-303",
            "display": "Index record for supplied patient and healthcare provider already exists."
          }
        ]
      }
    ]
  }
}