PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.aitransparency@1.0.0
    http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AI-ModelCard
description: A DocumentReference that contains a Model-Card describing an AI system.
package_name: hl7.fhir.uv.aitransparency
derivation: constraint
name: AIModelCard
type: DocumentReference
elements:
  identifier: {mustSupport: true, index: 0}
  type:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: AIModelCard, system: 'http://terminology.hl7.org/CodeSystem/AIinputsCS'}
    index: 1
  category:
    mustSupport: true
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        AImodelCardMD:
          match:
            coding:
            - {code: AIModelCardMarkdownFormat, system: 'http://terminology.hl7.org/CodeSystem/AIinputsCS', display: Markdown Format}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: AIModelCardMarkdownFormat, system: 'http://terminology.hl7.org/CodeSystem/AIinputsCS', display: Markdown Format}
            index: 3
          min: 0
          max: 1
        AImodelCardCHAI:
          match:
            coding:
            - {code: AImodelCardCHAIformat, system: 'http://terminology.hl7.org/CodeSystem/AIinputsCS', display: CHAI Format}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: AImodelCardCHAIformat, system: 'http://terminology.hl7.org/CodeSystem/AIinputsCS', display: CHAI Format}
            index: 4
          min: 0
          max: 1
  description: {mustSupport: true, index: 5}
  content:
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: attachment.contentType, type: value}
      min: null
      slices:
        MarkdownFormat:
          match:
            attachment: {contentType: text/markdown}
          schema:
            index: 7
            elements:
              attachment:
                elements:
                  contentType:
                    pattern: {type: Code, value: text/markdown}
                    mustSupport: true
                    index: 8
                  data: {mustSupport: true, index: 9}
                  url: {mustSupport: true, index: 10}
                required: [contentType]
        CHAIformat:
          match:
            attachment: {contentType: application/xml}
          schema:
            index: 11
            elements:
              attachment:
                elements:
                  contentType:
                    pattern: {type: Code, value: application/xml}
                    mustSupport: true
                    index: 12
                  data: {mustSupport: true, index: 13}
                  url: {mustSupport: true, index: 14}
                required: [contentType]
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AI-ModelCard
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: 1.0.0
required: [type, category]