profile-TestPlan
type: StructureDefinition
node role: treeRoot
id:
  v: profile-TestPlan
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition profile-TestPlan Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Basic 0..* Basic Resource for non-supported content #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:url 0..1 uri R5: Canonical identifier for this test plan, represented as a URI (globally unique) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.url #xD; extension:version 0..1 string R5: Business version of the test plan (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.version #xD; extension:versionAlgorithm 0..1 string, Coding R5: How to compare versions (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.versionAlgorithm Binding: R5VersionAlgorithmForR3 (0.1.0) (extensible) #xD; extension:name 0..1 string R5: Name for this test plan (computer friendly) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.name #xD; extension:title 0..1 string R5: Name for this test plan (human friendly) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.title #xD; extension:experimental 0..1 boolean R5: For testing purposes, not real usage (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.experimental #xD; extension:date 0..1 dateTime R5: Date last changed (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.date #xD; extension:publisher 0..1 string R5: Name of the publisher/steward (organization or individual) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.publisher #xD; extension:contact 0..* (Complex) R5: Contact details for the publisher (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.contact #xD; extension:description 0..1 markdown R5: Natural language description of the test plan (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: fhir
extension:
  extension:
    url:
      v: packageId
      l: packageId
    value: Id
      v: hl7.fhir.uv.xver-r5.r3
  extension:
    url:
      v: version
      l: version
    value: String
      v: 0.1.0
  url:
    v: http://hl7.org/fhir/StructureDefinition/package-source
    l: package-source
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 0
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3
        l: hl7.fhir.uv.xver-r5.r3
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-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3
        l: hl7.fhir.uv.xver-r5.r3
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/profile-TestPlan
  l: profile-TestPlan
version:
  v: 0.1.0
name:
  v: Profile_R5_TestPlan_R3
title:
  v: Cross-version Profile for R5.TestPlan for use in FHIR STU3
status:
  v: active
experimental:
  v: false
date:
  v: 2026-03-17T16:05:13.1921816-05:00
publisher:
  v: FHIR Infrastructure
contact:
  name:
    v: FHIR Infrastructure
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: This cross-version profile allows R5 TestPlan content to be represented via FHIR STU3 Basic resources.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
    display:
      v: World
fhir version:
  v: 3.0.2
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/w5
    l: w5
  name:
    v: W5 Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: Basic
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Basic
  l: Basic
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: Basic
    path:
      v: Basic
    short:
      v: Resource for non-supported content
    definition:
      v: Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.
    alias:
      v: Z-resource
    alias:
      v: Extension-resource
    alias:
      v: Custom-resource
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Basic
      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()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-1
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain any narrative
      expression:
        v: contained.text.empty()
      xpath:
        v: not(parent::f:contained and f:text)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      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()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      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
      expression:
        v: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
      xpath:
        v: not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource

identity:
  v: rim
map:
  v: Entity. Role, or Act

identity:
  v: rim
map:
  v: Act, Entity or Role

identity:
  v: w5
map:
  v: infrastructure.structure

id:
  v: Basic.id
path:
  v: Basic.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: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: id
    l: id
is summary:
  v: true

id:
  v: Basic.meta
path:
  v: Basic.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 may 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
is summary:
  v: true

id:
  v: Basic.implicitRules
path:
  v: Basic.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.
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. This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
is modifier:
  v: true
is summary:
  v: true

id:
  v: Basic.language
path:
  v: Basic.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
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Reference
      l: 3.0
      l: .2
      reference:
        v: http://hl7.org/fhir/ValueSet/all-languages|3.0.2
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: extensible
  description:
    v: A human language.
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/languages|3.0.2

id:
  v: Basic.text
path:
  v: Basic.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 may 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 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 in formation 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-1
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: Basic.contained
path:
  v: Basic.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, and nor can they have their own independent transaction scope.
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.
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
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Basic.extension
path:
  v: Basic.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Basic.extension:url
path:
  v: Basic.extension
slice name:
  v: url
short:
  v: R5: Canonical identifier for this test plan, represented as a URI (globally unique) (new)
definition:
  v: R5: `TestPlan.url` (new:uri)
