yearIsValid() in InstanceValidator doesn't make sense

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive with Modification
    • Priority: Medium
    • FHIR Core (FHIR)
    • STU3
    • FHIR Infrastructure
    • (NA)
    • Hide

      Keep the validation, but if triggerd, change the result from an error to a warning.

      Show
      Keep the validation, but if triggerd, change the result from an error to a warning.
    • RIck Geimer/Lloyd McKenzie: 8-0-0
    • Correction
    • Non-substantive

      yearIsValid() currently checks if the year i is_ i >= 1800 && i <= 2100_

      The FHIR spec only has a regex to validate dates and doesn't has restrictions on min or max years, i propose to just get rid of yearIsValid() and do only the regex check.

            Assignee:
            Unassigned
            Reporter:
            Patrick Werner
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: