NameFlagsCard.TypeDescription & Constraintsdoco
.. ExampleScenario TUDomainResourceExample of workflow instance
+ Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation
+ Rule: Must have actors if status is active or required
+ Rule: Must have processes if status is active or required
+ Rule: Actor keys must be unique
+ Rule: Actor titles must be unique
+ Rule: Instance keys must be unique
+ Rule: Instance titles must be unique
+ Rule: Process titles must be unique

Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension
Interfaces Implemented: CanonicalResource
... url ΣC0..1uriCanonical identifier for this example scenario, represented as a URI (globally unique)
+ Warning: URL should not contain | or # - these characters make processing canonical references problematic
... identifier Σ0..*IdentifierAdditional identifier for the example scenario

... version Σ0..1stringBusiness version of the example scenario
... versionAlgorithm[x] Σ0..1How to compare versions
Binding: Version Algorithm (Extensible)
.... versionAlgorithmStringstring
.... versionAlgorithmCodingCoding
... name ΣC0..1stringTo be removed?
... title ΣT0..1stringName for this example scenario (human friendly)
... status ?!ΣC1..1codedraft | active | retired | unknown
Binding: PublicationStatus (Required)
... experimental Σ0..1booleanFor testing purposes, not real usage
... date Σ0..1dateTimeDate last changed
... publisher ΣT0..1stringName of the publisher/steward (organization or individual)
... contact Σ0..*ContactDetailContact details for the publisher

... description ΣT0..1markdownNatural language description of the ExampleScenario
... useContext Σ0..*UsageContextThe context that the content is intended to support

... jurisdiction ΣXD0..*CodeableConceptIntended jurisdiction for example scenario (if applicable)
Binding: Jurisdiction ValueSet (Extensible)

... purpose T0..1markdownThe purpose of the example, e.g. to illustrate a scenario
... copyright 0..1markdownUse and/or publishing restrictions
... copyrightLabel T0..1stringCopyright holder and year(s)
... actor C0..*BackboneElementIndividual involved in exchange
+ Warning: Actor should be referenced in at least one operation
+ Rule: actor.key canot be 'OTHER'

.... key C1..1stringID or acronym of the actor
.... type 1..1codeperson | system
Binding: Example Scenario Actor Type (Required)
.... title TC1..1stringLabel for actor when rendering
.... description T0..1markdownDetails about actor
... instance C0..*BackboneElementData used in the scenario
+ Rule: StructureVersion is required if structureType is not FHIR (but may still be present even if FHIR)
+ Rule: instance.content is only allowed if there are no instance.versions
+ Rule: Version keys must be unique within an instance
+ Rule: Version titles must be unique within an instance
+ Warning: Instance should be referenced in at least one location
+ Warning: Instance version should be referenced in at least one operation

.... key C1..1stringID or acronym of the instance
.... structureType C1..1CodingData structure for example
Binding: Example Scenario Resource Type (Extensible)
.... structureVersion C0..1stringE.g. 4.0.1
.... structureProfile[x] 0..1Rules instance adheres to
..... structureProfileCanonicalcanonical()
..... structureProfileUriuri
.... title TC1..1stringLabel for instance
.... description T0..1markdownHuman-friendly description of the instance
.... content C0..1Reference()Example instance data
.... version C0..*BackboneElementSnapshot of instance that changes

..... key C1..1stringID or acronym of the version
..... title C1..1stringLabel for instance version
..... description T0..1markdownDetails about version
..... content 0..1Reference()Example instance version data
.... containedInstance C0..*BackboneElementResources contained in the instance
+ Rule: InstanceReference must be a key of an instance defined in the ExampleScenario
+ Rule: versionReference must be specified if the referenced instance defines versions
+ Rule: versionReference must be a key of a version within the instance pointed to by instanceReference

..... instanceReference C1..1stringKey of contained instance
..... versionReference C0..1stringKey of contained instance version
... process C0..*BackboneElementMajor process within scenario
+ Rule: Processes must have steps if ExampleScenario status is active or required

.... title ΣTC1..1stringLabel for procss
.... description T0..1markdownHuman-friendly description of the process
.... preConditions T0..1markdownStatus before process starts
.... postConditions T0..1markdownStatus after successful completion
.... step C0..*BackboneElementEvent within of the process
+ Rule: Alternative titles must be unique within a step
+ Rule: Can have a process, a workflow, one or more operations or none of these, but cannot have a combination

..... number 0..1stringSequential number of the step
..... process 0..1see processStep is nested process
..... workflow C0..1canonical(ExampleScenario)Step is nested workflow
..... operation C0..1BackboneElementStep is simple action
+ Rule: If specified, initiator must be a key of an actor within the ExampleScenario
+ Rule: If specified, receiver must be a key of an actor within the ExampleScenario
...... type 0..1CodingKind of action
Binding: Test Script Operation Code (Extensible)
...... title 1..1stringLabel for step
...... initiator C0..1stringWho starts the operation
...... receiver C0..1stringWho receives the operation
...... description T0..1markdownHuman-friendly description of the operation
...... initiatorActive 0..1booleanInitiator stays active?
...... receiverActive 0..1booleanReceiver stays active?
...... request 0..1see containedInstanceInstance transmitted on invocation
...... response 0..1see containedInstanceInstance transmitted on invocation response
..... alternative C0..*BackboneElementAlternate non-typical step action

...... title TC1..1stringLabel for alternative
...... description T0..1markdownHuman-readable description of option
...... step 0..*see stepAlternative action(s)

..... pause 0..1booleanPause in the flow?

doco Documentation for this format