ActivityDefinition5to4
type: StructureMap
node role: treeRoot
id:
  v: ActivityDefinition5to4
text:
  status:
    v: generated
  div: /// url = 'http://hl7.org/fhir/StructureMap/ActivityDefinition5to4' /// name = 'ActivityDefinition5to4' /// title = 'ActivityDefinition Transforms: R5 to R4' /// status = 'active' uses "http://hl7.org/fhir/5.0/ActivityDefinition" alias ActivityDefinitionR5 as source uses "http://hl7.org/fhir/4.0/ActivityDefinition" alias ActivityDefinitionR4 as target imports "http://hl7.org/fhir/StructureMap/*5to4" group ActivityDefinition(source src : ActivityDefinitionR5, target tgt : ActivityDefinitionR4) extends DomainResource <<type+>> { src.url -> tgt.url; src.identifier -> tgt.identifier; src.version -> tgt.version; src.name -> tgt.name; src.title -> tgt.title; src.subtitle -> tgt.subtitle; src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/ActivityDefinition.status-R5toR4', 'code'); src.experimental -> tgt.experimental; src.subject as s where code = 'Patient' -> tgt.subject = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/resource-types', tcc.code = 'Patient', tcc.display = 'Patient'; src.subject as s where code = 'Practitioner' -> tgt.subject = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/resource-types', tcc.code = 'Patient', tcc.display = 'Practitioner'; src.subject as s where code = 'Organization' -> tgt.subject = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/resource-types', tcc.code = 'Patient', tcc.display = 'Organization'; src.subject as s where code = 'Location' -> tgt.subject = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/resource-types', tcc.code = 'Patient', tcc.display = 'Location'; src.subject as s where code = 'Device' -> tgt.subject = create('CodeableConcept') as tc, tc.coding = create('Coding') as tcc, tcc.system = 'http://hl7.org/fhir/resource-types', tcc.code = 'Patient', tcc.display = 'Device'; src.s…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
  value:
    v: fhir
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
  value:
    v: 1
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      value:
        v: http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver
        link: http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
  value:
    v: draft
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
      value:
        v: http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver
        link: http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver
url:
  v: http://hl7.org/fhir/StructureMap/ActivityDefinition5to4
version:
  v: 0.1.0
name:
  v: ActivityDefinition5to4
title:
  v: ActivityDefinition Transforms: R5 to R4
status:
  v: active
date:
  v: 2024-02-22T03:16:50+00:00
publisher:
  v: HL7 International / FHIR Infrastructure
contact:
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: ActivityDefinitionTransformsR5toR4
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
structure:
  url:
    v: http://hl7.org/fhir/5.0/ActivityDefinition
    link: http://hl7.org/fhir/5.0/ActivityDefinition
  mode:
    v: source
  alias:
    v: ActivityDefinitionR5
structure:
  url:
    v: http://hl7.org/fhir/4.0/ActivityDefinition
    link: http://hl7.org/fhir/4.0/ActivityDefinition
  mode:
    v: target
  alias:
    v: ActivityDefinitionR4
import:
  v: http://hl7.org/fhir/StructureMap/*5to4
  link: http://hl7.org/fhir/StructureMap/*5to4
group:
  name:
    v: ActivityDefinition
  extends:
    v: DomainResource
  type mode:
    v: type-and-types
  input:
    name:
      v: src
    type:
      v: ActivityDefinitionR5
    mode:
      v: source
  input:
    name:
      v: tgt
    type:
      v: ActivityDefinitionR4
    mode:
      v: target
  rule:
    name:
      v: url
    source:
      context:
        v: src
      element:
        v: url
      variable:
        v: vvv
    target:
      context:
        v: tgt
      element:
        v: url
      variable:
        v: vvv
      transform:
        v: create
    dependent:
      name:
        v: DefaultMappingGroupAnonymousAlias
  rule:
    name:
      v: identifier
    source:
      context:
        v: src
      element:
        v: identifier
      variable:
        v: vvv
    target:
      context:
        v: tgt
      element:
        v: identifier
      variable:
        v: vvv
      transform:
        v: create
    dependent:
      name:
        v: DefaultMappingGroupAnonymousAlias
  rule:
    name:
      v: version
    source:
      context:
        v: src
      element:
        v: version
      variable:
        v: vvv
    target:
      context:
        v: tgt
      element:
        v: version
      variable:
        v: vvv
      transform:
        v: create
    dependent:
      name:
        v: DefaultMappingGroupAnonymousAlias
  rule:
    name:
      v: name
    source:
      context:
        v: src
      element:
        v: name
      variable:
        v: vvv
    target:
      context:
        v: tgt
      element:
        v: name
      variable:
        v: vvv
      transform:
        v: create
    dependent:
      name:
        v: DefaultMappingGroupAnonymousAlias
  rule:
    name:
      v: title
    source:
      context:
        v: src
      element:
        v: title
      variable:
        v: vvv
    target:
      context:
        v: tgt

v: vvv

v: vvv

v: vvv

v: vvv

v: vvv

v: vvv

v: vvv

v: vvv

v: title

v: vvv

v: create

name:
  v: DefaultMappingGroupAnonymousAlias
parameter:
  value:
    v: vvv
parameter:
  value:
    v: vvv

name:
  v: subtitle
source:
  context:
    v: src
  element:
    v: subtitle
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: subtitle
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: status
source:
  context:
    v: src
  element:
    v: status
  variable:
    v: v
target:
  context:
    v: tgt
  element:
    v: status
  transform:
    v: translate
  parameter:
    value:
      v: v
  parameter:
    value:
      v: http://hl7.org/fhir/ConceptMap/ActivityDefinition.status-R5toR4
  parameter:
    value:
      v: code

name:
  v: experimental
source:
  context:
    v: src
  element:
    v: experimental
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: experimental
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: subject
source:
  context:
    v: src
  element:
    v: subject
  variable:
    v: s
  condition:
    v: code = 'Patient'
target:
  context:
    v: tgt
  element:
    v: subject
  variable:
    v: tc
  transform:
    v: create
  parameter:
    value:
      v: CodeableConcept
target:
  context:
    v: tc
  element:
    v: coding
  variable:
    v: tcc
  transform:
    v: create
  parameter:
    value:
      v: Coding
target:
  context:
    v: tcc
  element:
    v: system
  transform:
    v: copy
  parameter:
    value:
      v: http://hl7.org/fhir/resource-types
target:
  context:
    v: tcc
  element:
    v: code
  transform:
    v: copy
  parameter:
    value:
      v: Patient
target:
  context:
    v: tcc
  element:
    v: display
  transform:
    v: copy
  parameter:
    value:
      v: Patient

name:
  v: subject
source:
  context:
    v: src
  element:
    v: subject
  variable:
    v: s
  condition:
    v: code = 'Practitioner'
target:
  context:
    v: tgt
  element:
    v: subject
  variable:
    v: tc
  transform:
    v: create
  parameter:
    value:
      v: CodeableConcept
target:
  context:
    v: tc
  element:
    v: coding
  variable:
    v: tcc
  transform:
    v: create
  parameter:
    value:
      v: Coding
target:
  context:
    v: tcc
  element:
    v: system
  transform:
    v: copy
  parameter:
    value:
      v: http://hl7.org/fhir/resource-types
target:
  context:
    v: tcc
  element:
    v: code
  transform:
    v: copy
  parameter:
    value:
      v: Patient
target:
  context:
    v: tcc
  element:
    v: display
  transform:
    v: copy
  parameter:
    value:
      v: Practitioner

name:
  v: subject
source:
  context:
    v: src
  element:
    v: subject
  variable:
    v: s
  condition:
    v: code = 'Organization'
target:
  context:
    v: tgt
  element:
    v: subject
  variable:
    v: tc
  transform:
    v: create
  parameter:
    value:
      v: CodeableConcept
target:
  context:
    v: tc
  element:
    v: coding
  variable:
    v: tcc
  transform:
    v: create
  parameter:
    value:
      v: Coding
target:
  context:
    v: tcc
  element:
    v: system
  transform:
    v: copy
  parameter:
    value:
      v: http://hl7.org/fhir/resource-types
target:
  context:
    v: tcc
  element:
    v: code
  transform:
    v: copy
  parameter:
    value:
      v: Patient
target:
  context:
    v: tcc
  element:
    v: display
  transform:
    v: copy
  parameter:
    value:
      v: Organization

name:
  v: subject
