PackagesCanonicalsLogsProblems
    Packages
    io.health-samurai.sdc.r3@0.2608.0
    http://health-samurai.io/fhir/sdc/StructureDefinition/SDCVoicePrompt
description: Versioned instruction text for a voice agent. Separate from SDCVoiceAgent so the wording can be revised and rolled back on its own lineage; agents reference the lineage url and the current active version is resolved at call time.
package_name: io.health-samurai.sdc.r3
derivation: specialization
name: SDCVoicePrompt
type: SDCVoicePrompt
elements:
  role:
    type: code
    short: 'Which conversation stage this text drives: interviewer | summarizer | extractor.'
    constraint:
      voice-prompt-role-1: {human: 'Role must be one of: interviewer, summarizer, extractor', severity: error, expression: $this in ('interviewer' | 'summarizer' | 'extractor')}
    index: 8
  description: {type: markdown, short: 'What this prompt is for, and what changed in this revision.', index: 7}
  date: {type: dateTime, short: When this revision was authored., index: 5}
  publisher: {type: string, short: Who authored this revision., index: 6}
  name: {type: string, short: Machine-readable name., index: 2}
  title: {type: string, short: Human-readable name., index: 3}
  prompt: {type: markdown, short: 'The instruction text itself, sent as the system message.', index: 9}
  status:
    type: code
    short: draft | active | retired. Only active revisions are picked up by agents.
    constraint:
      voice-prompt-status-1: {human: 'Status must be one of: draft, active, retired', severity: error, expression: $this in ('draft' | 'active' | 'retired')}
    index: 4
  url: {type: uri, short: 'Canonical identity of the prompt lineage, stable across versions.', index: 0}
  version: {type: string, short: 'Business version of this revision, e.g. 1.2.0.', index: 1}
package_version: 0.2608.0
class: resource
kind: resource
url: http://health-samurai.io/fhir/sdc/StructureDefinition/SDCVoicePrompt
base: http://hl7.org/fhir/StructureDefinition/DomainResource
version: 0.2608.0
required: [url, status, prompt]