{ "description": "This CodeSystem is comprised of error codes used in the CDF. These error codes are returned to consumers of the CDF.", "_filename": "CodeSystem-ehr-error-codes-cs.json", "package_name": "ca.on.ehr.r4", "date": "2025-01-20", "publisher": "Ontario Health", "content": "complete", "name": "ErrorCodes", "type": null, "experimental": null, "resourceType": "CodeSystem", "title": "EHR Error Codes", "package_version": "0.9.1", "status": "active", "id": "1b2fa6d8-4cc8-4306-b37e-ce0c8fdb575f", "kind": null, "count": 59, "url": "http://ontariohealth.ca/fhir/CodeSystem/ehr-cdf-errors", "concept": [ { "code": "IN_0005", "display": "IN_0005: No partition ID supplied; unable to store data" }, { "code": "IN_0011", "display": "No MRN identifier found on submission, unable to store data" }, { "code": "IN_0014", "display": "IN_0014: Data In Fhir Sync route endpoint timeout; Read timed out" }, { "code": "IN_0015", "display": "IN_0015: Received non-ok status from Data In Fhir Sync route endpoint; Sending to DQS" }, { "code": "IN_0033", "display": "Could not find MedicationDispense in submission" }, { "code": "IN_0037", "display": "Missing mandatory meta.profile in input bundle" }, { "code": "IN_0041", "display": "Missing Custodian field in the Composition resource" }, { "code": "IN_0042", "display": "Custodian referenced in Composition resource does not match Organization resource ID" }, { "code": "IN_0043", "display": "Required LOINC code not found in Composition type, could not authorize request" }, { "code": "IN_0044", "display": "IN_0044: Expected composition.type is not present or is invalid" }, { "code": "IN_0045", "display": "Invalid or missing query parameters" }, { "code": "IN_0048", "display": "$Validate did not return 200 OK" }, { "code": "IN_0051", "display": "Submitted practitioner does not have a family name" }, { "code": "IN_0052", "display": "Practitioner found in PPR does not have a family name" }, { "code": "IN_0053", "display": "Practitioner found in PPR does not have a given name" }, { "code": "FHIR_PTNT_2001", "display": "Invalid Ontario HCN" }, { "code": "FHIR_PTNT_2002", "display": "HCN does not exist in PCR" }, { "code": "FHIR_PTNT_2003", "display": "Multiple patients for provided HCN" }, { "code": "FHIR_PTNT_2004", "display": "DOB does not exist in PCR for provided HCN" }, { "code": "FHIR_PTNT_2005", "display": "Patient DOB provided does not match DOB in PCR for this HCN" }, { "code": "FHIR_PTNT_2006", "display": "Hospital MRN format invalid" }, { "code": "FHIR_PTNT_2007", "display": "Hospital MRN does not exist in PCR" }, { "code": "FHIR_PTNT_2008", "display": "Multiple patients found for hospital MRN" }, { "code": "FHIR_PTNT_2011", "display": "DOB does not exist in PCR for provided MRN" }, { "code": "FHIR_PTNT_2012", "display": "Patient DOB provided does not match DOB in PCR for this MRN" }, { "code": "FHIR_PTNT_2013", "display": "More than one patient identifier is supplied in the query" }, { "code": "FHIR_PTNT_2014", "display": "Failed to validate patient identifier" }, { "code": "FHIR_PTNT_2015", "display": "Query Parameters do not match patient DOB and/or Gender from PCR" }, { "code": "FHIR_PTNT_2016", "display": "No identifiers were found in PCR" }, { "code": "FHIR_PTNT_2009", "display": "Pharmacy MRN format invalid" }, { "code": "FHIR_PTNT_2010", "display": "Anonymous records for Harm Reduction are not accepted by DHDR. No action required." }, { "code": "FHIR_PROV_2001", "display": "Provider does not exist in PPR" }, { "code": "FHIR_PROV_2002", "display": "Provider is not active in PPR" }, { "code": "FHIR_PROV_2101", "display": "System error while trying to validate against PPR" }, { "code": "FHIR_PROV_2005", "display": "submitted provider last name does not match the provider last name in the provincial provider registry" }, { "code": "FHIR_PROV_2006", "display": "submitted provider first or middle name does not match the provider first or middle name in provincial provider registry" }, { "code": "FHIR_ORG_2001", "display": "Organization submitted not allowed for contributor" }, { "code": "FHIR_MED_1001", "display": "Medication code coding or text mandatory when category is Drug or Device" }, { "code": "FHIR_MED_1002", "display": "Medication text mandatory when category is Service" }, { "code": "FHIR_MED_1003", "display": "Medication text (FHIR) mandatory for compounds" }, { "code": "FHIR_MED_1004", "display": "Medication coding (FHIR) must be empty for compounds" }, { "code": "FHIR_MED_1005", "display": "Medication text must be empty for non-compounded medications if a coding is provided." }, { "code": "FHIR_MED_2001", "display": "CCDD MP code does not exist" }, { "code": "FHIR_MED_2002", "display": "NPN code does not exist" }, { "code": "FHIR_MED_2003", "display": "CCDD NTP device code does not exist" }, { "code": "FHIR_MD_1001", "display": "Medication dispense category must be drug, device or service" }, { "code": "FHIR_MD_1002", "display": "Medication dispense quantity mandatory when category is Drug or Device" }, { "code": "FHIR_MD_1003", "display": "Medication dispense prescription mandatory when category is Drug" }, { "code": "FHIR_MD_1004", "display": "Medication dispense days supply mandatory when category is Drug" }, { "code": "FHIR_MD_1005", "display": "Medication dispense Current Rx Number mandatory" }, { "code": "FHIR_MD_1006", "display": "Medication dispense when prepared and when handed over have different date formats" }, { "code": "FHIR_ORG_1001", "display": "Organization phone and fax mandatory for medication dispenses" }, { "code": "FHIR_ORG_1002", "display": "Organization address mandatory for medication dispenses" }, { "code": "FHIR_PTNT_1002", "display": "Patient cannot have more than three phone numbers" }, { "code": "FHIR_PTNT_1003", "display": "Patient must have at least one address and a maximum of three" }, { "code": "FHIR_MA_1001", "display": "Medication administration category must be drug" }, { "code": "FHIR_MRQT_1001", "display": "Medication request identifier mandatory for medication administrations" }, { "code": "FHIR_PTNT_1001", "display": "Medication administration patient does not have DOB" }, { "code": "FHIR_DEVC_1000", "display": "Submitted device identifier Does not match with Client ID" } ], "version": "1.0.0" }