source:
  context:
    v: src
  element:
    v: subject
  variable:
    v: s
  condition:
    v: code = 'Location'
target:
  context:
    v: tgt
  element:
    v: subject
  variable:
    v: tc
  transform:
    v: create
  parameter:
    value:
      v: CodeableConcept
target:
  context:
    v: tc
  element:
    v: coding
  variable:
    v: tcc
  transform:
    v: create
  parameter:
    value:
      v: Coding
target:
  context:
    v: tcc
  element:
    v: system
  transform:
    v: copy
  parameter:
    value:
      v: http://hl7.org/fhir/resource-types
target:
  context:
    v: tcc
  element:
    v: code
  transform:
    v: copy
  parameter:
    value:
      v: Patient
target:
  context:
    v: tcc
  element:
    v: display
  transform:
    v: copy
  parameter:
    value:
      v: Location

name:
  v: subject
source:
  context:
    v: src
  element:
    v: subject
  variable:
    v: s
  condition:
    v: code = 'Device'
target:
  context:
    v: tgt
  element:
    v: subject
  variable:
    v: tc
  transform:
    v: create
  parameter:
    value:
      v: CodeableConcept
target:
  context:
    v: tc
  element:
    v: coding
  variable:
    v: tcc
  transform:
    v: create
  parameter:
    value:
      v: Coding
target:
  context:
    v: tcc
  element:
    v: system
  transform:
    v: copy
  parameter:
    value:
      v: http://hl7.org/fhir/resource-types
target:
  context:
    v: tcc
  element:
    v: code
  transform:
    v: copy
  parameter:
    value:
      v: Patient
target:
  context:
    v: tcc
  element:
    v: display
  transform:
    v: copy
  parameter:
    value:
      v: Device

name:
  v: subjectReference
source:
  context:
    v: src
  type:
    v: Reference
  element:
    v: subject
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: subject
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: subjectCanonical
source:
  context:
    v: src
  type:
    v: canonical
  element:
    v: subject
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: subject
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: date
source:
  context:
    v: src
  element:
    v: date
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: date
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: publisher
source:
  context:
    v: src
  element:
    v: publisher
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: publisher
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: contact
source:
  context:
    v: src
  element:
    v: contact
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: contact
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: description
source:
  context:
    v: src
  element:
    v: description
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: description
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: useContext
source:
  context:
    v: src
  element:
    v: useContext
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: useContext
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: jurisdiction
source:
  context:
    v: src
  element:
    v: jurisdiction
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: jurisdiction
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: purpose
source:
  context:
    v: src
  element:
    v: purpose
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: purpose
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: usage
source:
  context:
    v: src
  element:
    v: usage
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: usage
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: copyright
source:
  context:
    v: src
  element:
    v: copyright
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: copyright
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: approvalDate
source:
  context:
    v: src
  element:
    v: approvalDate
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: approvalDate
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: lastReviewDate
source:
  context:
    v: src
  element:
    v: lastReviewDate
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: lastReviewDate
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: effectivePeriod
source:
  context:
    v: src
  element:
    v: effectivePeriod
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: effectivePeriod
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: topic
source:
  context:
    v: src
  element:
    v: topic
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: topic
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: author
source:
  context:
    v: src
  element:
    v: author
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: author
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: editor
source:
  context:
    v: src
  element:
    v: editor
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: editor
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: reviewer
source:
  context:
    v: src
  element:
    v: reviewer
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: reviewer
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: endorser
source:
  context:
    v: src
  element:
    v: endorser
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: endorser
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: relatedArtifact
source:
  context:
    v: src
  element:
    v: relatedArtifact
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: relatedArtifact
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: library
source:
  context:
    v: src
  element:
    v: library
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: library
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: kind
source:
  context:
    v: src
  element:
    v: kind
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: kind
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: profile
source:
  context:
    v: src
  element:
    v: profile
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: profile
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: code
source:
  context:
    v: src
  element:
    v: code
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: code
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: intent
source:
  context:
    v: src
  element:
    v: intent
  variable:
    v: v
target:
  context:
    v: tgt
  element:
    v: intent
  transform:
    v: translate
  parameter:
    value:
      v: v
  parameter:
    value:
      v: http://hl7.org/fhir/ConceptMap/ActivityDefinition.intent-R5toR4
  parameter:
    value:
      v: code

