TestReport
type: StructureDefinition
node role: treeRoot
id:
  v: TestReport
meta:
  last updated:
    v: 2021-01-02T08:58:31.578+11:00
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition TestReport Last updated: 2021-01-02 08:58:31+1100 Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> TestReport 0..* DomainResource Describes the results of a TestScript execution Elements defined in Ancestors:id, meta, implicitRules, language, <a href="http://hl7.org/fhir/R5/domainresource.html" title="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.">text, contained, <a href="http://hl7.org/fhir/R5/domainresource.html" title="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.">extension, <a href="http://hl7.org/fhir/R5/domainresource.html" title="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 …
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-category
    l: structuredefinition-category
  value: String
    v: Specialized.Quality Reporting & Testing
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 1
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category
    l: structuredefinition-security-category
  value: Code
    v: business
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: fhir
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/entered-in-error-status
    l: entered-in-error-status
  value: String
    v: .status = entered-in-error
extension:
  extension:
    url:
      v: code
      l: code
    value: Id
      v: Device
  extension:
    url:
      v: param
      l: param
    value: String
      v: participant
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: This isn't actually a valid registration - added for testing purposes
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/additional-resource-compartment
    l: additional-resource-compartment
extension:
  url:
    v: http://hl7.org/fhir/tools/StructureDefinition/additional-resource
    l: additional-resource
  value: Boolean
    v: true
url:
  v: http://hl7.org/fhir/StructureDefinition/TestReport
  l: TestReport
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.5.1271
version:
  v: 0.1.0-SNAPSHOT
name:
  v: TestReport
title:
  v: Test Report
status:
  v: draft
date:
  v: 2021-01-02T08:58:31+11:00
publisher:
  v: HL7 International / FHIR Infrastructure
contact:
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: A summary of information based on the results of executing a TestScript.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
fhir version:
  v: 6.0.0-ballot3
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: objimpl
  uri:
    v: http://hl7.org/fhir/object-implementation
    l: object-implementation
  name:
    v: Object Implementation Information
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
    l: fivews
  name:
    v: FiveWs Pattern Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: TestReport
  l: TestReport