comment:
  v: Element `TestPlan.url` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.url` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version. The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in [Technical and Business Versions](https://hl7.org/fhir/resource..html#versions). In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](https://hl7.org/fhir/resou.html#meta) element to indicate where the current master source of the resource can be found.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.url|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.url
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:version
path:
  v: Basic.extension
slice name:
  v: version
short:
  v: R5: Business version of the test plan (new)
definition:
  v: R5: `TestPlan.version` (new:string)
comment:
  v: Element `TestPlan.version` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.version` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). There may be different test plan instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the test plan with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](https://hl7.org/fhir/resource.h.html#bv-format).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.version|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.version
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:versionAlgorithm
path:
  v: Basic.extension
slice name:
  v: versionAlgorithm
short:
  v: R5: How to compare versions (new)
definition:
  v: R5: `TestPlan.versionAlgorithm[x]` (new:Coding, string)
comment:
  v: Element `TestPlan.versionAlgorithm[x]` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.versionAlgorithm[x]` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.versionAlgorithm|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.versionAlgorithm
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:name
path:
  v: Basic.extension
slice name:
  v: name
short:
  v: R5: Name for this test plan (computer friendly) (new)
definition:
  v: R5: `TestPlan.name` (new:string)
comment:
  v: Element `TestPlan.name` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.name` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.name|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.name
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:title
path:
  v: Basic.extension
slice name:
  v: title
short:
  v: R5: Name for this test plan (human friendly) (new)
definition:
  v: R5: `TestPlan.title` (new:string)
comment:
  v: Element `TestPlan.title` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.title` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.title|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.title
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:experimental
path:
  v: Basic.extension
slice name:
  v: experimental
short:
  v: R5: For testing purposes, not real usage (new)
definition:
  v: R5: `TestPlan.experimental` (new:boolean)
comment:
  v: Element `TestPlan.experimental` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.experimental` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Allows filtering of test plans that are appropriate for use versus not.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.experimental|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.experimental
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:date
path:
  v: Basic.extension
slice name:
  v: date
short:
  v: R5: Date last changed (new)
definition:
  v: R5: `TestPlan.date` (new:dateTime)
comment:
  v: Element `TestPlan.date` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.date` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the test plan. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource. See guidance around (not) making local changes to elements [here](https://hl7.org/fhir/canonicalreso.html#localization).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.date|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.date
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:publisher
path:
  v: Basic.extension
slice name:
  v: publisher
short:
  v: R5: Name of the publisher/steward (organization or individual) (new)
definition:
  v: R5: `TestPlan.publisher` (new:string)
comment:
  v: Element `TestPlan.publisher` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.publisher` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Usually an organization but may be an individual. The publisher (or steward) of the test plan is the organization or individual primarily responsible for the maintenance and upkeep of the test plan. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the test plan. This item SHOULD be populated unless the information is available from context.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.publisher|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.publisher
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:contact
path:
  v: Basic.extension
slice name:
  v: contact
short:
  v: R5: Contact details for the publisher (new)
definition:
  v: R5: `TestPlan.contact` (new:ContactDetail)
comment:
  v: Element `TestPlan.contact` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.contact` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). May be a web site, an email address, a telephone number, etc. See guidance around (not) making local changes to elements [here](https://hl7.org/fhir/canonicalreso.html#localization).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.contact|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.contact
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:description
path:
  v: Basic.extension
slice name:
  v: description
short:
  v: R5: Natural language description of the test plan (new)
definition:
  v: R5: `TestPlan.description` (new:markdown)
comment:
  v: Element `TestPlan.description` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.description` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the test plan as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the test plan is presumed to be the predominant language in the place the test plan was created).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.description|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.description
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:useContext
path:
  v: Basic.extension
slice name:
  v: useContext
short:
  v: R5: The context that the content is intended to support (new)
definition:
  v: R5: `TestPlan.useContext` (new:UsageContext)
