SHCPatchAllergyIntolerance
type: StructureDefinition
node role: treeRoot
id:
  v: SHCPatchAllergyIntolerance
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition SHCPatchAllergyIntolerance Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Parameters <a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R4/conformance-rules.html#constraints" title="This element has or is affected by constraints ( shc-patch-allergy-intolerance-01, shc-patch-allergy-intolerance-02, shc-patch-allergy-intolerance-03 )">C 0..* Parameters Parameters for patching AllergyIntolerance resource elements supported in Smart Health Checks Constraints: shc-patch-allergy-intolerance-01, shc-patch-allergy-intolerance-02, shc-patch-allergy-intolerance-03 #xD; parameter SO 1..* BackboneElement Operation Parameter Obligations Actor SHALL:process SHC Host FHIR Server SHALL:populate SHC App #xD; name SO 1..1 string Name from the definition Fixed Value: operation Obligations Actor SHALL:process SHC Host FHIR Server SHALL:populate SHC App #xD; Slices for part 4..* Named part of a multi-part parameter Slice: Unordered, Open by value:name #xD; part:type SO 1..1 BackboneElement Patch operation to perform Obligations Actor SHALL:process SHC Host FHIR Server SHALL:populate SHC App #xD; name SO 1..1 string Name from the definition Fixed Value: type Obligations Actor SHALL:process SHC Host FHIR Server SHALL:populate SHC App #xD; value[x] SO 1..1 code If parameter is a data type Fixed Value: add Obligations Actor SHALL:process SHC Host FHIR Server SHALL:populate SHC App #xD; part:path SO 1..1 BackboneElement Where to perform the operation Obligations Actor SHALL:process SHC Host FHIR Server SHALL:populate SHC App #xD; name SO 1..1 string Name from the definition Fixed Value: path Obligations Actor SHALL:process SHC Host FHIR Server SHALL…
url:
  v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  l: SHCPatchAllergyIntolerance
version:
  v: 0.4.0
name:
  v: SmartHealthChecksPatchAllergyIntolerance
title:
  v: Smart Health Checks Patch AllergyIntolerance
status:
  v: draft
date:
  v: 2025-12-18T05:29:19+00:00
publisher:
  v: AEHRC CSIRO
contact:
  name:
    v: AEHRC CSIRO
  telecom:
    system:
      v: url
    value:
      v: https://confluence.csiro.au/display/PCDQFPhase2/Primary+Care+Data+Quality+Foundations+-+Phase+2
description:
  v: This profile sets the expectations for a Parameters resource when used to patch AllergyIntolerance resources within Smart Health Checks.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: AU
    display:
      v: Australia
copyright:
  v: Copyright © 2022+ Australian Government Department of Health and Aged Care - All rights reserved. This content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. See https://creativecommons.org/licenses/by-sa/4.0/.
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
    l: v2
  name:
    v: HL7 v2 Mapping
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: Parameters
  l: Parameters
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Parameters
  l: Parameters
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: Parameters
    path:
      v: Parameters
    short:
      v: Parameters for patching AllergyIntolerance resource elements supported in Smart Health Checks
    definition:
      v: This resource is a non-persisted resource used to pass information into and back from an [operation](http://hl7.org/fhir/R4/operations.html). It has no other use, and there is no RESTful endpoint associated with it.
    comment:
      v: The parameters that may be used are defined by the OperationDefinition resource.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Parameters
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: shc-patch-allergy-intolerance-01
      severity:
        v: error
      human:
        v: When the part parameter named 'path' has a value of 'AllergyIntolerance' and the part parameter named 'name' has a value of 'clinicalStatus', the part parameter named 'value' SHALL have a value from the 'Allergy Intolerance Clinical Status Minimal' value set.
      expression:
        v: parameter.where(part.where(name='path').value = 'AllergyIntolerance' and part.where(name='name').value = 'clinicalStatus').exists() implies parameter.where(part.where(name='path').value = 'AllergyIntolerance' and part.where(name='name').value = 'clinicalStatus').part.where(name='value').value.memberOf('https://smartforms.csiro.au/ig/ValueSet/AllergyIntoleranceClinicalStatusMinimal')
      source:
        v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
        l: SHCPatchAllergyIntolerance
    constraint:
      key:
        v: shc-patch-allergy-intolerance-02
      severity:
        v: error
      human:
        v: When the part parameter named 'path' has a value of 'AllergyIntolerance' and the part parameter named 'name' has a value of 'note', the part parameter named 'value' SHALL have a value of type Annotation
      expression:
        v: parameter.where(part.where(name='path').value = 'AllergyIntolerance' and part.where(name='name').value = 'note').exists() implies parameter.where(part.where(name='path').value = 'AllergyIntolerance' and part.where(name='name').value = 'note').part.where(name='value').value is Annotation
      source:
        v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
        l: SHCPatchAllergyIntolerance
    constraint:
      key:
        v: shc-patch-allergy-intolerance-03
      severity:
        v: error
      human:
        v: When the part parameter named 'path' has a value of 'AllergyIntolerance.note[0]' and the part parameter named 'name' has a value of 'text', the part parameter named 'value' SHALL have a value of type markdown
      expression:
        v: parameter.where(part.where(name='path').value = 'AllergyIntolerance.note[0]' and part.where(name='name').value = 'text').exists() implies parameter.where(part.where(name='path').value = 'AllergyIntolerance.note[0]' and part.where(name='name').value = 'text').part.where(name='value').value is markdown
      source:
        v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
        l: SHCPatchAllergyIntolerance
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: Entity. Role, or Act
    mapping:
      identity:
        v: v2
      map:
        v: n/a
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: Parameters.id
    path:
      v: Parameters.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:
      extension:
        value: Url
      code:
        v: http://hl7.org/fhirpath/System.String
        l: System.String
    is modifier:
      v: false
    is summary:
      v: true
  element:
    id:
      v: Parameters.meta
    path:
      v: Parameters.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

Url
v: id
l: id

v: 1

path:
  v: Resource.meta
min:
  v: 0
max:
  v: 1

code:
  v: Meta
  l: Meta

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())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element

v: false

v: true

id:
  v: Parameters.implicitRules
path:
  v: Parameters.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 it's 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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
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 it's meaning or interpretation
is summary:
  v: true

id:
  v: Parameters.language
path:
  v: Parameters.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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Canonical
      v: http://hl7.org/fhir/ValueSet/all-languages
      l: all-languages
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: preferred
  description:
    v: A human language.
  value set:
    v: http://hl7.org/fhir/ValueSet/languages|4.0.1
    l: http://hl7.org/fhir/ValueSet/languages

id:
  v: Parameters.parameter
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter
short:
  v: Operation Parameter
definition:
  v: A parameter passed to or received from the operation.
min:
  v: 1
max:
  v: *
base:
  path:
    v: Parameters.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
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: inv-1
  severity:
    v: error
  human:
    v: A parameter must have one and only one of (value, resource, part)
  expression:
    v: (part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))
  xpath:
    v: (exists(f:resource) or exists(f:part) or exists(f:*[starts-with(local-name(.), 'value')])) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:resource))) and not(exists(f:*[starts-with(local-name(.), 'value')])) and exists(f:part))) and not(exists(f:part) and exists(f:resource))
  source:
    v: http://hl7.org/fhir/StructureDefinition/Parameters
    l: Parameters
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.id
path:
  v: Parameters.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: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.extension
path:
  v: Parameters.parameter.extension
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 manageable, 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())
  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
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.modifierExtension
path:
  v: Parameters.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 manageable, 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://hl7.org/fhir/R4/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())
  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
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: Parameters.parameter.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.name
short:
  v: Name from the definition
definition:
  v: The name of the parameter (reference to the operation definition).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
fixed: String
  v: operation
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.value[x]
path:
  v: Parameters.parameter.value[x]
short:
  v: If parameter is a data type
definition:
  v: If the parameter is a data type.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: canonical
    l: canonical
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: url
    l: url