base definition:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 6.0.0-ballot3
  element:
    id:
      v: TestReport
    path:
      v: TestReport
    short:
      v: Describes the results of a TestScript execution
    definition:
      v: A summary of information based on the results of executing a TestScript.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: DomainResource
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: 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
      expression:
        v: contained.where((('#'+id.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource

key:
  v: dom-4
severity:
  v: error
human:
  v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
expression:
  v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
source:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource

key:
  v: dom-5
severity:
  v: error
human:
  v: If a resource is contained in another resource, it SHALL NOT have a security label
expression:
  v: contained.meta.security.empty()
source:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice
    l: elementdefinition-bestpractice
  value: Boolean
    v: true
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation
    l: elementdefinition-bestpractice-explanation
  value: Markdown
    v: 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.
key:
  v: dom-6
severity:
  v: warning
human:
  v: A resource should have narrative for robust management
expression:
  v: text.`div`.exists()
source:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource

v: false

v: false

v: false

identity:
  v: rim
map:
  v: n/a,Entity. Role,or Act,Entity,Role,or Act

identity:
  v: objimpl
map:
  v: BaseConformance

identity:
  v: w5
map:
  v: conformance.misc

id:
  v: TestReport.id
path:
  v: TestReport.id
short:
  v: Logical id of this artifact
definition:
  v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: TestReport.meta
path:
  v: TestReport.meta
short:
  v: Metadata about the resource
definition:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: TestReport.implicitRules
path:
  v: TestReport.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: 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.
comment:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
is summary:
  v: true

id:
  v: TestReport.language
path:
  v: TestReport.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: 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).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: required
  description:
    v: IETF language tag for a human language
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot3
    l: http://hl7.org/fhir/ValueSet/all-languages
  additional:
    purpose:
      v: starter
    value set:
      v: http://hl7.org/fhir/ValueSet/languages|6.0.0-ballot3
      l: http://hl7.org/fhir/ValueSet/languages

id:
  v: TestReport.text
path:
  v: TestReport.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
condition:
  v: dom-6
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: TestReport.contained
path:
  v: TestReport.contained
short:
  v: Contained, inline Resources
definition:
  v: 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.
comment:
  v: 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).
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
condition:
  v: dom-2
condition:
  v: dom-4
condition:
  v: dom-3
condition:
  v: dom-5
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.extension
path:
  v: TestReport.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.modifierExtension
path:
  v: TestReport.modifierExtension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Extensions that cannot be ignored
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.identifier
path:
  v: TestReport.identifier
short:
  v: External identifier
definition:
  v: Identifier for the TestReport assigned for external purposes outside the context of FHIR.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.identifier
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier

id:
  v: TestReport.name
path:
  v: TestReport.name
short:
  v: Informal name of the executed TestReport
definition:
  v: A free text natural language name identifying the executed TestReport.
comment:
  v: Not expected to be globally unique.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true
mapping:
  identity:
    v: objimpl
  map:
    v: BaseConformance.name

id:
  v: TestReport.status
path:
  v: TestReport.status
short:
  v: completed | in-progress | waiting | stopped | entered-in-error
definition:
  v: The current state of this test report.
comment:
  v: The status represents where the execution is currently within the test script execution life cycle. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TestReport.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is modifier:
  v: true
is modifier reason:
  v: 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
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TestReportStatus
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/binding-definition
      l: binding-definition
    value: Markdown
      v: The current status of the test report.
  strength:
    v: required
  description:
    v: The current status of the test script execution.
  value set:
    v: http://hl7.org/fhir/ValueSet/report-status-codes
    l: report-status-codes
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status

id:
  v: TestReport.testScript
path:
  v: TestReport.testScript
short:
  v: Canonical URL to the version-specific TestScript that was executed to produce this TestReport
definition:
  v: Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TestReport.testScript
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: canonical
    l: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/TestScript
    l: TestScript
is summary:
  v: true

id:
  v: TestReport.result
path:
  v: TestReport.result
short:
  v: pass | fail | pending
definition:
  v: The overall result from the execution of the TestScript.
comment:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TestReport.result
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TestReportResult
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/binding-definition
      l: binding-definition
    value: Markdown
      v: The reported execution result.
  strength:
    v: required
  description:
    v: The overall execution result of the TestScript.
  value set:
    v: http://hl7.org/fhir/ValueSet/report-result-codes
    l: report-result-codes

id:
  v: TestReport.score
path:
  v: TestReport.score
short:
  v: The final score (percentage of tests passed, so 0..100) resulting from the execution of the TestScript
definition:
  v: The final score (percentage of tests passed in the range of 0 to 100) resulting from the execution of the TestScript.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.score
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal
min value: Decimal
  v: 0
max value: Decimal
  v: 100
is summary:
  v: true

id:
  v: TestReport.tester
path:
  v: TestReport.tester
short:
  v: Name of the tester producing this report (Organization or individual)
definition:
  v: Name of the tester producing this report (Organization or individual).
comment:
  v: Usually an organization, but may be an individual. This item SHOULD be populated unless the information is available from context.
requirements:
  v: Helps establish the "authority/credibility" of the TestReport. May also allow for contact.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.tester
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: TestReport.issued
path:
  v: TestReport.issued
short:
  v: When the TestScript was executed and this TestReport was generated
definition:
  v: When the TestScript was executed and this TestReport was generated.
comment:
  v: Additional specific dates may be added as extensions.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.issued
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded
mapping:
  identity:
    v: objimpl
  map:
    v: BaseConformance.date

id:
  v: TestReport.participant
path:
  v: TestReport.participant
short:
  v: A participant in the test execution, either the execution engine, a client, or a server
definition:
  v: A participant in the test execution, either the execution engine, a client, or a server.
min:
  v: 0
max:
  v: *
base:
  path:
    v: TestReport.participant
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.participant.id
path:
  v: TestReport.participant.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.participant.extension
path:
  v: TestReport.participant.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.participant.modifierExtension
path:
  v: TestReport.participant.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.participant.type
path:
  v: TestReport.participant.type
short:
  v: test-engine | client | server
definition:
  v: The type of participant.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TestReport.participant.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TestReportParticipantType
  strength:
    v: required
  description:
    v: The type of participant.
  value set:
    v: http://hl7.org/fhir/ValueSet/report-participant-type
    l: report-participant-type

id:
  v: TestReport.participant.uri
path:
  v: TestReport.participant.uri
short:
  v: The uri of the participant. An absolute URL is preferred
definition:
  v: The uri of the participant. An absolute URL is preferred.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.participant.uri
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri

id:
  v: TestReport.participant.version
path:
  v: TestReport.participant.version
short:
  v: The version of the participant, if known/applicable
definition:
  v: The version of the participant, if a version is known and/or applicable.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.participant.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri

id:
  v: TestReport.participant.display
path:
  v: TestReport.participant.display
short:
  v: The display name of the participant
definition:
  v: The display name of the participant.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.participant.display
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: TestReport.parameter
path:
  v: TestReport.parameter
short:
  v: A parameter passed to the runner performing the test
definition:
  v: A parameter passed in to the runner performing the test. The parameter is expected to relate to input parameters defined by the test script.
min:
  v: 0
max:
  v: *
base:
  path:
    v: TestReport.parameter
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.parameter.id
path:
  v: TestReport.parameter.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.parameter.extension
path:
  v: TestReport.parameter.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.parameter.modifierExtension
path:
  v: TestReport.parameter.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.parameter.name
path:
  v: TestReport.parameter.name
short:
  v: Name of the parameter passed in
definition:
  v: The name of the parameter passed in to the test runner.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TestReport.parameter.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: TestReport.parameter.documentation
path:
  v: TestReport.parameter.documentation
short:
  v: Documentation about the impact of the parameter
definition:
  v: Documentation about the impact of the parameter, as supplied by the test runner engine to explain the way it impacted on the tests.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.parameter.documentation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown

id:
  v: TestReport.setup
path:
  v: TestReport.setup
short:
  v: The results of the series of required setup operations before the tests were executed
definition:
  v: The results of the series of required setup operations before the tests were executed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.setup
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.setup.id
path:
  v: TestReport.setup.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.setup.extension
path:
  v: TestReport.setup.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.setup.modifierExtension
path:
  v: TestReport.setup.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.setup.action
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
    l: structuredefinition-explicit-type-name
  value: String
    v: SetupAction
path:
  v: TestReport.setup.action
short:
  v: A setup operation or assert that was executed
definition:
  v: Action would contain either an operation or an assertion.
comment:
  v: An action should contain either an operation or an assertion but not both. It can contain any number of variables.
min:
  v: 1
max:
  v: *
base:
  path:
    v: TestReport.setup.action
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: tr-0
  severity:
    v: error
  human:
    v: Setup action SHALL contain either an operation or assert but not both.
  expression:
    v: operation.exists() xor assert.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/TestReport
    l: TestReport
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.setup.action.id
path:
  v: TestReport.setup.action.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.setup.action.extension
path:
  v: TestReport.setup.action.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.setup.action.modifierExtension
path:
  v: TestReport.setup.action.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.setup.action.operation
path:
  v: TestReport.setup.action.operation
short:
  v: The operation to perform
definition:
  v: The operation performed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.setup.action.operation
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
condition:
  v: tr-0
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.setup.action.operation.id
path:
  v: TestReport.setup.action.operation.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.setup.action.operation.extension
path:
  v: TestReport.setup.action.operation.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.setup.action.operation.modifierExtension
path:
  v: TestReport.setup.action.operation.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.setup.action.operation.result
path:
  v: TestReport.setup.action.operation.result
short:
  v: pass | skip | fail | warning | error
definition:
  v: The result of this operation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TestReport.setup.action.operation.result
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TestReportActionResult
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/binding-definition
      l: binding-definition
    value: Markdown
      v: The results of executing an action.
  strength:
    v: required
  description:
    v: The result of the execution of an individual action.
  value set:
    v: http://hl7.org/fhir/ValueSet/report-action-result-codes
    l: report-action-result-codes

id:
  v: TestReport.setup.action.operation.message
path:
  v: TestReport.setup.action.operation.message
short:
  v: A message associated with the result
definition:
  v: An explanatory message associated with the result.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.setup.action.operation.message
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown

id:
  v: TestReport.setup.action.operation.detail
path:
  v: TestReport.setup.action.operation.detail
short:
  v: A link to further details on the result
definition:
  v: A link to further details on the result.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.setup.action.operation.detail
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri

id:
  v: TestReport.setup.action.assert
path:
  v: TestReport.setup.action.assert
short:
  v: The assertion to perform
definition:
  v: The results of the assertion performed on the previous operations.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.setup.action.assert
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
condition:
  v: tr-0
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.setup.action.assert.id
path:
  v: TestReport.setup.action.assert.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.setup.action.assert.extension
path:
  v: TestReport.setup.action.assert.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.setup.action.assert.modifierExtension
path:
  v: TestReport.setup.action.assert.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.setup.action.assert.result
path:
  v: TestReport.setup.action.assert.result
short:
  v: pass | skip | fail | warning | error
definition:
  v: The result of this assertion.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TestReport.setup.action.assert.result
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TestReportActionResult
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/binding-definition
      l: binding-definition
    value: Markdown
      v: The results of executing an action.
  strength:
    v: required
  description:
    v: The result of the execution of an individual action.
  value set:
    v: http://hl7.org/fhir/ValueSet/report-action-result-codes
    l: report-action-result-codes

id:
  v: TestReport.setup.action.assert.message
path:
  v: TestReport.setup.action.assert.message
short:
  v: A message associated with the result
definition:
  v: An explanatory message associated with the result.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.setup.action.assert.message
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown

id:
  v: TestReport.setup.action.assert.detail
path:
  v: TestReport.setup.action.assert.detail
short:
  v: A link to further details on the result
definition:
  v: A link to further details on the result.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.setup.action.assert.detail
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: TestReport.setup.action.assert.requirement
path:
  v: TestReport.setup.action.assert.requirement
short:
  v: Links or references to the testing requirements
definition:
  v: Links or references providing traceability to the testing requirements for this assert.
comment:
  v: 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.
min:
  v: 0
max:
  v: *
base:
  path:
    v: TestReport.setup.action.assert.requirement
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.setup.action.assert.requirement.id
path:
  v: TestReport.setup.action.assert.requirement.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.setup.action.assert.requirement.extension
path:
  v: TestReport.setup.action.assert.requirement.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.setup.action.assert.requirement.modifierExtension
path:
  v: TestReport.setup.action.assert.requirement.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.setup.action.assert.requirement.link[x]
path:
  v: TestReport.setup.action.assert.requirement.link[x]
short:
  v: Link or reference to the testing requirement
definition:
  v: Link or reference providing traceability to the testing requirement for this test.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.setup.action.assert.requirement.link[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: canonical
    l: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Requirements
    l: Requirements

id:
  v: TestReport.test
path:
  v: TestReport.test
short:
  v: A test executed from the test script
definition:
  v: A test executed from the test script.
min:
  v: 0
max:
  v: *
base:
  path:
    v: TestReport.test
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.test.id
path:
  v: TestReport.test.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.test.extension
path:
  v: TestReport.test.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.test.modifierExtension
path:
  v: TestReport.test.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.test.name
path:
  v: TestReport.test.name
short:
  v: Tracking/logging name of this test (link to test in TestScript)
definition:
  v: 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).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.test.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: TestReport.test.description
path:
  v: TestReport.test.description
short:
  v: Tracking/reporting short description of the test
definition:
  v: A short description of the test used by test engines for tracking and reporting purposes.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.test.description
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: TestReport.test.result
path:
  v: TestReport.test.result
short:
  v: pass | skip | fail | warning | error
definition:
  v: The overall result of this test.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.test.result
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TestReportActionResult
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/binding-definition
      l: binding-definition
    value: Markdown
      v: The results of executing the test.
  strength:
    v: required
  description:
    v: The result of the execution of the test.
  value set:
    v: http://hl7.org/fhir/ValueSet/report-action-result-codes
    l: report-action-result-codes

id:
  v: TestReport.test.period
path:
  v: TestReport.test.period
short:
  v: Start and End times running the test (accurate to milliseconds)
definition:
  v: The start and end times running the test, to allow time taken to be tracked. Accurate to at least milliseconds).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.test.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: TestReport.test.action
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
    l: structuredefinition-explicit-type-name
  value: String
    v: TestAction
