description: A DocumentReference that contains an input prompt for an AI system. The Input Prompt is the information that is input into the AI system to produce an output. This DocumentReference can be used to capture the Input Prompt that was used with a given AI system, and can be referenced from the Provenance that tracks the usage of the AI system. The AI Prompt is typically encoded in markdown, but does not need to be. This DocumentReference would be referenced in the Provenance as the input to an Activity that represents the usage of the AI system, and the AIDevice would be referenced as the agent in that Provenance. This allows for traceability from the output back to the Input Prompt and the AI system that produced it. package_name: hl7.fhir.uv.aitransparency derivation: constraint name: AIInputPrompt 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: AIInputPrompt: match: {code: AIInputPrompt, system: 'http://terminology.hl7.org/CodeSystem/AIinputsCS'} schema: mustSupport: true pattern: type: Coding value: {code: AIInputPrompt, system: 'http://terminology.hl7.org/CodeSystem/AIinputsCS'} _required: true index: 3 min: 1 max: 1 required: [coding] description: {mustSupport: true, index: 4} content: index: 5 slicing: rules: open discriminator: - {path: attachment.contentType, type: value} min: null slices: MarkdownFormat: match: attachment: {contentType: text/markdown} schema: index: 6 elements: attachment: elements: contentType: pattern: {type: Code, value: text/markdown} mustSupport: true index: 7 data: {mustSupport: true, index: 8} url: {mustSupport: true, index: 9} required: [contentType] package_version: 1.0.0 class: profile kind: resource url: http://hl7.org/fhir/uv/aitransparency/StructureDefinition/AI-InputPrompt base: http://hl7.org/fhir/StructureDefinition/DocumentReference version: 1.0.0 required: [type]