type:
  code:
    v: uuid
    l: uuid
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: ContactDetail
    l: ContactDetail
type:
  code:
    v: Contributor
    l: Contributor
type:
  code:
    v: DataRequirement
    l: DataRequirement
type:
  code:
    v: Expression
    l: Expression
type:
  code:
    v: ParameterDefinition
    l: ParameterDefinition
type:
  code:
    v: RelatedArtifact
    l: RelatedArtifact

code:
  v: TriggerDefinition
  l: TriggerDefinition

code:
  v: UsageContext
  l: UsageContext

code:
  v: Dosage
  l: Dosage

code:
  v: Meta
  l: Meta

v: inv-1

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())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element

v: false

v: true

id:
  v: Parameters.parameter.resource
path:
  v: Parameters.parameter.resource
short:
  v: If parameter is a whole resource
definition:
  v: If the parameter is a whole resource.
comment:
  v: When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.resource
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Resource
    l: Resource
condition:
  v: inv-1
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part
path:
  v: Parameters.parameter.part
slicing:
  discriminator:
    type:
      v: value
    path:
      v: name
  ordered:
    v: false
  rules:
    v: open
short:
  v: Named part of a multi-part parameter
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 4
max:
  v: *
base:
  path:
    v: Parameters.parameter.part
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter
  l: Parameters.parameter
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part.id
path:
  v: Parameters.parameter.part.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: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part.extension
path:
  v: Parameters.parameter.part.extension
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 manageable, 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())
  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
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part.modifierExtension
path:
  v: Parameters.parameter.part.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 manageable, 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://hl7.org/fhir/R4/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())
  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
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: Parameters.parameter.part.name
path:
  v: Parameters.parameter.part.name
short:
  v: Name from the definition
definition:
  v: The name of the parameter (reference to the operation definition).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part.value[x]
path:
  v: Parameters.parameter.part.value[x]
short:
  v: If parameter is a data type
definition:
  v: If the parameter is a data type.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: canonical
    l: canonical
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: url
    l: url
type:
  code:
    v: uuid
    l: uuid
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: ContactDetail
    l: ContactDetail
type:
  code:
    v: Contributor
    l: Contributor
type:
  code:
    v: DataRequirement
    l: DataRequirement
type:
  code:
    v: Expression
    l: Expression
type:
  code:
    v: ParameterDefinition
    l: ParameterDefinition
type:
  code:
    v: RelatedArtifact
    l: RelatedArtifact

code:
  v: TriggerDefinition
  l: TriggerDefinition

code:
  v: UsageContext
  l: UsageContext

code:
  v: Dosage
  l: Dosage

code:
  v: Meta
  l: Meta

v: inv-1

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())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  l: Element

v: false

v: true

id:
  v: Parameters.parameter.part.resource
path:
  v: Parameters.parameter.part.resource
short:
  v: If parameter is a whole resource
definition:
  v: If the parameter is a whole resource.
comment:
  v: When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.resource
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Resource
    l: Resource
condition:
  v: inv-1
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part.part
path:
  v: Parameters.parameter.part.part
short:
  v: Named part of a multi-part parameter
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Parameters.parameter.part
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter
  l: Parameters.parameter
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:type
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part
slice name:
  v: type
short:
  v: Patch operation to perform
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.part
  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
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:type.id
path:
  v: Parameters.parameter.part.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: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:type.extension
path:
  v: Parameters.parameter.part.extension
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 manageable, 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())
  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
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:type.modifierExtension
path:
  v: Parameters.parameter.part.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 manageable, 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://hl7.org/fhir/R4/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())
  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
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: Parameters.parameter.part:type.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.name
short:
  v: Name from the definition
definition:
  v: The name of the parameter (reference to the operation definition).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
fixed: String
  v: type
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:type.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
short:
  v: If parameter is a data type
definition:
  v: If the parameter is a data type.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
fixed: Code
  v: add
condition:
  v: inv-1
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:type.resource
path:
  v: Parameters.parameter.part.resource
short:
  v: If parameter is a whole resource
