Skip to main content

ExampleScenario

ResourceFoundation · ConformanceTrial useMaturity 0

Example of workflow instance.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
11 of 13 parameters tested

Structure​

ElementCard.TypeDescription
urlΣ
0..1uriCanonical identifier for this example scenario, represented as a URI (globally unique)
identifierΣ
0..*IdentifierAdditional identifier for the example scenario
versionΣ
0..1stringBusiness version of the example scenario
nameΣ
0..1stringName for this example scenario (computer friendly)
statusRequired?!Σ
1..1codedraft | active | retired | unknownBinding (required): publication-status
experimentalΣ
0..1booleanFor testing purposes, not real usage
dateΣ
0..1dateTimeDate last changed
publisherΣ
0..1stringName of the publisher (organization or individual)
contactΣ
0..*ContactDetailContact details for the publisher
useContextΣ
0..*UsageContextThe context that the content is intended to support
jurisdictionΣ
0..*CodeableConceptIntended jurisdiction for example scenario (if applicable)Binding (extensible): jurisdiction
copyright
0..1markdownUse and/or publishing restrictions
purpose
0..1markdownThe purpose of the example, e.g. to illustrate a scenario
actor
0..*BackboneElementActor participating in the resource
actorIdRequired
1..1stringID or acronym of the actor
typeRequired
1..1codeperson | entityBinding (required): examplescenario-actor-type
name
0..1stringThe name of the actor as shown in the page
description
0..1markdownThe description of the actor
instance
0..*BackboneElementEach resource and each version that is present in the workflow
resourceIdRequired
1..1stringThe id of the resource for referencing
resourceTypeRequired
1..1codeThe type of the resourceBinding (required): resource-types
name
0..1stringA short name for the resource instance
description
0..1markdownHuman-friendly description of the resource instance
version
0..*BackboneElementA specific version of the resource
versionIdRequired
1..1stringThe identifier of a specific version of a resource
descriptionRequired
1..1markdownThe description of the resource version
containedInstance
0..*BackboneElementResources contained in the instance
resourceIdRequired
1..1stringEach resource contained in the instance
versionId
0..1stringA specific version of a resource contained in the instance
process
0..*BackboneElementEach major process - a group of operations
titleRequiredΣ
1..1stringThe diagram title of the group of operations
description
0..1markdownA longer description of the group of operations
preConditions
0..1markdownDescription of initial status before the process starts
postConditions
0..1markdownDescription of final status after the process ends
step
0..*BackboneElementEach step of the process
process
0..*Same as ExampleScenario.processNested process
pause
0..1booleanIf there is a pause in the flow
operation
0..1BackboneElementEach interaction or action
numberRequired
1..1stringThe sequential number of the interaction
type
0..1stringThe type of operation - CRUD
name
0..1stringThe human-friendly name of the interaction
initiator
0..1stringWho starts the transaction
receiver
0..1stringWho receives the transaction
description
0..1markdownA comment to be inserted in the diagram
initiatorActive
0..1booleanWhether the initiator is deactivated right after the transaction
receiverActive
0..1booleanWhether the receiver is deactivated right after the transaction
request
0..1Same as ExampleScenario.instance.containedInstanceEach resource instance used by the initiator
response
0..1Same as ExampleScenario.instance.containedInstanceEach resource instance used by the responder
alternative
0..*BackboneElementAlternate non-typical step action
titleRequired
1..1stringLabel for alternative
description
0..1markdownA human-readable description of each option
step
0..*Same as ExampleScenario.process.stepWhat happens in each alternative option
workflow
0..*canonical(ExampleScenario)Another nested workflow

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/ExampleScenario?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
contexttoken

A use context assigned to the example scenario

(ExampleScenario.useContext.value.ofType(CodeableConcept))
context-quantityquantity

A quantity- or range-valued use context assigned to the example scenario

(ExampleScenario.useContext.value.ofType(Quantity)) | (ExampleScenario.useContext.value.ofType(Range))
context-typetoken

A type of use context assigned to the example scenario

ExampleScenario.useContext.code
context-type-quantitycomposite

A use context type and quantity- or range-based value assigned to the example scenario

ExampleScenario.useContext
context-type-valuecomposite

A use context type and value assigned to the example scenario

ExampleScenario.useContext
datedate

The example scenario publication date

ExampleScenario.date
identifiertoken

External identifier for the example scenario

ExampleScenario.identifier
jurisdictiontoken

Intended jurisdiction for the example scenario

ExampleScenario.jurisdiction
namestring

Computationally friendly name of the example scenario

ExampleScenario.name
publisherstring

Name of the publisher of the example scenario

ExampleScenario.publisher
statustoken

The current status of the example scenario

ExampleScenario.status
urluri

The uri that identifies the example scenario

ExampleScenario.url
versiontoken

The business version of the example scenario

ExampleScenario.version

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition