This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions
Clinical Decision Support Work Group | Maturity Level: 0 | Trial Use | Use Context: Any |
The canonical URL for this profile is:
http://hl7.org/fhir/StructureDefinition/cdshooksrequestorchestration
Defines a RequestOrchestration that can represent a CDS Hooks response
This profile was published on Thu, Jan 1, 1970 00:00+0000 as a draft by HL7.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from RequestOrchestration.
Summary
Mandatory: 2 elements
Must-Support: 14 elements
This indicates the differences between this profile and the base RequestOrchestration structure.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
RequestOrchestration | 1..1 | RequestOrchestration | A set of related requests | |
identifier | 1..1 | Identifier | Business identifier | |
instantiatesUri | 1..1 | uri | Instantiates external protocol or definition | |
priority | S | 0..1 | code | routine | urgent | asap | stat |
subject | S | 0..1 | Reference(CareTeam | Device | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who the request orchestration is about |
authoredOn | S | 0..1 | dateTime | When the request orchestration was authored |
author | S | 0..1 | Reference(Device | Practitioner | PractitionerRole) | Device or practitioner that authored the request orchestration |
action | 0..* | BackboneElement | Proposed actions, if any | |
title | S | 0..1 | string | User-visible title |
description | S | 0..1 | markdown | Short description of the action |
priority | S | 0..1 | code | routine | urgent | asap | stat |
documentation | S | 0..* | RelatedArtifact | Supporting documentation for the intended performer of the action |
condition | S | 0..* | BackboneElement | Whether or not the action is applicable |
timing[x] | S | 0..1 | dateTime, Age, Period, Duration, Range, Timing | When the action should take place |
participant | S | 0..* | BackboneElement | Who should perform the action |
type | S | 0..1 | CodeableConcept | create | update | remove | fire-event |
selectionBehavior | S | 0..1 | code | any | all | all-or-none | exactly-one | at-most-one | one-or-more |
resource | S | 0..1 | Reference(Resource) | The target of the action |
Documentation for this format |
This provides the consolidated view (aka snapshot) of the profile after applying the changes in this profile to the base RequestOrchestration structure.
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
RequestOrchestration | 1..1 | RequestOrchestration | A set of related requests | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: All Languages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 1..1 | Identifier | Business identifier | ||||
instantiatesCanonical | Σ | 0..* | canonical() | Instantiates FHIR protocol or definition | ||||
instantiatesUri | Σ | 1..1 | uri | Instantiates external protocol or definition | ||||
basedOn | 0..* | Reference(Resource) | Fulfills plan, proposal, or order | |||||
replaces | 0..* | Reference(Resource) | Request(s) replaced by this request | |||||
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of | ||||
status | ?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Codes identifying the lifecycle stage of a request. | ||||
intent | ?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a request. | ||||
priority | SΣ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
code | Σ | 0..1 | CodeableConcept | What's being requested/ordered Binding: Action Code (example) | ||||
subject | S | 0..1 | Reference(CareTeam | Device | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who the request orchestration is about | ||||
encounter | 0..1 | Reference(Encounter) | Created as part of | |||||
authoredOn | S | 0..1 | dateTime | When the request orchestration was authored | ||||
author | S | 0..1 | Reference(Device | Practitioner | PractitionerRole) | Device or practitioner that authored the request orchestration | ||||
reason | 0..* | CodeableReference(Condition | Observation | DiagnosticReport | DocumentReference) | Why the request orchestration is needed Binding: Action Reason Code (example) | |||||
goal | 0..* | Reference(Goal) | What goals | |||||
note | 0..* | Annotation | Additional notes about the response | |||||
action | C | 0..* | BackboneElement | Proposed actions, if any rqg-1: Must have resource or action but not both | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
linkId | 0..1 | string | Pointer to specific item from the PlanDefinition | |||||
prefix | 0..1 | string | User-visible prefix for the action (e.g. 1. or A.) | |||||
title | S | 0..1 | string | User-visible title | ||||
description | SΣ | 0..1 | markdown | Short description of the action | ||||
textEquivalent | Σ | 0..1 | markdown | Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system | ||||
priority | S | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
code | 0..* | CodeableConcept | Code representing the meaning of the action or sub-actions Binding: Action Code (example) | |||||
documentation | S | 0..* | RelatedArtifact | Supporting documentation for the intended performer of the action | ||||
goal | 0..* | Reference(Goal) | What goals | |||||
condition | S | 0..* | BackboneElement | Whether or not the action is applicable | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
kind | 1..1 | code | applicability | start | stop Binding: Action Condition Kind (required): The kind of condition for the action. | |||||
expression | 0..1 | Expression | Boolean-valued expression | |||||
input | C | 0..* | BackboneElement | Input data requirements pld-0: Input data elements must have a requirement or a relatedData, but not both | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
title | 0..1 | string | User-visible title | |||||
requirement | C | 0..1 | DataRequirement | What data is provided | ||||
relatedData | C | 0..1 | id | What data is provided | ||||
output | C | 0..* | BackboneElement | Output data definition pld-1: Output data element must have a requirement or a relatedData, but not both | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
title | 0..1 | string | User-visible title | |||||
requirement | C | 0..1 | DataRequirement | What data is provided | ||||
relatedData | C | 0..1 | string | What data is provided | ||||
relatedAction | 0..* | BackboneElement | Relationship to another action | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
targetId | 1..1 | id | What action this is related to | |||||
relationship | 1..1 | code | before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end Binding: Action Relationship Type (required): Defines the types of relationships between actions. | |||||
endRelationship | 0..1 | code | before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end Binding: Action Relationship Type (required): Defines the types of relationships between actions. | |||||
offset[x] | 0..1 | Time offset for the relationship | ||||||
offsetDuration | Duration | |||||||
offsetRange | Range | |||||||
timing[x] | S | 0..1 | When the action should take place | |||||
timingDateTime | dateTime | |||||||
timingAge | Age | |||||||
timingPeriod | Period | |||||||
timingDuration | Duration | |||||||
timingRange | Range | |||||||
timingTiming | Timing | |||||||
location | 0..1 | CodeableReference(Location) | Where it should happen | |||||
participant | S | 0..* | BackboneElement | Who should perform the action | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
type | 0..1 | code | careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson Binding: Action Participant Type (required): The type of participant in the activity. | |||||
typeCanonical | 0..1 | canonical(CapabilityStatement) | Who or what can participate | |||||
typeReference | 0..1 | Reference(CareTeam | Device | DeviceDefinition | Endpoint | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who or what can participate | |||||
role | 0..1 | CodeableConcept | E.g. Nurse, Surgeon, Parent, etc Binding: Action Participant Role (example): Defines roles played by participants for the action. | |||||
function | 0..1 | CodeableConcept | E.g. Author, Reviewer, Witness, etc Binding: Action Participant Function (example) | |||||
actor[x] | 0..1 | canonical(CapabilityStatement), Reference(CareTeam | Device | DeviceDefinition | Endpoint | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who/what is participating? | |||||
type | S | 0..1 | CodeableConcept | create | update | remove | fire-event Binding: Action Type (extensible): The type of action to be performed. | ||||
groupingBehavior | 0..1 | code | visual-group | logical-group | sentence-group Binding: Action Grouping Behavior (required): Defines organization behavior of a group. | |||||
selectionBehavior | S | 0..1 | code | any | all | all-or-none | exactly-one | at-most-one | one-or-more Binding: Action Selection Behavior (required): Defines selection behavior of a group. | ||||
requiredBehavior | 0..1 | code | must | could | must-unless-documented Binding: Action Required Behavior (required): Defines expectations around whether an action or action group is required. | |||||
precheckBehavior | 0..1 | code | yes | no Binding: Action Precheck Behavior (required): Defines selection frequency behavior for an action or group. | |||||
cardinalityBehavior | 0..1 | code | single | multiple Binding: Action Cardinality Behavior (required): Defines behavior for an action or a group for how many times that item may be repeated. | |||||
resource | SC | 0..1 | Reference(Resource) | The target of the action | ||||
definition[x] | 0..1 | Description of the activity to be performed | ||||||
definitionCanonical | canonical(ActivityDefinition | ObservationDefinition | PlanDefinition | Questionnaire | SpecimenDefinition) | |||||||
definitionUri | uri | |||||||
transform | 0..1 | canonical(StructureMap) | Transform to apply the template | |||||
dynamicValue | 0..* | BackboneElement | Dynamic aspects of the definition | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
path | 0..1 | string | The path to the element to be set dynamically | |||||
expression | 0..1 | Expression | An expression that provides the dynamic value for the customization | |||||
action | 0..* | See action (RequestOrchestration) | Sub action | |||||
Documentation for this format |
<!-- CDSHooksRequestOrchestration --> <RequestOrchestration xmlns="http://hl7.org/fhir" > <!-- from Element: extension --> <id value="[id]"/><!-- 0..1 Logical id of this artifact --> <meta><!-- I 0..1 Meta Metadata about the resource --></meta> <implicitRules value="[uri]"/><!-- I 0..1 A set of rules under which this content was created --> <language value="[code]"/><!-- I 0..1 Language of the resource content --> <text><!-- I 0..1 Narrative Text summary of the resource, for human interpretation --></text> <contained><!-- 0..* Resource Contained, inline Resources --></contained> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored --></modifierExtension> <identifier><!-- I 1..1 Identifier Business identifier --></identifier> <instantiatesCanonical value="[canonical]"/><!-- I 0..* Instantiates FHIR protocol or definition --> <instantiatesUri value="[uri]"/><!-- I 1..1 Instantiates external protocol or definition --> <basedOn><!-- I 0..* Reference(Resource) Fulfills plan, proposal, or order --></basedOn> <replaces><!-- I 0..* Reference(Resource) Request(s) replaced by this request --></replaces> <groupIdentifier><!-- I 0..1 Identifier Composite request this is part of --></groupIdentifier> <status value="[code]"/><!-- I 1..1 draft | active | on-hold | revoked | completed | entered-in-error | unknown --> <intent value="[code]"/><!-- I 1..1 proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option --> <priority value="[code]"/><!-- I 0..1 routine | urgent | asap | stat --> <code><!-- I 0..1 CodeableConcept What's being requested/ordered --></code> <subject><!-- I 0..1 Reference(CareTeam) Who the request orchestration is about --></subject> <encounter><!-- I 0..1 Reference(Encounter) Created as part of --></encounter> <authoredOn value="[dateTime]"/><!-- I 0..1 When the request orchestration was authored --> <author><!-- I 0..1 Reference(Device) Device or practitioner that authored the request orchestration --></author> <reason><!-- I 0..* CodeableReference Why the request orchestration is needed --></reason> <goal><!-- I 0..* Reference(Goal) What goals --></goal> <note><!-- I 0..* Annotation Additional notes about the response --></note> <action> I 0..* BackboneElement <!-- I 0..* Proposed actions, if any --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <linkId value="[string]"/><!-- I 0..1 Pointer to specific item from the PlanDefinition --> <prefix value="[string]"/><!-- I 0..1 User-visible prefix for the action (e.g. 1. or A.) --> <title value="[string]"/><!-- I 0..1 User-visible title --> <description value="[markdown]"/><!-- I 0..1 Short description of the action --> <textEquivalent value="[markdown]"/><!-- I 0..1 Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system --> <priority value="[code]"/><!-- I 0..1 routine | urgent | asap | stat --> <code><!-- I 0..* CodeableConcept Code representing the meaning of the action or sub-actions --></code> <documentation><!-- I 0..* RelatedArtifact Supporting documentation for the intended performer of the action --></documentation> <goal><!-- I 0..* Reference(Goal) What goals --></goal> <condition> I 0..* BackboneElement <!-- I 0..* Whether or not the action is applicable --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <kind value="[code]"/><!-- I 1..1 applicability | start | stop --> <expression><!-- I 0..1 Expression Boolean-valued expression --></expression> </condition> <input> I 0..* BackboneElement <!-- I 0..* Input data requirements --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <title value="[string]"/><!-- I 0..1 User-visible title --> <requirement><!-- I 0..1 DataRequirement What data is provided --></requirement> <relatedData value="[id]"/><!-- I 0..1 What data is provided --> </input> <output> I 0..* BackboneElement <!-- I 0..* Output data definition --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <title value="[string]"/><!-- I 0..1 User-visible title --> <requirement><!-- I 0..1 DataRequirement What data is provided --></requirement> <relatedData value="[string]"/><!-- I 0..1 What data is provided --> </output> <relatedAction> I 0..* BackboneElement <!-- I 0..* Relationship to another action --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <targetId value="[id]"/><!-- I 1..1 What action this is related to --> <relationship value="[code]"/><!-- I 1..1 before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end --> <endRelationship value="[code]"/><!-- I 0..1 before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end --> <offset[x]><!-- I 0..1 Duration|Range Time offset for the relationship --></offset[x]> </relatedAction> <timing[x]><!-- I 0..1 dateTime|Age|Period|Duration| Range|Timing When the action should take place --></timing[x]> <location><!-- I 0..1 CodeableReference Where it should happen --></location> <participant> I 0..* BackboneElement <!-- I 0..* Who should perform the action --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <type value="[code]"/><!-- I 0..1 careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson --> <typeCanonical value="[canonical]"/><!-- I 0..1 Who or what can participate --> <typeReference><!-- I 0..1 Reference(CareTeam) Who or what can participate --></typeReference> <role><!-- I 0..1 CodeableConcept E.g. Nurse, Surgeon, Parent, etc --></role> <function><!-- I 0..1 CodeableConcept E.g. Author, Reviewer, Witness, etc --></function> <actor[x]><!-- I 0..1 canonical| Reference(CareTeam) Who/what is participating? --></actor[x]> </participant> <type><!-- I 0..1 CodeableConcept create | update | remove | fire-event --></type> <groupingBehavior value="[code]"/><!-- I 0..1 visual-group | logical-group | sentence-group --> <selectionBehavior value="[code]"/><!-- I 0..1 any | all | all-or-none | exactly-one | at-most-one | one-or-more --> <requiredBehavior value="[code]"/><!-- I 0..1 must | could | must-unless-documented --> <precheckBehavior value="[code]"/><!-- I 0..1 yes | no --> <cardinalityBehavior value="[code]"/><!-- I 0..1 single | multiple --> <resource><!-- I 0..1 Reference(Resource) The target of the action --></resource> <definition[x]><!-- I 0..1 canonical|uri Description of the activity to be performed --></definition[x]> <transform value="[canonical]"/><!-- I 0..1 Transform to apply the template --> <dynamicValue> I 0..* BackboneElement <!-- I 0..* Dynamic aspects of the definition --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <path value="[string]"/><!-- I 0..1 The path to the element to be set dynamically --> <expression><!-- I 0..1 Expression An expression that provides the dynamic value for the customization --></expression> </dynamicValue> <action><!-- See http://hl7.org/fhir/StructureDefinition/RequestOrchestration#RequestOrchestration.action Sub action --></action> </action> </RequestOrchestration>
{ // CDSHooksRequestOrchestration // from Element: extension "meta" : { Meta }, // IMetadata about the resource "implicitRules" : "<uri>", // IA set of rules under which this content was created "language" : "<code>", // ILanguage of the resource content "text" : { Narrative }, // IText summary of the resource, for human interpretation "contained" : [{ Resource }], //Contained, inline Resources "modifierExtension" : [{ Extension }], // IExtensions that cannot be ignored "identifier" : { Identifier }, // I R! Business identifier "instantiatesCanonical" : ["<canonical>"], // IInstantiates FHIR protocol or definition "instantiatesUri" : "<uri>", // I R! Instantiates external protocol or definition "basedOn" : [{ Reference(Resource) }], // IFulfills plan, proposal, or order "replaces" : [{ Reference(Resource) }], // IRequest(s) replaced by this request "groupIdentifier" : { Identifier }, // IComposite request this is part of "status" : "<code>", // I R! draft | active | on-hold | revoked | completed | entered-in-error | unknown "intent" : "<code>", // I R! proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option "priority" : "<code>", // Iroutine | urgent | asap | stat "code" : { CodeableConcept }, // IWhat's being requested/ordered "subject" : { Reference(CareTeam) }, // IWho the request orchestration is about "encounter" : { Reference(Encounter) }, // ICreated as part of "authoredOn" : "<dateTime>", // IWhen the request orchestration was authored "author" : { Reference(Device) }, // IDevice or practitioner that authored the request orchestration "reason" : [{ CodeableReference(Condition) }], // IWhy the request orchestration is needed "goal" : [{ Reference(Goal) }], // IWhat goals "note" : [{ Annotation }], // IAdditional notes about the response "action" : [{ BackboneElement }] // IProposed actions, if any }
This structure is derived from RequestOrchestration.
Differential View
This indicates the differences between this profile and the base RequestOrchestration structure.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
RequestOrchestration | 1..1 | RequestOrchestration | A set of related requests | |
identifier | 1..1 | Identifier | Business identifier | |
instantiatesUri | 1..1 | uri | Instantiates external protocol or definition | |
priority | S | 0..1 | code | routine | urgent | asap | stat |
subject | S | 0..1 | Reference(CareTeam | Device | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who the request orchestration is about |
authoredOn | S | 0..1 | dateTime | When the request orchestration was authored |
author | S | 0..1 | Reference(Device | Practitioner | PractitionerRole) | Device or practitioner that authored the request orchestration |
action | 0..* | BackboneElement | Proposed actions, if any | |
title | S | 0..1 | string | User-visible title |
description | S | 0..1 | markdown | Short description of the action |
priority | S | 0..1 | code | routine | urgent | asap | stat |
documentation | S | 0..* | RelatedArtifact | Supporting documentation for the intended performer of the action |
condition | S | 0..* | BackboneElement | Whether or not the action is applicable |
timing[x] | S | 0..1 | dateTime, Age, Period, Duration, Range, Timing | When the action should take place |
participant | S | 0..* | BackboneElement | Who should perform the action |
type | S | 0..1 | CodeableConcept | create | update | remove | fire-event |
selectionBehavior | S | 0..1 | code | any | all | all-or-none | exactly-one | at-most-one | one-or-more |
resource | S | 0..1 | Reference(Resource) | The target of the action |
Documentation for this format |
Snapshot View
This provides the consolidated view (aka snapshot) of the profile after applying the changes in this profile to the base RequestOrchestration structure.
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
RequestOrchestration | 1..1 | RequestOrchestration | A set of related requests | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: All Languages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 1..1 | Identifier | Business identifier | ||||
instantiatesCanonical | Σ | 0..* | canonical() | Instantiates FHIR protocol or definition | ||||
instantiatesUri | Σ | 1..1 | uri | Instantiates external protocol or definition | ||||
basedOn | 0..* | Reference(Resource) | Fulfills plan, proposal, or order | |||||
replaces | 0..* | Reference(Resource) | Request(s) replaced by this request | |||||
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of | ||||
status | ?!Σ | 1..1 | code | draft | active | on-hold | revoked | completed | entered-in-error | unknown Binding: RequestStatus (required): Codes identifying the lifecycle stage of a request. | ||||
intent | ?!Σ | 1..1 | code | proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option Binding: RequestIntent (required): Codes indicating the degree of authority/intentionality associated with a request. | ||||
priority | SΣ | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
code | Σ | 0..1 | CodeableConcept | What's being requested/ordered Binding: Action Code (example) | ||||
subject | S | 0..1 | Reference(CareTeam | Device | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who the request orchestration is about | ||||
encounter | 0..1 | Reference(Encounter) | Created as part of | |||||
authoredOn | S | 0..1 | dateTime | When the request orchestration was authored | ||||
author | S | 0..1 | Reference(Device | Practitioner | PractitionerRole) | Device or practitioner that authored the request orchestration | ||||
reason | 0..* | CodeableReference(Condition | Observation | DiagnosticReport | DocumentReference) | Why the request orchestration is needed Binding: Action Reason Code (example) | |||||
goal | 0..* | Reference(Goal) | What goals | |||||
note | 0..* | Annotation | Additional notes about the response | |||||
action | C | 0..* | BackboneElement | Proposed actions, if any rqg-1: Must have resource or action but not both | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
linkId | 0..1 | string | Pointer to specific item from the PlanDefinition | |||||
prefix | 0..1 | string | User-visible prefix for the action (e.g. 1. or A.) | |||||
title | S | 0..1 | string | User-visible title | ||||
description | SΣ | 0..1 | markdown | Short description of the action | ||||
textEquivalent | Σ | 0..1 | markdown | Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system | ||||
priority | S | 0..1 | code | routine | urgent | asap | stat Binding: RequestPriority (required): Identifies the level of importance to be assigned to actioning the request. | ||||
code | 0..* | CodeableConcept | Code representing the meaning of the action or sub-actions Binding: Action Code (example) | |||||
documentation | S | 0..* | RelatedArtifact | Supporting documentation for the intended performer of the action | ||||
goal | 0..* | Reference(Goal) | What goals | |||||
condition | S | 0..* | BackboneElement | Whether or not the action is applicable | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
kind | 1..1 | code | applicability | start | stop Binding: Action Condition Kind (required): The kind of condition for the action. | |||||
expression | 0..1 | Expression | Boolean-valued expression | |||||
input | C | 0..* | BackboneElement | Input data requirements pld-0: Input data elements must have a requirement or a relatedData, but not both | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
title | 0..1 | string | User-visible title | |||||
requirement | C | 0..1 | DataRequirement | What data is provided | ||||
relatedData | C | 0..1 | id | What data is provided | ||||
output | C | 0..* | BackboneElement | Output data definition pld-1: Output data element must have a requirement or a relatedData, but not both | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
title | 0..1 | string | User-visible title | |||||
requirement | C | 0..1 | DataRequirement | What data is provided | ||||
relatedData | C | 0..1 | string | What data is provided | ||||
relatedAction | 0..* | BackboneElement | Relationship to another action | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
targetId | 1..1 | id | What action this is related to | |||||
relationship | 1..1 | code | before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end Binding: Action Relationship Type (required): Defines the types of relationships between actions. | |||||
endRelationship | 0..1 | code | before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end Binding: Action Relationship Type (required): Defines the types of relationships between actions. | |||||
offset[x] | 0..1 | Time offset for the relationship | ||||||
offsetDuration | Duration | |||||||
offsetRange | Range | |||||||
timing[x] | S | 0..1 | When the action should take place | |||||
timingDateTime | dateTime | |||||||
timingAge | Age | |||||||
timingPeriod | Period | |||||||
timingDuration | Duration | |||||||
timingRange | Range | |||||||
timingTiming | Timing | |||||||
location | 0..1 | CodeableReference(Location) | Where it should happen | |||||
participant | S | 0..* | BackboneElement | Who should perform the action | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
type | 0..1 | code | careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson Binding: Action Participant Type (required): The type of participant in the activity. | |||||
typeCanonical | 0..1 | canonical(CapabilityStatement) | Who or what can participate | |||||
typeReference | 0..1 | Reference(CareTeam | Device | DeviceDefinition | Endpoint | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who or what can participate | |||||
role | 0..1 | CodeableConcept | E.g. Nurse, Surgeon, Parent, etc Binding: Action Participant Role (example): Defines roles played by participants for the action. | |||||
function | 0..1 | CodeableConcept | E.g. Author, Reviewer, Witness, etc Binding: Action Participant Function (example) | |||||
actor[x] | 0..1 | canonical(CapabilityStatement), Reference(CareTeam | Device | DeviceDefinition | Endpoint | Group | HealthcareService | Location | Organization | Patient | Practitioner | PractitionerRole | RelatedPerson) | Who/what is participating? | |||||
type | S | 0..1 | CodeableConcept | create | update | remove | fire-event Binding: Action Type (extensible): The type of action to be performed. | ||||
groupingBehavior | 0..1 | code | visual-group | logical-group | sentence-group Binding: Action Grouping Behavior (required): Defines organization behavior of a group. | |||||
selectionBehavior | S | 0..1 | code | any | all | all-or-none | exactly-one | at-most-one | one-or-more Binding: Action Selection Behavior (required): Defines selection behavior of a group. | ||||
requiredBehavior | 0..1 | code | must | could | must-unless-documented Binding: Action Required Behavior (required): Defines expectations around whether an action or action group is required. | |||||
precheckBehavior | 0..1 | code | yes | no Binding: Action Precheck Behavior (required): Defines selection frequency behavior for an action or group. | |||||
cardinalityBehavior | 0..1 | code | single | multiple Binding: Action Cardinality Behavior (required): Defines behavior for an action or a group for how many times that item may be repeated. | |||||
resource | SC | 0..1 | Reference(Resource) | The target of the action | ||||
definition[x] | 0..1 | Description of the activity to be performed | ||||||
definitionCanonical | canonical(ActivityDefinition | ObservationDefinition | PlanDefinition | Questionnaire | SpecimenDefinition) | |||||||
definitionUri | uri | |||||||
transform | 0..1 | canonical(StructureMap) | Transform to apply the template | |||||
dynamicValue | 0..* | BackboneElement | Dynamic aspects of the definition | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
path | 0..1 | string | The path to the element to be set dynamically | |||||
expression | 0..1 | Expression | An expression that provides the dynamic value for the customization | |||||
action | 0..* | See action (RequestOrchestration) | Sub action | |||||
Documentation for this format |
XML Template
<!-- CDSHooksRequestOrchestration --> <RequestOrchestration xmlns="http://hl7.org/fhir" > <!-- from Element: extension --> <id value="[id]"/><!-- 0..1 Logical id of this artifact --> <meta><!-- I 0..1 Meta Metadata about the resource --></meta> <implicitRules value="[uri]"/><!-- I 0..1 A set of rules under which this content was created --> <language value="[code]"/><!-- I 0..1 Language of the resource content --> <text><!-- I 0..1 Narrative Text summary of the resource, for human interpretation --></text> <contained><!-- 0..* Resource Contained, inline Resources --></contained> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored --></modifierExtension> <identifier><!-- I 1..1 Identifier Business identifier --></identifier> <instantiatesCanonical value="[canonical]"/><!-- I 0..* Instantiates FHIR protocol or definition --> <instantiatesUri value="[uri]"/><!-- I 1..1 Instantiates external protocol or definition --> <basedOn><!-- I 0..* Reference(Resource) Fulfills plan, proposal, or order --></basedOn> <replaces><!-- I 0..* Reference(Resource) Request(s) replaced by this request --></replaces> <groupIdentifier><!-- I 0..1 Identifier Composite request this is part of --></groupIdentifier> <status value="[code]"/><!-- I 1..1 draft | active | on-hold | revoked | completed | entered-in-error | unknown --> <intent value="[code]"/><!-- I 1..1 proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option --> <priority value="[code]"/><!-- I 0..1 routine | urgent | asap | stat --> <code><!-- I 0..1 CodeableConcept What's being requested/ordered --></code> <subject><!-- I 0..1 Reference(CareTeam) Who the request orchestration is about --></subject> <encounter><!-- I 0..1 Reference(Encounter) Created as part of --></encounter> <authoredOn value="[dateTime]"/><!-- I 0..1 When the request orchestration was authored --> <author><!-- I 0..1 Reference(Device) Device or practitioner that authored the request orchestration --></author> <reason><!-- I 0..* CodeableReference Why the request orchestration is needed --></reason> <goal><!-- I 0..* Reference(Goal) What goals --></goal> <note><!-- I 0..* Annotation Additional notes about the response --></note> <action> I 0..* BackboneElement <!-- I 0..* Proposed actions, if any --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <linkId value="[string]"/><!-- I 0..1 Pointer to specific item from the PlanDefinition --> <prefix value="[string]"/><!-- I 0..1 User-visible prefix for the action (e.g. 1. or A.) --> <title value="[string]"/><!-- I 0..1 User-visible title --> <description value="[markdown]"/><!-- I 0..1 Short description of the action --> <textEquivalent value="[markdown]"/><!-- I 0..1 Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system --> <priority value="[code]"/><!-- I 0..1 routine | urgent | asap | stat --> <code><!-- I 0..* CodeableConcept Code representing the meaning of the action or sub-actions --></code> <documentation><!-- I 0..* RelatedArtifact Supporting documentation for the intended performer of the action --></documentation> <goal><!-- I 0..* Reference(Goal) What goals --></goal> <condition> I 0..* BackboneElement <!-- I 0..* Whether or not the action is applicable --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <kind value="[code]"/><!-- I 1..1 applicability | start | stop --> <expression><!-- I 0..1 Expression Boolean-valued expression --></expression> </condition> <input> I 0..* BackboneElement <!-- I 0..* Input data requirements --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <title value="[string]"/><!-- I 0..1 User-visible title --> <requirement><!-- I 0..1 DataRequirement What data is provided --></requirement> <relatedData value="[id]"/><!-- I 0..1 What data is provided --> </input> <output> I 0..* BackboneElement <!-- I 0..* Output data definition --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <title value="[string]"/><!-- I 0..1 User-visible title --> <requirement><!-- I 0..1 DataRequirement What data is provided --></requirement> <relatedData value="[string]"/><!-- I 0..1 What data is provided --> </output> <relatedAction> I 0..* BackboneElement <!-- I 0..* Relationship to another action --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <targetId value="[id]"/><!-- I 1..1 What action this is related to --> <relationship value="[code]"/><!-- I 1..1 before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end --> <endRelationship value="[code]"/><!-- I 0..1 before | before-start | before-end | concurrent | concurrent-with-start | concurrent-with-end | after | after-start | after-end --> <offset[x]><!-- I 0..1 Duration|Range Time offset for the relationship --></offset[x]> </relatedAction> <timing[x]><!-- I 0..1 dateTime|Age|Period|Duration| Range|Timing When the action should take place --></timing[x]> <location><!-- I 0..1 CodeableReference Where it should happen --></location> <participant> I 0..* BackboneElement <!-- I 0..* Who should perform the action --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <type value="[code]"/><!-- I 0..1 careteam | device | group | healthcareservice | location | organization | patient | practitioner | practitionerrole | relatedperson --> <typeCanonical value="[canonical]"/><!-- I 0..1 Who or what can participate --> <typeReference><!-- I 0..1 Reference(CareTeam) Who or what can participate --></typeReference> <role><!-- I 0..1 CodeableConcept E.g. Nurse, Surgeon, Parent, etc --></role> <function><!-- I 0..1 CodeableConcept E.g. Author, Reviewer, Witness, etc --></function> <actor[x]><!-- I 0..1 canonical| Reference(CareTeam) Who/what is participating? --></actor[x]> </participant> <type><!-- I 0..1 CodeableConcept create | update | remove | fire-event --></type> <groupingBehavior value="[code]"/><!-- I 0..1 visual-group | logical-group | sentence-group --> <selectionBehavior value="[code]"/><!-- I 0..1 any | all | all-or-none | exactly-one | at-most-one | one-or-more --> <requiredBehavior value="[code]"/><!-- I 0..1 must | could | must-unless-documented --> <precheckBehavior value="[code]"/><!-- I 0..1 yes | no --> <cardinalityBehavior value="[code]"/><!-- I 0..1 single | multiple --> <resource><!-- I 0..1 Reference(Resource) The target of the action --></resource> <definition[x]><!-- I 0..1 canonical|uri Description of the activity to be performed --></definition[x]> <transform value="[canonical]"/><!-- I 0..1 Transform to apply the template --> <dynamicValue> I 0..* BackboneElement <!-- I 0..* Dynamic aspects of the definition --> <modifierExtension><!-- I 0..* Extension Extensions that cannot be ignored even if unrecognized --></modifierExtension> <path value="[string]"/><!-- I 0..1 The path to the element to be set dynamically --> <expression><!-- I 0..1 Expression An expression that provides the dynamic value for the customization --></expression> </dynamicValue> <action><!-- See http://hl7.org/fhir/StructureDefinition/RequestOrchestration#RequestOrchestration.action Sub action --></action> </action> </RequestOrchestration>
JSON Template
{ // CDSHooksRequestOrchestration // from Element: extension "meta" : { Meta }, // IMetadata about the resource "implicitRules" : "<uri>", // IA set of rules under which this content was created "language" : "<code>", // ILanguage of the resource content "text" : { Narrative }, // IText summary of the resource, for human interpretation "contained" : [{ Resource }], //Contained, inline Resources "modifierExtension" : [{ Extension }], // IExtensions that cannot be ignored "identifier" : { Identifier }, // I R! Business identifier "instantiatesCanonical" : ["<canonical>"], // IInstantiates FHIR protocol or definition "instantiatesUri" : "<uri>", // I R! Instantiates external protocol or definition "basedOn" : [{ Reference(Resource) }], // IFulfills plan, proposal, or order "replaces" : [{ Reference(Resource) }], // IRequest(s) replaced by this request "groupIdentifier" : { Identifier }, // IComposite request this is part of "status" : "<code>", // I R! draft | active | on-hold | revoked | completed | entered-in-error | unknown "intent" : "<code>", // I R! proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option "priority" : "<code>", // Iroutine | urgent | asap | stat "code" : { CodeableConcept }, // IWhat's being requested/ordered "subject" : { Reference(CareTeam) }, // IWho the request orchestration is about "encounter" : { Reference(Encounter) }, // ICreated as part of "authoredOn" : "<dateTime>", // IWhen the request orchestration was authored "author" : { Reference(Device) }, // IDevice or practitioner that authored the request orchestration "reason" : [{ CodeableReference(Condition) }], // IWhy the request orchestration is needed "goal" : [{ Reference(Goal) }], // IWhat goals "note" : [{ Annotation }], // IAdditional notes about the response "action" : [{ BackboneElement }] // IProposed actions, if any }
Alternate definitions: Master Definition (XML, JSON), Schematron
Path | Name | Conformance | ValueSet |
RequestOrchestration.language | All Languages | required | All Languages |
RequestOrchestration.status | RequestStatus | required | RequestStatus |
RequestOrchestration.intent | RequestIntent | required | RequestIntent |
RequestOrchestration.priority | RequestPriority | required | RequestPriority |
RequestOrchestration.code | Action Code | example | Action Code |
RequestOrchestration.reason | Action Reason Code | example | Action Reason Code |
RequestOrchestration.action.priority | RequestPriority | required | RequestPriority |
RequestOrchestration.action.code | Action Code | example | Action Code |
RequestOrchestration.action.condition.kind | Action Condition Kind | required | Action Condition Kind |
RequestOrchestration.action.relatedAction.relationship | Action Relationship Type | required | Action Relationship Type |
RequestOrchestration.action.relatedAction.endRelationship | Action Relationship Type | required | Action Relationship Type |
RequestOrchestration.action.participant.type | Action Participant Type | required | Action Participant Type |
RequestOrchestration.action.participant.role | Action Participant Role | example | Action Participant Role |
RequestOrchestration.action.participant.function | Action Participant Function | example | Action Participant Function |
RequestOrchestration.action.type | Action Type | extensible | Action Type |
RequestOrchestration.action.groupingBehavior | Action Grouping Behavior | required | Action Grouping Behavior |
RequestOrchestration.action.selectionBehavior | Action Selection Behavior | required | Action Selection Behavior |
RequestOrchestration.action.requiredBehavior | Action Required Behavior | required | Action Required Behavior |
RequestOrchestration.action.precheckBehavior | Action Precheck Behavior | required | Action Precheck Behavior |
RequestOrchestration.action.cardinalityBehavior | Action Cardinality Behavior | required | Action Cardinality Behavior |