path:
  v: TestReport.test.action
short:
  v: A test operation or assert that was performed
definition:
  v: Action would contain either an operation or an assertion.
comment:
  v: An action should contain either an operation or an assertion but not both. It can contain any number of variables.
min:
  v: 1
max:
  v: *
base:
  path:
    v: TestReport.test.action
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: tr-2
  severity:
    v: error
  human:
    v: Test action SHALL contain either an operation or assert but not both.
  expression:
    v: operation.exists() xor assert.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/TestReport
    l: TestReport
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.test.action.id
path:
  v: TestReport.test.action.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.test.action.extension
path:
  v: TestReport.test.action.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.test.action.modifierExtension
path:
  v: TestReport.test.action.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.test.action.operation
path:
  v: TestReport.test.action.operation
short:
  v: The operation performed
definition:
  v: An operation would involve a REST request to a server.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.test.action.operation
  min:
    v: 0
  max:
    v: 1
content reference:
  v: http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.operation
  l: TestReport.setup.action.operation

id:
  v: TestReport.test.action.assert
path:
  v: TestReport.test.action.assert
short:
  v: The assertion performed
definition:
  v: The results of the assertion performed on the previous operations.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.test.action.assert
  min:
    v: 0
  max:
    v: 1
content reference:
  v: http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.assert
  l: TestReport.setup.action.assert

