{
  "resourceType": "ValueSet",
  "status": "active",
  "name": "er-error-codes",
  "id": "er-error-codes",
  "title": "Error codes (ER)",
  "description": "Includes error and success messages for Endpoint Registry transactions.",
  "url": "http://electronichealth.se/fhir/NDI/ValueSet/er-error-codes",
  "version": "0.1.0",
  "compose": {
    "include": [
      {
        "system": "http://electronichealth.se/CodeSystem/error-codes",
        "concept": [
          {
            "code": "2-38-1",
            "display": "Required parameter missing."
          },
          {
            "code": "2-38-2",
            "display": "Invalid format of personal identity number. Submit the personal identity number using 12 digits without hyphen, e.g. 198001032385."
          },
          {
            "code": "2-38-4",
            "display": "Invalid system. Valid systems are %s."
          },
          {
            "code": "2-38-7",
            "display": "Invalid format of organization identifier. Submit the organization identifier using 10 digits without hyphen, e.g. 5560269986."
          },
          {
            "code": "2-38-8",
            "display": "Device not found."
          },
          {
            "code": "2-38-9",
            "display": "Invalid parameter. Valid parameters are %s."
          },
          {
            "code": "2-38-10",
            "display": "Parameter %s is not repeatable."
          },
          {
            "code": "2-38-11",
            "display": "Invalid format of coordination number. Submit the coordination number using 12 digits without hyphen, e.g. 201903682399."
          },
          {
            "code": "2-38-12",
            "display": "Organization could not be added since no endpoint url could be identified."
          },
          {
            "code": "2-38-13",
            "display": "Organization could not be added since the organization could not be identified."
          },
          {
            "code": "2-38-14",
            "display": "Organization has already been added to the endpoint. If you're trying to update the URL, first remove the organization from the endpoint, and then retry"
          },
          {
            "code": "2-38-20",
            "display": "There is no managing organization with the supplied claims.client_id."
          },
          {
            "code": "2-38-21",
            "display": "Supplied claims.client_id does not match client_id of the managing organization."
          },
          {
            "code": "4-38-301",
            "display": "Organization was successfully added to the endpoint."
          },
          {
            "code": "4-38-302",
            "display": "Organization was successfully removed from the endpoint."
          },
          {
            "code": "4-38-303",
            "display": "Organization has already been added to the endpoint."
          },
          {
            "code": "4-38-304",
            "display": "The organization is not connected to the endpoint and therefore cannot be removed."
          }
        ]
      }
    ]
  }
}