comment:
  v: Element `TestPlan.useContext` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.useContext` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.useContext|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.useContext
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:jurisdiction
path:
  v: Basic.extension
slice name:
  v: jurisdiction
short:
  v: R5: Intended jurisdiction where the test plan applies (if applicable) (new)
definition:
  v: R5: `TestPlan.jurisdiction` (new:CodeableConcept)
comment:
  v: Element `TestPlan.jurisdiction` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.jurisdiction` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Element `TestPlan.jurisdiction` has been flagged as deprecated. It may be possible for the test plan to be used in jurisdictions other than those for which it was originally designed or intended. DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element. (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.jurisdiction|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.jurisdiction
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:purpose
path:
  v: Basic.extension
slice name:
  v: purpose
short:
  v: R5: Why this test plan is defined (new)
definition:
  v: R5: `TestPlan.purpose` (new:markdown)
comment:
  v: Element `TestPlan.purpose` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.purpose` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This element does not describe the usage of the test plan Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this test plan.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.purpose|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.purpose
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:copyright
path:
  v: Basic.extension
slice name:
  v: copyright
short:
  v: R5: Use and/or publishing restrictions (new)
definition:
  v: R5: `TestPlan.copyright` (new:markdown)
comment:
  v: Element `TestPlan.copyright` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.copyright` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.copyright|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.copyright
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:copyrightLabel
path:
  v: Basic.extension
slice name:
  v: copyrightLabel
short:
  v: R5: Copyright holder and year(s) (new)
definition:
  v: R5: `TestPlan.copyrightLabel` (new:string)
comment:
  v: Element `TestPlan.copyrightLabel` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.copyrightLabel` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.copyrightLabel|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.copyrightLabel
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:category
path:
  v: Basic.extension
slice name:
  v: category
short:
  v: R5: The category of the Test Plan - can be acceptance, unit, performance (new)
definition:
  v: R5: `TestPlan.category` (new:CodeableConcept)
comment:
  v: Element `TestPlan.category` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.category` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.category|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.category
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:scope
path:
  v: Basic.extension
slice name:
  v: scope
short:
  v: R5: What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference (new)
definition:
  v: R5: `TestPlan.scope` (new:Reference)
comment:
  v: Element `TestPlan.scope` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.scope` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.scope|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.scope
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:testTools
path:
  v: Basic.extension
slice name:
  v: testTools
short:
  v: R5: A description of test tools to be used in the test plan - narrative for now (new)
definition:
  v: R5: `TestPlan.testTools` (new:markdown)
comment:
  v: Element `TestPlan.testTools` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.testTools` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testTools|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testTools
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:dependency
path:
  v: Basic.extension
slice name:
  v: dependency
short:
  v: R5: The required criteria to execute the test plan - e.g. preconditions, previous tests (new)
definition:
  v: R5: `TestPlan.dependency` (new:BackboneElement)
comment:
  v: Element `TestPlan.dependency` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.dependency` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:exitCriteria
path:
  v: Basic.extension
slice name:
  v: exitCriteria
short:
  v: R5: The threshold or criteria for the test plan to be considered successfully executed - narrative (new)
definition:
  v: R5: `TestPlan.exitCriteria` (new:markdown)
comment:
  v: Element `TestPlan.exitCriteria` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.exitCriteria` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.exitCriteria|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.exitCriteria
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.extension:testCase
path:
  v: Basic.extension
slice name:
  v: testCase
short:
  v: R5: The test cases that constitute this plan (new)
definition:
  v: R5: `TestPlan.testCase` (new:BackboneElement)
comment:
  v: Element `TestPlan.testCase` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.testCase` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false

id:
  v: Basic.modifierExtension
path:
  v: Basic.modifierExtension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
is modifier:
  v: true

id:
  v: Basic.modifierExtension:status
path:
  v: Basic.modifierExtension
slice name:
  v: status
short:
  v: R5: draft | active | retired | unknown (new)
definition:
  v: R5: `TestPlan.status` (new:code)
comment:
  v: Element `TestPlan.status` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.status` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Allows filtering of test plans that are appropriate for use versus not. See guidance around (not) making local changes to elements [here](https://hl7.org/fhir/canonicalreso.html#localization).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.status|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.status
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() | (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true

id:
  v: Basic.identifier
path:
  v: Basic.identifier
short:
  v: Business identifier
definition:
  v: Identifier assigned to the resource for business purposes, outside the context of FHIR.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Basic.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: ./identifier
mapping:
  identity:
    v: w5
  map:
    v: id

id:
  v: Basic.code
path:
  v: Basic.code
short:
  v: Kind of Resource
definition:
  v: Identifies the 'type' of resource - equivalent to the resource name for other resources.
comment:
  v: Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource. Refer to the resource notes section for information on appropriate terminologies for this code. This element is labeled as a modifier because the it defines the meaning of the resource and cannot be ignored.
requirements:
  v: Must be able to distinguish different types of Basic resources.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Basic.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
is modifier:
  v: true
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: BasicResourceType
  strength:
    v: example
  description:
    v: Codes for identifying types of resources not yet defined by FHIR
  value set: Reference
    l: 3.0
    l: .2
    reference:
      v: http://hl7.org/fhir/ValueSet/basic-resource-type|3.0.2
mapping:
  identity:
    v: rim
  map:
    v: ./code
mapping:
  identity:
    v: w5
  map:
    v: what

id:
  v: Basic.subject
path:
  v: Basic.subject
short:
  v: Identifies the focus of this resource
definition:
  v: Identifies the patient, practitioner, device or any other resource that is the "focus" of this resource.
comment:
  v: Optional as not all potential resources will have subjects. Resources associated with multiple subjects can handle this via extension.
requirements:
  v: Needed for partitioning the resource by Patient.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Basic.subject
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    l: Resource
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: ./participation[typeCode='SBJ'] (possibly through a ControlAct and Role)
mapping:
  identity:
    v: w5
  map:
    v: who.focus

id:
  v: Basic.created
path:
  v: Basic.created
short:
  v: When created
definition:
  v: Identifies when the resource was first created.
requirements:
  v: Allows ordering resource instances by time.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Basic.created
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: date
    l: date
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: ./participation[typeCode='AUT']/time (possibly through a ControlAct and Role)
mapping:
  identity:
    v: w5
  map:
    v: when.recorded

id:
  v: Basic.author
path:
  v: Basic.author
short:
  v: Who created
definition:
  v: Indicates who was responsible for creating the resource instance.
requirements:
  v: Needed for partitioning the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Basic.author
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    l: Patient
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson
    l: RelatedPerson
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: ./participation[typeCode='SUB'] (possibly through a ControlAct and Role)
mapping:
  identity:
    v: w5
  map:
    v: who.author

element:
  id:
    v: Basic
  path:
    v: Basic
element:
  id:
    v: Basic.extension
  path:
    v: Basic.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
element:
  id:
    v: Basic.extension:url
  path:
    v: Basic.extension
  slice name:
    v: url
  short:
    v: R5: Canonical identifier for this test plan, represented as a URI (globally unique) (new)
  definition:
    v: R5: `TestPlan.url` (new:uri)
  comment:
    v: Element `TestPlan.url` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.url` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version. The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in [Technical and Business Versions](https://hl7.org/fhir/resource..html#versions). In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the [meta.source](https://hl7.org/fhir/resou.html#meta) element to indicate where the current master source of the resource can be found.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.url|0.1.0
      l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.url
element:
  id:
    v: Basic.extension:version
  path:
    v: Basic.extension
  slice name:
    v: version
  short:
    v: R5: Business version of the test plan (new)
  definition:
    v: R5: `TestPlan.version` (new:string)
  comment:
    v: Element `TestPlan.version` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.version` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). There may be different test plan instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the test plan with the format [url]|[version]. The version SHOULD NOT contain a '#' - see [Business Version](https://hl7.org/fhir/resource.h.html#bv-format).
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.version|0.1.0
      l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.version
element:
  id:
    v: Basic.extension:versionAlgorithm
  path:
    v: Basic.extension
  slice name:
    v: versionAlgorithm
  short:
    v: R5: How to compare versions (new)
  definition:
    v: R5: `TestPlan.versionAlgorithm[x]` (new:Coding, string)
  comment:
    v: Element `TestPlan.versionAlgorithm[x]` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.versionAlgorithm[x]` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.versionAlgorithm|0.1.0
      l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.versionAlgorithm
element:
  id:
    v: Basic.extension:name
  path:
    v: Basic.extension
  slice name:
    v: name
  short:
    v: R5: Name for this test plan (computer friendly) (new)
  definition:
    v: R5: `TestPlan.name` (new:string)
  comment:
    v: Element `TestPlan.name` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.name` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.name|0.1.0
      l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.name
element:
  id:
    v: Basic.extension:title
  path:
    v: Basic.extension
  slice name:
    v: title
  short:
    v: R5: Name for this test plan (human friendly) (new)
  definition:
    v: R5: `TestPlan.title` (new:string)
  comment:
    v: Element `TestPlan.title` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.title` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.title|0.1.0
      l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.title
element:
  id:
    v: Basic.extension:experimental
  path:
    v: Basic.extension
  slice name:
    v: experimental
  short:
    v: R5: For testing purposes, not real usage (new)
  definition:
    v: R5: `TestPlan.experimental` (new:boolean)
  comment:
    v: Element `TestPlan.experimental` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.experimental` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Allows filtering of test plans that are appropriate for use versus not.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: DomainResource.extension
    min:
      v: 0
    max:
      v: *

code:
  v: Extension
  l: Extension
profile:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.experimental|0.1.0
  l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.experimental

id:
  v: Basic.extension:date
path:
  v: Basic.extension
slice name:
  v: date
short:
  v: R5: Date last changed (new)
definition:
  v: R5: `TestPlan.date` (new:dateTime)
comment:
  v: Element `TestPlan.date` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.date` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). The date is often not tracked until the resource is published, but may be present on draft content. Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the test plan. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource. See guidance around (not) making local changes to elements [here](https://hl7.org/fhir/canonicalreso.html#localization).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.date|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.date

id:
  v: Basic.extension:publisher
path:
  v: Basic.extension
slice name:
  v: publisher
short:
  v: R5: Name of the publisher/steward (organization or individual) (new)
definition:
  v: R5: `TestPlan.publisher` (new:string)
comment:
  v: Element `TestPlan.publisher` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.publisher` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Usually an organization but may be an individual. The publisher (or steward) of the test plan is the organization or individual primarily responsible for the maintenance and upkeep of the test plan. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the test plan. This item SHOULD be populated unless the information is available from context.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.publisher|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.publisher

id:
  v: Basic.extension:contact
path:
  v: Basic.extension
slice name:
  v: contact
short:
  v: R5: Contact details for the publisher (new)
definition:
  v: R5: `TestPlan.contact` (new:ContactDetail)
comment:
  v: Element `TestPlan.contact` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.contact` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). May be a web site, an email address, a telephone number, etc. See guidance around (not) making local changes to elements [here](https://hl7.org/fhir/canonicalreso.html#localization).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.contact|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.contact

id:
  v: Basic.extension:description
path:
  v: Basic.extension
slice name:
  v: description
short:
  v: R5: Natural language description of the test plan (new)
definition:
  v: R5: `TestPlan.description` (new:markdown)
comment:
  v: Element `TestPlan.description` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.description` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the test plan as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the test plan is presumed to be the predominant language in the place the test plan was created).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.description|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.description

id:
  v: Basic.extension:useContext
path:
  v: Basic.extension
slice name:
  v: useContext
short:
  v: R5: The context that the content is intended to support (new)
definition:
  v: R5: `TestPlan.useContext` (new:UsageContext)
comment:
  v: Element `TestPlan.useContext` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.useContext` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.useContext|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.useContext

id:
  v: Basic.extension:jurisdiction
path:
  v: Basic.extension
slice name:
  v: jurisdiction
short:
  v: R5: Intended jurisdiction where the test plan applies (if applicable) (new)
definition:
  v: R5: `TestPlan.jurisdiction` (new:CodeableConcept)
comment:
  v: Element `TestPlan.jurisdiction` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.jurisdiction` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Element `TestPlan.jurisdiction` has been flagged as deprecated. It may be possible for the test plan to be used in jurisdictions other than those for which it was originally designed or intended. DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element. (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.jurisdiction|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.jurisdiction

id:
  v: Basic.extension:purpose
path:
  v: Basic.extension
slice name:
  v: purpose
short:
  v: R5: Why this test plan is defined (new)
definition:
  v: R5: `TestPlan.purpose` (new:markdown)
comment:
  v: Element `TestPlan.purpose` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.purpose` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). This element does not describe the usage of the test plan Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this test plan.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.purpose|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.purpose

id:
  v: Basic.extension:copyright
path:
  v: Basic.extension
slice name:
  v: copyright
short:
  v: R5: Use and/or publishing restrictions (new)
definition:
  v: R5: `TestPlan.copyright` (new:markdown)
comment:
  v: Element `TestPlan.copyright` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.copyright` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.copyright|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.copyright

id:
  v: Basic.extension:copyrightLabel
path:
  v: Basic.extension
slice name:
  v: copyrightLabel
short:
  v: R5: Copyright holder and year(s) (new)
definition:
  v: R5: `TestPlan.copyrightLabel` (new:string)
comment:
  v: Element `TestPlan.copyrightLabel` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.copyrightLabel` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.copyrightLabel|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.copyrightLabel

id:
  v: Basic.extension:category
path:
  v: Basic.extension
slice name:
  v: category
short:
  v: R5: The category of the Test Plan - can be acceptance, unit, performance (new)
definition:
  v: R5: `TestPlan.category` (new:CodeableConcept)
comment:
  v: Element `TestPlan.category` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.category` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.category|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.category

id:
  v: Basic.extension:scope
path:
  v: Basic.extension
slice name:
  v: scope
short:
  v: R5: What is being tested with this Test Plan - a conformance resource, or narrative criteria, or an external reference (new)
definition:
  v: R5: `TestPlan.scope` (new:Reference)
comment:
  v: Element `TestPlan.scope` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.scope` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.scope|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.scope

id:
  v: Basic.extension:testTools
path:
  v: Basic.extension
slice name:
  v: testTools
short:
  v: R5: A description of test tools to be used in the test plan - narrative for now (new)
definition:
  v: R5: `TestPlan.testTools` (new:markdown)
comment:
  v: Element `TestPlan.testTools` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.testTools` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testTools|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testTools

id:
  v: Basic.extension:dependency
path:
  v: Basic.extension
slice name:
  v: dependency
short:
  v: R5: The required criteria to execute the test plan - e.g. preconditions, previous tests (new)
definition:
  v: R5: `TestPlan.dependency` (new:BackboneElement)
comment:
  v: Element `TestPlan.dependency` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.dependency` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.dependency

id:
  v: Basic.extension:exitCriteria
path:
  v: Basic.extension
slice name:
  v: exitCriteria
short:
  v: R5: The threshold or criteria for the test plan to be considered successfully executed - narrative (new)
definition:
  v: R5: `TestPlan.exitCriteria` (new:markdown)
comment:
  v: Element `TestPlan.exitCriteria` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.exitCriteria` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.exitCriteria|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.exitCriteria

id:
  v: Basic.extension:testCase
path:
  v: Basic.extension
slice name:
  v: testCase
short:
  v: R5: The test cases that constitute this plan (new)
definition:
  v: R5: `TestPlan.testCase` (new:BackboneElement)
comment:
  v: Element `TestPlan.testCase` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.testCase` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.testCase

id:
  v: Basic.modifierExtension
path:
  v: Basic.modifierExtension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 0
max:
  v: *

id:
  v: Basic.modifierExtension:status
path:
  v: Basic.modifierExtension
slice name:
  v: status
short:
  v: R5: draft | active | retired | unknown (new)
definition:
  v: R5: `TestPlan.status` (new:code)
comment:
  v: Element `TestPlan.status` is not mapped to FHIR STU3, since FHIR R5 `TestPlan` is not mapped. Element `TestPlan.status` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Allows filtering of test plans that are appropriate for use versus not. See guidance around (not) making local changes to elements [here](https://hl7.org/fhir/canonicalreso.html#localization).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.status|0.1.0
    l: http://hl7.org/fhir/5.0/StructureDefinition/extension-TestPlan.status