id:
  v: TestReport.test.log
path:
  v: TestReport.test.log
short:
  v: Text log of the internal execution of the tests
definition:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.test.log
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Attachment
    l: Attachment

id:
  v: TestReport.teardown
path:
  v: TestReport.teardown
short:
  v: The results of running the series of required clean up steps
definition:
  v: The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.teardown
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.teardown.id
path:
  v: TestReport.teardown.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.teardown.extension
path:
  v: TestReport.teardown.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.teardown.modifierExtension
path:
  v: TestReport.teardown.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.teardown.action
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
    l: structuredefinition-explicit-type-name
  value: String
    v: TeardownAction
path:
  v: TestReport.teardown.action
short:
  v: One or more teardown operations performed
definition:
  v: The teardown action will only contain an operation.
comment:
  v: An action should contain either an operation or an assertion but not both. It can contain any number of variables.
min:
  v: 1
max:
  v: *
base:
  path:
    v: TestReport.teardown.action
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: TestReport.teardown.action.id
path:
  v: TestReport.teardown.action.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.teardown.action.extension
path:
  v: TestReport.teardown.action.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: TestReport.teardown.action.modifierExtension
path:
  v: TestReport.teardown.action.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: 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.
requirements:
  v: 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).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: TestReport.teardown.action.operation
path:
  v: TestReport.teardown.action.operation
short:
  v: The teardown operation performed
definition:
  v: An operation would involve a REST request to a server.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: TestReport.teardown.action.operation
  min:
    v: 1
  max:
    v: 1
content reference:
  v: http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.operation
  l: TestReport.setup.action.operation

id:
  v: TestReport.presentedForm
path:
  v: TestReport.presentedForm
short:
  v: A document presentation of the test outcomes (e.g. PDF)
definition:
  v: A document presentation of the test outcomes such as PDF document.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.presentedForm
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Attachment
    l: Attachment

id:
  v: TestReport.log
path:
  v: TestReport.log
short:
  v: Text log of the internal execution of the tests
definition:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: TestReport.log
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Attachment
    l: Attachment

element:
  id:
    v: TestReport
  path:
    v: TestReport
  short:
    v: Describes the results of a TestScript execution
  definition:
    v: A summary of information based on the results of executing a TestScript.
  min:
    v: 0
  max:
    v: *
  mapping:
    identity:
      v: rim
    map:
      v: n/a
  mapping:
    identity:
      v: objimpl
    map:
      v: BaseConformance
  mapping:
    identity:
      v: w5
    map:
      v: conformance.misc
element:
  id:
    v: TestReport.identifier
  path:
    v: TestReport.identifier
  short:
    v: External identifier
  definition:
    v: Identifier for the TestReport assigned for external purposes outside the context of FHIR.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Identifier
      l: Identifier
  is summary:
    v: true
  mapping:
    identity:
      v: w5
    map:
      v: FiveWs.identifier
element:
  id:
    v: TestReport.name
  path:
    v: TestReport.name
  short:
    v: Informal name of the executed TestReport
  definition:
    v: A free text natural language name identifying the executed TestReport.
  comment:
    v: Not expected to be globally unique.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
  is summary:
    v: true
  mapping:
    identity:
      v: objimpl
    map:
      v: BaseConformance.name
element:
  id:
    v: TestReport.status
  path:
    v: TestReport.status
  short:
    v: completed | in-progress | waiting | stopped | entered-in-error
  definition:
    v: The current state of this test report.
  comment:
    v: The status represents where the execution is currently within the test script execution life cycle. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  is modifier:
    v: true
  is modifier reason:
    v: 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
  is summary:
    v: true
  binding:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
        l: elementdefinition-bindingName
      value: String
        v: TestReportStatus
    extension:
      url:
        v: http://hl7.org/fhir/tools/StructureDefinition/binding-definition
        l: binding-definition
      value: Markdown
        v: The current status of the test report.
    strength:
      v: required
    description:
      v: The current status of the test script execution.
    value set:
      v: http://hl7.org/fhir/ValueSet/report-status-codes
      l: report-status-codes
  mapping:
    identity:
      v: w5
    map:
      v: FiveWs.status
element:
  id:
    v: TestReport.testScript
  path:
    v: TestReport.testScript
  short:
    v: Canonical URL to the version-specific TestScript that was executed to produce this TestReport
  definition:
    v: Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: canonical
      l: canonical
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/TestScript
      l: TestScript
  is summary:
    v: true
element:
  id:
    v: TestReport.result
  path:
    v: TestReport.result
  short:
    v: pass | fail | pending
  definition:
    v: The overall result from the execution of the TestScript.
  comment:
    v: 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.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  is summary:
    v: true
  binding:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
        l: elementdefinition-bindingName
      value: String
        v: TestReportResult
    extension:
      url:
        v: http://hl7.org/fhir/tools/StructureDefinition/binding-definition
        l: binding-definition
      value: Markdown
        v: The reported execution result.
    strength:
      v: required
    description:
      v: The overall execution result of the TestScript.
    value set:
      v: http://hl7.org/fhir/ValueSet/report-result-codes
      l: report-result-codes
element:
  id:
    v: TestReport.score
  path:
    v: TestReport.score
  short:
    v: The final score (percentage of tests passed, so 0..100) resulting from the execution of the TestScript
  definition:
    v: The final score (percentage of tests passed in the range of 0 to 100) resulting from the execution of the TestScript.
  min:
    v: 0
  min value: Decimal
  max value: Decimal

v: 1

code:
  v: decimal
  l: decimal

Decimal
v: 0

Decimal
v: 100

v: true

id:
  v: TestReport.tester
path:
  v: TestReport.tester
short:
  v: Name of the tester producing this report (Organization or individual)
definition:
  v: Name of the tester producing this report (Organization or individual).
comment:
  v: Usually an organization, but may be an individual. This item SHOULD be populated unless the information is available from context.
requirements:
  v: Helps establish the "authority/credibility" of the TestReport. May also allow for contact.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string
is summary:
  v: true

id:
  v: TestReport.issued
path:
  v: TestReport.issued
short:
  v: When the TestScript was executed and this TestReport was generated
definition:
  v: When the TestScript was executed and this TestReport was generated.
comment:
  v: Additional specific dates may be added as extensions.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded
mapping:
  identity:
    v: objimpl
  map:
    v: BaseConformance.date

id:
  v: TestReport.participant
path:
  v: TestReport.participant
short:
  v: A participant in the test execution, either the execution engine, a client, or a server
definition:
  v: A participant in the test execution, either the execution engine, a client, or a server.
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: TestReport.participant.type
path:
  v: TestReport.participant.type
short:
  v: test-engine | client | server
definition:
  v: The type of participant.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TestReportParticipantType
  strength:
    v: required
  description:
    v: The type of participant.
  value set:
    v: http://hl7.org/fhir/ValueSet/report-participant-type
    l: report-participant-type

id:
  v: TestReport.participant.uri
path:
  v: TestReport.participant.uri
short:
  v: The uri of the participant. An absolute URL is preferred
definition:
  v: The uri of the participant. An absolute URL is preferred.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: uri
    l: uri

id:
  v: TestReport.participant.version
path:
  v: TestReport.participant.version
short:
  v: The version of the participant, if known/applicable
definition:
  v: The version of the participant, if a version is known and/or applicable.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: uri
    l: uri

id:
  v: TestReport.participant.display
path:
  v: TestReport.participant.display
short:
  v: The display name of the participant
definition:
  v: The display name of the participant.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: TestReport.parameter
path:
  v: TestReport.parameter
short:
  v: A parameter passed to the runner performing the test
definition:
  v: A parameter passed in to the runner performing the test. The parameter is expected to relate to input parameters defined by the test script.
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: TestReport.parameter.name
path:
  v: TestReport.parameter.name
short:
  v: Name of the parameter passed in
definition:
  v: The name of the parameter passed in to the test runner.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: TestReport.parameter.documentation
path:
  v: TestReport.parameter.documentation
short:
  v: Documentation about the impact of the parameter
definition:
  v: Documentation about the impact of the parameter, as supplied by the test runner engine to explain the way it impacted on the tests.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: markdown
    l: markdown

id:
  v: TestReport.setup
path:
  v: TestReport.setup
short:
  v: The results of the series of required setup operations before the tests were executed
definition:
  v: The results of the series of required setup operations before the tests were executed.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: TestReport.setup.action
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
    l: structuredefinition-explicit-type-name
  value: String
    v: SetupAction
path:
  v: TestReport.setup.action
short:
  v: A setup operation or assert that was executed
definition:
  v: Action would contain either an operation or an assertion.
comment:
  v: An action should contain either an operation or an assertion but not both. It can contain any number of variables.
min:
  v: 1
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: tr-0
  severity:
    v: error
  human:
    v: Setup action SHALL contain either an operation or assert but not both.
  expression:
    v: operation.exists() xor assert.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/TestReport
    l: TestReport

id:
  v: TestReport.setup.action.operation
path:
  v: TestReport.setup.action.operation
short:
  v: The operation to perform
definition:
  v: The operation performed.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
condition:
  v: tr-0

id:
  v: TestReport.setup.action.operation.result
path:
  v: TestReport.setup.action.operation.result
short:
  v: pass | skip | fail | warning | error
definition:
  v: The result of this operation.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TestReportActionResult
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/binding-definition
      l: binding-definition
    value: Markdown
      v: The results of executing an action.
  strength:
    v: required
  description:
    v: The result of the execution of an individual action.
  value set:
    v: http://hl7.org/fhir/ValueSet/report-action-result-codes
    l: report-action-result-codes

id:
  v: TestReport.setup.action.operation.message
path:
  v: TestReport.setup.action.operation.message
short:
  v: A message associated with the result
definition:
  v: An explanatory message associated with the result.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: markdown
    l: markdown

id:
  v: TestReport.setup.action.operation.detail
path:
  v: TestReport.setup.action.operation.detail
short:
  v: A link to further details on the result
definition:
  v: A link to further details on the result.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: uri
    l: uri

id:
  v: TestReport.setup.action.assert
path:
  v: TestReport.setup.action.assert
short:
  v: The assertion to perform
definition:
  v: The results of the assertion performed on the previous operations.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
condition:
  v: tr-0

id:
  v: TestReport.setup.action.assert.result
path:
  v: TestReport.setup.action.assert.result
short:
  v: pass | skip | fail | warning | error
definition:
  v: The result of this assertion.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TestReportActionResult
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/binding-definition
      l: binding-definition
    value: Markdown
      v: The results of executing an action.
  strength:
    v: required
  description:
    v: The result of the execution of an individual action.
  value set:
    v: http://hl7.org/fhir/ValueSet/report-action-result-codes
    l: report-action-result-codes

id:
  v: TestReport.setup.action.assert.message
path:
  v: TestReport.setup.action.assert.message
short:
  v: A message associated with the result
definition:
  v: An explanatory message associated with the result.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: markdown
    l: markdown

id:
  v: TestReport.setup.action.assert.detail
path:
  v: TestReport.setup.action.assert.detail
short:
  v: A link to further details on the result
definition:
  v: A link to further details on the result.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: TestReport.setup.action.assert.requirement
path:
  v: TestReport.setup.action.assert.requirement
short:
  v: Links or references to the testing requirements
definition:
  v: Links or references providing traceability to the testing requirements for this assert.
comment:
  v: 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.
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: TestReport.setup.action.assert.requirement.link[x]
path:
  v: TestReport.setup.action.assert.requirement.link[x]
short:
  v: Link or reference to the testing requirement
definition:
  v: Link or reference providing traceability to the testing requirement for this test.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: canonical
    l: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Requirements
    l: Requirements

id:
  v: TestReport.test
path:
  v: TestReport.test
short:
  v: A test executed from the test script
definition:
  v: A test executed from the test script.
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: TestReport.test.name
path:
  v: TestReport.test.name
short:
  v: Tracking/logging name of this test (link to test in TestScript)
definition:
  v: 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).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: TestReport.test.description
path:
  v: TestReport.test.description
short:
  v: Tracking/reporting short description of the test
definition:
  v: A short description of the test used by test engines for tracking and reporting purposes.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: TestReport.test.result
path:
  v: TestReport.test.result
short:
  v: pass | skip | fail | warning | error
definition:
  v: The overall result of this test.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: code
    l: code
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: TestReportActionResult
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/binding-definition
      l: binding-definition
    value: Markdown
      v: The results of executing the test.
  strength:
    v: required
  description:
    v: The result of the execution of the test.
  value set:
    v: http://hl7.org/fhir/ValueSet/report-action-result-codes
    l: report-action-result-codes

id:
  v: TestReport.test.period
path:
  v: TestReport.test.period
short:
  v: Start and End times running the test (accurate to milliseconds)
definition:
  v: The start and end times running the test, to allow time taken to be tracked. Accurate to at least milliseconds).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: TestReport.test.action
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
    l: structuredefinition-explicit-type-name
  value: String
    v: TestAction
path:
  v: TestReport.test.action
short:
  v: A test operation or assert that was performed
definition:
  v: Action would contain either an operation or an assertion.
comment:
  v: An action should contain either an operation or an assertion but not both. It can contain any number of variables.
min:
  v: 1
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: tr-2
  severity:
    v: error
  human:
    v: Test action SHALL contain either an operation or assert but not both.
  expression:
    v: operation.exists() xor assert.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/TestReport
    l: TestReport

id:
  v: TestReport.test.action.operation
path:
  v: TestReport.test.action.operation
short:
  v: The operation performed
definition:
  v: An operation would involve a REST request to a server.
min:
  v: 0
max:
  v: 1
content reference:
  v: http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.operation
  l: TestReport.setup.action.operation

id:
  v: TestReport.test.action.assert
path:
  v: TestReport.test.action.assert
short:
  v: The assertion performed
definition:
  v: The results of the assertion performed on the previous operations.
min:
  v: 0
max:
  v: 1
content reference:
  v: http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.assert
  l: TestReport.setup.action.assert

id:
  v: TestReport.test.log
path:
  v: TestReport.test.log
short:
  v: Text log of the internal execution of the tests
definition:
  v: 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.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Attachment
    l: Attachment

id:
  v: TestReport.teardown
path:
  v: TestReport.teardown
short:
  v: The results of running the series of required clean up steps
definition:
  v: The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: TestReport.teardown.action
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name
    l: structuredefinition-explicit-type-name
  value: String
    v: TeardownAction
path:
  v: TestReport.teardown.action
short:
  v: One or more teardown operations performed
definition:
  v: The teardown action will only contain an operation.
comment:
  v: An action should contain either an operation or an assertion but not both. It can contain any number of variables.
min:
  v: 1
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: TestReport.teardown.action.operation
path:
  v: TestReport.teardown.action.operation
short:
  v: The teardown operation performed
definition:
  v: An operation would involve a REST request to a server.
min:
  v: 1
max:
  v: 1
content reference:
  v: http://hl7.org/fhir/StructureDefinition/TestReport#TestReport.setup.action.operation
  l: TestReport.setup.action.operation

id:
  v: TestReport.presentedForm
path:
  v: TestReport.presentedForm
short:
  v: A document presentation of the test outcomes (e.g. PDF)
definition:
  v: A document presentation of the test outcomes such as PDF document.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Attachment
    l: Attachment

id:
  v: TestReport.log
path:
  v: TestReport.log
short:
  v: Text log of the internal execution of the tests
definition:
  v: 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.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Attachment
    l: Attachment