HL7 QRDA Category I Header (Section 2) - errors validation phase Error: CONF-QRDA1-I: The realmCode element SHALL be present where the value of @code is US. Error: CONF-QRDA1-2: The value of typeId/@root SHALL be 2.16.840.1.113883.1.3 and value of typeId/@extension SHALL be POCD_HD000040. Error: CONF-QRDA1-3 The CMS EHR QRDA Report SHALL contain at least one ClincalDocument/templateId element Error: CONF-QRDA-I-4: The value of one ClinicalDocument/templateId/@root SHALL be 2.16.840.1.113883.10.20.12 and PQRI QRDA category I templateId 'root' value SHALL be 2.16.840.1.113883.3.249.11.100.1. Error: CONF-QRDA1-7: A QRDA Category I report SHALL contain exactly one ClinicalDocument/code with a value of 55182-0 2.16.840.1.113883.6.1 LOINC STATIC. Error: CONF-QRDA1-8: A QRDA Category I report SHALL contain exactly one ClinicalDocument/title element valued with a case-insensitive, text string containing "QRDA Incidence Report" or "Quality measure Report". Error: CONF-QRDA1-10 The effectiveTime value attribute value SHALL be at least precise to the day YYYYMMDD. Error: CONF-QRDA1-12: The confidentialityCode 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.25. The confidentialityCode 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.25 Error: CONF-QRDA1-13: setId element is missing. The 'setId' element SHALL be present. Error: CONF-QRDA1-16 versionNumber element is missing. The 'versionNumber' element SHALL be present. Error: CONF-QRDA1-17: versionNumber/@value SHALL be an integer Error: CONF-QRDA1-18: A QRDA Category I report SHALL contain exactly one ClinicalDocument/recordTarget/PatientRole. Error: CONF-QRDA1-19 @root contains OID for the coding system used to identify the patient. The value of @extension is the unique patient identifier the EHR sysetm uses fo record activity on a patient. Commonly used OIDs for entries to identify patient sucha as SSN, TIN, DLN, etc. are available at Appendix_L-OIDs tab of the Downloadable Resources table. Error: CONF-QRDA1-23 patient's legal 'name' element is expected at least once. The patient's legal 'name' element SHALL be submitted at least exactly once. Error: CONF-QRDA1-24 patient's legal name 'given' (first name) element is expected at least once. The patient's legal 'given' (first name) element SHALL be submitted at least exactly once. Error: CONF-QRDA1-24 patient's legal name 'given' (first name) element value length SHALL not be more than 30 characters. patient's legal name 'given' (first name) element value length SHALL not be more than 30 characters. Error: CONF-QRDA1-25 patient's legal name 'family' (last name) element is expected at least once. The patient's legal 'family' (last name) element SHALL be submitted at least exactly once. Error: CONF-QRDA1-25 patient's legal name 'family' (last name) element value length SHALL not be more than 30 characters. patient's legal name 'family' (last name) element value length SHALL not be more than 30 characters. Error: CONF-QRDA1-26 The patient's ethnic group code 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.50'. Error: CONF-QRDA1-26 The patient's ethnic group 'code' value SHALL be valid according to Appendix_M-Ethnicity in the posted Downloadable Resource table. Error: CONF-QRDA1-27 The 'administrativeGenderCode' element SHALL be present. Error: CONF-QRDA1-27 The patient's administrativeGenderCode 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.1'. Error: CONF-QRDA1-27 The patient's administrative gender 'code' value SHALL be valid according to Appendix_N-Gender in the posted Downloadable Resource table. Error: CONF-QRDA1-28 The 'raceCode' element SHALL be present. Error: CONF-QRDA1-28 The patient's raceCode 'codeSystem' attribute value SHALL be '2.16.840.1.113883.5.104'. Error: CONF-QRDA1-28 The patient's race 'code' attribute value SHALL be valid according to Appendix_O-Race in the posted Downloadable Resource table. Error: CONF-QRDA1-29 The 'birthTime' element SHALL be present. Error: CONF-QRDA1-30 The birthTime value attribute value SHALL be at least precise to the day (YYYYMMDD). Error: CONF-QRDA1-31 The report SHALL contain exactly one /recordTarget/patientRole/providerOrganization. Error: CONF-QRDA1-32 The id 'root' attribute value SHALL be '2.16.840.1.113883.4.6'. Error: CONF-QRDA1-32 cda:recordTarget/cda:patientRole/cda:providerOrganization/cda:id[@extension that containst the NPI Failed the NPI validation test!! Warning: CONF-QRDA1-33 recordTarget/patientRole/providerOrganization/name element SHOULD be present Error: CONF-QRDA1-34 At least one recordTarget/patientRole/providerOrganization/name element SHALL be present Warning: CONF-QRDA1-35 recordTarget/patientRole/providerOrganization/addr/streetAddressLine) element MAY be present Warning: CONF-QRDA1-36 recordTarget/patientRole/providerOrganization/addr/city) element MAY be present Error: CONF-QRDA1-37 recordTarget/patientRole/providerOrganization/addr/state) element SHALL be present and shall be one of the states in the Appendix_V-States Downloadable Resource Warning: CONF-QRDA1-38 recordTarget/patientRole/providerOrganization/addr/postalCode) element MAY be present Error: CONF-QRDA1-39 Report SHALL contain exactly one recordTarget/patientRole/providerOrganization/asOrganizationPartOf element. Error: CONF-QRDA1-40 Report SHALL contain exactly one recordTarget/patientRole/providerOrganization/asOrganizationPartOf/wholeOrganization element. Error: CONF-QRDA1-41 The id 'root' attribute value SHALL be '2.16.840.1.113883.4.2'. Error: CONF-QRDA1-41 The patient's provider's organization's id 'extension' attribute value SHALL be present as the provider's TIN (nine-digit value in XXXXXXXXX format). CONF-QRDA1-42 Report SHALL contain exactly one /clinicalDocument/author. Error: CONF-QRDA1-43 The /clinicalDocument/author/time element shall be present. Error: CONF-QRDA1-44 The effectiveTime value attribute value SHALL be at least precise to the day YYYYMMDD. Error: CONF-QRDA1-45 clinicalDocument/author/assignedAuthor element SHALL be present. Error: CONF-QRDA1-46 clinicalDocument/author/assignedAuthor/id element SHALL be present. The id @root SHALL be 2.16.840.1.113883.3.249.6 and the @extension SHALL be the CMS Approved Qualified Software Version. Warning: CONF-QRDA1-47 and 48: A QRDA Category I report MAY contain a ClinicalDocument/author/assignedAuthor/assignedPerson element and if present may contain exactly one. Error: CONF-QRDA1-49: A QRDA Category I report MAY contain at least one legal name ClinicalDocument/author/assignedAuthor/assignedPerson/name. Error: CONF-QRDA1-50: A QRDA Category I report MAY contain at least one ClinicalDocument/author/assignedAuthor/assignedPerson/name/given. Error: CONF-QRDA1-51: A QRDA Category I report MAY contain at least one ClinicalDocument/author/assignedAuthor/assignedPerson/name/family. Error: CONF-QRDA1-52: A QRDA Category I report MAY contain one ClinicalDocument/author/assignedAuthor/representedOrganization. Error: CONF-QRDA1-53: A QRDA Category I report MAY contain a ClinicalDocument/author/assignedAuthor/representedOrganization/id element with @root containing the OID of the authoring organization. Error: CONF-QRDA1-54: A QRDA Category I report MAY contain a ClinicalDocument/author/assignedAuthor/representedOrganization/name element. Error: CONF-QRDA1-55: A QRDA Category I report SHALL contain exactly one ClinicalDocument/informant which may represents the reporting facility. Error: CONF-QRDA1-56: A QRDA Category I report SHALL contain exactly one ClinicalDocument/informant/assignedEntity Error: CONF-QRDA1-57 and 58 The assignedEntity id element SHALL be present. If there is not valid value informant/assignedEntity/id then @nullFlavor SHALL be NA (Not applicable) (i.e., id nullFlavor="NA") Error: CONF-QRDA1-59 The /informant/assignedEntity/representedOraganization element SHALL be present. Error: CONF-QRDA1-60 The /informant/assignedEntity/representedOraganization/id element SHALL be present. Warning: CONF-QRDA1-61 The /informant/assignedEntity/representedOraganization/name element SHOULD be present. Error: CONF-QRDA1-62: A QRDA Category I report SHALL contain exactly one custodian/assignedCustodian/representedCustodianOrganization/ id element. CONF-QRDA1-63: The value of custodian/assignedCustodian/ representedCustodianOrganization/id element @root SHALL be the id root of the custodian organization. Error: CONF-QRDA1-65 and 66: A QRDA Category I report SHOULD contain a legal authenticatior element and, if present, it SHALL contain exactly one ClinicalDocument/legalAuthenticator/time element. Error: CONF-QRDA1-67 If there is a cliniacalDocument/legalAuthenticator/time element,time @value attribute value SHALL be at least precise to the day YYYYMMDD. Error: CONF-QRDA1-68: If present, a QRDA Category I report legalAuthenticator SHALL contain exactly one signatureCode element. Error: CONF-QRDA1-69: The value of a QRDA ClinicalDocument/signatureCode/@code SHALL be S. Error: CONF-QRDA1-70: If present, a QRDA Category I report legalAuthenticator SHALL contain exactly one assignedEntity element that represents the legal authenticator of the document. Error: CONF-QRDA1-71: If present,the ClinicalDocument/legalAuthenticator/assignedEntity SHALL contain an id element. Warning: CONF-QRDA1-72: If the legalAuthenticatior element is present, the, ClinicalDocument/legalAuthenticator/assignedEntity/assignedPerson SHOULD be present contain and assignedPerson element. Warning: CONF-QRDA1-73: If the legalAuthenticatior element is present, the ClinicalDocument/legalAuthenticator/assignedEntity/assignedPerson/name/given MAY be present. Warning: CONF-QRDA1-74: If the legalAuthenticatior element is present, the ClinicalDocument/legalAuthenticator/assignedEntity/assignedPerson/name/family MAY be present. Warning: CONF-QRDA1-75: If the legalAuthenticatior element is present, the ClinicalDocument/legalAuthenticator/assignedEntity/representedOrganization SHOULD be present. Warning: CONF-QRDA1-76: If the legalAuthenticatior element is present, the ClinicalDocument/legalAuthenticator/assignedEntity/representedOrganization/id element SHALL be present. Warning: CONF-QRDA1-77: If the legalAuthenticatior element is present, the ClinicalDocument/legalAuthenticator/assignedEntity/representedOrganzation/name/ SHOULD be present. Error: CONF-QRDA1-78 The 'participant' element SHALL be present and the clinicalDocument/participant@typeCode SHALL be "PRF" (performer). Error: CONF-QRDA1-79 and 80 The clinicalDocument/participant/functionCode element SHALL be present and the code SHALL be "PCP" (primary care physician) Error: CONF-QRDA1-81 The clinicalDocument/participant/functionCode element SHALL be present and the codeSystem SHALL be 2.16.840.1.113883.5.88 (ParticipationFunction from HL7) Error: CONF-QRDA1-82 and 83 The clinicalDocument/participant/associatedEntity element SHALL be present and the @classCode shall be PROV (healthcare provider). Error: CONF-QRDA1-84 The clinicalDocument/participant/associatedEntity/id/@root SHALL be present. Warning: CONF-QRDA1-85 The clinicalDocument/participant/associatedEntity/associatedPerson element SHOULD be present. Warning: CONF-QRDA1-86 If the clinicalDocument/participant/associatedEntity/associatedPerson element is present,at least one legal given name MAY be present in the clinicalDocument/participant/associatedEntity/associatedPerson/name/given element. Warning: CONF-QRDA1-87 If the clinicalDocument/participant/associatedEntity/associatedPerson element is present, the clinicalDocument/participant/associatedEntity/associatedPerson/name/family at least one legal family name MAY be present. Error: CONF-QRDA1-88 A CMS EHR QRDA report SHALL contain one or more clinicalDocument/documentationOf elements. Error: CONF-QRDA1-88 A CMS EHR QRDA report SHALL contain one or more clinicalDocument/documentationOf/code elements and the codes and code system that may be used are found in tab B of the downloadable resource. Error: CONF-QRDA1-91 and 92 the clinicalDocument/documentationOf/serviceEvent/effectiveTime element SHALL contain one low element and one high element for starting and ending times of the encounter. Error: CONF-QRDA1-93 The clinicalDocument/documentationOf/serviceEvent/effectiveTime/low and clinicalDocument/documentationOf/serviceEvent/effectiveTime/high value attribute values SHALL be at least precise to the day YYYYMMDD. Error: CONF-QRDA1-94 A documentationOf/serviceEvent/performer@typeCode SHALL be either PRF(performer- a person wo actually and principally carries out an actions) or PPRF 9primary performer - principa performer of the Service event) or SPRF (secondary performer - a person assisting in the Service event through their substantial presence and involvement. This may include assistants, technicians, associates or other performers). CONF-QRDA1-96 A documentationOf/serviceEvent/performer/assignedEntity element SHALL be present. Error: CONF-QRDA1-96 The id 'root' attribute value SHALL be '2.16.840.1.113883.4.6'. Error: CONF-QRDA1-96 documentationOf/serviceEvent/performer/assignedEntity/id[@extension that containst the NPI Failed the NPI validation test!! Warning: CONF-QRDA1-97 A documentationOf/serviceEvent/performer/assignedEntity/code element SHOULD be present. Warning: CONF-QRDA1-98 A documentationOf/serviceEvent/performer/assignedEntity/addr element SHOULD be present. Warning: CONF-QRDA1-99 If a documentationOf/serviceEvent/performer/assignedEntity/addr element is present a documentationOf/serviceEvent/performer/assignedEntity/addr/streetAddressLine element SHOULD be present. Warning: CONF-QRDA1-100 If a documentationOf/serviceEvent/performer/assignedEntity/addr element is present a documentationOf/serviceEvent/performer/assignedEntity/addr/city element SHOULD be present. Error: CONF-QRDA1-37 The recordTarget/patientRole/providerOrganization/addr/state) element SHOULD be present and all of the states that can be used in this element are in the Appendix_V-States Downloadable Resource Warning: CONF-QRDA1-102 If a documentationOf/serviceEvent/performer/assignedEntity/addr element is present a documentationOf/serviceEvent/performer/assignedEntity/addr/postalCode element SHOULD be present. Warning: CONF-QRDA1-103 A documentationOf/serviceEvent/performer/assignedEntity/assignedPerson element SHOULD be present. Warning: CONF-QRDA1-105 If a documentationOf/serviceEvent/performer/assignedEntity/assignedPerson element is present at least one legal name documentationOf/serviceEvent/performer/assignedEntity/assignedPerson/name element MAY be present. Warning: CONF-QRDA1-106 If a documentationOf/serviceEvent/performer/assignedEntity/assignedPerson element is present at least one legal name documentationOf/serviceEvent/performer/assignedEntity/assignedPerson/given element MAY be present. Warning: CONF-QRDA1-107 If a documentationOf/serviceEvent/performer/assignedEntity/assignedPerson element is present at least one legal name documentationOf/serviceEvent/performer/assignedEntity/assignedPerson/name/family element MAY be present. Error: CONF-QRD1-113: A QRDA Category I report SHALL contain exactly one ClinicalDocument/component/structuredBody. Error: CONF-QRDA1-114 The The CMS EHR QRDA Report SHALL contain exactly one Measure Set section. Error: CONF-QRDA1-115: The Measure Set section SHALL contain one nested Measure section and SHALL NOT contain more than one nested Measure section. Error: CONF-QRDA1-116: The Measure Set section SHALL contain a templateId uniquely identifying the Measure Set name and version. The supplied value does not identify the 2011 Measure Set. Error: CONF-QRDA1-117: The Measure Set section SHALL contain a section/code element. Error: CONF-QRDA1-118: The value for section/code SHALL be 55185-3 MEASURE SET 2.16.840.1.113883.6.1 LOINC STATIC. Error: CONF-QRDA1-119: The Measure Set section SHALL be valued with section/title with a case-insensitive, text string containing Measure set: CMS EHR Measure Set. Error: CONF-QRDA1-123: A nested Measure section SHALL be valued with section/title with a case-insensitive, text string containing Measure section. Error: CONF-QRDA1-123: The nested measure section SHALL contain section/code element. In the nested measure section, the value for section/code SHALL be 55186-1 MEASURE 2.16.840.1.113883.6.1 LOINC STATIC Error: CONF-QRDA1-124: A nested Measure section SHALL contain at least one templateId corresponding to the measures. Refer Appendix_U-Custom_Template_IDs tab of the Downloadable Resources table. Error: CONF-QRDA1-125,CONF-QRDA1-133 and CONF-QRDA1-134: A Measure section SHALL contain exactly one nested Reporting Parameters section (as described in Section 2.3.3 Reporting Parameters Section) with a code element with the code 55187-9 and code system 2.16.840.1.113883.6.1 Error: CONF-QRDA1-126: A Measure section SHALL contain exactly one nested Patient Data section (as described in Section 2.4.4 Patient Data Section). Warning: CONF-QRDA1-127 the Measure secton MAY contain a section/text element for the description of the measures. Error: CONF-QRDA1-128: Each measure SHALL be represented with act. CONF-QRDA1-129: For each act in the Measure section,in a measure act SHALL be ACT 2.16.840.1.113883.5.6 ActClass STATIC. CONF-QRDA1-130: For each act in the Measure section the act/@moodCode in a measure act SHALL be DEF 2.16.840.1.113883.5.1001 ActMood STATIC. Warning: CONF-QRDA1-132 Each measure act MAY contain a act/text element for the description of the measures. Error: CONF-QRDA1-135: A reporting parameters section which is a nested section in the measures section which is nested in the Measures Set section section SHALL valued with a section/title containing a case insensitive, text string containing Reporting Parameters. Error: CONF-QRDA1-136: The Reporting Parameters section SHALL contain exactly one Observation Parameters Act, represented as an act. CONF-QRDA1-137: The value for act/@classCode in an Observation Parameters Act SHALL be ACT 2.16.840.1.113883.5.6 ActClass STATIC. CONF-QRDA1-138: The value for act/@moodCode in an Observation Parameters Act SHALL be EVN 2.16.840.1.113883.5.1001 ActMood STATIC. No reference: The value for act/code SHALL be 252116004 Observation Parameters 2.16.840.1.113883.6.96 SNOMED-CT STATIC. Error: CONF-QRDA1-139: The reporting time period SHALL be represented with an effectiveTime/low element combined with a high element representing respectively the first and last days of the period reported. Error: CONF-QRDA1-139: The reporting time period SHALL be represented with an effectiveTime/low element combined with a high element representing respectively the first and last days of the period reported and they SHALL be precise at least to the day (YYYYMMDD). Error: CONF-QRDA1-142: The Patient Data section SHALL be valued with section/title with a case-insensitive, text string containing "Patient Data". Error: CONF-QRDA1-142: The Patient Data section SHALL be valued with section/title with a case-insensitive, text string containing "Patient Data". Error: CONF-QRDA1-147: The problem section SHALL contain Section / code. The value for "Section / code" SHALL be "11450-4" "Problem list" 2.16.840.1.113883.6.1 LOINC STATIC. Error: CONF-QRDA1-150:The problem section SHALL contain Section / title. Section / title SHOULD be valued with a case-insensitive language-insensitive text string containing "problems". Error: CONF-QRDA1-152, CONF-QRDA1-153,CONF-QRDA1-154: A problem act (templateId 2.16.840.1.113883.10.20.1.27) SHALL be represented with Act. The value for "Act / classCode" in a problem act SHALL be "ACT" 2.16.840.1.113883.5.6 ActClass STATIC. The value for "Act / moodCode" in a problem act SHALL be "EVN" 2.16.840.1.113883.5.1001 ActMood STATIC. TEST!! Error: CONF-QRDA1-152, CONF-QRDA1-153,CONF-QRDA1-154: A problem act (templateId 2.16.840.1.113883.10.20.1.27) SHALL be represented with Act. The value for "Act / classCode" in a problem act SHALL be "ACT" 2.16.840.1.113883.5.6 ActClass STATIC. The value for "Act / moodCode" in a problem act SHALL be "EVN" 2.16.840.1.113883.5.1001 ActMood STATIC. TEST!! Error: CONF-QRDA1-155: A problem act SHALL contain at least one Act / id. Error: CONF-QRDA1-156: The value for "Act / code / @NullFlavor" in a problem act SHALL be "NA" "Not applicable" 2.16.840.1.113883.5.1008 NullFlavor STATIC. Warning: CONF-QRDA1-156: A problem act MAY contain exactly one Act / effectiveTime, to indicate the timing of the concern (e.g. the time the problem was noted). Error: CONF-QRDA1-158: problem act SHALL contain one or more Act / entryRelationship. Warning: CONF-QRDA1-159, CONF-QRDA1-160: A problem MAY reference a problem observation, alert observation or othe clinical statement this is the subject of concern, by setting the value for Act /entryRelationship / @typeCode to be SUBJ 2.16.840.1.113883.5.1002 ActRelationshipType STATIC. The target of a problem act with Act /entryRelationship / @typeCode SUBJ SHOULD be a problem observation (in the Problem section) or alert observation but MAY be some other clinical statement. Error: CONF-QRDA1-161 The CMS EHR QRDA Report Problem observation (2.16.840.1.113883.3.249.11.100.8) SHALL confirm to the rules of Problem observation (2.16.840.1.113883.10.20.1.28) and SHALL be represented with Observation. Error: CONF-QRDA1-161 CONF-QRDA1-162:A problem observation (templateId 2.16.840.1.113883.10.20.1.28) SHALL be represented with Observation. The value for "Observation / moodCode" in a problem observation SHALL be "EVN" 2.16.840.1.113883.5.1001 ActMood STATIC. Error: CONF-QRDA1-163 problem observation SHALL include exactly one Observation / statusCode. Error: CONF-QRDA1-164 The value for "Observation / statusCode" in a problem observation SHALL be "completed" 2.16.840.1.113883.5.14 ActStatus STATIC. Error: CONF-QRDA1-165 A problem oberservation shall contain exactly one Observation/effectiveTime, to indicate the biologic timing of the condition (i.e., the time the condition started, the onset of the illness or symptom, the duration of a condition) The observation/effectiveTime SHALL be at least precise to the day. Warning: CONF-QRDA1-166 The value for Observation /code in a problem observation MAY be selected from ValueSet 2.16.840.1.113883.1.11.20.14 ProblemTypeCode STATIC 20061017. Error: CONF-QRDA1-169 A CMS EHR QRDA Problem status observation (2.16.840.1.113883.3.249.11.100.12) SHALL conform to the rules of the Problem status Observation problem status observation (2.16.840.1.113883.10.20.1.50). Error: CONF-QRDA1-169 A problem observation SHALL contain exactly one CMS EHR QRDA Problem status observation. The template identifier for a problem status observation is 2.16.840.1.113883.10.20.1.50. Error: CONF-QRDA1-170 the value for observation/code/@code in problem status observation (templateId 2.16.840.1.113883.10.20.1.50) SHALL be 33999-4 status 2.16.840.1.113883.6.1 LOINC STATIC. Error: CONF-QRDA1-171 The value for Observation / value in a problem status observation SHALL be seleced from ValuseSet 2.16.840.1.113883.1.11.20.13 ProbleStatusCode STATIC 20061017. Refer Apendix_P-Vocabs_and_ValueSets tab of the Downloadabe Resources table. Warning: CONF-QRDA1-172 A problem observation MAY contain exactly one problem healthstatus observation. The template identifier for a problem healthstatus observation is 2.16.840.1.113883.10.20.1.51. Error: CONF-QRDA1-173 The value for Observation /value in a problem healthstatusobservation SHALL be selected from ValuseSet 2.16.840.1.113883.1.11.20.12 ProblemHealthStatus STATIC 20061017. Refer Appendix_P-Vocabs_and_ValueSets tab of the Downloadable Resources table.