definition:
  v: If the parameter is a whole resource.
comment:
  v: When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.resource
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Resource
    l: Resource
condition:
  v: inv-1
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:type.part
path:
  v: Parameters.parameter.part.part
short:
  v: Named part of a multi-part parameter
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Parameters.parameter.part
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter
  l: Parameters.parameter
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:path
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part
slice name:
  v: path
short:
  v: Where to perform the operation
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.part
  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
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:path.id
path:
  v: Parameters.parameter.part.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: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:path.extension
path:
  v: Parameters.parameter.part.extension
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 manageable, 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())
  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
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:path.modifierExtension
path:
  v: Parameters.parameter.part.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 manageable, 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://hl7.org/fhir/R4/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())
  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
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: Parameters.parameter.part:path.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.name
short:
  v: Name from the definition
definition:
  v: The name of the parameter (reference to the operation definition).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
fixed: String
  v: path
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:path.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
short:
  v: If parameter is a data type
definition:
  v: If the parameter is a data type.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: inv-1
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: required
  value set:
    v: https://smartforms.csiro.au/ig/ValueSet/SHCPatchAllergyIntoleranceElementPath
    l: SHCPatchAllergyIntoleranceElementPath

id:
  v: Parameters.parameter.part:path.resource
path:
  v: Parameters.parameter.part.resource
short:
  v: If parameter is a whole resource
definition:
  v: If the parameter is a whole resource.
comment:
  v: When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.resource
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Resource
    l: Resource
condition:
  v: inv-1
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:path.part
path:
  v: Parameters.parameter.part.part
short:
  v: Named part of a multi-part parameter
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Parameters.parameter.part
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter
  l: Parameters.parameter
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:name
path:
  v: Parameters.parameter.part
slice name:
  v: name
short:
  v: Named part of a multi-part parameter
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.part
  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
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:name.id
path:
  v: Parameters.parameter.part.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: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:name.extension
path:
  v: Parameters.parameter.part.extension
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 manageable, 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())
  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
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:name.modifierExtension
path:
  v: Parameters.parameter.part.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 manageable, 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://hl7.org/fhir/R4/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())
  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
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: Parameters.parameter.part:name.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.name
short:
  v: Name from the definition
definition:
  v: The name of the parameter (reference to the operation definition).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
fixed: String
  v: name
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:name.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
short:
  v: If parameter is a data type
definition:
  v: If the parameter is a data type.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: inv-1
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: required
  value set:
    v: https://smartforms.csiro.au/ig/ValueSet/SHCPatchAllergyIntoleranceElementName
    l: SHCPatchAllergyIntoleranceElementName

id:
  v: Parameters.parameter.part:name.resource
path:
  v: Parameters.parameter.part.resource
short:
  v: If parameter is a whole resource
definition:
  v: If the parameter is a whole resource.
comment:
  v: When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.resource
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Resource
    l: Resource
condition:
  v: inv-1
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:name.part
path:
  v: Parameters.parameter.part.part
short:
  v: Named part of a multi-part parameter
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Parameters.parameter.part
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter
  l: Parameters.parameter
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:value
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part
slice name:
  v: value
short:
  v: Replacement value
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.part
  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
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:value.id
path:
  v: Parameters.parameter.part.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: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:value.extension
path:
  v: Parameters.parameter.part.extension
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 manageable, 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())
  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
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:value.modifierExtension
path:
  v: Parameters.parameter.part.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 manageable, 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://hl7.org/fhir/R4/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())
  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
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: Parameters.parameter.part:value.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.name
short:
  v: Name from the definition
definition:
  v: The name of the parameter (reference to the operation definition).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
fixed: String
  v: value
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:value.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: closed
short:
  v: If parameter is a data type
definition:
  v: If the parameter is a data type.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
condition:
  v: inv-1
condition:
  v: shc-patch-allergy-intolerance-01
condition:
  v: shc-patch-allergy-intolerance-02
condition:
  v: shc-patch-allergy-intolerance-03
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:value.value[x]:valueCodeableConcept
path:
  v: Parameters.parameter.part.value[x]
