FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.aitransparency
Resource TypeStructureDefinition
IdStructureDefinition-AIconfidence.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/HL7/aitransparency-ig/StructureDefinition-AIconfidence.html
URLhttp://hl7.org/fhir/uv/aitransparency/StructureDefinition/AIconfidence
Version1.0.0-current
Statusactive
Date2026-08-05T23:12:49+00:00
NameAIconfidence
TitleAI Confidence
Realmuv
Authorityhl7
DescriptionThe confidence that an AI system has in the result recorded in the resource or element to which this extension is attached. The confidence is expressible as: - valueDecimal → probabilities (0-1), - valueQuantity → percentage with units (%), - valueRange → confidence intervals, - valueCodeableConcept → e.g. categorical (“low/medium/high”), - valueString → free-form (fallback / legacy).
TypeExtension
Kindcomplex-type

Resources that use this resource

No resources found


Resources that this resource uses

ValueSet
hl7.terminology#currentcertainty-ratingStatisticCertaintyRating

Examples of Use for Extension

ResourceVersion
hl7.fhir.uv.aitransparency#current:Observation/f206R4
hl7.fhir.uv.aitransparency#current:Procedure/procR4

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition AIconfidence

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionAI Confidence
... extension 0..0Extension
... url 1..1uri"http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AIconfidence"
... Slices for value[x] S1..1Value of extension
Slice: Unordered, Open by type:$this
.... valueDecimaldecimal
.... valueStringstring
.... valueCodeableConceptCodeableConcept
.... valueQuantityQuantity
.... valueRangeRange
.... value[x]:valueDecimal S0..1decimalProbability
.... value[x]:valueQuantity S0..1QuantityPercentage
.... value[x]:valueRange S0..1RangeConfidence Interval
.... value[x]:valueCodeableConcept S0..1CodeableConceptCategorical Confidence
Binding: StatisticCertaintyRating (2.0.0) (required)
.... value[x]:valueString S0..1stringFree-form Confidence

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "AIconfidence",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "ehr"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 2,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/aitransparency/ImplementationGuide/hl7.fhir.uv.aitransparency"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/aitransparency/ImplementationGuide/hl7.fhir.uv.aitransparency"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AIconfidence",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.79.42.8"
    }
  ],
  "version": "1.0.0-current",
  "name": "AIconfidence",
  "title": "AI Confidence",
  "status": "active",
  "date": "2026-08-05T23:12:49+00:00",
  "publisher": "HL7 International / Electronic Health Records",
  "contact": [
    {
      "name": "HL7 International / Electronic Health Records",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/ehr"
        },
        {
          "system": "email",
          "value": "ehr@lists.hl7.org"
        }
      ]
    }
  ],
  "description": "The confidence that an AI system has in the result recorded in the resource or element to which this extension is attached. The confidence is expressible as: \n\n- valueDecimal → probabilities (0-1), \n- valueQuantity → percentage with units (%), \n- valueRange → confidence intervals, \n- valueCodeableConcept → e.g. categorical (“low/medium/high”), \n- valueString → free-form (fallback / legacy).",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Resource"
    },
    {
      "type": "element",
      "expression": "Element"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "AI Confidence",
        "definition": "The confidence that an AI system has in the result recorded in the resource or element to which this extension is attached. The confidence is expressible as: \n\n- valueDecimal → probabilities (0-1), \n- valueQuantity → percentage with units (%), \n- valueRange → confidence intervals, \n- valueCodeableConcept → e.g. categorical (“low/medium/high”), \n- valueString → free-form (fallback / legacy).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Extension.id",
        "path": "Extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "uri"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AIconfidence",
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "closed"
        },
        "short": "Value of extension",
        "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          },
          {
            "code": "string"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]:valueDecimal",
        "path": "Extension.value[x]",
        "sliceName": "valueDecimal",
        "short": "Probability",
        "definition": "The probability that the result is correct, expressed as a decimal between 0 and 1.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]:valueQuantity",
        "path": "Extension.value[x]",
        "sliceName": "valueQuantity",
        "short": "Percentage",
        "definition": "The probability that the result is correct, expressed as a percentage with units.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]:valueRange",
        "path": "Extension.value[x]",
        "sliceName": "valueRange",
        "short": "Confidence Interval",
        "definition": "The confidence interval for the result, expressed as a range of values.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Range"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]:valueCodeableConcept",
        "path": "Extension.value[x]",
        "sliceName": "valueCodeableConcept",
        "short": "Categorical Confidence",
        "definition": "The confidence that the result is correct, expressed as a categorical value (e.g., low/medium/high).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/certainty-rating|2.0.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]:valueString",
        "path": "Extension.value[x]",
        "sliceName": "valueString",
        "short": "Free-form Confidence",
        "definition": "The confidence that the result is correct, expressed as a free-form string.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "AI Confidence",
        "definition": "The confidence that an AI system has in the result recorded in the resource or element to which this extension is attached. The confidence is expressible as: \n\n- valueDecimal → probabilities (0-1), \n- valueQuantity → percentage with units (%), \n- valueRange → confidence intervals, \n- valueCodeableConcept → e.g. categorical (“low/medium/high”), \n- valueString → free-form (fallback / legacy)."
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "max": "0"
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AIconfidence"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 1,
        "type": [
          {
            "code": "decimal"
          },
          {
            "code": "string"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Extension.value[x]:valueDecimal",
        "path": "Extension.value[x]",
        "sliceName": "valueDecimal",
        "short": "Probability",
        "definition": "The probability that the result is correct, expressed as a decimal between 0 and 1.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Extension.value[x]:valueQuantity",
        "path": "Extension.value[x]",
        "sliceName": "valueQuantity",
        "short": "Percentage",
        "definition": "The probability that the result is correct, expressed as a percentage with units.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Extension.value[x]:valueRange",
        "path": "Extension.value[x]",
        "sliceName": "valueRange",
        "short": "Confidence Interval",
        "definition": "The confidence interval for the result, expressed as a range of values.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Range"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Extension.value[x]:valueCodeableConcept",
        "path": "Extension.value[x]",
        "sliceName": "valueCodeableConcept",
        "short": "Categorical Confidence",
        "definition": "The confidence that the result is correct, expressed as a categorical value (e.g., low/medium/high).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true,
        "binding": {
          "strength": "required",
          "valueSet": "http://terminology.hl7.org/ValueSet/certainty-rating|2.0.0"
        }
      },
      {
        "id": "Extension.value[x]:valueString",
        "path": "Extension.value[x]",
        "sliceName": "valueString",
        "short": "Free-form Confidence",
        "definition": "The confidence that the result is correct, expressed as a free-form string.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}