{
"description": "STU3: `TestScript.setup.action.assert.ruleset` (new:BackboneElement)",
"_filename": "StructureDefinition-ext-R3-TestScript.set.act.ass.ruleset.json",
"package_name": "hl7.fhir.uv.xver-r3.r5",
"date": "2026-03-17T21:02:03.8104715+00:00",
"derivation": "constraint",
"publisher": "FHIR Infrastructure",
"fhirVersion": "5.0.0",
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"display": "World"
} ]
} ],
"purpose": "This extension is part of the cross-version definitions generated to enable use of the\r\nelement `TestScript.setup.action.assert.ruleset` as defined in FHIR STU3\r\nin FHIR R5.\r\n\r\nThe source element is defined as:\r\n`TestScript.setup.action.assert.ruleset` 0..1 `BackboneElement`\r\n\r\nAcross FHIR versions, the element set has been mapped as:\r\n* STU3: `TestScript.setup.action.assert.ruleset` 0..1 `BackboneElement`\r\n\r\nFollowing are the generation technical comments:\r\nElement `TestScript.setup.action.assert.ruleset` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"name": "ExtensionTestScript_Setup_Action_Assert_Ruleset",
"mapping": [ {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
} ],
"abstract": false,
"type": "Extension",
"experimental": "false",
"resourceType": "StructureDefinition",
"title": "STU3: The reference to a TestScript.ruleset (new)",
"package_version": "0.1.0",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/package-source",
"extension": [ {
"url": "packageId",
"valueId": "hl7.fhir.uv.xver-r3.r5"
}, {
"url": "version",
"valueString": "0.1.0"
}, {
"url": "uri",
"valueUri": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r5"
} ]
}, {
"url": "http://hl7.org/fhir/StructureDefinition/version-specific-use",
"extension": [ {
"url": "startFhirVersion",
"valueCode": "5.0"
}, {
"url": "endFhirVersion",
"valueCode": "5.0"
} ]
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
"valueCode": "can-bind"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 0,
"_valueInteger": {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r5"
} ]
}
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use",
"_valueCode": {
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
"valueCanonical": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r3.r5"
} ]
}
} ],
"snapshot": {
"element": [ {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension",
"min": 0,
"definition": "STU3: `TestScript.setup.action.assert.ruleset` (new:BackboneElement)",
"isModifier": false,
"short": "STU3: The reference to a TestScript.ruleset (new)",
"max": "1",
"id": "Extension",
"comment": "Element `TestScript.setup.action.assert.ruleset` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nEach rule within a ruleset should get evaluated by test engines as a separate assertion. The impact of negative rule evaluation on test script execution is the same as an assertion failure which is descibed elsewhere in the TestScript resource. If the first rule within the ruleset results in a failed assertion, then test engines do not have to evaluate the rest of the rules within the ruleset.",
"base": {
"max": "*",
"min": 0,
"path": "Extension"
}
}, {
"path": "Extension.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": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.id",
"condition": [ "ele-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension",
"min": 1,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"ordered": false,
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Extension.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rulesetId` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rulesetId` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rulesetId` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 1,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rulesetId` (new:id)",
"isModifier": false,
"short": "STU3: Id of the TestScript.ruleset (new)",
"type": [ {
"code": "Extension"
} ],
"sliceName": "rulesetId",
"max": "1",
"id": "Extension.extension:rulesetId",
"comment": "Element `TestScript.setup.action.assert.ruleset.rulesetId` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rulesetId` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rulesetId` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Extension.extension.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": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rulesetId.id",
"condition": [ "ele-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension.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 managable, 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"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Extension.extension:rulesetId.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
}, {
"path": "Extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "rulesetId",
"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": "uri"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rulesetId.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Extension.extension.value[x]",
"min": 1,
"definition": "The TestScript.ruleset id value this assert will evaluate.",
"isModifier": false,
"short": "Id of the TestScript.ruleset",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "id"
} ],
"max": "1",
"id": "Extension.extension:rulesetId.value[x]",
"condition": [ "ext-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rule` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 0,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rule` (new:BackboneElement)",
"isModifier": false,
"short": "STU3: The referenced rule within the ruleset (new)",
"type": [ {
"code": "Extension"
} ],
"sliceName": "rule",
"max": "*",
"id": "Extension.extension:rule",
"comment": "Element `TestScript.setup.action.assert.ruleset.rule` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nThis qualifies each param name so that a parameter with the same name can be used differently by the different rules with the ruleset.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Extension.extension.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": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rule.id",
"condition": [ "ele-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension.extension",
"min": 1,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"ordered": false,
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Extension.extension:rule.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rule.ruleId` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.ruleId` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.ruleId` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 1,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rule.ruleId` (new:id)",
"isModifier": false,
"short": "STU3: Id of referenced rule within the ruleset (new)",
"type": [ {
"code": "Extension"
} ],
"sliceName": "ruleId",
"max": "1",
"id": "Extension.extension:rule.extension:ruleId",
"comment": "Element `TestScript.setup.action.assert.ruleset.rule.ruleId` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.ruleId` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.ruleId` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Extension.extension.extension.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": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rule.extension:ruleId.id",
"condition": [ "ele-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension.extension.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 managable, 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"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Extension.extension:rule.extension:ruleId.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
}, {
"path": "Extension.extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "ruleId",
"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": "uri"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rule.extension:ruleId.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Extension.extension.extension.value[x]",
"min": 1,
"definition": "Id of the referenced rule within the external ruleset template.",
"isModifier": false,
"short": "Id of referenced rule within the ruleset",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "id"
} ],
"max": "1",
"id": "Extension.extension:rule.extension:ruleId.value[x]",
"condition": [ "ext-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rule.param` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 0,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rule.param` (new:BackboneElement)",
"isModifier": false,
"short": "STU3: Rule parameter template (new)",
"type": [ {
"code": "Extension"
} ],
"sliceName": "param",
"max": "*",
"id": "Extension.extension:rule.extension:param",
"comment": "Element `TestScript.setup.action.assert.ruleset.rule.param` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nThe parameter value can be dynamic at runtime.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Extension.extension.extension.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": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rule.extension:param.id",
"condition": [ "ele-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension.extension.extension",
"min": 2,
"definition": "An Extension",
"isModifier": false,
"short": "Extension",
"slicing": {
"rules": "open",
"ordered": false,
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"max": "*",
"id": "Extension.extension:rule.extension:param.extension",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension.extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rule.param.name` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule.param` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param.name` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param.name` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 1,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rule.param.name` (new:string)",
"isModifier": false,
"short": "STU3: Parameter name matching external assert ruleset rule parameter (new)",
"type": [ {
"code": "Extension"
} ],
"sliceName": "name",
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:name",
"comment": "Element `TestScript.setup.action.assert.ruleset.rule.param.name` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule.param` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param.name` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param.name` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nThe external rule template would be looking for the parameter by this name.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Extension.extension.extension.extension.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": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:name.id",
"condition": [ "ele-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension.extension.extension.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 managable, 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"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Extension.extension:rule.extension:param.extension:name.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
}, {
"path": "Extension.extension.extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "name",
"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": "uri"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:name.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Extension.extension.extension.extension.value[x]",
"min": 1,
"definition": "Descriptive name for this parameter that matches the external assert ruleset rule parameter name.",
"isModifier": false,
"short": "Parameter name matching external assert ruleset rule parameter",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:name.value[x]",
"condition": [ "ext-1" ],
"comment": "The external rule template would be looking for the parameter by this name.",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension.extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rule.param.value` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule.param` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param.value` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param.value` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 1,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rule.param.value` (new:string)",
"isModifier": false,
"short": "STU3: Parameter value defined either explicitly or dynamically (new)",
"type": [ {
"code": "Extension"
} ],
"sliceName": "value",
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:value",
"comment": "Element `TestScript.setup.action.assert.ruleset.rule.param.value` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule.param` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param.value` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param.value` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nThis value overwrites the value (if any) specified in TestScript.ruleset.rule.param.value. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"path": "Extension.extension.extension.extension.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": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:value.id",
"condition": [ "ele-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Element.id"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
}, {
"key": "ext-1",
"human": "Must have either extensions or value[x], not both",
"source": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "Extension.extension.extension.extension.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 managable, 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"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "Extension.extension:rule.extension:param.extension:value.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
}, {
"path": "Extension.extension.extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "value",
"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": "uri"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:value.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Extension.extension.extension.extension.value[x]",
"min": 1,
"definition": "The value for the parameter that will be passed on to the external ruleset rule template.",
"isModifier": false,
"short": "Parameter value defined either explicitly or dynamically",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:value.value[x]",
"condition": [ "ext-1" ],
"comment": "This value overwrites the value (if any) specified in TestScript.ruleset.rule.param.value. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"path": "Extension.extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "param",
"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": "uri"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rule.extension:param.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Extension.extension.extension.value[x]",
"min": 0,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "base64Binary"
}, {
"code": "boolean"
}, {
"code": "canonical"
}, {
"code": "code"
}, {
"code": "date"
}, {
"code": "dateTime"
}, {
"code": "decimal"
}, {
"code": "id"
}, {
"code": "instant"
}, {
"code": "integer"
}, {
"code": "integer64"
}, {
"code": "markdown"
}, {
"code": "oid"
}, {
"code": "positiveInt"
}, {
"code": "string"
}, {
"code": "time"
}, {
"code": "unsignedInt"
}, {
"code": "uri"
}, {
"code": "url"
}, {
"code": "uuid"
}, {
"code": "Address"
}, {
"code": "Age"
}, {
"code": "Annotation"
}, {
"code": "Attachment"
}, {
"code": "CodeableConcept"
}, {
"code": "CodeableReference"
}, {
"code": "Coding"
}, {
"code": "ContactPoint"
}, {
"code": "Count"
}, {
"code": "Distance"
}, {
"code": "Duration"
}, {
"code": "HumanName"
}, {
"code": "Identifier"
}, {
"code": "Money"
}, {
"code": "Period"
}, {
"code": "Quantity"
}, {
"code": "Range"
}, {
"code": "Ratio"
}, {
"code": "RatioRange"
}, {
"code": "Reference"
}, {
"code": "SampledData"
}, {
"code": "Signature"
}, {
"code": "Timing"
}, {
"code": "ContactDetail"
}, {
"code": "DataRequirement"
}, {
"code": "Expression"
}, {
"code": "ParameterDefinition"
}, {
"code": "RelatedArtifact"
}, {
"code": "TriggerDefinition"
}, {
"code": "UsageContext"
}, {
"code": "Availability"
}, {
"code": "ExtendedContactDetail"
}, {
"code": "Dosage"
}, {
"code": "Meta"
} ],
"max": "0",
"id": "Extension.extension:rule.extension:param.value[x]",
"condition": [ "ext-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"path": "Extension.extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "rule",
"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": "uri"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.extension:rule.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Extension.extension.value[x]",
"min": 0,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "base64Binary"
}, {
"code": "boolean"
}, {
"code": "canonical"
}, {
"code": "code"
}, {
"code": "date"
}, {
"code": "dateTime"
}, {
"code": "decimal"
}, {
"code": "id"
}, {
"code": "instant"
}, {
"code": "integer"
}, {
"code": "integer64"
}, {
"code": "markdown"
}, {
"code": "oid"
}, {
"code": "positiveInt"
}, {
"code": "string"
}, {
"code": "time"
}, {
"code": "unsignedInt"
}, {
"code": "uri"
}, {
"code": "url"
}, {
"code": "uuid"
}, {
"code": "Address"
}, {
"code": "Age"
}, {
"code": "Annotation"
}, {
"code": "Attachment"
}, {
"code": "CodeableConcept"
}, {
"code": "CodeableReference"
}, {
"code": "Coding"
}, {
"code": "ContactPoint"
}, {
"code": "Count"
}, {
"code": "Distance"
}, {
"code": "Duration"
}, {
"code": "HumanName"
}, {
"code": "Identifier"
}, {
"code": "Money"
}, {
"code": "Period"
}, {
"code": "Quantity"
}, {
"code": "Range"
}, {
"code": "Ratio"
}, {
"code": "RatioRange"
}, {
"code": "Reference"
}, {
"code": "SampledData"
}, {
"code": "Signature"
}, {
"code": "Timing"
}, {
"code": "ContactDetail"
}, {
"code": "DataRequirement"
}, {
"code": "Expression"
}, {
"code": "ParameterDefinition"
}, {
"code": "RelatedArtifact"
}, {
"code": "TriggerDefinition"
}, {
"code": "UsageContext"
}, {
"code": "Availability"
}, {
"code": "ExtendedContactDetail"
}, {
"code": "Dosage"
}, {
"code": "Meta"
} ],
"max": "0",
"id": "Extension.extension:rule.value[x]",
"condition": [ "ext-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
}, {
"path": "Extension.url",
"min": 1,
"definition": "Source of the definition for the extension code - a logical name or a URL.",
"isModifier": false,
"short": "identifies the meaning of the extension",
"fixedUri": "http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.setup.action.assert.ruleset",
"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": "uri"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "Extension.url",
"comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element|5.0.0",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "Extension.value[x]",
"min": 0,
"definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R5/extensibility.html) for a list).",
"isModifier": false,
"short": "Value of extension",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "base64Binary"
}, {
"code": "boolean"
}, {
"code": "canonical"
}, {
"code": "code"
}, {
"code": "date"
}, {
"code": "dateTime"
}, {
"code": "decimal"
}, {
"code": "id"
}, {
"code": "instant"
}, {
"code": "integer"
}, {
"code": "integer64"
}, {
"code": "markdown"
}, {
"code": "oid"
}, {
"code": "positiveInt"
}, {
"code": "string"
}, {
"code": "time"
}, {
"code": "unsignedInt"
}, {
"code": "uri"
}, {
"code": "url"
}, {
"code": "uuid"
}, {
"code": "Address"
}, {
"code": "Age"
}, {
"code": "Annotation"
}, {
"code": "Attachment"
}, {
"code": "CodeableConcept"
}, {
"code": "CodeableReference"
}, {
"code": "Coding"
}, {
"code": "ContactPoint"
}, {
"code": "Count"
}, {
"code": "Distance"
}, {
"code": "Duration"
}, {
"code": "HumanName"
}, {
"code": "Identifier"
}, {
"code": "Money"
}, {
"code": "Period"
}, {
"code": "Quantity"
}, {
"code": "Range"
}, {
"code": "Ratio"
}, {
"code": "RatioRange"
}, {
"code": "Reference"
}, {
"code": "SampledData"
}, {
"code": "Signature"
}, {
"code": "Timing"
}, {
"code": "ContactDetail"
}, {
"code": "DataRequirement"
}, {
"code": "Expression"
}, {
"code": "ParameterDefinition"
}, {
"code": "RelatedArtifact"
}, {
"code": "TriggerDefinition"
}, {
"code": "UsageContext"
}, {
"code": "Availability"
}, {
"code": "ExtendedContactDetail"
}, {
"code": "Dosage"
}, {
"code": "Meta"
} ],
"max": "0",
"id": "Extension.value[x]",
"condition": [ "ext-1" ],
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"isSummary": false
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "5.0.0"
} ]
},
"status": "active",
"id": "f34ff274-9a21-4631-b14f-95e4155f3e8e",
"kind": "complex-type",
"url": "http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.setup.action.assert.ruleset",
"context": [ {
"type": "element",
"expression": "TestScript.setup.action.assert"
} ],
"version": "0.1.0",
"differential": {
"element": [ {
"path": "Extension",
"min": 0,
"definition": "STU3: `TestScript.setup.action.assert.ruleset` (new:BackboneElement)",
"isModifier": false,
"short": "STU3: The reference to a TestScript.ruleset (new)",
"max": "1",
"id": "Extension",
"comment": "Element `TestScript.setup.action.assert.ruleset` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nEach rule within a ruleset should get evaluated by test engines as a separate assertion. The impact of negative rule evaluation on test script execution is the same as an assertion failure which is descibed elsewhere in the TestScript resource. If the first rule within the ruleset results in a failed assertion, then test engines do not have to evaluate the rest of the rules within the ruleset.",
"base": {
"max": "*",
"min": 0,
"path": "Extension"
}
}, {
"id": "Extension.extension",
"max": "*",
"min": 1,
"base": {
"max": "*",
"min": 0,
"path": "Extension.extension"
},
"path": "Extension.extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"path": "Extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rulesetId` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rulesetId` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rulesetId` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 1,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rulesetId` (new:id)",
"short": "STU3: Id of the TestScript.ruleset (new)",
"sliceName": "rulesetId",
"max": "1",
"id": "Extension.extension:rulesetId",
"comment": "Element `TestScript.setup.action.assert.ruleset.rulesetId` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rulesetId` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rulesetId` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"base": {
"max": "*",
"min": 0,
"path": "Extension.extension"
}
}, {
"id": "Extension.extension:rulesetId.url",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"path": "Extension.extension.url",
"fixedUri": "rulesetId"
}, {
"id": "Extension.extension:rulesetId.value[x]",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"path": "Extension.extension.value[x]",
"type": [ {
"code": "id"
} ],
"short": "Id of the TestScript.ruleset",
"definition": "The TestScript.ruleset id value this assert will evaluate."
}, {
"path": "Extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rule` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 0,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rule` (new:BackboneElement)",
"short": "STU3: The referenced rule within the ruleset (new)",
"sliceName": "rule",
"max": "*",
"id": "Extension.extension:rule",
"comment": "Element `TestScript.setup.action.assert.ruleset.rule` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nThis qualifies each param name so that a parameter with the same name can be used differently by the different rules with the ruleset.",
"base": {
"max": "*",
"min": 0,
"path": "Extension.extension"
}
}, {
"id": "Extension.extension:rule.extension",
"max": "*",
"min": 1,
"base": {
"max": "*",
"min": 0,
"path": "Extension.extension"
},
"path": "Extension.extension.extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"path": "Extension.extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rule.ruleId` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.ruleId` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.ruleId` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 1,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rule.ruleId` (new:id)",
"short": "STU3: Id of referenced rule within the ruleset (new)",
"sliceName": "ruleId",
"max": "1",
"id": "Extension.extension:rule.extension:ruleId",
"comment": "Element `TestScript.setup.action.assert.ruleset.rule.ruleId` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.ruleId` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.ruleId` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"base": {
"max": "*",
"min": 0,
"path": "Extension.extension"
}
}, {
"id": "Extension.extension:rule.extension:ruleId.url",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"path": "Extension.extension.extension.url",
"fixedUri": "ruleId"
}, {
"id": "Extension.extension:rule.extension:ruleId.value[x]",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"path": "Extension.extension.extension.value[x]",
"type": [ {
"code": "id"
} ],
"short": "Id of referenced rule within the ruleset",
"definition": "Id of the referenced rule within the external ruleset template."
}, {
"path": "Extension.extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rule.param` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 0,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rule.param` (new:BackboneElement)",
"short": "STU3: Rule parameter template (new)",
"sliceName": "param",
"max": "*",
"id": "Extension.extension:rule.extension:param",
"comment": "Element `TestScript.setup.action.assert.ruleset.rule.param` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nThe parameter value can be dynamic at runtime.",
"base": {
"max": "*",
"min": 0,
"path": "Extension.extension"
}
}, {
"id": "Extension.extension:rule.extension:param.extension",
"max": "*",
"min": 2,
"base": {
"max": "*",
"min": 0,
"path": "Extension.extension"
},
"path": "Extension.extension.extension.extension",
"slicing": {
"rules": "open",
"ordered": false,
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"path": "Extension.extension.extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rule.param.name` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule.param` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param.name` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param.name` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 1,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rule.param.name` (new:string)",
"short": "STU3: Parameter name matching external assert ruleset rule parameter (new)",
"sliceName": "name",
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:name",
"comment": "Element `TestScript.setup.action.assert.ruleset.rule.param.name` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule.param` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param.name` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param.name` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nThe external rule template would be looking for the parameter by this name.",
"base": {
"max": "*",
"min": 0,
"path": "Extension.extension"
}
}, {
"id": "Extension.extension:rule.extension:param.extension:name.url",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"path": "Extension.extension.extension.extension.url",
"fixedUri": "name"
}, {
"path": "Extension.extension.extension.extension.value[x]",
"min": 1,
"definition": "Descriptive name for this parameter that matches the external assert ruleset rule parameter name.",
"short": "Parameter name matching external assert ruleset rule parameter",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:name.value[x]",
"comment": "The external rule template would be looking for the parameter by this name.",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
}
}, {
"path": "Extension.extension.extension.extension",
"requirements": "Element `TestScript.setup.action.assert.ruleset.rule.param.value` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule.param` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param.value` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param.value` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).",
"min": 1,
"definition": "STU3: `TestScript.setup.action.assert.ruleset.rule.param.value` (new:string)",
"short": "STU3: Parameter value defined either explicitly or dynamically (new)",
"sliceName": "value",
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:value",
"comment": "Element `TestScript.setup.action.assert.ruleset.rule.param.value` is part of an existing definition because parent element `TestScript.setup.action.assert.ruleset.rule.param` requires a cross-version extension.\nElement `TestScript.setup.action.assert.ruleset.rule.param.value` has a context of TestScript.setup.action.assert based on following the parent source element upwards and mapping to `TestScript`.\nElement `TestScript.setup.action.assert.ruleset.rule.param.value` has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).\nThis value overwrites the value (if any) specified in TestScript.ruleset.rule.param.value. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.",
"base": {
"max": "*",
"min": 0,
"path": "Extension.extension"
}
}, {
"id": "Extension.extension:rule.extension:param.extension:value.url",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"path": "Extension.extension.extension.extension.url",
"fixedUri": "value"
}, {
"path": "Extension.extension.extension.extension.value[x]",
"min": 1,
"definition": "The value for the parameter that will be passed on to the external ruleset rule template.",
"short": "Parameter value defined either explicitly or dynamically",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "Extension.extension:rule.extension:param.extension:value.value[x]",
"comment": "This value overwrites the value (if any) specified in TestScript.ruleset.rule.param.value. The param value can be a string-representation of a number, string, or boolean that is expected. Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before supplying this value to the external rule template.",
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
}
}, {
"id": "Extension.extension:rule.extension:param.url",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"path": "Extension.extension.extension.url",
"fixedUri": "param"
}, {
"id": "Extension.extension:rule.extension:param.value[x]",
"max": "0",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"path": "Extension.extension.extension.value[x]"
}, {
"id": "Extension.extension:rule.url",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"path": "Extension.extension.url",
"fixedUri": "rule"
}, {
"id": "Extension.extension:rule.value[x]",
"max": "0",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"path": "Extension.extension.value[x]"
}, {
"id": "Extension.url",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "Extension.url"
},
"path": "Extension.url",
"fixedUri": "http://hl7.org/fhir/3.0/StructureDefinition/extension-TestScript.setup.action.assert.ruleset"
}, {
"id": "Extension.value[x]",
"max": "0",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "Extension.value[x]"
},
"path": "Extension.value[x]"
} ]
},
"contact": [ {
"name": "FHIR Infrastructure",
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/fiwg",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension|5.0.0"
}