{
"description": "A summary of information based on the results of executing a TestScript.",
"_filename": "StructureDefinition-TestReport.json",
"package_name": "hl7.fhir.uv.testing",
"date": "2021-01-02T08:58:31+11:00",
"derivation": "specialization",
"meta": {
"lastUpdated": "2021-01-02T08:58:31.578+11:00"
},
"publisher": "HL7 International / FHIR Infrastructure",
"fhirVersion": "6.0.0-ballot3",
"jurisdiction": [ {
"coding": [ {
"code": "001",
"system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
} ]
} ],
"name": "TestReport",
"mapping": [ {
"uri": "http://hl7.org/v3",
"name": "RIM Mapping",
"identity": "rim"
}, {
"uri": "http://hl7.org/fhir/object-implementation",
"name": "Object Implementation Information",
"identity": "objimpl"
}, {
"uri": "http://hl7.org/fhir/fivews",
"name": "FiveWs Pattern Mapping",
"identity": "w5"
} ],
"abstract": false,
"type": "TestReport",
"experimental": null,
"resourceType": "StructureDefinition",
"title": "Test Report",
"package_version": "0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/additional-resource",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category",
"valueString": "Specialized.Quality Reporting & Testing"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "draft"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 1
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category",
"valueCode": "business"
}, {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/resource-tla",
"valueString": "tsr"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/entered-in-error-status",
"valueString": ".status = entered-in-error"
} ],
"snapshot": {
"element": [ {
"constraint": [ {
"key": "dom-2",
"human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "contained.contained.empty()"
}, {
"key": "dom-3",
"human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "contained.where((('#'+id.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()"
}, {
"key": "dom-4",
"human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
}, {
"key": "dom-5",
"human": "If a resource is contained in another resource, it SHALL NOT have a security label",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "error",
"expression": "contained.meta.security.empty()"
}, {
"key": "dom-6",
"human": "A resource should have narrative for robust management",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "warning",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
"valueBoolean": true
}, {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
"valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
} ],
"expression": "text.`div`.exists()"
} ],
"path": "TestReport",
"min": 0,
"definition": "A summary of information based on the results of executing a TestScript.",
"isModifier": false,
"short": "Describes the results of a TestScript execution",
"mapping": [ {
"map": "n/a,Entity. Role,or Act,Entity,Role,or Act",
"identity": "rim"
}, {
"map": "BaseConformance",
"identity": "objimpl"
}, {
"map": "conformance.misc",
"identity": "w5"
} ],
"mustSupport": false,
"max": "*",
"id": "TestReport",
"base": {
"max": "*",
"min": 0,
"path": "DomainResource"
},
"isSummary": false
}, {
"path": "TestReport.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": "TestReport.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": "TestReport.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": "TestReport.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": "TestReport.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": "TestReport.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": "TestReport.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|6.0.0-ballot3",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "Language"
} ],
"additional": [ {
"purpose": "starter",
"valueSet": "http://hl7.org/fhir/ValueSet/languages|6.0.0-ballot3"
} ],
"description": "IETF language tag for a human language"
},
"max": "1",
"id": "TestReport.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": "TestReport.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": "TestReport.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": "TestReport.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": "TestReport.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. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](http://build.fhir.org/resource.html#additional).",
"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())"
} ],
"path": "TestReport.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"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"mustSupport": false,
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.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())"
} ],
"path": "TestReport.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"mustSupport": false,
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.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
}, {
"path": "TestReport.identifier",
"min": 0,
"definition": "Identifier for the TestReport assigned for external purposes outside the context of FHIR.",
"short": "External identifier",
"mapping": [ {
"map": "FiveWs.identifier",
"identity": "w5"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "1",
"id": "TestReport.identifier",
"base": {
"max": "1",
"min": 0,
"path": "TestReport.identifier"
},
"isSummary": true
}, {
"path": "TestReport.name",
"min": 0,
"definition": "A free text natural language name identifying the executed TestReport.",
"short": "Informal name of the executed TestReport",
"mapping": [ {
"map": "BaseConformance.name",
"identity": "objimpl"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "TestReport.name",
"comment": "Not expected to be globally unique.",
"base": {
"max": "1",
"min": 0,
"path": "TestReport.name"
},
"isSummary": true
}, {
"path": "TestReport.description",
"min": 0,
"definition": "A free text natural language description of the test report from a consumer's perspective.",
"short": "Natural language description of the test report",
"mapping": [ {
"map": "Definition.description",
"identity": "workflow"
} ],
"type": [ {
"code": "markdown"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestReport.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 report as conveyed in the 'text' field of the resource itself. This item is populated unless the information is available from context (e.g. the language of the test report is presumed to be the predominant language in the place the test report was created).",
"base": {
"max": "1",
"min": 0,
"path": "TestReport.description"
}
}, {
"path": "TestReport.status",
"min": 1,
"definition": "The current state of this test report.",
"isModifier": true,
"short": "completed | in-progress | waiting | stopped | entered-in-error",
"mapping": [ {
"map": "FiveWs.status",
"identity": "w5"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-status-codes|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportStatus"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueMarkdown": "The current status of the test report."
} ],
"description": "The current status of the test script execution."
},
"max": "1",
"id": "TestReport.status",
"comment": "The status represents where the execution is currently within the test script execution life cycle.\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
"base": {
"max": "1",
"min": 1,
"path": "TestReport.status"
},
"isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
"isSummary": true
}, {
"path": "TestReport.testScript",
"min": 1,
"definition": "Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.",
"short": "Canonical URL to the version-specific TestScript that was executed to produce this TestReport",
"type": [ {
"code": "canonical",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/TestScript|0.1.0-snapshot1" ]
} ],
"max": "1",
"id": "TestReport.testScript",
"base": {
"max": "1",
"min": 1,
"path": "TestReport.testScript"
},
"isSummary": true
}, {
"path": "TestReport.result",
"min": 1,
"definition": "The overall result from the execution of the TestScript.",
"short": "pass | fail | pending",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-result-codes|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportResult"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueMarkdown": "The reported execution result."
} ],
"description": "The overall execution result of the TestScript."
},
"max": "1",
"id": "TestReport.result",
"comment": "The pass and fail result represents a completed test script execution. The pending result represents a test script execution that has not yet started or is currently in progress.",
"base": {
"max": "1",
"min": 1,
"path": "TestReport.result"
},
"isSummary": true
}, {
"path": "TestReport.score",
"maxValueDecimal": 100,
"min": 0,
"definition": "The final score (percentage of tests passed in the range of 0 to 100) resulting from the execution of the TestScript.",
"short": "The final score (percentage of tests passed, so 0..100) resulting from the execution of the TestScript",
"minValueDecimal": 0,
"type": [ {
"code": "decimal"
} ],
"max": "1",
"id": "TestReport.score",
"base": {
"max": "1",
"min": 0,
"path": "TestReport.score"
},
"isSummary": true
}, {
"path": "TestReport.tester",
"requirements": "Helps establish the \"authority/credibility\" of the TestReport. May also allow for contact.",
"min": 0,
"definition": "Name of the tester producing this report (Organization or individual).",
"short": "Name of the tester producing this report (Organization or individual)",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "TestReport.tester",
"comment": "Usually an organization, but may be an individual. This item SHOULD be populated unless the information is available from context.",
"base": {
"max": "1",
"min": 0,
"path": "TestReport.tester"
},
"isSummary": true
}, {
"path": "TestReport.issued",
"min": 0,
"definition": "When the TestScript was executed and this TestReport was generated.",
"short": "When the TestScript was executed and this TestReport was generated",
"mapping": [ {
"map": "FiveWs.recorded",
"identity": "w5"
}, {
"map": "BaseConformance.date",
"identity": "objimpl"
} ],
"type": [ {
"code": "dateTime"
} ],
"max": "1",
"id": "TestReport.issued",
"comment": "Additional specific dates may be added as extensions.",
"base": {
"max": "1",
"min": 0,
"path": "TestReport.issued"
},
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.participant",
"min": 0,
"definition": "A participant in the test execution, either the execution engine, a client, or a server.",
"short": "A participant in the test execution, either the execution engine, a client, or a server",
"type": [ {
"code": "BackboneElement"
} ],
"max": "*",
"id": "TestReport.participant",
"base": {
"max": "*",
"min": 0,
"path": "TestReport.participant"
}
}, {
"path": "TestReport.participant.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.participant.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())"
} ],
"path": "TestReport.participant.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.participant.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())"
} ],
"path": "TestReport.participant.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.participant.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
}, {
"path": "TestReport.participant.type",
"min": 1,
"definition": "The type of participant.",
"short": "test-engine | client | server",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-participant-type|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportParticipantType"
} ],
"description": "The type of participant."
},
"max": "1",
"id": "TestReport.participant.type",
"base": {
"max": "1",
"min": 1,
"path": "TestReport.participant.type"
}
}, {
"id": "TestReport.participant.uri",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.participant.uri"
},
"path": "TestReport.participant.uri",
"type": [ {
"code": "uri"
} ],
"short": "The uri of the participant. An absolute URL is preferred",
"definition": "The uri of the participant. An absolute URL is preferred."
}, {
"id": "TestReport.participant.version",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.participant.version"
},
"path": "TestReport.participant.version",
"type": [ {
"code": "uri"
} ],
"short": "The version of the participant, if known/applicable",
"definition": "The version of the participant, if a version is known and/or applicable."
}, {
"id": "TestReport.participant.display",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.participant.display"
},
"path": "TestReport.participant.display",
"type": [ {
"code": "string"
} ],
"short": "The display name of the participant",
"definition": "The display name of the participant."
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.parameter",
"min": 0,
"definition": "A parameter passed in to the runner performing the test. The parameter is expected to relate to input parameters defined by the test script.",
"short": "A parameter passed to the runner performing the test",
"type": [ {
"code": "BackboneElement"
} ],
"max": "*",
"id": "TestReport.parameter",
"base": {
"max": "*",
"min": 0,
"path": "TestReport.parameter"
}
}, {
"path": "TestReport.parameter.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.parameter.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())"
} ],
"path": "TestReport.parameter.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.parameter.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())"
} ],
"path": "TestReport.parameter.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.parameter.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
}, {
"id": "TestReport.parameter.name",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "TestReport.parameter.name"
},
"path": "TestReport.parameter.name",
"type": [ {
"code": "string"
} ],
"short": "Name of the parameter passed in",
"definition": "The name of the parameter passed in to the test runner."
}, {
"id": "TestReport.parameter.documentation",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.parameter.documentation"
},
"path": "TestReport.parameter.documentation",
"type": [ {
"code": "markdown"
} ],
"short": "Documentation about the impact of the parameter",
"definition": "Documentation about the impact of the parameter, as supplied by the test runner engine to explain the way it impacted on the tests."
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.setup",
"min": 0,
"definition": "The results of the series of required setup operations before the tests were executed.",
"short": "The results of the series of required setup operations before the tests were executed",
"type": [ {
"code": "BackboneElement"
} ],
"max": "1",
"id": "TestReport.setup",
"base": {
"max": "1",
"min": 0,
"path": "TestReport.setup"
}
}, {
"path": "TestReport.setup.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.setup.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())"
} ],
"path": "TestReport.setup.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.setup.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())"
} ],
"path": "TestReport.setup.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.setup.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": "tr-0",
"human": "Setup action SHALL contain either an operation or assert but not both.",
"source": "http://hl7.org/fhir/StructureDefinition/TestReport|0.1.0-snapshot1",
"severity": "error",
"expression": "operation.exists() xor assert.exists()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.setup.action",
"min": 1,
"definition": "Action would contain either an operation or an assertion.",
"short": "A setup operation or assert that was executed",
"type": [ {
"code": "BackboneElement"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "SetupAction"
} ],
"max": "*",
"id": "TestReport.setup.action",
"comment": "An action should contain either an operation or an assertion but not both. It can contain any number of variables.",
"base": {
"max": "*",
"min": 1,
"path": "TestReport.setup.action"
}
}, {
"path": "TestReport.setup.action.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.setup.action.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())"
} ],
"path": "TestReport.setup.action.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.setup.action.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.setup.action.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.setup.action.modifierExtension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.setup.action.operation",
"min": 0,
"definition": "The operation performed.",
"short": "The operation to perform",
"type": [ {
"code": "BackboneElement"
} ],
"max": "1",
"id": "TestReport.setup.action.operation",
"condition": [ "tr-0" ],
"base": {
"max": "1",
"min": 0,
"path": "TestReport.setup.action.operation"
}
}, {
"path": "TestReport.setup.action.operation.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.setup.action.operation.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())"
} ],
"path": "TestReport.setup.action.operation.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.setup.action.operation.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())"
} ],
"path": "TestReport.setup.action.operation.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.setup.action.operation.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
}, {
"path": "TestReport.setup.action.operation.result",
"min": 1,
"definition": "The result of this operation.",
"short": "pass | skip | fail | warning | error",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-action-result-codes|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportActionResult"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueMarkdown": "The results of executing an action."
} ],
"description": "The result of the execution of an individual action."
},
"max": "1",
"id": "TestReport.setup.action.operation.result",
"base": {
"max": "1",
"min": 1,
"path": "TestReport.setup.action.operation.result"
}
}, {
"id": "TestReport.setup.action.operation.message",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.setup.action.operation.message"
},
"path": "TestReport.setup.action.operation.message",
"type": [ {
"code": "markdown"
} ],
"short": "A message associated with the result",
"definition": "An explanatory message associated with the result."
}, {
"id": "TestReport.setup.action.operation.detail",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.setup.action.operation.detail"
},
"path": "TestReport.setup.action.operation.detail",
"type": [ {
"code": "uri"
} ],
"short": "A link to further details on the result",
"definition": "A link to further details on the result."
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.setup.action.assert",
"min": 0,
"definition": "The results of the assertion performed on the previous operations.",
"short": "The assertion to perform",
"type": [ {
"code": "BackboneElement"
} ],
"max": "1",
"id": "TestReport.setup.action.assert",
"condition": [ "tr-0" ],
"base": {
"max": "1",
"min": 0,
"path": "TestReport.setup.action.assert"
}
}, {
"path": "TestReport.setup.action.assert.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.setup.action.assert.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())"
} ],
"path": "TestReport.setup.action.assert.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.setup.action.assert.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())"
} ],
"path": "TestReport.setup.action.assert.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.setup.action.assert.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
}, {
"path": "TestReport.setup.action.assert.result",
"min": 1,
"definition": "The result of this assertion.",
"short": "pass | skip | fail | warning | error",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-action-result-codes|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportActionResult"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueMarkdown": "The results of executing an action."
} ],
"description": "The result of the execution of an individual action."
},
"max": "1",
"id": "TestReport.setup.action.assert.result",
"base": {
"max": "1",
"min": 1,
"path": "TestReport.setup.action.assert.result"
}
}, {
"id": "TestReport.setup.action.assert.message",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.setup.action.assert.message"
},
"path": "TestReport.setup.action.assert.message",
"type": [ {
"code": "markdown"
} ],
"short": "A message associated with the result",
"definition": "An explanatory message associated with the result."
}, {
"id": "TestReport.setup.action.assert.detail",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.setup.action.assert.detail"
},
"path": "TestReport.setup.action.assert.detail",
"type": [ {
"code": "string"
} ],
"short": "A link to further details on the result",
"definition": "A link to further details on the result."
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.setup.action.assert.requirement",
"min": 0,
"definition": "Links or references providing traceability to the testing requirements for this assert.",
"short": "Links or references to the testing requirements",
"type": [ {
"code": "BackboneElement"
} ],
"max": "*",
"id": "TestReport.setup.action.assert.requirement",
"comment": "TestScript and TestReport instances are typically (and expected to be) based on known, defined test requirements and documentation. These links provide traceability from the executable/executed TestScript and TestReport tests to these requirements.",
"base": {
"max": "*",
"min": 0,
"path": "TestReport.setup.action.assert.requirement"
}
}, {
"path": "TestReport.setup.action.assert.requirement.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.setup.action.assert.requirement.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())"
} ],
"path": "TestReport.setup.action.assert.requirement.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.setup.action.assert.requirement.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())"
} ],
"path": "TestReport.setup.action.assert.requirement.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.setup.action.assert.requirement.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
}, {
"id": "TestReport.setup.action.assert.requirement.link[x]",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.setup.action.assert.requirement.link[x]"
},
"path": "TestReport.setup.action.assert.requirement.link[x]",
"type": [ {
"code": "uri"
}, {
"code": "canonical",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Requirements" ]
} ],
"short": "Link or reference to the testing requirement",
"definition": "Link or reference providing traceability to the testing requirement for this test."
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.test",
"min": 0,
"definition": "A test executed from the test script.",
"short": "A test executed from the test script",
"type": [ {
"code": "BackboneElement"
} ],
"max": "*",
"id": "TestReport.test",
"base": {
"max": "*",
"min": 0,
"path": "TestReport.test"
}
}, {
"path": "TestReport.test.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.test.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())"
} ],
"path": "TestReport.test.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.test.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())"
} ],
"path": "TestReport.test.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.test.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
}, {
"id": "TestReport.test.name",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.test.name"
},
"path": "TestReport.test.name",
"type": [ {
"code": "string"
} ],
"short": "Tracking/logging name of this test (link to test in TestScript)",
"definition": "The name of this test used for tracking/logging purposes by test engines. This name links back to the test in the test script, so it must be directly linked (usually the same)."
}, {
"id": "TestReport.test.description",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.test.description"
},
"path": "TestReport.test.description",
"type": [ {
"code": "string"
} ],
"short": "Tracking/reporting short description of the test",
"definition": "A short description of the test used by test engines for tracking and reporting purposes."
}, {
"path": "TestReport.test.result",
"min": 0,
"definition": "The overall result of this test.",
"short": "pass | skip | fail | warning | error",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-action-result-codes|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportActionResult"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueMarkdown": "The results of executing the test."
} ],
"description": "The result of the execution of the test."
},
"max": "1",
"id": "TestReport.test.result",
"base": {
"max": "1",
"min": 0,
"path": "TestReport.test.result"
}
}, {
"id": "TestReport.test.period",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.test.period"
},
"path": "TestReport.test.period",
"type": [ {
"code": "Period"
} ],
"short": "Start and End times running the test (accurate to milliseconds)",
"definition": "The start and end times running the test, to allow time taken to be tracked. Accurate to at least milliseconds)."
}, {
"constraint": [ {
"key": "tr-2",
"human": "Test action SHALL contain either an operation or assert but not both.",
"source": "http://hl7.org/fhir/StructureDefinition/TestReport|0.1.0-snapshot1",
"severity": "error",
"expression": "operation.exists() xor assert.exists()"
}, {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.test.action",
"min": 1,
"definition": "Action would contain either an operation or an assertion.",
"short": "A test operation or assert that was performed",
"type": [ {
"code": "BackboneElement"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "TestAction"
} ],
"max": "*",
"id": "TestReport.test.action",
"comment": "An action should contain either an operation or an assertion but not both. It can contain any number of variables.",
"base": {
"max": "*",
"min": 1,
"path": "TestReport.test.action"
}
}, {
"path": "TestReport.test.action.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.test.action.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())"
} ],
"path": "TestReport.test.action.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.test.action.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.test.action.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.test.action.modifierExtension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"id": "TestReport.test.action.operation",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.test.action.operation"
},
"path": "TestReport.test.action.operation",
"short": "The operation performed",
"definition": "An operation would involve a REST request to a server.",
"contentReference": "http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.operation"
}, {
"id": "TestReport.test.action.assert",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.test.action.assert"
},
"path": "TestReport.test.action.assert",
"short": "The assertion performed",
"definition": "The results of the assertion performed on the previous operations.",
"contentReference": "http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.assert"
}, {
"id": "TestReport.test.log",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.test.log"
},
"path": "TestReport.test.log",
"type": [ {
"code": "Attachment"
} ],
"short": "Text log of the internal execution of the tests",
"definition": "A log of the internal execution of the tests, which might be useful for subsequent investigations. The format is expected to be some kind of text log, or at least comprehensible in a text editor."
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.teardown",
"min": 0,
"definition": "The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise).",
"short": "The results of running the series of required clean up steps",
"type": [ {
"code": "BackboneElement"
} ],
"max": "1",
"id": "TestReport.teardown",
"base": {
"max": "1",
"min": 0,
"path": "TestReport.teardown"
}
}, {
"path": "TestReport.teardown.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.teardown.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())"
} ],
"path": "TestReport.teardown.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.teardown.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())"
} ],
"path": "TestReport.teardown.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.teardown.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 or both",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.teardown.action",
"min": 1,
"definition": "The teardown action will only contain an operation.",
"short": "One or more teardown operations performed",
"type": [ {
"code": "BackboneElement"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "TeardownAction"
} ],
"max": "*",
"id": "TestReport.teardown.action",
"comment": "An action should contain either an operation or an assertion but not both. It can contain any number of variables.",
"base": {
"max": "*",
"min": 1,
"path": "TestReport.teardown.action"
}
}, {
"path": "TestReport.teardown.action.id",
"min": 0,
"definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
"isModifier": false,
"short": "Unique id for inter-element referencing",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"type": [ {
"code": "http://hl7.org/fhirpath/System.String",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
"valueUrl": "id"
} ]
} ],
"representation": [ "xmlAttr" ],
"max": "1",
"id": "TestReport.teardown.action.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())"
} ],
"path": "TestReport.teardown.action.extension",
"min": 0,
"definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
"isModifier": false,
"short": "Additional content defined by implementations",
"mapping": [ {
"map": "n/a",
"identity": "rim"
} ],
"slicing": {
"rules": "open",
"description": "Extensions are always sliced by (at least) url",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
},
"type": [ {
"code": "Extension"
} ],
"alias": [ "extensions", "user content" ],
"max": "*",
"id": "TestReport.teardown.action.extension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "Element.extension"
},
"isSummary": false
}, {
"constraint": [ {
"key": "ele-1",
"human": "All FHIR elements must have a @value or children",
"source": "http://hl7.org/fhir/StructureDefinition/Element",
"severity": "error",
"expression": "hasValue() or (children().count() > id.count())"
} ],
"path": "TestReport.teardown.action.modifierExtension",
"requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/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": "TestReport.teardown.action.modifierExtension",
"comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
"base": {
"max": "*",
"min": 0,
"path": "BackboneElement.modifierExtension"
},
"isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
"isSummary": true
}, {
"id": "TestReport.teardown.action.operation",
"max": "1",
"min": 1,
"base": {
"max": "1",
"min": 1,
"path": "TestReport.teardown.action.operation"
},
"path": "TestReport.teardown.action.operation",
"short": "The teardown operation performed",
"definition": "An operation would involve a REST request to a server.",
"contentReference": "http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.operation"
}, {
"id": "TestReport.presentedForm",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.presentedForm"
},
"path": "TestReport.presentedForm",
"type": [ {
"code": "Attachment"
} ],
"short": "A document presentation of the test outcomes (e.g. PDF)",
"definition": "A document presentation of the test outcomes such as PDF document."
}, {
"id": "TestReport.log",
"max": "1",
"min": 0,
"base": {
"max": "1",
"min": 0,
"path": "TestReport.log"
},
"path": "TestReport.log",
"type": [ {
"code": "Attachment"
} ],
"short": "Text log of the internal execution of the tests",
"definition": "A log of the internal execution of the tests, which might be useful for subsequent investigations. The format is expected to be some kind of text log, or at least comprehensible in a text editor."
} ],
"extension": [ {
"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
"valueString": "6.0.0-ballot3"
} ]
},
"status": "draft",
"id": "62b8de04-97cd-4ff3-83c9-fa8cfae945eb",
"kind": "resource",
"url": "http://hl7.org/fhir/StructureDefinition/TestReport",
"identifier": [ {
"value": "urn:oid:2.16.840.1.113883.4.642.5.1271",
"system": "urn:ietf:rfc:3986"
} ],
"version": "0.1.0-snapshot1",
"differential": {
"element": [ {
"id": "TestReport",
"max": "*",
"min": 0,
"path": "TestReport",
"short": "Describes the results of a TestScript execution",
"mapping": [ {
"map": "n/a",
"identity": "rim"
}, {
"map": "BaseConformance",
"identity": "objimpl"
}, {
"map": "conformance.misc",
"identity": "w5"
} ],
"definition": "A summary of information based on the results of executing a TestScript."
}, {
"path": "TestReport.identifier",
"min": 0,
"definition": "Identifier for the TestReport assigned for external purposes outside the context of FHIR.",
"short": "External identifier",
"mapping": [ {
"map": "FiveWs.identifier",
"identity": "w5"
} ],
"type": [ {
"code": "Identifier"
} ],
"max": "1",
"id": "TestReport.identifier",
"isSummary": true
}, {
"path": "TestReport.name",
"min": 0,
"definition": "A free text natural language name identifying the executed TestReport.",
"short": "Informal name of the executed TestReport",
"mapping": [ {
"map": "BaseConformance.name",
"identity": "objimpl"
} ],
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "TestReport.name",
"comment": "Not expected to be globally unique.",
"isSummary": true
}, {
"path": "TestReport.description",
"min": 0,
"definition": "A free text natural language description of the test report from a consumer's perspective.",
"short": "Natural language description of the test report",
"mapping": [ {
"map": "Definition.description",
"identity": "workflow"
} ],
"type": [ {
"code": "markdown"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
"valueBoolean": true
} ],
"max": "1",
"id": "TestReport.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 report as conveyed in the 'text' field of the resource itself. This item is populated unless the information is available from context (e.g. the language of the test report is presumed to be the predominant language in the place the test report was created)."
}, {
"path": "TestReport.status",
"min": 1,
"definition": "The current state of this test report.",
"isModifier": true,
"short": "completed | in-progress | waiting | stopped | entered-in-error",
"mapping": [ {
"map": "FiveWs.status",
"identity": "w5"
} ],
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-status-codes|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportStatus"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueMarkdown": "The current status of the test report."
} ],
"description": "The current status of the test script execution."
},
"max": "1",
"id": "TestReport.status",
"comment": "The status represents where the execution is currently within the test script execution life cycle.\n\nThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
"isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
"isSummary": true
}, {
"id": "TestReport.testScript",
"max": "1",
"min": 1,
"path": "TestReport.testScript",
"type": [ {
"code": "canonical",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/TestScript|0.1.0-snapshot1" ]
} ],
"short": "Canonical URL to the version-specific TestScript that was executed to produce this TestReport",
"isSummary": true,
"definition": "Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`."
}, {
"path": "TestReport.result",
"min": 1,
"definition": "The overall result from the execution of the TestScript.",
"short": "pass | fail | pending",
"type": [ {
"code": "code"
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-result-codes|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportResult"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueMarkdown": "The reported execution result."
} ],
"description": "The overall execution result of the TestScript."
},
"max": "1",
"id": "TestReport.result",
"comment": "The pass and fail result represents a completed test script execution. The pending result represents a test script execution that has not yet started or is currently in progress.",
"isSummary": true
}, {
"path": "TestReport.score",
"maxValueDecimal": 100,
"min": 0,
"definition": "The final score (percentage of tests passed in the range of 0 to 100) resulting from the execution of the TestScript.",
"short": "The final score (percentage of tests passed, so 0..100) resulting from the execution of the TestScript",
"minValueDecimal": 0,
"type": [ {
"code": "decimal"
} ],
"max": "1",
"id": "TestReport.score",
"isSummary": true
}, {
"path": "TestReport.tester",
"requirements": "Helps establish the \"authority/credibility\" of the TestReport. May also allow for contact.",
"min": 0,
"definition": "Name of the tester producing this report (Organization or individual).",
"short": "Name of the tester producing this report (Organization or individual)",
"type": [ {
"code": "string"
} ],
"max": "1",
"id": "TestReport.tester",
"comment": "Usually an organization, but may be an individual. This item SHOULD be populated unless the information is available from context.",
"isSummary": true
}, {
"path": "TestReport.issued",
"min": 0,
"definition": "When the TestScript was executed and this TestReport was generated.",
"short": "When the TestScript was executed and this TestReport was generated",
"mapping": [ {
"map": "FiveWs.recorded",
"identity": "w5"
}, {
"map": "BaseConformance.date",
"identity": "objimpl"
} ],
"type": [ {
"code": "dateTime"
} ],
"max": "1",
"id": "TestReport.issued",
"comment": "Additional specific dates may be added as extensions.",
"isSummary": true
}, {
"id": "TestReport.participant",
"max": "*",
"min": 0,
"path": "TestReport.participant",
"type": [ {
"code": "BackboneElement"
} ],
"short": "A participant in the test execution, either the execution engine, a client, or a server",
"definition": "A participant in the test execution, either the execution engine, a client, or a server."
}, {
"id": "TestReport.participant.type",
"max": "1",
"min": 1,
"path": "TestReport.participant.type",
"type": [ {
"code": "code"
} ],
"short": "test-engine | client | server",
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-participant-type|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportParticipantType"
} ],
"description": "The type of participant."
},
"definition": "The type of participant."
}, {
"id": "TestReport.participant.uri",
"max": "1",
"min": 0,
"path": "TestReport.participant.uri",
"type": [ {
"code": "uri"
} ],
"short": "The uri of the participant. An absolute URL is preferred",
"definition": "The uri of the participant. An absolute URL is preferred."
}, {
"id": "TestReport.participant.version",
"max": "1",
"min": 0,
"path": "TestReport.participant.version",
"type": [ {
"code": "uri"
} ],
"short": "The version of the participant, if known/applicable",
"definition": "The version of the participant, if a version is known and/or applicable."
}, {
"id": "TestReport.participant.display",
"max": "1",
"min": 0,
"path": "TestReport.participant.display",
"type": [ {
"code": "string"
} ],
"short": "The display name of the participant",
"definition": "The display name of the participant."
}, {
"id": "TestReport.parameter",
"max": "*",
"min": 0,
"path": "TestReport.parameter",
"type": [ {
"code": "BackboneElement"
} ],
"short": "A parameter passed to the runner performing the test",
"definition": "A parameter passed in to the runner performing the test. The parameter is expected to relate to input parameters defined by the test script."
}, {
"id": "TestReport.parameter.name",
"max": "1",
"min": 1,
"path": "TestReport.parameter.name",
"type": [ {
"code": "string"
} ],
"short": "Name of the parameter passed in",
"definition": "The name of the parameter passed in to the test runner."
}, {
"id": "TestReport.parameter.documentation",
"max": "1",
"min": 0,
"path": "TestReport.parameter.documentation",
"type": [ {
"code": "markdown"
} ],
"short": "Documentation about the impact of the parameter",
"definition": "Documentation about the impact of the parameter, as supplied by the test runner engine to explain the way it impacted on the tests."
}, {
"id": "TestReport.setup",
"max": "1",
"min": 0,
"path": "TestReport.setup",
"type": [ {
"code": "BackboneElement"
} ],
"short": "The results of the series of required setup operations before the tests were executed",
"definition": "The results of the series of required setup operations before the tests were executed."
}, {
"constraint": [ {
"key": "tr-0",
"human": "Setup action SHALL contain either an operation or assert but not both.",
"source": "http://hl7.org/fhir/StructureDefinition/TestReport|0.1.0-snapshot1",
"severity": "error",
"expression": "operation.exists() xor assert.exists()"
} ],
"path": "TestReport.setup.action",
"min": 1,
"definition": "Action would contain either an operation or an assertion.",
"short": "A setup operation or assert that was executed",
"type": [ {
"code": "BackboneElement"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "SetupAction"
} ],
"max": "*",
"id": "TestReport.setup.action",
"comment": "An action should contain either an operation or an assertion but not both. It can contain any number of variables."
}, {
"id": "TestReport.setup.action.operation",
"max": "1",
"min": 0,
"path": "TestReport.setup.action.operation",
"type": [ {
"code": "BackboneElement"
} ],
"short": "The operation to perform",
"condition": [ "tr-0" ],
"definition": "The operation performed."
}, {
"id": "TestReport.setup.action.operation.result",
"max": "1",
"min": 1,
"path": "TestReport.setup.action.operation.result",
"type": [ {
"code": "code"
} ],
"short": "pass | skip | fail | warning | error",
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-action-result-codes|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportActionResult"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueMarkdown": "The results of executing an action."
} ],
"description": "The result of the execution of an individual action."
},
"definition": "The result of this operation."
}, {
"id": "TestReport.setup.action.operation.message",
"max": "1",
"min": 0,
"path": "TestReport.setup.action.operation.message",
"type": [ {
"code": "markdown"
} ],
"short": "A message associated with the result",
"definition": "An explanatory message associated with the result."
}, {
"id": "TestReport.setup.action.operation.detail",
"max": "1",
"min": 0,
"path": "TestReport.setup.action.operation.detail",
"type": [ {
"code": "uri"
} ],
"short": "A link to further details on the result",
"definition": "A link to further details on the result."
}, {
"id": "TestReport.setup.action.assert",
"max": "1",
"min": 0,
"path": "TestReport.setup.action.assert",
"type": [ {
"code": "BackboneElement"
} ],
"short": "The assertion to perform",
"condition": [ "tr-0" ],
"definition": "The results of the assertion performed on the previous operations."
}, {
"id": "TestReport.setup.action.assert.result",
"max": "1",
"min": 1,
"path": "TestReport.setup.action.assert.result",
"type": [ {
"code": "code"
} ],
"short": "pass | skip | fail | warning | error",
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-action-result-codes|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportActionResult"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueMarkdown": "The results of executing an action."
} ],
"description": "The result of the execution of an individual action."
},
"definition": "The result of this assertion."
}, {
"id": "TestReport.setup.action.assert.message",
"max": "1",
"min": 0,
"path": "TestReport.setup.action.assert.message",
"type": [ {
"code": "markdown"
} ],
"short": "A message associated with the result",
"definition": "An explanatory message associated with the result."
}, {
"id": "TestReport.setup.action.assert.detail",
"max": "1",
"min": 0,
"path": "TestReport.setup.action.assert.detail",
"type": [ {
"code": "string"
} ],
"short": "A link to further details on the result",
"definition": "A link to further details on the result."
}, {
"id": "TestReport.setup.action.assert.requirement",
"max": "*",
"min": 0,
"path": "TestReport.setup.action.assert.requirement",
"type": [ {
"code": "BackboneElement"
} ],
"short": "Links or references to the testing requirements",
"comment": "TestScript and TestReport instances are typically (and expected to be) based on known, defined test requirements and documentation. These links provide traceability from the executable/executed TestScript and TestReport tests to these requirements.",
"definition": "Links or references providing traceability to the testing requirements for this assert."
}, {
"id": "TestReport.setup.action.assert.requirement.link[x]",
"max": "1",
"min": 0,
"path": "TestReport.setup.action.assert.requirement.link[x]",
"type": [ {
"code": "uri"
}, {
"code": "canonical",
"targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Requirements" ]
} ],
"short": "Link or reference to the testing requirement",
"definition": "Link or reference providing traceability to the testing requirement for this test."
}, {
"id": "TestReport.test",
"max": "*",
"min": 0,
"path": "TestReport.test",
"type": [ {
"code": "BackboneElement"
} ],
"short": "A test executed from the test script",
"definition": "A test executed from the test script."
}, {
"id": "TestReport.test.name",
"max": "1",
"min": 0,
"path": "TestReport.test.name",
"type": [ {
"code": "string"
} ],
"short": "Tracking/logging name of this test (link to test in TestScript)",
"definition": "The name of this test used for tracking/logging purposes by test engines. This name links back to the test in the test script, so it must be directly linked (usually the same)."
}, {
"id": "TestReport.test.description",
"max": "1",
"min": 0,
"path": "TestReport.test.description",
"type": [ {
"code": "string"
} ],
"short": "Tracking/reporting short description of the test",
"definition": "A short description of the test used by test engines for tracking and reporting purposes."
}, {
"id": "TestReport.test.result",
"max": "1",
"min": 0,
"path": "TestReport.test.result",
"type": [ {
"code": "code"
} ],
"short": "pass | skip | fail | warning | error",
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/report-action-result-codes|0.1.0-snapshot1",
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString": "TestReportActionResult"
}, {
"url": "http://hl7.org/fhir/tools/StructureDefinition/binding-definition",
"valueMarkdown": "The results of executing the test."
} ],
"description": "The result of the execution of the test."
},
"definition": "The overall result of this test."
}, {
"id": "TestReport.test.period",
"max": "1",
"min": 0,
"path": "TestReport.test.period",
"type": [ {
"code": "Period"
} ],
"short": "Start and End times running the test (accurate to milliseconds)",
"definition": "The start and end times running the test, to allow time taken to be tracked. Accurate to at least milliseconds)."
}, {
"constraint": [ {
"key": "tr-2",
"human": "Test action SHALL contain either an operation or assert but not both.",
"source": "http://hl7.org/fhir/StructureDefinition/TestReport|0.1.0-snapshot1",
"severity": "error",
"expression": "operation.exists() xor assert.exists()"
} ],
"path": "TestReport.test.action",
"min": 1,
"definition": "Action would contain either an operation or an assertion.",
"short": "A test operation or assert that was performed",
"type": [ {
"code": "BackboneElement"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "TestAction"
} ],
"max": "*",
"id": "TestReport.test.action",
"comment": "An action should contain either an operation or an assertion but not both. It can contain any number of variables."
}, {
"id": "TestReport.test.action.operation",
"max": "1",
"min": 0,
"path": "TestReport.test.action.operation",
"short": "The operation performed",
"definition": "An operation would involve a REST request to a server.",
"contentReference": "http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.operation"
}, {
"id": "TestReport.test.action.assert",
"max": "1",
"min": 0,
"path": "TestReport.test.action.assert",
"short": "The assertion performed",
"definition": "The results of the assertion performed on the previous operations.",
"contentReference": "http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.assert"
}, {
"id": "TestReport.test.log",
"max": "1",
"min": 0,
"path": "TestReport.test.log",
"type": [ {
"code": "Attachment"
} ],
"short": "Text log of the internal execution of the tests",
"definition": "A log of the internal execution of the tests, which might be useful for subsequent investigations. The format is expected to be some kind of text log, or at least comprehensible in a text editor."
}, {
"id": "TestReport.teardown",
"max": "1",
"min": 0,
"path": "TestReport.teardown",
"type": [ {
"code": "BackboneElement"
} ],
"short": "The results of running the series of required clean up steps",
"definition": "The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise)."
}, {
"path": "TestReport.teardown.action",
"min": 1,
"definition": "The teardown action will only contain an operation.",
"short": "One or more teardown operations performed",
"type": [ {
"code": "BackboneElement"
} ],
"extension": [ {
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
"valueString": "TeardownAction"
} ],
"max": "*",
"id": "TestReport.teardown.action",
"comment": "An action should contain either an operation or an assertion but not both. It can contain any number of variables."
}, {
"id": "TestReport.teardown.action.operation",
"max": "1",
"min": 1,
"path": "TestReport.teardown.action.operation",
"short": "The teardown operation performed",
"definition": "An operation would involve a REST request to a server.",
"contentReference": "http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.operation"
}, {
"id": "TestReport.presentedForm",
"max": "1",
"min": 0,
"path": "TestReport.presentedForm",
"type": [ {
"code": "Attachment"
} ],
"short": "A document presentation of the test outcomes (e.g. PDF)",
"definition": "A document presentation of the test outcomes such as PDF document."
}, {
"id": "TestReport.log",
"max": "1",
"min": 0,
"path": "TestReport.log",
"type": [ {
"code": "Attachment"
} ],
"short": "Text log of the internal execution of the tests",
"definition": "A log of the internal execution of the tests, which might be useful for subsequent investigations. The format is expected to be some kind of text log, or at least comprehensible in a text editor."
} ]
},
"contact": [ {
"telecom": [ {
"value": "http://www.hl7.org/Special/committees/fiwg",
"system": "url"
} ]
} ],
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}