Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-37465

Incorrect definition of canonical data type

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: High High
    • FHIR Core (FHIR)
    • R4
    • FHIR Infrastructure
    • Datatypes
    • Hide

      Will fix for R4b. Take note of Gino's comment. 

      Show
      Will fix for R4b. Take note of Gino's comment. 
    • Gino Canessa/Grahame Grieve: 12-0-0
    • Correction
    • Compatible, substantive
    • R5

    Description

      The canonical datatype has an incorrect definition for canonical.value.

      The .value element is defined as a string, but should be a canonical (or at least a uri).

      At the time of filing, I verified this is the definition in R4 4.0.1, R4B snapshot1 (CI branch no longer exists) and R5 CI Build.

      {
            "id": "canonical.value",
            "path": "canonical.value",
            "representation": ["xmlAttr"],
            "short": "Primitive value for canonical",
            "definition": "Primitive value for canonical",
            "min": 0,
            "max": "1",
            "base": {
              "path": "uri.value",
              "min": 0,
              "max": "1"
            },
            "type": [{
              "extension": [{
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }, {
                "url": "http://hl7.org/fhir/StructureDefinition/regex",
                "valueString": "\\S*"
              }],
              "code": "http://hl7.org/fhirpath/System.String"
            }],
      

      Attachments

        Activity

          People

            GrahameGrieve Grahame Grieve
            ginocanessa Gino Canessa
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: