Uploaded image for project: 'Gazelle HL7 Validator'
  1. Gazelle HL7 Validator
  2. HLVAL-332

Wrong constraints on PatientTelecom/value and PatientAddress/value elements

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.2.6
    • Fix Version/s: 3.3.0
    • Component/s: HL7v3 Validator
    • Labels:
      None
    • Account:
      VENICE 2017 (VENICE2017)

      Description

      Gazelle HL7 Validator reports the failures for the following fragment:
        <parameterList>
                      <livingSubjectId>
                          <value extension="7777" root="1.2.3"/>
                          <semanticsText>LivingSubject.id</semanticsText>
                      </livingSubjectId>
                      <patientAddress>
                          <value>
                              <city>Petaouchnock</city>
                              <streetAddressLine>9 rue du soleil levant</streetAddressLine>
                              <postalCode>78987</postalCode>
                          </value>
                          <value>
                              <city>La haut</city>
                              <state>solar</state>
                              <streetAddressLine>9 rue du soleil qui se couche</streetAddressLine>
                              <country>La lune</country>
                              <postalCode>88</postalCode>
                          </value>
                          <semanticsText>Patient.addr</semanticsText>
                      </patientAddress>
                      <patientTelecom>
                          <value use="HP" value="tel:09887789"/>
                          <value use="HP" value="tel:9890978890"/>
                          <semanticsText>Patient.telecom</semanticsText>
                      </patientTelecom>
                  </parameterList>

      Failures:
      Exactly one value attribute SHALL be present in PatientAddress parameter (Section 3.47.4.1.2.2 - ITI TF-2b)
      Exactly one value attribute SHALL be present in PatientTelecom parameter (Section 3.47.4.1.2.2 - ITI TF-2b)

      But in TF we can read that the cardinality of the value element for those parameters is 1..* and
      "Multiple instances of the value element within a Patient Address may be specified and are combined with OR logic" and "Multiple instances of the value element within a PatientTelecom may be specified and are combined with OR logic."

      The validator shall be fixed (PDQV3 query + XCPD queries)

        Attachments

          Activity

            People

            • Assignee:
              aberge Anne-Gaelle Berge
              Reporter:
              aberge Anne-Gaelle Berge
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

                  Potential Duplicates