slice name:
  v: valueCodeableConcept
short:
  v: If parameter is a data type
definition:
  v: If the parameter is a data type.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
condition:
  v: inv-1
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: required
  value set:
    v: https://smartforms.csiro.au/ig/ValueSet/AllergyIntoleranceClinicalStatusMinimal
    l: AllergyIntoleranceClinicalStatusMinimal

id:
  v: Parameters.parameter.part:value.value[x]:valueMarkdown
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
slice name:
  v: valueMarkdown
short:
  v: If parameter is a data type
definition:
  v: If the parameter is a data type.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown
condition:
  v: inv-1
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:value.value[x]:valueAnnotation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
slice name:
  v: valueAnnotation
short:
  v: If parameter is a data type
definition:
  v: If the parameter is a data type.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Annotation
    l: Annotation
condition:
  v: inv-1
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:value.value[x]:valueAnnotation.id
path:
  v: Parameters.parameter.part.value[x].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: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:value.value[x]:valueAnnotation.extension
path:
  v: Parameters.parameter.part.value[x].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 manageable, 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())
  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
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:value.value[x]:valueAnnotation.author[x]
path:
  v: Parameters.parameter.part.value[x].author[x]
short:
  v: Individual responsible for the annotation
definition:
  v: The individual responsible for making the annotation.
comment:
  v: Organization is used when there's no need for specific attribution as to who made the comment.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Annotation.author[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/RelatedPerson
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Organization
type:
  code:
    v: string
    l: string
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: Act.participant[typeCode=AUT].role

id:
  v: Parameters.parameter.part:value.value[x]:valueAnnotation.time
path:
  v: Parameters.parameter.part.value[x].time
short:
  v: When the annotation was made
definition:
  v: Indicates when this particular annotation was made.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Annotation.time
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: Act.effectiveTime

id:
  v: Parameters.parameter.part:value.value[x]:valueAnnotation.text
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x].text
short:
  v: The annotation - text content (as markdown)
definition:
  v: The text of the annotation in markdown format.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Annotation.text
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: markdown
    l: markdown
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: v2
  map:
    v: N/A
mapping:
  identity:
    v: rim
  map:
    v: Act.text

id:
  v: Parameters.parameter.part:value.resource
path:
  v: Parameters.parameter.part.resource
short:
  v: If parameter is a whole resource
definition:
  v: If the parameter is a whole resource.
comment:
  v: When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.resource
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Resource
    l: Resource
condition:
  v: inv-1
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:value.part
path:
  v: Parameters.parameter.part.part
short:
  v: Named part of a multi-part parameter
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Parameters.parameter.part
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter
  l: Parameters.parameter
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:pathLabel
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part
slice name:
  v: pathLabel
short:
  v: Human readable representation of the path. Typically this is the relevant item text from the Questionnaire.
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.part
  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
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:pathLabel.id
path:
  v: Parameters.parameter.part.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: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:pathLabel.extension
path:
  v: Parameters.parameter.part.extension
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 manageable, 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())
  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
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Parameters.parameter.part:pathLabel.modifierExtension
path:
  v: Parameters.parameter.part.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 manageable, 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://hl7.org/fhir/R4/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())
  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
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: Parameters.parameter.part:pathLabel.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.name
short:
  v: Name from the definition
definition:
  v: The name of the parameter (reference to the operation definition).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.name
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string
    l: string
fixed: String
  v: pathLabel
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:pathLabel.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance|0.4.0
      l: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
short:
  v: If parameter is a data type
definition:
  v: If the parameter is a data type.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Parameters.parameter.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
condition:
  v: inv-1
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: true
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:pathLabel.resource
path:
  v: Parameters.parameter.part.resource
short:
  v: If parameter is a whole resource
definition:
  v: If the parameter is a whole resource.
comment:
  v: When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Parameters.parameter.resource
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Resource
    l: Resource
condition:
  v: inv-1
is modifier:
  v: false
is summary:
  v: true

id:
  v: Parameters.parameter.part:pathLabel.part
