schematron.cda_phmr.templates.2.16.840.1.113883.10.20.9.ent Maven / Gradle / Ivy
The newest version!
HL7 PHMR Document - errors validation phase
Error: CONF-PHMR-2: A ClinicalDocument/templateId element SHALL be present where
@root is 2.16.840.1.113883.10.20.9. This indicates conformance to this DSTU.
Error: CONF-PHMR-1: The root of a PHM report SHALL be a ClinicalDocument element
from the urn:hl7-org:v3 namespace.
Error: CONF-PHMR-3: The ClinicalDocument/code element SHALL be present. The value
for "ClinicalDocument/code" SHALL be "53576-5" "Personal Health Monitoring
Report" 2.16.840.1.113883.6.1 LOINC STATIC.
Error: CONF-PHMR-12: The ClinicalDocument/id element SHALL be present. The ClinicalDocument/id/@root attribute SHALL be a syntactically
correct UUID or OID.
CONF-PHMR-13: UUIDs SHALL be represented in the form
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, where each X is a character from the set
[A-Fa-f0-9].
CONF-PHMR-14: OIDs SHALL be represented in dotted decimal notation, where each
decimal number is either 0, or starts with a nonzero digit. More formally,
an OID SHALL be in the form ([0-2])(.([1-9][0-9]*|0))+.
Error: CONF-PHMR-15: ClinicalDocument/title SHALL be present.
Error: CONF-PHMR-16: The ClinicalDocument/effectiveTime element SHALL be present.
Error: CONF-PHMR-17: ClinicalDocument / languageCode element SHALL be present.
Error: CONF-PHMR-18: ClincalDocument / languageCode SHALL be in the form nn, or nn-CC.
Error: CONF-PHMR-21: Both ClinicalDocument/setId and ClinicalDocument/versionNumber SHALL
be present or both SHALL be absent.
Error: CONF-PHMR-22: The @extension and/or @root of ClinicalDocument/setId and
ClinicalDocument/id SHALL be different when both are present.
Error: CONF-PHMR-23: A ClinicalDocument/copyTime element SHALL NOT be present.
Error: CONF-PHMR-24: At least one recordTarget/patientRole element SHALL be present.
Error: CONF-PHMR-25: A patient/birthTime element SHALL be present. The patient/birthTime
element SHALL be precise at least to the year.
Error: CONF-PHMR-26: A patient/administrativeGenderCode element SHALL be present.
Error: CONF-PHMR-29: The author/time element represents the start time of the author's
participation in the creation of the clinical document. The author/time element
SHALL be present.
Error: CONF-PHMR-30: The assignedAuthor/id element SHALL be present.
Error: CONF-PHMR-31: An assignedAuthor element SHALL contain at least one assignedPerson
or assignedAuthoringDevice elements.
Error: CONF-PHMR-36: When informant is present, an assignedEntity/assignedPerson
or relatedEntity/relatedPerson element SHALL be present.
Error: CONF-PHMR-37: When informationRecipient is used, at least one
informationRecipient/intendedRecipient/informationRecipient or
informationRecipient/intendedRecipient/receivedOrganization SHALL be
present.
Error: CONF-PHMR-38: The assignedEntity/assignedPerson and/or
assignedEntity/representedOrganization element SHALL be present in
legalAuthenticator.
Error: CONF-PHMR-39: The assignedEntity/assignedPerson element SHALL be present in an authenticator
element.
Error: CONF-PHMR-40: The documentationOf/serviceEvent element SHALL be present.
Error: CONF-PHMR-41: The value for
ClinicalDocument/documentationOf/serviceEvent/@classCode SHALL be
MPROT (Monitoring Program) 2.16.840.1.113883.5.6 ActClass STATIC.
Error: CONF-PHMR-42: A serviceEvent/effectiveTime element SHALL be present, and
SHALL reflect the period of time for which the patient's health was monitored.
Error: CONF-PHMR-43: A Personal Healthcare Monitoring Report SHALL have a
structuredBody element. The content of this element makes up the human-
readable text of the document. This information SHALL be organized into sections
and MAY have subsections.
Error: CONF-PHMR-47: A personal healthcare monitoring report SHALL contain a Medical
Equipment section.
Error: CONF-PHMR-48: A personal healthcare monitoring report SHALL contain either a
Vital Signs section or Results section, and MAY contain both.
Error: CONF-PHMR-4: All patient guardianPerson, assignedPerson, maintainingPerson, relatedPerson,
intendedRecipient/informationRecipient, associatedPerson, and relatedSubject/subject
elements SHALL have a name.
Error: CONF-PHMR-4: All patient guardianPerson, assignedPerson, maintainingPerson, relatedPerson,
intendedRecipient/informationRecipient, associatedPerson, and relatedSubject/subject
elements SHALL have a name.
Error: CONF-PHMR-7: All guardianOrganization, providerOrganization, wholeOrganization,
representedOrganization, representedCustodianOrganization, receivedOrganization,
scopingOrganization and serviceProviderOrganization elements SHALL have name,
addr and telecom elements.
Error: CONF-PHMR-8: Times or time intervals found in the ClinicalDocument/effectiveTime,
author/time, dataEnterer/time, legalAuthenticator/time, authenticator/time and
encompassingEncounter/effectiveTime elements SHALL be precise to the day, and SHALL
include a time zone if more precise than to the day.
Error: CONF-PHMR-8: Times or time intervals found in the ClinicalDocument/effectiveTime,
author/time, dataEnterer/time, legalAuthenticator/time, authenticator/time and
encompassingEncounter/effectiveTime elements SHALL be precise to the day, and SHALL
include a time zone if more precise than to the day.
Error: CONF-PHMR-8: Times or time intervals found in the asOrganizationPartOf/effectiveTime,
asMaintainedEntity/effectiveTime, relatedEntity/effectiveTime, serviceEvent/effectiveTime,
ClinicalDocument/participant/time, serviceEvent/performer/time and encounterParticipant/time
SHALL be precise at least to the year.
Error: CONF-PHMR-8: Times or time intervals found in the asOrganizationPartOf/effectiveTime,
asMaintainedEntity/effectiveTime, relatedEntity/effectiveTime, serviceEvent/effectiveTime,
ClinicalDocument/participant/time, serviceEvent/performer/time and encounterParticipant/time
SHALL be precise at least to the year.
Error: CONF-PHMR-10: Telephone numbers SHALL match the regular expression pattern tel:\+?[-0-9().]+
Error: CONF-PHMR-11: At least one dialing digit SHALL be present in the phone number after visual
separators are removed.
Error: CONF-PHMR-33: When dataEnterer is present, an assignedEntity/assignedPerson element SHALL
be present.
Error: CONF-PHMR-45: All section elements in the body of the document SHALL have a
code element.
Error: CONF-PHMR-46: All section elements in the body of the document SHALL have some
nonblank text or one or more subsections, even if the purpose of the text is only to
indicate that information is unknown.
HL7 PHMR Document - warning validation phase
Warning: CONF-PHMR-16: The ClinicalDocument/effectiveTime element SHOULD be precise to the second
Warning: CONF-PHMR-25: A patient/birthTime element SHOULD be precise at least to the day.
Warning: CONF-PHMR-26: Values for administrativeGenderCode SHOULD be drawn from the HL7
AdministrativeGender vocabulary.
Warning: CONF-PHMR-8: Times or time intervals found in the ClinicalDocument/effectiveTime,
author/time, dataEnterer/time, legalAuthenticator/time, authenticator/time and
encompassingEncounter/effectiveTime elements SHOULD be precise to the second.
Warning: CONF-PHMR-9: Times or time intervals found in the asOrganizationPartOf/effectiveTime,
asMaintainedEntity/effectiveTime, relatedEntity/effectiveTime,
ClinicalDocument/participant/time, serviceEvent/effectiveTime, serviceEvent/performer/time
and encounterParticipant/time ... SHOULD be precise to the day.
Warning: CONF-PHMR-9: Times or time intervals found in the asOrganizationPartOf/effectiveTime,
asMaintainedEntity/effectiveTime, relatedEntity/effectiveTime,
ClinicalDocument/participant/time, serviceEvent/effectiveTime, serviceEvent/performer/time
and encounterParticipant/time ... SHOULD be precise to the day.
Warning: CONF-PHMR-9: Times or time intervals found in the asOrganizationPartOf/effectiveTime,
asMaintainedEntity/effectiveTime, relatedEntity/effectiveTime,
ClinicalDocument/participant/time, serviceEvent/effectiveTime, serviceEvent/performer/time
and encounterParticipant/time ... SHOULD be precise to the day.
HL7 PHMR Document - notes validation phase
Note: CONF-PHMR-35: The informant element MAY be present.
Note: CONF-PHMR-37: The ClinicalDocument/informationRecipient element MAY be
present.
Note: CONF-PHMR-39: An authenticator MAY be present.
Note: CONF-PHMR-28: The providerOrganization element MAY be present.
Note: CONF-PHMR-34: The time element MAY be present. If present, it represents the starting
time of entry of the data.