PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.aitransparency@1.0.0-ballot
    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
    index: 1
    elements:
      coding:
        index: 2
        slicing:
          rules: closed
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            AImodelCard:
              match: {code: AIModelCard, system: 'http://hl7.org/fhir/uv/aitransparency/CodeSystem/AImodelCardCS', display: AI Model-Card}
              schema:
                mustSupport: true
                pattern:
                  type: Coding
                  value: {code: AIModelCard, system: 'http://hl7.org/fhir/uv/aitransparency/CodeSystem/AImodelCardCS', display: AI Model-Card}
                array: true
                min: 1
                _required: true
                index: 3
              min: 1
    required: [coding]
  category:
    mustSupport: true
    index: 4
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        AImodelCard:
          match:
            coding:
            - {code: AIInputPrompt, system: 'http://hl7.org/fhir/uv/aitransparency/CodeSystem/AImodelCardCS', display: AI Input Prompt}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: AIInputPrompt, system: 'http://hl7.org/fhir/uv/aitransparency/CodeSystem/AImodelCardCS', display: AI Input Prompt}
            array: true
            min: 1
            _required: true
            index: 5
          min: 1
        AImodelCardMD:
          match:
            coding:
            - {code: AImodelCardMarkdownFormat, system: 'http://hl7.org/fhir/uv/aitransparency/CodeSystem/AImodelCardCS', display: Markdown Format}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: AImodelCardMarkdownFormat, system: 'http://hl7.org/fhir/uv/aitransparency/CodeSystem/AImodelCardCS', display: Markdown Format}
            index: 6
          min: 0
          max: 1
        AImodelCardCHAI:
          match:
            coding:
            - {code: AImodelCardCHAIformat, system: 'http://hl7.org/fhir/uv/aitransparency/CodeSystem/AImodelCardCS', display: CHAI Format}
          schema:
            mustSupport: true
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: AImodelCardCHAIformat, system: 'http://hl7.org/fhir/uv/aitransparency/CodeSystem/AImodelCardCS', display: CHAI Format}
            index: 7
          min: 0
          max: 1
  description: {mustSupport: true, index: 8}
  content:
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: attachment.contentType, type: value}
      min: null
      slices:
        MarkdownFormat:
          match:
            attachment: {contentType: text/markdown}
          schema:
            index: 10
            elements:
              attachment:
                elements:
                  contentType:
                    pattern: {type: Code, value: text/markdown}
                    mustSupport: true
                    index: 11
                  data: {mustSupport: true, index: 12}
                  url: {mustSupport: true, index: 13}
                required: [contentType]
        CHAIformat:
          match:
            attachment: {contentType: application/xml}
          schema:
            index: 14
            elements:
              attachment:
                elements:
                  contentType:
                    pattern: {type: Code, value: application/xml}
                    mustSupport: true
                    index: 15
                  data: {mustSupport: true, index: 16}
                  url: {mustSupport: true, index: 17}
                required: [contentType]
package_version: 1.0.0-ballot
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-ballot
required: [type, category]