{ "description": "Profile of RequestGroup as a Strategy for use with the CPG Implementation Guide. Strategies are patient-specific realiziations of strategy definitions and are used to represent aspects of a care plan that still contain optionality among related patient-specific recommendations, typically focused on a particular condition or state within the overall guideline or pathway", "_filename": "StructureDefinition-cpg-strategy.json", "package_name": "hl7.fhir.uv.cpg", "date": "2019-06-06", "derivation": "constraint", "publisher": "Health Level Seven, Inc. - CDS WG", "fhirVersion": "4.0.1", "jurisdiction": [ { "coding": [ { "code": "001", "system": "http://unstats.un.org/unsd/methods/m49/m49.htm", "display": "World" } ] } ], "name": "CPGStrategy", "mapping": [ { "uri": "http://hl7.org/fhir/workflow", "name": "Workflow Pattern", "identity": "workflow" }, { "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping", "identity": "w5" }, { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" } ], "abstract": false, "type": "RequestGroup", "experimental": "false", "resourceType": "StructureDefinition", "title": null, "package_version": "1.0.0", "snapshot": { "element": [ { "constraint": [ { "key": "dom-2", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "xpath": "not(parent::f:contained and f:contained)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "error", "expression": "contained.contained.empty()" }, { "key": "dom-3", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "error", "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" }, { "key": "dom-4", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "error", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" }, { "key": "dom-5", "human": "If a resource is contained in another resource, it SHALL NOT have a security label", "xpath": "not(exists(f:contained/*/f:meta/f:security))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "error", "expression": "contained.meta.security.empty()" }, { "key": "dom-6", "human": "A resource should have narrative for robust management", "xpath": "exists(f:text/h:div)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "warning", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", "valueBoolean": true }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." } ], "expression": "text.`div`.exists()" } ], "path": "RequestGroup", "min": 0, "definition": "A group of related requests that can be used to capture intended activities that have inter-dependencies such as \"give this medication after that one\".", "isModifier": false, "short": "A group of related requests", "mapping": [ { "map": "Entity. Role, or Act", "identity": "rim" }, { "map": "Request", "identity": "workflow" } ], "mustSupport": false, "max": "*", "id": "RequestGroup", "base": { "max": "*", "min": 0, "path": "RequestGroup" }, "isSummary": false }, { "path": "RequestGroup.id", "min": 0, "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "isModifier": false, "short": "Logical id of this artifact", "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "max": "1", "id": "RequestGroup.id", "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "base": { "max": "1", "min": 0, "path": "Resource.id" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.meta", "min": 0, "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "isModifier": false, "short": "Metadata about the resource", "type": [ { "code": "Meta" } ], "max": "1", "id": "RequestGroup.meta", "base": { "max": "1", "min": 0, "path": "Resource.meta" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.implicitRules", "min": 0, "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "isModifier": true, "short": "A set of rules under which this content was created", "type": [ { "code": "uri" } ], "max": "1", "id": "RequestGroup.implicitRules", "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", "base": { "max": "1", "min": 0, "path": "Resource.implicitRules" }, "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.language", "min": 0, "definition": "The base language in which the resource is written.", "isModifier": false, "short": "Language of the resource content", "type": [ { "code": "code" } ], "binding": { "strength": "preferred", "valueSet": "http://hl7.org/fhir/ValueSet/languages", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "A human language." }, "max": "1", "id": "RequestGroup.language", "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "base": { "max": "1", "min": 0, "path": "Resource.language" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.text", "min": 0, "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "isModifier": false, "short": "Text summary of the resource, for human interpretation", "mapping": [ { "map": "Act.text?", "identity": "rim" } ], "type": [ { "code": "Narrative" } ], "alias": [ "narrative", "html", "xhtml", "display" ], "max": "1", "id": "RequestGroup.text", "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", "base": { "max": "1", "min": 0, "path": "DomainResource.text" }, "isSummary": false }, { "path": "RequestGroup.contained", "min": 0, "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "isModifier": false, "short": "Contained, inline Resources", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Resource" } ], "alias": [ "inline resources", "anonymous resources", "contained resources" ], "max": "*", "id": "RequestGroup.contained", "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", "base": { "max": "*", "min": 0, "path": "DomainResource.contained" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "RequestGroup.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "RequestGroup.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "DomainResource.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "RequestGroup.modifierExtension", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "RequestGroup.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "DomainResource.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.identifier", "requirements": "Allows identification of the request as it is known by various participating systems and in a way that remains consistent across servers.", "min": 0, "definition": "Allows a service to provide a unique, business identifier for the request.", "isModifier": false, "short": "Business identifier", "mapping": [ { "map": "Request.identifier", "identity": "workflow" }, { "map": "FiveWs.identifier", "identity": "w5" } ], "type": [ { "code": "Identifier" } ], "max": "*", "id": "RequestGroup.identifier", "base": { "max": "*", "min": 0, "path": "RequestGroup.identifier" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.instantiatesCanonical", "min": 1, "definition": "A canonical URL referencing a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.", "isModifier": false, "short": "Instantiates FHIR protocol or definition", "mapping": [ { "map": "Request.instantiatesCanonical", "identity": "workflow" } ], "type": [ { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/PlanDefinition" ] } ], "mustSupport": false, "max": "1", "id": "RequestGroup.instantiatesCanonical", "base": { "max": "*", "min": 0, "path": "RequestGroup.instantiatesCanonical" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.instantiatesUri", "min": 0, "definition": "A URL referencing an externally defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.", "isModifier": false, "short": "Instantiates external protocol or definition", "mapping": [ { "map": "Request.instantiatesUri", "identity": "workflow" } ], "type": [ { "code": "uri" } ], "max": "*", "id": "RequestGroup.instantiatesUri", "base": { "max": "*", "min": 0, "path": "RequestGroup.instantiatesUri" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.basedOn", "requirements": "Allows tracing of authorization for the request and tracking whether proposals/recommendations were acted upon.", "min": 0, "definition": "A plan, proposal or order that is fulfilled in whole or in part by this request.", "isModifier": false, "short": "Fulfills plan, proposal, or order", "mapping": [ { "map": "Request.basedOn", "identity": "workflow" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ] } ], "alias": [ "fulfills" ], "max": "*", "id": "RequestGroup.basedOn", "base": { "max": "*", "min": 0, "path": "RequestGroup.basedOn" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.replaces", "requirements": "Allows tracing the continuation of a therapy or administrative process instantiated through multiple requests.", "min": 0, "definition": "Completed or terminated request(s) whose function is taken by this new request.", "isModifier": false, "short": "Request(s) replaced by this request", "mapping": [ { "map": "Request.replaces", "identity": "workflow" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ] } ], "alias": [ "supersedes", "prior", "renewed order" ], "max": "*", "id": "RequestGroup.replaces", "comment": "The replacement could be because the initial request was immediately rejected (due to an issue) or because the previous request was completed, but the need for the action described by the request remains ongoing.", "base": { "max": "*", "min": 0, "path": "RequestGroup.replaces" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.groupIdentifier", "requirements": "Some business processes need to know if multiple items were ordered as part of the same \"prescription\" or \"requisition\" for billing or other purposes.", "min": 0, "definition": "A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form.", "isModifier": false, "short": "Composite request this is part of", "mapping": [ { "map": "Request.groupIdentifier", "identity": "workflow" } ], "type": [ { "code": "Identifier" } ], "alias": [ "grouperid", "requisition" ], "max": "1", "id": "RequestGroup.groupIdentifier", "comment": "Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.", "base": { "max": "1", "min": 0, "path": "RequestGroup.groupIdentifier" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.status", "min": 1, "definition": "The current state of the request. For request groups, the status reflects the status of all the requests in the group.", "isModifier": true, "short": "draft | active | on-hold | revoked | completed | entered-in-error | unknown", "mapping": [ { "map": "Request.status", "identity": "workflow" }, { "map": "FiveWs.status", "identity": "w5" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/request-status|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "RequestStatus" } ], "description": "Codes identifying the lifecycle stage of a request." }, "max": "1", "id": "RequestGroup.status", "base": { "max": "1", "min": 1, "path": "RequestGroup.status" }, "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.intent", "requirements": "Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain.", "min": 1, "definition": "Indicates the level of authority/intentionality associated with the request and where the request fits into the workflow chain.", "isModifier": true, "short": "proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option", "mapping": [ { "map": "Request.intent", "identity": "workflow" }, { "map": "FiveWs.class", "identity": "w5" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/request-intent|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "RequestIntent" } ], "description": "Codes indicating the degree of authority/intentionality associated with a request." }, "alias": [ "category" ], "max": "1", "id": "RequestGroup.intent", "base": { "max": "1", "min": 1, "path": "RequestGroup.intent" }, "isModifierReason": "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.priority", "min": 0, "definition": "Indicates how quickly the request should be addressed with respect to other requests.", "isModifier": false, "short": "routine | urgent | asap | stat", "mapping": [ { "map": "Request.priority", "identity": "workflow" }, { "map": "FiveWs.grade", "identity": "w5" } ], "type": [ { "code": "code" } ], "mustSupport": true, "meaningWhenMissing": "If missing, this request should be performed with normal priority", "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/request-priority|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "RequestPriority" } ], "description": "Identifies the level of importance to be assigned to actioning the request." }, "max": "1", "id": "RequestGroup.priority", "base": { "max": "1", "min": 0, "path": "RequestGroup.priority" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.code", "min": 0, "definition": "A code that identifies what the overall request group is.", "isModifier": false, "short": "What's being requested/ordered", "mapping": [ { "map": "Request.code", "identity": "workflow" }, { "map": "FiveWs.what[x]", "identity": "w5" } ], "type": [ { "code": "CodeableConcept" } ], "max": "1", "id": "RequestGroup.code", "comment": "This element can be used to provide a code that captures the meaning of the request group as a whole, as opposed to the code of the action element, which captures the meaning of the individual actions within the request group.", "base": { "max": "1", "min": 0, "path": "RequestGroup.code" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.subject", "min": 1, "definition": "The subject for which the request group was created.", "isModifier": false, "short": "Who the request group is about", "mapping": [ { "map": "Request.subject", "identity": "workflow" }, { "map": "FiveWs.subject[x]", "identity": "w5" }, { "map": "FiveWs.subject", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ] } ], "mustSupport": false, "max": "1", "id": "RequestGroup.subject", "base": { "max": "1", "min": 0, "path": "RequestGroup.subject" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.encounter", "min": 0, "definition": "Describes the context of the request group, if any.", "isModifier": false, "short": "Created as part of", "mapping": [ { "map": "Request.encounter", "identity": "workflow" }, { "map": "FiveWs.context", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ] } ], "mustSupport": true, "max": "1", "id": "RequestGroup.encounter", "base": { "max": "1", "min": 0, "path": "RequestGroup.encounter" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.authoredOn", "min": 0, "definition": "Indicates when the request group was created.", "isModifier": false, "short": "When the request group was authored", "mapping": [ { "map": "Request.authoredOn", "identity": "workflow" }, { "map": "FiveWs.recorded", "identity": "w5" } ], "type": [ { "code": "dateTime" } ], "max": "1", "id": "RequestGroup.authoredOn", "base": { "max": "1", "min": 0, "path": "RequestGroup.authoredOn" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.author", "min": 0, "definition": "Provides a reference to the author of the request group.", "isModifier": false, "short": "Device or practitioner that authored the request group", "mapping": [ { "map": "Request.requester", "identity": "workflow" }, { "map": "FiveWs.author", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole" ] } ], "max": "1", "id": "RequestGroup.author", "base": { "max": "1", "min": 0, "path": "RequestGroup.author" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.reasonCode", "min": 0, "definition": "Describes the reason for the request group in coded or textual form.", "isModifier": false, "short": "Why the request group is needed", "mapping": [ { "map": "Request.reasonCode", "identity": "workflow" }, { "map": "FiveWs.why[x]", "identity": "w5" } ], "type": [ { "code": "CodeableConcept" } ], "max": "*", "id": "RequestGroup.reasonCode", "base": { "max": "*", "min": 0, "path": "RequestGroup.reasonCode" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.reasonReference", "min": 0, "definition": "Indicates another resource whose existence justifies this request group.", "isModifier": false, "short": "Why the request group is needed", "mapping": [ { "map": "Request.reasonReference", "identity": "workflow" }, { "map": "FiveWs.why[x]", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Condition", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ] } ], "max": "*", "id": "RequestGroup.reasonReference", "base": { "max": "*", "min": 0, "path": "RequestGroup.reasonReference" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.note", "min": 0, "definition": "Provides a mechanism to communicate additional information about the response.", "isModifier": false, "short": "Additional notes about the response", "mapping": [ { "map": "Request.note", "identity": "workflow" } ], "type": [ { "code": "Annotation" } ], "max": "*", "id": "RequestGroup.note", "base": { "max": "*", "min": 0, "path": "RequestGroup.note" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "rqg-1", "human": "Must have resource or action but not both", "xpath": "exists(f:resource) != exists(f:action)", "source": "http://hl7.org/fhir/StructureDefinition/RequestGroup", "severity": "error", "expression": "resource.exists() != action.exists()" } ], "path": "RequestGroup.action", "min": 0, "definition": "The actions, if any, produced by the evaluation of the artifact.", "isModifier": false, "short": "Proposed actions, if any", "type": [ { "code": "BackboneElement" } ], "mustSupport": false, "max": "*", "id": "RequestGroup.action", "base": { "max": "*", "min": 0, "path": "RequestGroup.action" }, "isSummary": false }, { "path": "RequestGroup.action.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "RequestGroup.action.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "RequestGroup.action.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "RequestGroup.action.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "RequestGroup.action.modifierExtension", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "isModifier": true, "short": "Extensions that cannot be ignored even if unrecognized", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "RequestGroup.action.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.prefix", "min": 0, "definition": "A user-visible prefix for the action.", "isModifier": false, "short": "User-visible prefix for the action (e.g. 1. or A.)", "type": [ { "code": "string" } ], "max": "1", "id": "RequestGroup.action.prefix", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.prefix" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.title", "min": 1, "definition": "The title of the action displayed to a user.", "isModifier": false, "short": "User-visible title", "type": [ { "code": "string" } ], "mustSupport": false, "max": "1", "id": "RequestGroup.action.title", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.title" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.description", "min": 1, "definition": "A short description of the action used to provide a summary to display to the user.", "isModifier": false, "short": "Short description of the action", "type": [ { "code": "string" } ], "mustSupport": false, "max": "1", "id": "RequestGroup.action.description", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.description" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.textEquivalent", "min": 0, "definition": "A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically.", "isModifier": false, "short": "Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system", "type": [ { "code": "string" } ], "max": "1", "id": "RequestGroup.action.textEquivalent", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.textEquivalent" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.priority", "min": 0, "definition": "Indicates how quickly the action should be addressed with respect to other actions.", "isModifier": false, "short": "routine | urgent | asap | stat", "mapping": [ { "map": "Request.priority", "identity": "workflow" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/request-priority|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "RequestPriority" } ], "description": "Identifies the level of importance to be assigned to actioning the request." }, "max": "1", "id": "RequestGroup.action.priority", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.priority" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.code", "min": 1, "definition": "A code that provides meaning for the action or action group. For example, a section may have a LOINC code for a section of a documentation template.", "isModifier": false, "short": "Code representing the meaning of the action or sub-actions", "mapping": [ { "map": "Request.code", "identity": "workflow" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": false, "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/uv/cpg/ValueSet/cpg-common-process", "description": "High-level processes identified in guideline-based care" }, "max": "1", "id": "RequestGroup.action.code", "base": { "max": "*", "min": 0, "path": "RequestGroup.action.code" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.documentation", "min": 0, "definition": "Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources.", "isModifier": false, "short": "Supporting documentation for the intended performer of the action", "mapping": [ { "map": "Request.supportingInfo", "identity": "workflow" } ], "type": [ { "code": "RelatedArtifact" } ], "max": "*", "id": "RequestGroup.action.documentation", "base": { "max": "*", "min": 0, "path": "RequestGroup.action.documentation" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.condition", "min": 0, "definition": "An expression that describes applicability criteria, or start/stop conditions for the action.", "isModifier": false, "short": "Whether or not the action is applicable", "type": [ { "code": "BackboneElement" } ], "max": "*", "id": "RequestGroup.action.condition", "comment": "When multiple conditions of the same kind are present, the effects are combined using AND semantics, so the overall condition is true only if all of the conditions are true.", "base": { "max": "*", "min": 0, "path": "RequestGroup.action.condition" }, "isSummary": false }, { "path": "RequestGroup.action.condition.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "RequestGroup.action.condition.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "RequestGroup.action.condition.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "RequestGroup.action.condition.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "RequestGroup.action.condition.modifierExtension", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "isModifier": true, "short": "Extensions that cannot be ignored even if unrecognized", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "RequestGroup.action.condition.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.condition.kind", "min": 1, "definition": "The kind of condition.", "isModifier": false, "short": "applicability | start | stop", "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/action-condition-kind|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActionConditionKind" } ], "description": "The kind of condition for the action." }, "max": "1", "id": "RequestGroup.action.condition.kind", "comment": "Applicability criteria are used to determine immediate applicability when a plan definition is applied to a given context. Start and stop criteria are carried through application and used to describe enter/exit criteria for an action.", "base": { "max": "1", "min": 1, "path": "RequestGroup.action.condition.kind" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.condition.expression", "min": 0, "definition": "An expression that returns true or false, indicating whether or not the condition is satisfied.", "isModifier": false, "short": "Boolean-valued expression", "type": [ { "code": "Expression" } ], "max": "1", "id": "RequestGroup.action.condition.expression", "comment": "The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element.", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.condition.expression" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.relatedAction", "min": 0, "definition": "A relationship to another action such as \"before\" or \"30-60 minutes after start of\".", "isModifier": false, "short": "Relationship to another action", "type": [ { "code": "BackboneElement" } ], "mustSupport": true, "max": "*", "id": "RequestGroup.action.relatedAction", "base": { "max": "*", "min": 0, "path": "RequestGroup.action.relatedAction" }, "isSummary": false }, { "path": "RequestGroup.action.relatedAction.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "RequestGroup.action.relatedAction.id", "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "RequestGroup.action.relatedAction.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "RequestGroup.action.relatedAction.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "RequestGroup.action.relatedAction.modifierExtension", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "isModifier": true, "short": "Extensions that cannot be ignored even if unrecognized", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "RequestGroup.action.relatedAction.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.relatedAction.actionId", "min": 1, "definition": "The element id of the action this is related to.", "isModifier": false, "short": "What action this is related to", "type": [ { "code": "id" } ], "max": "1", "id": "RequestGroup.action.relatedAction.actionId", "base": { "max": "1", "min": 1, "path": "RequestGroup.action.relatedAction.actionId" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.relatedAction.relationship", "min": 1, "definition": "The relationship of this action to the related action.", "isModifier": false, "short": "before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end", "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/action-relationship-type|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActionRelationshipType" } ], "description": "Defines the types of relationships between actions." }, "max": "1", "id": "RequestGroup.action.relatedAction.relationship", "base": { "max": "1", "min": 1, "path": "RequestGroup.action.relatedAction.relationship" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.relatedAction.offset[x]", "min": 0, "definition": "A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.", "isModifier": false, "short": "Time offset for the relationship", "type": [ { "code": "Duration" }, { "code": "Range" } ], "max": "1", "id": "RequestGroup.action.relatedAction.offset[x]", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.relatedAction.offset[x]" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.timing[x]", "min": 0, "definition": "An optional value describing when the action should be performed.", "isModifier": false, "short": "When the action should take place", "mapping": [ { "map": "Request.occurrence[x]", "identity": "workflow" } ], "type": [ { "code": "dateTime" }, { "code": "Age" }, { "code": "Period" }, { "code": "Duration" }, { "code": "Range" }, { "code": "Timing" } ], "max": "1", "id": "RequestGroup.action.timing[x]", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.timing[x]" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.participant", "min": 0, "definition": "The participant that should perform or be responsible for this action.", "isModifier": false, "short": "Who should perform the action", "mapping": [ { "map": "Request.performer", "identity": "workflow" }, { "map": "FiveWs.actor", "identity": "w5" } ], "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Device" ] } ], "max": "*", "id": "RequestGroup.action.participant", "base": { "max": "*", "min": 0, "path": "RequestGroup.action.participant" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.type", "min": 0, "definition": "The type of action to perform (create, update, remove).", "isModifier": false, "short": "create | update | remove | fire-event", "type": [ { "code": "CodeableConcept" } ], "mustSupport": false, "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/action-type", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActionType" } ], "description": "The type of action to be performed." }, "max": "0", "id": "RequestGroup.action.type", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.type" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.groupingBehavior", "min": 0, "definition": "Defines the grouping behavior for the action and its children.", "isModifier": false, "short": "visual-group | logical-group | sentence-group", "type": [ { "code": "code" } ], "mustSupport": false, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/action-grouping-behavior|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActionGroupingBehavior" } ], "description": "Defines organization behavior of a group." }, "max": "0", "id": "RequestGroup.action.groupingBehavior", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.groupingBehavior" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.selectionBehavior", "min": 0, "definition": "Defines the selection behavior for the action and its children.", "isModifier": false, "short": "any | all | all-or-none | exactly-one | at-most-one | one-or-more", "type": [ { "code": "code" } ], "mustSupport": true, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/action-selection-behavior|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActionSelectionBehavior" } ], "description": "Defines selection behavior of a group." }, "max": "1", "id": "RequestGroup.action.selectionBehavior", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.selectionBehavior" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.requiredBehavior", "min": 0, "definition": "Defines expectations around whether an action is required.", "isModifier": false, "short": "must | could | must-unless-documented", "type": [ { "code": "code" } ], "mustSupport": false, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/action-required-behavior|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActionRequiredBehavior" } ], "description": "Defines expectations around whether an action or action group is required." }, "max": "0", "id": "RequestGroup.action.requiredBehavior", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.requiredBehavior" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.precheckBehavior", "min": 0, "definition": "Defines whether the action should usually be preselected.", "isModifier": false, "short": "yes | no", "type": [ { "code": "code" } ], "mustSupport": false, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/action-precheck-behavior|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActionPrecheckBehavior" } ], "description": "Defines selection frequency behavior for an action or group." }, "max": "0", "id": "RequestGroup.action.precheckBehavior", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.precheckBehavior" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.cardinalityBehavior", "min": 0, "definition": "Defines whether the action can be selected multiple times.", "isModifier": false, "short": "single | multiple", "type": [ { "code": "code" } ], "mustSupport": false, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/action-cardinality-behavior|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ActionCardinalityBehavior" } ], "description": "Defines behavior for an action or a group for how many times that item may be repeated." }, "max": "0", "id": "RequestGroup.action.cardinalityBehavior", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.cardinalityBehavior" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.resource", "min": 0, "definition": "The resource that is the target of the action (e.g. CommunicationRequest).", "isModifier": false, "short": "The target of the action", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ] } ], "mustSupport": true, "max": "1", "id": "RequestGroup.action.resource", "condition": [ "rqg-1" ], "comment": "The target resource SHALL be a [Request](http://hl7.org/fhir/R4/request.html) resource with a Request.intent set to \"option\".", "base": { "max": "1", "min": 0, "path": "RequestGroup.action.resource" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "RequestGroup.action.action", "min": 0, "definition": "Sub actions.", "isModifier": false, "short": "Sub action", "contentReference": "http://hl7.org/fhir/StructureDefinition/RequestGroup#RequestGroup.action", "max": "*", "id": "RequestGroup.action.action", "condition": [ "rqg-1" ], "base": { "max": "*", "min": 0, "path": "RequestGroup.action.action" }, "isSummary": false } ] }, "status": "draft", "id": "ea250bbe-df56-445c-ae9b-ef3e1727b14e", "kind": "resource", "url": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-strategy", "version": "1.0.0", "differential": { "element": [ { "id": "RequestGroup", "path": "RequestGroup", "mustSupport": false }, { "id": "RequestGroup.instantiatesCanonical", "max": "1", "min": 1, "path": "RequestGroup.instantiatesCanonical", "type": [ { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/PlanDefinition" ] } ], "mustSupport": false }, { "id": "RequestGroup.priority", "path": "RequestGroup.priority", "mustSupport": true }, { "id": "RequestGroup.subject", "max": "1", "min": 1, "path": "RequestGroup.subject", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ] } ], "mustSupport": false }, { "id": "RequestGroup.encounter", "path": "RequestGroup.encounter", "mustSupport": true }, { "id": "RequestGroup.action", "path": "RequestGroup.action", "mustSupport": false }, { "id": "RequestGroup.action.title", "max": "1", "min": 1, "path": "RequestGroup.action.title", "mustSupport": false }, { "id": "RequestGroup.action.description", "max": "1", "min": 1, "path": "RequestGroup.action.description", "mustSupport": false }, { "id": "RequestGroup.action.code", "max": "1", "min": 1, "path": "RequestGroup.action.code", "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/uv/cpg/ValueSet/cpg-common-process", "description": "High-level processes identified in guideline-based care" }, "mustSupport": false }, { "id": "RequestGroup.action.relatedAction", "path": "RequestGroup.action.relatedAction", "mustSupport": true }, { "id": "RequestGroup.action.type", "max": "0", "min": 0, "path": "RequestGroup.action.type", "mustSupport": false }, { "id": "RequestGroup.action.groupingBehavior", "max": "0", "min": 0, "path": "RequestGroup.action.groupingBehavior", "mustSupport": false }, { "id": "RequestGroup.action.selectionBehavior", "max": "1", "min": 0, "path": "RequestGroup.action.selectionBehavior", "mustSupport": true }, { "id": "RequestGroup.action.requiredBehavior", "max": "0", "min": 0, "path": "RequestGroup.action.requiredBehavior", "mustSupport": false }, { "id": "RequestGroup.action.precheckBehavior", "max": "0", "min": 0, "path": "RequestGroup.action.precheckBehavior", "mustSupport": false }, { "id": "RequestGroup.action.cardinalityBehavior", "max": "0", "min": 0, "path": "RequestGroup.action.cardinalityBehavior", "mustSupport": false }, { "id": "RequestGroup.action.resource", "path": "RequestGroup.action.resource", "mustSupport": true } ] }, "contact": [ { "telecom": [ { "value": "http://hl7.org/special/committees/DSS", "system": "url" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RequestGroup" }