{
"description": "A plan for executing testing on an artifact or specifications",
"_filename": "StructureDefinition-TestPlan.json",
"package_name": "hl7.fhir.r5.core",
"date": "2023-03-26T15:21:02+11:00",
"derivation": "specialization",
"meta": {
"lastUpdated": "2023-03-26T15:21:02.749+11:00"
},
"publisher": "Health Level Seven International (FHIR Infrastructure)",
"fhirVersion": "5.0.0",
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
"display": "World"
} ]
} ],
"name": "TestPlan",
"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"
}, {
"uri": "http://hl7.org/fhir/object-implementation",
"name": "Object Implementation Information",
"identity": "objimpl"
} ],
"abstract": false,
"type": "TestPlan",
"experimental": "true",
"resourceType": "StructureDefinition",
"title": null,
"package_version": "5.0.0",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Specialized.Quality Reporting & Testing"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-implements",
"valueUri": "http://hl7.org/fhir/StructureDefinition/CanonicalResource"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "draft"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 0
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "business"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
} ],
"snapshot": {
"element": [ {
"constraint": [ {
"key": "cnl-0",
"human": "Name should be usable as an identifier for the module by machine processing applications such as code generation",
"source": "http://hl7.org/fhir/StructureDefinition/TestPlan",
"severity": "warning",
"expression": "name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"
} ],
"path": "TestPlan",
"min": 0,
"definition": "A plan for executing testing on an artifact or specifications.",
"isModifier": false,
"short": "Description of intented testing",
"mapping": [ {
"map": "conformance.behavior,conformance.misc",
"identity": "w5"
}, {
"map": "Definition",
"identity": "workflow"
}, {
"map": "n/a",
"identity": "rim"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan"
},
"isSummary": false
}, {
"path": "TestPlan.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": "id"
} ]
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.id",
"comment": "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.",
"base": {
"max": "1",
"min": 0,
"path": "Resource.id"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.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"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.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",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.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"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.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 its 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 its meaning or interpretation",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.language",
"min": 0,
"definition": "The base language in which the resource is written.",
"isModifier": false,
"short": "Language of the resource content",
"type": [ {
"code": "code"
} ],
"mustSupport": false,
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/all-languages|5.0.0",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
} ],
"additional": [ {
"purpose": "starter",
"valueSet": "http://hl7.org/fhir/ValueSet/languages"
} ],
"description": "IETF language tag for a human language"
},
"max": "1",
"id": "TestPlan.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",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.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"
} ],
"mustSupport": false,
"alias": [ "narrative", "html", "xhtml", "display" ],
"max": "1",
"id": "TestPlan.text",
"condition": [ "dom-6" ],
"comment": "Contained resources do not have a 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": "TestPlan.contained",
"min": 0,
"definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.",
"isModifier": false,
"short": "Contained, inline Resources",
"mapping": [ {
"map": "N/A",
"identity": "rim"
} ],
"type": [ {
"code": "Resource"
} ],
"mustSupport": false,
"alias": [ "inline resources", "anonymous resources", "contained resources" ],
"max": "*",
"id": "TestPlan.contained",
"condition": [ "dom-2", "dom-4", "dom-3", "dom-5" ],
"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",
"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",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.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 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"
} ],
"type": [ {
"code": "Extension"
} ],
"mustSupport": false,
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestPlan.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",
"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",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.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](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 managable, 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"
} ],
"mustSupport": false,
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestPlan.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": true
}, {
"constraint": [ {
"key": "cnl-1",
"human": "URL should not contain | or # - these characters make processing canonical references problematic",
"source": "http://hl7.org/fhir/StructureDefinition/TestPlan",
"severity": "warning",
"expression": "exists() implies matches('^[^|# ]+$')"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.url",
"requirements": "Allows the test plan to be referenced by a single globally unique identifier.",
"min": 0,
"definition": "An absolute URI that is used to identify this test plan when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this test plan is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test plan is stored on different servers.",
"isModifier": false,
"short": "Canonical identifier for this test plan, represented as a URI (globally unique)",
"mapping": [ {
"map": "Definition.url",
"identity": "workflow"
}, {
"map": "FiveWs.identifier",
"identity": "w5"
} ],
"type": [ {
"code": "uri"
} ],
"mustSupport": false,
"alias": [ "url", "authoritative-url", "destination", "identity" ],
"max": "1",
"id": "TestPlan.url",
"comment": "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found.",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.url"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.identifier",
"requirements": "Allows externally provided and/or usable business identifiers to be easily associated with the module.",
"min": 0,
"definition": "A formal identifier that is used to identify this test plan when it is represented in other formats, or referenced in a specification, model, design or an instance.",
"isModifier": false,
"short": "Business identifier identifier for the test plan",
"mapping": [ {
"map": "Definition.identifier",
"identity": "workflow"
}, {
"map": "FiveWs.identifier",
"identity": "w5"
}, {
"map": "no-gen-base",
"identity": "objimpl"
} ],
"type": [ {
"code": "Identifier"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.identifier",
"comment": "Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this test plan outside of FHIR, where it is not possible to use the logical URI.",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.identifier"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.version",
"min": 0,
"definition": "The identifier that is used to identify this version of the test plan when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test plan author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.",
"isModifier": false,
"short": "Business version of the test plan",
"mapping": [ {
"map": "Definition.version",
"identity": "workflow"
}, {
"map": "FiveWs.version",
"identity": "w5"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.version",
"comment": "There may be different test plan instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the test plan with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format).",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.version"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.versionAlgorithm[x]",
"min": 0,
"definition": "Indicates the mechanism used to compare versions to determine which is more current.",
"isModifier": false,
"short": "How to compare versions",
"type": [ {
"code": "string"
}, {
"code": "Coding"
} ],
"mustSupport": false,
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/version-algorithm"
},
"max": "1",
"id": "TestPlan.versionAlgorithm[x]",
"comment": "If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.versionAlgorithm[x]"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.name",
"requirements": "Support code generation.",
"min": 0,
"definition": "A natural language name identifying the test plan. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
"isModifier": false,
"short": "Name for this test plan (computer friendly)",
"mapping": [ {
"map": "Definition.name",
"identity": "workflow"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.name",
"condition": [ "cnl-0" ],
"comment": "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.name"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.title",
"min": 0,
"definition": "A short, descriptive, user-friendly title for the test plan.",
"isModifier": false,
"short": "Name for this test plan (human friendly)",
"mapping": [ {
"map": "Definition.title",
"identity": "workflow"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestPlan.title",
"comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.title"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.status",
"min": 1,
"definition": "The status of this test plan. Enables tracking the life-cycle of the content.",
"isModifier": true,
"short": "draft | active | retired | unknown",
"mapping": [ {
"map": "Definition.status",
"identity": "workflow"
}, {
"map": "FiveWs.status",
"identity": "w5"
} ],
"type": [ {
"code": "code"
} ],
"mustSupport": false,
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/publication-status|5.0.0",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PublicationStatus"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
} ],
"description": "The lifecycle status of an artifact."
},
"max": "1",
"id": "TestPlan.status",
"comment": "Allows filtering of test plans that are appropriate for use versus not.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
"base": {
"max": "1",
"min": 1,
"path": "TestPlan.status"
},
"isModifierReason": "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.experimental",
"requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level test plan.",
"min": 0,
"definition": "A Boolean value to indicate that this test plan is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.",
"isModifier": false,
"short": "For testing purposes, not real usage",
"mapping": [ {
"map": "Definition.experimental",
"identity": "workflow"
}, {
"map": "FiveWs.class",
"identity": "w5"
} ],
"type": [ {
"code": "boolean"
} ],
"mustSupport": false,
"meaningWhenMissing": "If absent, this resource is treated as though it is not experimental.",
"max": "1",
"id": "TestPlan.experimental",
"comment": "Allows filtering of test plans that are appropriate for use versus not.",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.experimental"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.date",
"min": 0,
"definition": "The date (and optionally time) when the test plan was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test plan changes.",
"isModifier": false,
"short": "Date last changed",
"mapping": [ {
"map": "Definition.date",
"identity": "workflow"
}, {
"map": "FiveWs.recorded",
"identity": "w5"
} ],
"type": [ {
"code": "dateTime"
} ],
"mustSupport": false,
"alias": [ "Revision Date" ],
"max": "1",
"id": "TestPlan.date",
"comment": "The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the test plan. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.date"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.publisher",
"requirements": "Helps establish the \"authority/credibility\" of the test plan. May also allow for contact.",
"min": 0,
"definition": "The name of the organization or individual responsible for the release and ongoing maintenance of the test plan.",
"isModifier": false,
"short": "Name of the publisher/steward (organization or individual)",
"mapping": [ {
"map": "Definition.publisher",
"identity": "workflow"
}, {
"map": "FiveWs.witness",
"identity": "w5"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestPlan.publisher",
"comment": "Usually an organization but may be an individual. The publisher (or steward) of the test plan is the organization or individual primarily responsible for the maintenance and upkeep of the test plan. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the test plan. This item SHOULD be populated unless the information is available from context.",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.publisher"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.contact",
"min": 0,
"definition": "Contact details to assist a user in finding and communicating with the publisher.",
"isModifier": false,
"short": "Contact details for the publisher",
"mapping": [ {
"map": "Definition.contact",
"identity": "workflow"
} ],
"type": [ {
"code": "ContactDetail"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.contact",
"comment": "May be a web site, an email address, a telephone number, etc.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.contact"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.description",
"min": 0,
"definition": "A free text natural language description of the test plan from a consumer's perspective.",
"isModifier": false,
"short": "Natural language description of the test plan",
"mapping": [ {
"map": "Definition.description",
"identity": "workflow"
} ],
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestPlan.description",
"comment": "This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the test plan as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the test plan is presumed to be the predominant language in the place the test plan was created).",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.description"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.useContext",
"requirements": "Assist in searching for appropriate content.",
"min": 0,
"definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate test plan instances.",
"isModifier": false,
"short": "The context that the content is intended to support",
"mapping": [ {
"map": "Definition.useContext",
"identity": "workflow"
} ],
"type": [ {
"code": "UsageContext"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.useContext",
"comment": "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.useContext"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.jurisdiction",
"min": 0,
"definition": "A legal or geographic region in which the test plan is intended to be used.",
"isModifier": false,
"short": "Intended jurisdiction where the test plan applies (if applicable)",
"mapping": [ {
"map": "Definition.jurisdiction",
"identity": "workflow"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "deprecated"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/jurisdiction",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Jurisdiction"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
} ],
"description": "Countries and regions within which this artifact is targeted for use."
},
"max": "*",
"id": "TestPlan.jurisdiction",
"comment": "It may be possible for the test plan to be used in jurisdictions other than those for which it was originally designed or intended.\n\nDEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element. (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.jurisdiction"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.purpose",
"min": 0,
"definition": "Explanation of why this test plan is needed and why it has been designed as it has.",
"isModifier": false,
"short": "Why this test plan is defined",
"mapping": [ {
"map": "Definition.purpose",
"identity": "workflow"
}, {
"map": "FiveWs.why[x]",
"identity": "w5"
}, {
"map": "no-gen-base",
"identity": "objimpl"
} ],
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestPlan.purpose",
"comment": "This element does not describe the usage of the test plan Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this test plan.",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.purpose"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.copyright",
"requirements": "Consumers must be able to determine any legal restrictions on the use of the test plan and/or its content.",
"min": 0,
"definition": "A copyright statement relating to the test plan and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test plan. The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element.",
"isModifier": false,
"short": "Use and/or publishing restrictions",
"mapping": [ {
"map": "Definition.copyright",
"identity": "workflow"
}, {
"map": "no-gen-base",
"identity": "objimpl"
} ],
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"alias": [ "License", "Restrictions" ],
"max": "1",
"id": "TestPlan.copyright",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.copyright"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.copyrightLabel",
"requirements": "Defines the content expected to be rendered in all representations of the artifact.",
"min": 0,
"definition": "A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved').",
"isModifier": false,
"short": "Copyright holder and year(s)",
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestPlan.copyrightLabel",
"comment": "The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element.",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.copyrightLabel"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.category",
"min": 0,
"definition": "The category of the Test Plan - can be acceptance, unit, performance, etc.",
"isModifier": false,
"short": "The category of the Test Plan - can be acceptance, unit, performance",
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": false,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/testscript-scope-phase-codes",
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueString": "The high-level category for this plan."
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestPlanCategory"
} ],
"description": "The high-level category for this plan."
},
"max": "*",
"id": "TestPlan.category",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.category"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.scope",
"min": 0,
"definition": "What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference...",
"isModifier": false,
"short": "What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference",
"type": [ {
"code": "Reference"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.scope",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.scope"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testTools",
"min": 0,
"definition": "A description of test tools to be used in the test plan.",
"isModifier": false,
"short": "A description of test tools to be used in the test plan - narrative for now",
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testTools",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.testTools"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.dependency",
"min": 0,
"definition": "The required criteria to execute the test plan - e.g. preconditions, previous tests...",
"isModifier": false,
"short": "The required criteria to execute the test plan - e.g. preconditions, previous tests",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.dependency",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.dependency"
},
"isSummary": false
}, {
"path": "TestPlan.dependency.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": "TestPlan.dependency.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",
"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",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.dependency.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"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestPlan.dependency.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",
"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",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.dependency.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](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 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. 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": "TestPlan.dependency.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",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.dependency.description",
"min": 0,
"definition": "A textual description of the criterium - what is needed for the dependency to be considered met.",
"isModifier": false,
"short": "Description of the dependency criterium",
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.dependency.description",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.dependency.description"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.dependency.predecessor",
"min": 0,
"definition": "Predecessor test plans - those that are expected to be successfully performed as a dependency for the execution of this test plan.",
"isModifier": false,
"short": "Link to predecessor test plans",
"type": [ {
"code": "Reference"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.dependency.predecessor",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.dependency.predecessor"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.exitCriteria",
"min": 0,
"definition": "The threshold or criteria for the test plan to be considered successfully executed - narrative.",
"isModifier": false,
"short": "The threshold or criteria for the test plan to be considered successfully executed - narrative",
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.exitCriteria",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.exitCriteria"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase",
"min": 0,
"definition": "The individual test cases that are part of this plan, when they they are made explicit.",
"isModifier": false,
"short": "The test cases that constitute this plan",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.testCase"
},
"isSummary": false
}, {
"path": "TestPlan.testCase.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": "TestPlan.testCase.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",
"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",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.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"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestPlan.testCase.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",
"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",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.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](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 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. 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": "TestPlan.testCase.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",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.sequence",
"min": 0,
"definition": "Sequence of test case - an ordinal number that indicates the order for the present test case in the test plan.",
"isModifier": false,
"short": "Sequence of test case in the test plan",
"type": [ {
"code": "integer"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.sequence",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.testCase.sequence"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.scope",
"min": 0,
"definition": "The scope or artifact covered by the case, when the individual test case is associated with a testable artifact.",
"isModifier": false,
"short": "The scope or artifact covered by the case",
"type": [ {
"code": "Reference"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.scope",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.testCase.scope"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.dependency",
"min": 0,
"definition": "The required criteria to execute the test case - e.g. preconditions, previous tests.",
"isModifier": false,
"short": "Required criteria to execute the test case",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "TestCaseDependency"
} ],
"max": "*",
"id": "TestPlan.testCase.dependency",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.testCase.dependency"
},
"isSummary": false
}, {
"path": "TestPlan.testCase.dependency.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": "TestPlan.testCase.dependency.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",
"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",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.dependency.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"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestPlan.testCase.dependency.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",
"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",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.dependency.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](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 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. 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": "TestPlan.testCase.dependency.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",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.dependency.description",
"min": 0,
"definition": "Description of the criteria.",
"isModifier": false,
"short": "Description of the criteria",
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.dependency.description",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.testCase.dependency.description"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.dependency.predecessor",
"min": 0,
"definition": "Link to predecessor test plans.",
"isModifier": false,
"short": "Link to predecessor test plans",
"type": [ {
"code": "Reference"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.dependency.predecessor",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.testCase.dependency.predecessor"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.testRun",
"min": 0,
"definition": "The actual test to be executed.",
"isModifier": false,
"short": "The actual test to be executed",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.testRun",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.testCase.testRun"
},
"isSummary": false
}, {
"path": "TestPlan.testCase.testRun.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": "TestPlan.testCase.testRun.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",
"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",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.testRun.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"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestPlan.testCase.testRun.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",
"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",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.testRun.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](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 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. 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": "TestPlan.testCase.testRun.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",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.testRun.narrative",
"min": 0,
"definition": "The narrative description of the tests.",
"isModifier": false,
"short": "The narrative description of the tests",
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testRun.narrative",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.testCase.testRun.narrative"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.testRun.script",
"min": 0,
"definition": "The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript.",
"isModifier": false,
"short": "The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testRun.script",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.testCase.testRun.script"
},
"isSummary": false
}, {
"path": "TestPlan.testCase.testRun.script.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": "TestPlan.testCase.testRun.script.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",
"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",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.testRun.script.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"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestPlan.testCase.testRun.script.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",
"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",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.testRun.script.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](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 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. 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": "TestPlan.testCase.testRun.script.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",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.testRun.script.language",
"min": 0,
"definition": "The language for the test cases e.g. 'gherkin', 'testscript'.",
"isModifier": false,
"short": "The language for the test cases e.g. 'gherkin', 'testscript'",
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testRun.script.language",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.testCase.testRun.script.language"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.testRun.script.source[x]",
"min": 0,
"definition": "The actual content of the cases - references to TestScripts or externally defined content.",
"isModifier": false,
"short": "The actual content of the cases - references to TestScripts or externally defined content",
"type": [ {
"code": "string"
}, {
"code": "Reference"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testRun.script.source[x]",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.testCase.testRun.script.source[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.testData",
"min": 0,
"definition": "The test data used in the test case.",
"isModifier": false,
"short": "The test data used in the test case",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.testData",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.testCase.testData"
},
"isSummary": false
}, {
"path": "TestPlan.testCase.testData.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": "TestPlan.testCase.testData.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",
"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",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.testData.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"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestPlan.testCase.testData.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",
"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",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.testData.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](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 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. 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": "TestPlan.testCase.testData.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",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.testData.type",
"min": 1,
"definition": "The type of test data description, e.g. 'synthea'.",
"isModifier": false,
"short": "The type of test data description, e.g. 'synthea'",
"type": [ {
"code": "Coding"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testData.type",
"base": {
"max": "1",
"min": 1,
"path": "TestPlan.testCase.testData.type"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.testData.content",
"min": 0,
"definition": "The actual test resources when they exist.",
"isModifier": false,
"short": "The actual test resources when they exist",
"type": [ {
"code": "Reference"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testData.content",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.testCase.testData.content"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.testData.source[x]",
"min": 0,
"definition": "Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc.",
"isModifier": false,
"short": "Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc",
"type": [ {
"code": "string"
}, {
"code": "Reference"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testData.source[x]",
"base": {
"max": "1",
"min": 0,
"path": "TestPlan.testCase.testData.source[x]"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.assertion",
"min": 0,
"definition": "The test assertions - the expectations of test results from the execution of the test case.",
"isModifier": false,
"short": "Test assertions or expectations",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.assertion",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.testCase.assertion"
},
"isSummary": false
}, {
"path": "TestPlan.testCase.assertion.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": "TestPlan.testCase.assertion.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",
"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",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.assertion.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"
} ],
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestPlan.testCase.assertion.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",
"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",
"source": "http://hl7.org/fhir/StructureDefinition/Extension",
"severity": "error",
"expression": "extension.exists() != value.exists()"
} ],
"path": "TestPlan.testCase.assertion.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](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 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. 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": "TestPlan.testCase.assertion.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",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.assertion.type",
"min": 0,
"definition": "The test assertion type - this can be used to group assertions as 'required' or 'optional', or can be used for other classification of the assertion.",
"isModifier": false,
"short": "Assertion type - for example 'informative' or 'required' ",
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.assertion.type",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.testCase.assertion.type"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.assertion.object",
"min": 0,
"definition": "The focus or object of the assertion i.e. a resource.",
"isModifier": false,
"short": "The focus or object of the assertion",
"type": [ {
"code": "CodeableReference"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.assertion.object",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.testCase.assertion.object"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestPlan.testCase.assertion.result",
"min": 0,
"definition": "The test assertion - the expected outcome from the test case execution.",
"isModifier": false,
"short": "The actual result assertion",
"type": [ {
"code": "CodeableReference"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.assertion.result",
"base": {
"max": "*",
"min": 0,
"path": "TestPlan.testCase.assertion.result"
},
"isSummary": false
} ]
},
"status": "draft",
"id": "c2d8a7d5-f4bf-4461-a061-37ecf3f64d7a",
"kind": "resource",
"url": "http://hl7.org/fhir/StructureDefinition/TestPlan",
"version": "5.0.0",
"differential": {
"element": [ {
"constraint": [ {
"key": "cnl-0",
"human": "Name should be usable as an identifier for the module by machine processing applications such as code generation",
"source": "http://hl7.org/fhir/StructureDefinition/TestPlan",
"severity": "warning",
"expression": "name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')"
} ],
"path": "TestPlan",
"min": 0,
"definition": "A plan for executing testing on an artifact or specifications.",
"isModifier": false,
"short": "Description of intented testing",
"mapping": [ {
"map": "Definition",
"identity": "workflow"
}, {
"map": "conformance.misc",
"identity": "w5"
}, {
"map": "n/a",
"identity": "rim"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan"
}, {
"constraint": [ {
"key": "cnl-1",
"human": "URL should not contain | or # - these characters make processing canonical references problematic",
"source": "http://hl7.org/fhir/StructureDefinition/TestPlan",
"severity": "warning",
"expression": "exists() implies matches('^[^|# ]+$')"
} ],
"path": "TestPlan.url",
"requirements": "Allows the test plan to be referenced by a single globally unique identifier.",
"min": 0,
"definition": "An absolute URI that is used to identify this test plan when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this test plan is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test plan is stored on different servers.",
"isModifier": false,
"short": "Canonical identifier for this test plan, represented as a URI (globally unique)",
"mapping": [ {
"map": "Definition.url",
"identity": "workflow"
}, {
"map": "FiveWs.identifier",
"identity": "w5"
} ],
"type": [ {
"code": "uri"
} ],
"mustSupport": false,
"alias": [ "url", "authoritative-url", "destination", "identity" ],
"max": "1",
"id": "TestPlan.url",
"comment": "Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.\n\nThe determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in [Technical and Business Versions](resource.html#versions). \n\nIn some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](resource.html#meta) element to indicate where the current master source of the resource can be found.",
"isSummary": true
}, {
"path": "TestPlan.identifier",
"requirements": "Allows externally provided and/or usable business identifiers to be easily associated with the module.",
"min": 0,
"definition": "A formal identifier that is used to identify this test plan when it is represented in other formats, or referenced in a specification, model, design or an instance.",
"isModifier": false,
"short": "Business identifier identifier for the test plan",
"mapping": [ {
"map": "Definition.identifier",
"identity": "workflow"
}, {
"map": "FiveWs.identifier",
"identity": "w5"
}, {
"map": "no-gen-base",
"identity": "objimpl"
} ],
"type": [ {
"code": "Identifier"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.identifier",
"comment": "Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this test plan outside of FHIR, where it is not possible to use the logical URI.",
"isSummary": true
}, {
"path": "TestPlan.version",
"min": 0,
"definition": "The identifier that is used to identify this version of the test plan when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test plan author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.",
"isModifier": false,
"short": "Business version of the test plan",
"mapping": [ {
"map": "Definition.version",
"identity": "workflow"
}, {
"map": "FiveWs.version",
"identity": "w5"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.version",
"comment": "There may be different test plan instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the test plan with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](resource.html#bv-format).",
"isSummary": true
}, {
"path": "TestPlan.versionAlgorithm[x]",
"min": 0,
"definition": "Indicates the mechanism used to compare versions to determine which is more current.",
"isModifier": false,
"short": "How to compare versions",
"type": [ {
"code": "string"
}, {
"code": "Coding"
} ],
"mustSupport": false,
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/version-algorithm"
},
"max": "1",
"id": "TestPlan.versionAlgorithm[x]",
"comment": "If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.",
"isSummary": true
}, {
"path": "TestPlan.name",
"requirements": "Support code generation.",
"min": 0,
"definition": "A natural language name identifying the test plan. This name should be usable as an identifier for the module by machine processing applications such as code generation.",
"isModifier": false,
"short": "Name for this test plan (computer friendly)",
"mapping": [ {
"map": "Definition.name",
"identity": "workflow"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.name",
"condition": [ "cnl-0" ],
"comment": "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.",
"isSummary": true
}, {
"path": "TestPlan.title",
"min": 0,
"definition": "A short, descriptive, user-friendly title for the test plan.",
"isModifier": false,
"short": "Name for this test plan (human friendly)",
"mapping": [ {
"map": "Definition.title",
"identity": "workflow"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestPlan.title",
"comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.",
"isSummary": false
}, {
"path": "TestPlan.status",
"min": 1,
"definition": "The status of this test plan. Enables tracking the life-cycle of the content.",
"isModifier": true,
"short": "draft | active | retired | unknown",
"mapping": [ {
"map": "Definition.status",
"identity": "workflow"
}, {
"map": "FiveWs.status",
"identity": "w5"
} ],
"type": [ {
"code": "code"
} ],
"mustSupport": false,
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/publication-status|5.0.0",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "PublicationStatus"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
} ],
"description": "The lifecycle status of an artifact."
},
"max": "1",
"id": "TestPlan.status",
"comment": "Allows filtering of test plans that are appropriate for use versus not.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
"isModifierReason": "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration",
"isSummary": true
}, {
"path": "TestPlan.experimental",
"requirements": "Enables experimental content to be developed following the same lifecycle that would be used for a production-level test plan.",
"min": 0,
"definition": "A Boolean value to indicate that this test plan is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.",
"isModifier": false,
"short": "For testing purposes, not real usage",
"mapping": [ {
"map": "Definition.experimental",
"identity": "workflow"
}, {
"map": "FiveWs.class",
"identity": "w5"
} ],
"type": [ {
"code": "boolean"
} ],
"mustSupport": false,
"meaningWhenMissing": "If absent, this resource is treated as though it is not experimental.",
"max": "1",
"id": "TestPlan.experimental",
"comment": "Allows filtering of test plans that are appropriate for use versus not.",
"isSummary": true
}, {
"path": "TestPlan.date",
"min": 0,
"definition": "The date (and optionally time) when the test plan was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the test plan changes.",
"isModifier": false,
"short": "Date last changed",
"mapping": [ {
"map": "Definition.date",
"identity": "workflow"
}, {
"map": "FiveWs.recorded",
"identity": "w5"
} ],
"type": [ {
"code": "dateTime"
} ],
"mustSupport": false,
"alias": [ "Revision Date" ],
"max": "1",
"id": "TestPlan.date",
"comment": "The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the test plan. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
"isSummary": true
}, {
"path": "TestPlan.publisher",
"requirements": "Helps establish the \"authority/credibility\" of the test plan. May also allow for contact.",
"min": 0,
"definition": "The name of the organization or individual responsible for the release and ongoing maintenance of the test plan.",
"isModifier": false,
"short": "Name of the publisher/steward (organization or individual)",
"mapping": [ {
"map": "Definition.publisher",
"identity": "workflow"
}, {
"map": "FiveWs.witness",
"identity": "w5"
} ],
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestPlan.publisher",
"comment": "Usually an organization but may be an individual. The publisher (or steward) of the test plan is the organization or individual primarily responsible for the maintenance and upkeep of the test plan. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the test plan. This item SHOULD be populated unless the information is available from context.",
"isSummary": true
}, {
"path": "TestPlan.contact",
"min": 0,
"definition": "Contact details to assist a user in finding and communicating with the publisher.",
"isModifier": false,
"short": "Contact details for the publisher",
"mapping": [ {
"map": "Definition.contact",
"identity": "workflow"
} ],
"type": [ {
"code": "ContactDetail"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.contact",
"comment": "May be a web site, an email address, a telephone number, etc.\n\nSee guidance around (not) making local changes to elements [here](canonicalresource.html#localization).",
"isSummary": true
}, {
"path": "TestPlan.description",
"min": 0,
"definition": "A free text natural language description of the test plan from a consumer's perspective.",
"isModifier": false,
"short": "Natural language description of the test plan",
"mapping": [ {
"map": "Definition.description",
"identity": "workflow"
} ],
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestPlan.description",
"comment": "This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the test plan as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the test plan is presumed to be the predominant language in the place the test plan was created).",
"isSummary": false
}, {
"path": "TestPlan.useContext",
"requirements": "Assist in searching for appropriate content.",
"min": 0,
"definition": "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate test plan instances.",
"isModifier": false,
"short": "The context that the content is intended to support",
"mapping": [ {
"map": "Definition.useContext",
"identity": "workflow"
} ],
"type": [ {
"code": "UsageContext"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.useContext",
"comment": "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.",
"isSummary": true
}, {
"path": "TestPlan.jurisdiction",
"min": 0,
"definition": "A legal or geographic region in which the test plan is intended to be used.",
"isModifier": false,
"short": "Intended jurisdiction where the test plan applies (if applicable)",
"mapping": [ {
"map": "Definition.jurisdiction",
"identity": "workflow"
} ],
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "deprecated"
} ],
"binding": {
"strength": "extensible",
"valueSet": "http://hl7.org/fhir/ValueSet/jurisdiction",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Jurisdiction"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
"valueBoolean": true
} ],
"description": "Countries and regions within which this artifact is targeted for use."
},
"max": "*",
"id": "TestPlan.jurisdiction",
"comment": "It may be possible for the test plan to be used in jurisdictions other than those for which it was originally designed or intended.\n\nDEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element. (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)",
"isSummary": true
}, {
"path": "TestPlan.purpose",
"min": 0,
"definition": "Explanation of why this test plan is needed and why it has been designed as it has.",
"isModifier": false,
"short": "Why this test plan is defined",
"mapping": [ {
"map": "Definition.purpose",
"identity": "workflow"
}, {
"map": "FiveWs.why[x]",
"identity": "w5"
}, {
"map": "no-gen-base",
"identity": "objimpl"
} ],
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestPlan.purpose",
"comment": "This element does not describe the usage of the test plan Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this test plan.",
"isSummary": false
}, {
"path": "TestPlan.copyright",
"requirements": "Consumers must be able to determine any legal restrictions on the use of the test plan and/or its content.",
"min": 0,
"definition": "A copyright statement relating to the test plan and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test plan. The short copyright declaration (e.g. (c) '2015+ xyz organization' should be sent in the copyrightLabel element.",
"isModifier": false,
"short": "Use and/or publishing restrictions",
"mapping": [ {
"map": "Definition.copyright",
"identity": "workflow"
}, {
"map": "no-gen-base",
"identity": "objimpl"
} ],
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"alias": [ "License", "Restrictions" ],
"max": "1",
"id": "TestPlan.copyright",
"isSummary": false
}, {
"path": "TestPlan.copyrightLabel",
"requirements": "Defines the content expected to be rendered in all representations of the artifact.",
"min": 0,
"definition": "A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved').",
"isModifier": false,
"short": "Copyright holder and year(s)",
"type": [ {
"code": "string"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestPlan.copyrightLabel",
"comment": "The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element.",
"isSummary": false
}, {
"path": "TestPlan.category",
"min": 0,
"definition": "The category of the Test Plan - can be acceptance, unit, performance, etc.",
"isModifier": false,
"short": "The category of the Test Plan - can be acceptance, unit, performance",
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": false,
"binding": {
"strength": "example",
"valueSet": "http://hl7.org/fhir/ValueSet/testscript-scope-phase-codes",
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueString": "The high-level category for this plan."
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestPlanCategory"
} ],
"description": "The high-level category for this plan."
},
"max": "*",
"id": "TestPlan.category",
"isSummary": false
}, {
"path": "TestPlan.scope",
"min": 0,
"definition": "What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference...",
"isModifier": false,
"short": "What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference",
"type": [ {
"code": "Reference"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.scope",
"isSummary": false
}, {
"path": "TestPlan.testTools",
"min": 0,
"definition": "A description of test tools to be used in the test plan.",
"isModifier": false,
"short": "A description of test tools to be used in the test plan - narrative for now",
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testTools",
"isSummary": false
}, {
"path": "TestPlan.dependency",
"min": 0,
"definition": "The required criteria to execute the test plan - e.g. preconditions, previous tests...",
"isModifier": false,
"short": "The required criteria to execute the test plan - e.g. preconditions, previous tests",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.dependency",
"isSummary": false
}, {
"path": "TestPlan.dependency.description",
"min": 0,
"definition": "A textual description of the criterium - what is needed for the dependency to be considered met.",
"isModifier": false,
"short": "Description of the dependency criterium",
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.dependency.description",
"isSummary": false
}, {
"path": "TestPlan.dependency.predecessor",
"min": 0,
"definition": "Predecessor test plans - those that are expected to be successfully performed as a dependency for the execution of this test plan.",
"isModifier": false,
"short": "Link to predecessor test plans",
"type": [ {
"code": "Reference"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.dependency.predecessor",
"isSummary": false
}, {
"path": "TestPlan.exitCriteria",
"min": 0,
"definition": "The threshold or criteria for the test plan to be considered successfully executed - narrative.",
"isModifier": false,
"short": "The threshold or criteria for the test plan to be considered successfully executed - narrative",
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.exitCriteria",
"isSummary": false
}, {
"path": "TestPlan.testCase",
"min": 0,
"definition": "The individual test cases that are part of this plan, when they they are made explicit.",
"isModifier": false,
"short": "The test cases that constitute this plan",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase",
"isSummary": false
}, {
"path": "TestPlan.testCase.sequence",
"min": 0,
"definition": "Sequence of test case - an ordinal number that indicates the order for the present test case in the test plan.",
"isModifier": false,
"short": "Sequence of test case in the test plan",
"type": [ {
"code": "integer"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.sequence",
"isSummary": false
}, {
"path": "TestPlan.testCase.scope",
"min": 0,
"definition": "The scope or artifact covered by the case, when the individual test case is associated with a testable artifact.",
"isModifier": false,
"short": "The scope or artifact covered by the case",
"type": [ {
"code": "Reference"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.scope",
"isSummary": false
}, {
"path": "TestPlan.testCase.dependency",
"min": 0,
"definition": "The required criteria to execute the test case - e.g. preconditions, previous tests.",
"isModifier": false,
"short": "Required criteria to execute the test case",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "TestCaseDependency"
} ],
"max": "*",
"id": "TestPlan.testCase.dependency",
"isSummary": false
}, {
"path": "TestPlan.testCase.dependency.description",
"min": 0,
"definition": "Description of the criteria.",
"isModifier": false,
"short": "Description of the criteria",
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.dependency.description",
"isSummary": false
}, {
"path": "TestPlan.testCase.dependency.predecessor",
"min": 0,
"definition": "Link to predecessor test plans.",
"isModifier": false,
"short": "Link to predecessor test plans",
"type": [ {
"code": "Reference"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.dependency.predecessor",
"isSummary": false
}, {
"path": "TestPlan.testCase.testRun",
"min": 0,
"definition": "The actual test to be executed.",
"isModifier": false,
"short": "The actual test to be executed",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.testRun",
"isSummary": false
}, {
"path": "TestPlan.testCase.testRun.narrative",
"min": 0,
"definition": "The narrative description of the tests.",
"isModifier": false,
"short": "The narrative description of the tests",
"type": [ {
"code": "markdown"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testRun.narrative",
"isSummary": false
}, {
"path": "TestPlan.testCase.testRun.script",
"min": 0,
"definition": "The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript.",
"isModifier": false,
"short": "The test cases in a structured language e.g. gherkin, Postman, or FHIR TestScript",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testRun.script",
"isSummary": false
}, {
"path": "TestPlan.testCase.testRun.script.language",
"min": 0,
"definition": "The language for the test cases e.g. 'gherkin', 'testscript'.",
"isModifier": false,
"short": "The language for the test cases e.g. 'gherkin', 'testscript'",
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testRun.script.language",
"isSummary": false
}, {
"path": "TestPlan.testCase.testRun.script.source[x]",
"min": 0,
"definition": "The actual content of the cases - references to TestScripts or externally defined content.",
"isModifier": false,
"short": "The actual content of the cases - references to TestScripts or externally defined content",
"type": [ {
"code": "string"
}, {
"code": "Reference"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testRun.script.source[x]",
"isSummary": false
}, {
"path": "TestPlan.testCase.testData",
"min": 0,
"definition": "The test data used in the test case.",
"isModifier": false,
"short": "The test data used in the test case",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.testData",
"isSummary": false
}, {
"path": "TestPlan.testCase.testData.type",
"min": 1,
"definition": "The type of test data description, e.g. 'synthea'.",
"isModifier": false,
"short": "The type of test data description, e.g. 'synthea'",
"type": [ {
"code": "Coding"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testData.type",
"isSummary": false
}, {
"path": "TestPlan.testCase.testData.content",
"min": 0,
"definition": "The actual test resources when they exist.",
"isModifier": false,
"short": "The actual test resources when they exist",
"type": [ {
"code": "Reference"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testData.content",
"isSummary": false
}, {
"path": "TestPlan.testCase.testData.source[x]",
"min": 0,
"definition": "Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc.",
"isModifier": false,
"short": "Pointer to a definition of test resources - narrative or structured e.g. synthetic data generation, etc",
"type": [ {
"code": "string"
}, {
"code": "Reference"
} ],
"mustSupport": false,
"max": "1",
"id": "TestPlan.testCase.testData.source[x]",
"isSummary": false
}, {
"path": "TestPlan.testCase.assertion",
"min": 0,
"definition": "The test assertions - the expectations of test results from the execution of the test case.",
"isModifier": false,
"short": "Test assertions or expectations",
"type": [ {
"code": "BackboneElement"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.assertion",
"isSummary": false
}, {
"path": "TestPlan.testCase.assertion.type",
"min": 0,
"definition": "The test assertion type - this can be used to group assertions as 'required' or 'optional', or can be used for other classification of the assertion.",
"isModifier": false,
"short": "Assertion type - for example 'informative' or 'required' ",
"type": [ {
"code": "CodeableConcept"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.assertion.type",
"isSummary": false
}, {
"path": "TestPlan.testCase.assertion.object",
"min": 0,
"definition": "The focus or object of the assertion i.e. a resource.",
"isModifier": false,
"short": "The focus or object of the assertion",
"type": [ {
"code": "CodeableReference"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.assertion.object",
"isSummary": false
}, {
"path": "TestPlan.testCase.assertion.result",
"min": 0,
"definition": "The test assertion - the expected outcome from the test case execution.",
"isModifier": false,
"short": "The actual result assertion",
"type": [ {
"code": "CodeableReference"
} ],
"mustSupport": false,
"max": "*",
"id": "TestPlan.testCase.assertion.result",
"isSummary": false
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://hl7.org/fhir",
"system": "url"
} ]
}, {
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/fiwg/index.cfm",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}