name:
  v: priority
source:
  context:
    v: src
  element:
    v: priority
  variable:
    v: v
target:
  context:
    v: tgt
  element:
    v: priority
  transform:
    v: translate
  parameter:
    value:
      v: v
  parameter:
    value:
      v: http://hl7.org/fhir/ConceptMap/ActivityDefinition.priority-R5toR4
  parameter:
    value:
      v: code

name:
  v: doNotPerform
source:
  context:
    v: src
  element:
    v: doNotPerform
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: doNotPerform
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: timingTiming
source:
  context:
    v: src
  type:
    v: Timing
  element:
    v: timing
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: timing
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: timingAge
source:
  context:
    v: src
  type:
    v: Age
  element:
    v: timing
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: timing
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: timingRange
source:
  context:
    v: src
  type:
    v: Range
  element:
    v: timing
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: timing
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: timingDuration
source:
  context:
    v: src
  type:
    v: Duration
  element:
    v: timing
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: timing
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: location
source:
  context:
    v: src
  element:
    v: location
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: location
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: participant
source:
  context:
    v: src
  element:
    v: participant
  variable:
    v: s
target:
  context:
    v: tgt
  element:
    v: participant
  variable:
    v: t
dependent:
  name:
    v: ActivityDefinitionParticipant
  parameter:
    value:
      v: s
  parameter:
    value:
      v: t

name:
  v: productReference
source:
  context:
    v: src
  type:
    v: Reference
  element:
    v: product
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: product
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: productCodeableConcept
source:
  context:
    v: src
  type:
    v: CodeableConcept
  element:
    v: product
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: product
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: quantity
source:
  context:
    v: src
  element:
    v: quantity
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: quantity
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: dosage
source:
  context:
    v: src
  element:
    v: dosage
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: dosage
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: bodySite
source:
  context:
    v: src
  element:
    v: bodySite
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: bodySite
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: specimenRequirement
source:
  context:
    v: src
  element:
    v: specimenRequirement
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: specimenRequirement
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: observationRequirement
source:
  context:
    v: src
  element:
    v: observationRequirement
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: observationRequirement
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: observationResultRequirement
source:
  context:
    v: src
  element:
    v: observationResultRequirement
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: observationResultRequirement
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: transform
source:
  context:
    v: src
  element:
    v: transform
  variable:
    v: vvv
target:
  context:
    v: tgt
  element:
    v: transform
  variable:
    v: vvv
  transform:
    v: create
dependent:
  name:
    v: DefaultMappingGroupAnonymousAlias
  parameter:
    value:
      v: vvv
  parameter:
    value:
      v: vvv

name:
  v: dynamicValue
source:
  context:
    v: src
  element:
    v: dynamicValue
  variable:
    v: s
target:
  context:
    v: tgt
  element:
    v: dynamicValue
  variable:
    v: t
dependent:
  name:
    v: ActivityDefinitionDynamicValue
  parameter:
    value:
      v: s
  parameter:
    value:
      v: t

name:
  v: ActivityDefinitionParticipant
extends:
  v: BackboneElement
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: type
  source:
    context:
      v: src
    element:
      v: type
    variable:
      v: v
  target:
    context:
      v: tgt
    element:
      v: type
    transform:
      v: translate
    parameter:
      value:
        v: v
    parameter:
      value:
        v: http://hl7.org/fhir/ConceptMap/ActivityDefinition.participant.type-R5toR4
    parameter:
      value:
        v: code
rule:
  name:
    v: role
  source:
    context:
      v: src
    element:
      v: role
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: role
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv

name:
  v: ActivityDefinitionDynamicValue
extends:
  v: BackboneElement
input:
  name:
    v: src
  mode:
    v: source
input:
  name:
    v: tgt
  mode:
    v: target
rule:
  name:
    v: path
  source:
    context:
      v: src
    element:
      v: path
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: path
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv
rule:
  name:
    v: expression
  source:
    context:
      v: src
    element:
      v: expression
    variable:
      v: vvv
  target:
    context:
      v: tgt
    element:
      v: expression
    variable:
      v: vvv
    transform:
      v: create
  dependent:
    name:
      v: DefaultMappingGroupAnonymousAlias
    parameter:
      value:
        v: vvv
    parameter:
      value:
        v: vvv