path:
  v: Parameters.parameter.part.part
short:
  v: Named part of a multi-part parameter
definition:
  v: A named part of a multi-part parameter.
comment:
  v: Only one level of nested parameters is allowed.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Parameters.parameter.part
  min:
    v: 0
  max:
    v: *
content reference:
  v: http://hl7.org/fhir/StructureDefinition/Parameters#Parameters.parameter
  l: Parameters.parameter
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

element:
  id:
    v: Parameters
  path:
    v: Parameters
  short:
    v: Parameters for patching AllergyIntolerance resource elements supported in Smart Health Checks
  constraint:
    key:
      v: shc-patch-allergy-intolerance-01
    severity:
      v: error
    human:
      v: When the part parameter named 'path' has a value of 'AllergyIntolerance' and the part parameter named 'name' has a value of 'clinicalStatus', the part parameter named 'value' SHALL have a value from the 'Allergy Intolerance Clinical Status Minimal' value set.
    expression:
      v: parameter.where(part.where(name='path').value = 'AllergyIntolerance' and part.where(name='name').value = 'clinicalStatus').exists() implies parameter.where(part.where(name='path').value = 'AllergyIntolerance' and part.where(name='name').value = 'clinicalStatus').part.where(name='value').value.memberOf('https://smartforms.csiro.au/ig/ValueSet/AllergyIntoleranceClinicalStatusMinimal')
    source:
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
      l: SHCPatchAllergyIntolerance
  constraint:
    key:
      v: shc-patch-allergy-intolerance-02
    severity:
      v: error
    human:
      v: When the part parameter named 'path' has a value of 'AllergyIntolerance' and the part parameter named 'name' has a value of 'note', the part parameter named 'value' SHALL have a value of type Annotation
    expression:
      v: parameter.where(part.where(name='path').value = 'AllergyIntolerance' and part.where(name='name').value = 'note').exists() implies parameter.where(part.where(name='path').value = 'AllergyIntolerance' and part.where(name='name').value = 'note').part.where(name='value').value is Annotation
    source:
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
      l: SHCPatchAllergyIntolerance
  constraint:
    key:
      v: shc-patch-allergy-intolerance-03
    severity:
      v: error
    human:
      v: When the part parameter named 'path' has a value of 'AllergyIntolerance.note[0]' and the part parameter named 'name' has a value of 'text', the part parameter named 'value' SHALL have a value of type markdown
    expression:
      v: parameter.where(part.where(name='path').value = 'AllergyIntolerance.note[0]' and part.where(name='name').value = 'text').exists() implies parameter.where(part.where(name='path').value = 'AllergyIntolerance.note[0]' and part.where(name='name').value = 'text').part.where(name='value').value is markdown
    source:
      v: https://smartforms.csiro.au/ig/StructureDefinition/SHCPatchAllergyIntolerance
      l: SHCPatchAllergyIntolerance
element:
  id:
    v: Parameters.parameter
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:process
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
        l: SHCHostFHIRServer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
        l: SHCApp
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: Parameters.parameter
  min:
    v: 1
  must support:
    v: true
element:
  id:
    v: Parameters.parameter.name
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:process
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
        l: SHCHostFHIRServer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
        l: SHCApp
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: Parameters.parameter.name
  fixed: String
    v: operation
  must support:
    v: true
element:
  id:
    v: Parameters.parameter.part
  path:
    v: Parameters.parameter.part
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: name
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 4
element:
  id:
    v: Parameters.parameter.part:type
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:process
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
        l: SHCHostFHIRServer
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
        l: SHCApp
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: Parameters.parameter.part
  slice name:
    v: type
  short:
    v: Patch operation to perform
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  must support:
    v: true
element:
  id:
    v: Parameters.parameter.part:type.name
  fixed: String

extension:
  url:
    v: code
    l: code
  value: Code
    v: SHALL:process
extension:
  url:
    v: actor
    l: actor
  value: Canonical
    v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
    l: SHCHostFHIRServer
url:
  v: http://hl7.org/fhir/StructureDefinition/obligation
  l: obligation

extension:
  url:
    v: code
    l: code
  value: Code
    v: SHALL:populate
extension:
  url:
    v: actor
    l: actor
  value: Canonical
    v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
    l: SHCApp
url:
  v: http://hl7.org/fhir/StructureDefinition/obligation
  l: obligation

v: Parameters.parameter.part.name

String
v: type

v: true

id:
  v: Parameters.parameter.part:type.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
min:
  v: 1
type:
  code:
    v: code
    l: code
fixed: Code
  v: add
must support:
  v: true

id:
  v: Parameters.parameter.part:path
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part
slice name:
  v: path
short:
  v: Where to perform the operation
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
must support:
  v: true

id:
  v: Parameters.parameter.part:path.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.name
fixed: String
  v: path
must support:
  v: true

id:
  v: Parameters.parameter.part:path.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
min:
  v: 1
type:
  code:
    v: string
    l: string
must support:
  v: true
binding:
  strength:
    v: required
  value set:
    v: https://smartforms.csiro.au/ig/ValueSet/SHCPatchAllergyIntoleranceElementPath
    l: SHCPatchAllergyIntoleranceElementPath

id:
  v: Parameters.parameter.part:name
path:
  v: Parameters.parameter.part
slice name:
  v: name
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: Parameters.parameter.part:name.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.name
fixed: String
  v: name
must support:
  v: true

id:
  v: Parameters.parameter.part:name.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
min:
  v: 1
type:
  code:
    v: string
    l: string
must support:
  v: true
binding:
  strength:
    v: required
  value set:
    v: https://smartforms.csiro.au/ig/ValueSet/SHCPatchAllergyIntoleranceElementName
    l: SHCPatchAllergyIntoleranceElementName

id:
  v: Parameters.parameter.part:value
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part
slice name:
  v: value
short:
  v: Replacement value
min:
  v: 1
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
must support:
  v: true

id:
  v: Parameters.parameter.part:value.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.name
fixed: String
  v: value
must support:
  v: true

id:
  v: Parameters.parameter.part:value.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open
min:
  v: 1
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
condition:
  v: shc-patch-allergy-intolerance-01
condition:
  v: shc-patch-allergy-intolerance-02
condition:
  v: shc-patch-allergy-intolerance-03
must support:
  v: true

id:
  v: Parameters.parameter.part:value.value[x]:valueCodeableConcept
path:
  v: Parameters.parameter.part.value[x]
slice name:
  v: valueCodeableConcept
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
must support:
  v: true
binding:
  strength:
    v: required
  value set:
    v: https://smartforms.csiro.au/ig/ValueSet/AllergyIntoleranceClinicalStatusMinimal
    l: AllergyIntoleranceClinicalStatusMinimal

id:
  v: Parameters.parameter.part:value.value[x]:valueMarkdown
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
slice name:
  v: valueMarkdown
min:
  v: 0
max:
  v: 1
type:
  code:
    v: markdown
    l: markdown
must support:
  v: true

id:
  v: Parameters.parameter.part:value.value[x]:valueAnnotation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
slice name:
  v: valueAnnotation
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Annotation
    l: Annotation
must support:
  v: true

id:
  v: Parameters.parameter.part:value.value[x]:valueAnnotation.text
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCHostFHIRServer
      l: SHCHostFHIRServer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate-if-known
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x].text
must support:
  v: true

id:
  v: Parameters.parameter.part:pathLabel
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part
slice name:
  v: pathLabel
short:
  v: Human readable representation of the path. Typically this is the relevant item text from the Questionnaire.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
must support:
  v: true

id:
  v: Parameters.parameter.part:pathLabel.name
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.name
fixed: String
  v: pathLabel
must support:
  v: true

id:
  v: Parameters.parameter.part:pathLabel.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://smartforms.csiro.au/ig/ActorDefinition/SHCApp
      l: SHCApp
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: Parameters.parameter.part.value[x]
min:
  v: 1
type:
  code:
    v: string
    l: string
must support:
  v: true