MedicationOverviewLMToMedicationOverviewBundle
type: StructureMap
node role: treeRoot
resource.id:
  value: MedicationOverviewLMToMedicationOverviewBundle
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: Generated Narrative: StructureMap MedicationOverviewLMToMedicationOverviewBundle #xD; map "http://smart.who.int/ph4h/StructureMap/MedicationOverviewLMToMedicationOverviewBundle" = "MedicationOverviewLMToMedicationOverviewBundle"#xD; #xD; uses "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverviewLM" alias MedicationOverviewLM as source#xD; uses "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/PatientLM" alias PatientLM as source#xD; uses "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationTreatmentLineLM" alias MedicationTreatmentLineLM as source#xD; uses "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/PractitionerLM" alias PractitionerLM as source#xD; uses "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverview" alias MedicationOverviewBundle as target#xD; uses "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverviewComposition" alias MedicationOverviewComposition as target#xD; uses "https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationTreatmentLine" alias MedicationTreatmentLine as target#xD; uses "http://hl7.org/fhir/StructureDefinition/Patient" alias Patient as target#xD; uses "http://hl7.org/fhir/StructureDefinition/Practitioner" alias Practitioner as target#xD; #xD; // ---------------------------------------------------------------------------#xD; // Top-level group: assemble MedicationOverview Bundle (document)#xD; // ---------------------------------------------------------------------------#xD; group MedicationOverviewLMToMedicationOverviewBundle(source src : MedicationOverviewLM, target tgt : MedicationOverviewBundle) {#xD; src -> tgt.type = 'document' "bundleType";#xD; src -> tgt.timestamp = (now()) "bundleTimestamp";#xD; // Generate fixed UUIDs once; reuse them across entries and Reference targets.#xD; src -> uuid() as bid, uuid() as cid, uuid() as pid then {#xD; // Bundle.identifier (UUID identifier per RFC 4122)#xD; src -> tgt.identifier as id, id.s…
structure map.url:
  value: http://smart.who.int/ph4h/StructureMap/MedicationOverviewLMToMedicationOverviewBundle
structure map.version:
  value: 0.9.9
structure map.name:
  value: MedicationOverviewLMToMedicationOverviewBundle
structure map.status:
  value: draft
structure map.date:
  value: 2026-07-09T08:39:10+00:00
structure map.publisher:
  value: WHO
structure map.contact:
  index: 0
  contact detail.name:
    value: WHO
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: http://who.int
structure map.structure:
  index: 0
  structure map.structure.url:
    value: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverviewLM
    link: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverviewLM
  structure map.structure.mode:
    value: source
  structure map.structure.alias:
    value: MedicationOverviewLM
structure map.structure:
  index: 1
  structure map.structure.url:
    value: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/PatientLM
    link: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/PatientLM
  structure map.structure.mode:
    value: source
  structure map.structure.alias:
    value: PatientLM
structure map.structure:
  index: 2
  structure map.structure.url:
    value: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationTreatmentLineLM
    link: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationTreatmentLineLM
  structure map.structure.mode:
    value: source
  structure map.structure.alias:
    value: MedicationTreatmentLineLM
structure map.structure:
  index: 3
  structure map.structure.url:
    value: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/PractitionerLM
    link: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/PractitionerLM
  structure map.structure.mode:
    value: source
  structure map.structure.alias:
    value: PractitionerLM
structure map.structure:
  index: 4
  structure map.structure.url:
    value: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverview
    link: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverview
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: MedicationOverviewBundle
structure map.structure:
  index: 5
  structure map.structure.url:
    value: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverviewComposition
    link: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationOverviewComposition
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: MedicationOverviewComposition
structure map.structure:
  index: 6
  structure map.structure.url:
    value: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationTreatmentLine
    link: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/MedicationTreatmentLine
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: MedicationTreatmentLine
structure map.structure:
  index: 7
  structure map.structure.url:
    value: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: Patient
structure map.structure:
  index: 8
  structure map.structure.url:
    value: http://hl7.org/fhir/StructureDefinition/Practitioner
    link: http://hl7.org/fhir/StructureDefinition/Practitioner
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: Practitioner
structure map.group:
  index: 0
  structure map.group.name:
    value: MedicationOverviewLMToMedicationOverviewBundle
  structure map.group.type mode:
    value: none
  structure map.group.documentation:
    value: --------------------------------------------------------------------------- Top-level group: assemble MedicationOverview Bundle (document) ---------------------------------------------------------------------------
  structure map.group.input:
    index: 0
    structure map.group.input.name:
      value: src
    structure map.group.input.type:
      value: MedicationOverviewLM
    structure map.group.input.mode:
      value: source
  structure map.group.input:
    index: 1
    structure map.group.input.name:
      value: tgt
    structure map.group.input.type:
      value: MedicationOverviewBundle
    structure map.group.input.mode:
      value: target
  structure map.group.rule:
    index: 0
    structure map.group.rule.name:
      value: bundleType
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: src
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: tgt
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: type
      structure map.group.rule.target.transform:
        value: copy
      structure map.group.rule.target.parameter:
        index: 0
  structure map.group.rule:
    index: 1
    structure map.group.rule.name:
      value: bundleTimestamp
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: src
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: tgt
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: timestamp
      structure map.group.rule.target.transform:
        value: evaluate
      structure map.group.rule.target.parameter:
        index: 0
  structure map.group.rule:
    index: 2
    structure map.group.rule.name:
      value: setEntries
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: src
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.variable:
        value: bid
      structure map.group.rule.target.transform:
        value: uuid
    structure map.group.rule.target:
      index: 1
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.variable:
        value: cid
      structure map.group.rule.target.transform:
        value: uuid
    structure map.group.rule.target:
      index: 2
      structure map.group.rule.target.context type:
        value: variable

value: document

value: now()

value: pid

value: uuid

index: 0
structure map.group.rule.name:
  value: bundleIdentifier
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: id
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: id
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: system
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: urn:ietf:rfc:4122
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: id
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: bid

index: 1
structure map.group.rule.name:
  value: compositionEntry
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: entry
  structure map.group.rule.target.variable:
    value: ce
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: ce
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: fullUrl
  structure map.group.rule.target.transform:
    value: append
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: urn:uuid:
  structure map.group.rule.target.parameter:
    index: 1
    structure map.group.rule.target.parameter.value id:
      value: cid
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: ce
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: resource
  structure map.group.rule.target.variable:
    value: comp
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: MedicationOverviewComposition
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: compositionContent
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: MedicationOverviewLMToComposition
    structure map.group.rule.dependent.variable:
      value: src
      index: 0
    structure map.group.rule.dependent.variable:
      value: comp
      index: 1
    structure map.group.rule.dependent.variable:
      value: pid
      index: 2
    structure map.group.rule.dependent.variable:
      value: tgt
      index: 3

index: 2
structure map.group.rule.name:
  value: patientEntry
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: patient
  structure map.group.rule.source.variable:
    value: pref
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: entry
  structure map.group.rule.target.variable:
    value: pe
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: pe
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: fullUrl
  structure map.group.rule.target.transform:
    value: append
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: urn:uuid:
  structure map.group.rule.target.parameter:
    index: 1
    structure map.group.rule.target.parameter.value id:
      value: pid
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: pe
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: resource
  structure map.group.rule.target.variable:
    value: pat
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Patient
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: patientContent
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: pref
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: PatientLMToPatient
    structure map.group.rule.dependent.variable:
      value: pref
      index: 0
    structure map.group.rule.dependent.variable:
      value: pat
      index: 1

index: 1
structure map.group.name:
  value: MedicationOverviewLMToComposition
structure map.group.type mode:
  value: none
structure map.group.documentation:
  value: --------------------------------------------------------------------------- MedicationOverviewLM -> MedicationOverviewComposition Receives the Patient entry's UUID (pid) so subject can reference it. ---------------------------------------------------------------------------
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: MedicationOverviewLM
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: tgt
  structure map.group.input.type:
    value: MedicationOverviewComposition
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: pid
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 3
  structure map.group.input.name:
    value: bundle
  structure map.group.input.type:
    value: MedicationOverviewBundle
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: compStatus
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: status
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: final
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: compType
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: cc
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Coding
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: cc
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: system
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: http://loinc.org
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: cc
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: code
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: 56445-0
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: cc
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: display
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Medication summary Document
  structure map.group.rule.target:
    index: 4
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: ct
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: CodeableConcept
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: ct
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: coding
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: cc
  structure map.group.rule.target:
    index: 6
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: type
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: ct
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: compSubject
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: subj
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Reference
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: subj
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: reference
    structure map.group.rule.target.transform:
      value: append
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: urn:uuid:
    structure map.group.rule.target.parameter:
      index: 1
      structure map.group.rule.target.parameter.value id:
        value: pid
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: tgt

value: variable

value: subject

value: copy

index: 0
structure map.group.rule.target.parameter.value id:
  value: subj

index: 3
structure map.group.rule.name:
  value: compDate
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: date
  structure map.group.rule.target.transform:
    value: evaluate
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: now()

index: 4
structure map.group.rule.name:
  value: compTitle
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: title
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Medication Overview

index: 5
structure map.group.rule.name:
  value: compAuthor
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: au
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Reference
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: au
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: display
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Medication Overview generator
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: author
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: au

index: 6
structure map.group.rule.name:
  value: sectionTreatmentLines
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: section
  structure map.group.rule.target.variable:
    value: sect
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: sectTitle
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: sect
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: title
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Medication Treatment Lines
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.name:
    value: sectCode
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: scc
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Coding
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: scc
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: system
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: http://loinc.org
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: scc
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: code
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: 10160-0
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: scc
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: display
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: History of Medication use Narrative
  structure map.group.rule.target:
    index: 4
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: sc
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: CodeableConcept
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: sc
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: coding
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: scc
  structure map.group.rule.target:
    index: 6
    structure map.group.rule.target.context:
      value: sect
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: code
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: sc
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.name:
    value: treatmentLines
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: medicationTreatmentLine
    structure map.group.rule.source.variable:
      value: lref
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: tid
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: sectEntry
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: lref
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: sect
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: entry
      structure map.group.rule.target.variable:
        value: se
    structure map.group.rule.target:
      index: 1
      structure map.group.rule.target.context:
        value: se
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: reference
      structure map.group.rule.target.transform:
        value: append
      structure map.group.rule.target.parameter:
        index: 0
      structure map.group.rule.target.parameter:
        index: 1
  structure map.group.rule.rule:
    index: 1
    structure map.group.rule.name:
      value: lineEntry
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: lref
    structure map.group.rule.target:
      index: 0

value: urn:uuid:

value: tid

value: bundle

value: variable

value: entry

value: te

index: 1
structure map.group.rule.target.context:
  value: te
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: fullUrl
structure map.group.rule.target.transform:
  value: append
structure map.group.rule.target.parameter:
  index: 0
  structure map.group.rule.target.parameter.value string:
    value: urn:uuid:
structure map.group.rule.target.parameter:
  index: 1
  structure map.group.rule.target.parameter.value id:
    value: tid

index: 2
structure map.group.rule.target.context:
  value: te
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: resource
structure map.group.rule.target.variable:
  value: ms
structure map.group.rule.target.transform:
  value: create
structure map.group.rule.target.parameter:
  index: 0
  structure map.group.rule.target.parameter.value string:
    value: MedicationTreatmentLine

index: 0
structure map.group.rule.name:
  value: lineContent
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: lref
structure map.group.rule.dependent:
  index: 0
  structure map.group.rule.dependent.name:
    value: MedicationTreatmentLineLMToMedicationStatement
  structure map.group.rule.dependent.variable:
    value: lref
    index: 0
  structure map.group.rule.dependent.variable:
    value: ms
    index: 1
  structure map.group.rule.dependent.variable:
    value: pid
    index: 2

index: 7
structure map.group.rule.name:
  value: attester
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: verification
  structure map.group.rule.source.variable:
    value: v
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: attester
  structure map.group.rule.target.variable:
    value: att
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: attMode
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: v
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: att
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: mode
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: professional
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.name:
    value: attTime
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: v
    structure map.group.rule.source.element:
      value: verificationTime
    structure map.group.rule.source.variable:
      value: vt
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: att
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: time
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: vt
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.name:
    value: attParty
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: v
    structure map.group.rule.source.element:
      value: practicioner
    structure map.group.rule.source.variable:
      value: pr
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: att
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: party
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: pr

index: 8
structure map.group.rule.name:
  value: noteFromComment
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: comment
  structure map.group.rule.source.variable:
    value: cm
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: ext
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: ext
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.note
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: nt
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Annotation
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: noteText
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: cm
    structure map.group.rule.source.element:
      value: commentText
    structure map.group.rule.source.variable:
      value: ctxt
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: nt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: text
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: ctxt
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.name:
    value: noteTime
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: cm
    structure map.group.rule.source.element:
      value: date
    structure map.group.rule.source.variable:
      value: d
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: nt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: time
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: d
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.name:
    value: noteAuthor
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: cm
    structure map.group.rule.source.element:
      value: author
    structure map.group.rule.source.variable:
      value: a
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: nt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: author
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: a
structure map.group.rule.rule:
  index: 3
  structure map.group.rule.name:
    value: noteAssign
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: cm
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: nt
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: ext

index: 2
structure map.group.name:
  value: PatientLMToPatient
structure map.group.type mode:
  value: none
structure map.group.documentation:
  value: --------------------------------------------------------------------------- PatientLM -> FHIR Patient ---------------------------------------------------------------------------
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: PatientLM
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: tgt
  structure map.group.input.type:
    value: Patient
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: patIdentifier
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: identifier
    structure map.group.rule.source.variable:
      value: id
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: identifier
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: id
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: patName
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: name
    structure map.group.rule.source.variable:
      value: n
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: n
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: patGender
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: gender
    structure map.group.rule.source.variable:
      value: g
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: patGenderCoding
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: g
      structure map.group.rule.source.element:
        value: coding
      structure map.group.rule.source.variable:
        value: gc
    structure map.group.rule.rule:
      index: 0
      structure map.group.rule.name:
        value: patGenderCode
      structure map.group.rule.source:
        index: 0
      structure map.group.rule.target:
        index: 0
structure map.group.rule:
  index: 3
  structure map.group.rule.name:
    value: patBirthDate
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: dateOfBirth
    structure map.group.rule.source.variable:
      value: d
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: birthDate
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: d

value: gc

value: code

value: gcode

value: tgt

value: variable

value: gender

value: copy

index: 0
structure map.group.rule.target.parameter.value id:
  value: gcode

index: 3
structure map.group.name:
  value: MedicationTreatmentLineLMToMedicationStatement
structure map.group.type mode:
  value: none
structure map.group.documentation:
  value: --------------------------------------------------------------------------- MedicationTreatmentLineLM -> MedicationTreatmentLine (profile on MedicationStatement, R4) Receives the Patient entry's UUID (pid) so MS.subject can reference it. ---------------------------------------------------------------------------
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: MedicationTreatmentLineLM
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: tgt
  structure map.group.input.type:
    value: MedicationTreatmentLine
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: pid
  structure map.group.input.mode:
    value: source
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: identifier
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: identifier
    structure map.group.rule.source.variable:
      value: id
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: identifier
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: id
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: subject
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: subj
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Reference
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: subj
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: reference
    structure map.group.rule.target.transform:
      value: append
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: urn:uuid:
    structure map.group.rule.target.parameter:
      index: 1
      structure map.group.rule.target.parameter.value id:
        value: pid
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: subject
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: subj
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: status
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: status
    structure map.group.rule.source.variable:
      value: st
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: status
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: st
structure map.group.rule:
  index: 3
  structure map.group.rule.name:
    value: medicationRef
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.type:
      value: Reference
    structure map.group.rule.source.element:
      value: medication
    structure map.group.rule.source.variable:
      value: mr
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: medication
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: mr
structure map.group.rule:
  index: 4
  structure map.group.rule.name:
    value: medicationCC
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.type:
      value: CodeableConcept
    structure map.group.rule.source.element:
      value: medication
    structure map.group.rule.source.variable:
      value: mc
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: medication
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: mc
structure map.group.rule:
  index: 5
  structure map.group.rule.name:
    value: effectivePeriod
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: effectivePeriod
    structure map.group.rule.source.variable:
      value: ep

index: 0
structure map.group.rule.target.context:
  value: tgt
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: effective
structure map.group.rule.target.transform:
  value: copy
structure map.group.rule.target.parameter:
  index: 0
  structure map.group.rule.target.parameter.value id:
    value: ep

index: 6
structure map.group.rule.name:
  value: recordingMetadata
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: recordingMetadata
  structure map.group.rule.source.variable:
    value: rm
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: dateAsserted
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: rm
    structure map.group.rule.source.element:
      value: recordedTime
    structure map.group.rule.source.variable:
      value: rt
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: dateAsserted
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: rt
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.name:
    value: informationSource
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: rm
    structure map.group.rule.source.element:
      value: recorder
    structure map.group.rule.source.variable:
      value: rc
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: informationSource
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: rc

index: 7
structure map.group.rule.name:
  value: reasonIndication
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: indication
  structure map.group.rule.source.variable:
    value: ind
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reasonCode
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: ind

index: 8
structure map.group.rule.name:
  value: reasonIndicationText
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: indicationText
  structure map.group.rule.source.variable:
    value: it
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: cc
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: CodeableConcept
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: cc
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: text
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: it
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reasonCode
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: cc

index: 9
structure map.group.rule.name:
  value: dosage
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: usageInstructions
  structure map.group.rule.source.variable:
    value: ui
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: dosage
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: ui

index: 10
structure map.group.rule.name:
  value: prepInstructions
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: preparationInstructions
  structure map.group.rule.source.variable:
    value: pi
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: dos
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Dosage
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: dos
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: text
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: pi
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: dosage
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: dos

index: 11
structure map.group.rule.name:
  value: lineNote
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: comment
  structure map.group.rule.source.variable:
    value: cm
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: nt
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Annotation
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: lineNoteText
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: cm
    structure map.group.rule.source.element:
      value: commentText
    structure map.group.rule.source.variable:
      value: ct
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: nt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: text
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: ct
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.name:
    value: lineNoteTime
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: cm
    structure map.group.rule.source.element:
      value: date
    structure map.group.rule.source.variable:
      value: d
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: nt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: time
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: d
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.name:
    value: lineNoteAuthor
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: cm
    structure map.group.rule.source.element:
      value: author
    structure map.group.rule.source.variable:
      value: a
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: nt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: author
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: a
structure map.group.rule.rule:
  index: 3
  structure map.group.rule.name:
    value: lineNoteAssign
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: cm
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: note
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: nt

index: 12
structure map.group.rule.name:
  value: extAdherence
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: treatmentStatus
  structure map.group.rule.source.variable:
    value: ts
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: ext
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: ext
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: e1
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: e1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: code
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: e1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: ts
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: ext
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: e1
structure map.group.rule.target:
  index: 6
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: ext

index: 13
structure map.group.rule.name:
  value: extAdherenceReason
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: treatmentStatusReasonCode
  structure map.group.rule.source.variable:
    value: tsr
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: ext
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: ext
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: e1
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: e1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: reason
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: e1
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: tsr
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: ext
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: e1
structure map.group.rule.target:
  index: 6
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: ext

index: 14
structure map.group.rule.name:
  value: category
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: category
  structure map.group.rule.source.variable:
    value: cat
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: category
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: cat

index: 15
structure map.group.rule.name:
  value: derivedFrom
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: derivedFrom
  structure map.group.rule.source.variable:
    value: df
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: derivedFromRequest
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: df
    structure map.group.rule.source.element:
      value: request
    structure map.group.rule.source.variable:
      value: rq
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: derivedFrom
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: rq
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.name:
    value: derivedFromStatement
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: df
    structure map.group.rule.source.element:
      value: statement
    structure map.group.rule.source.variable:
      value: stm
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: derivedFrom
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: stm
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.name:
    value: derivedFromDispensation
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: df
    structure map.group.rule.source.element:
      value: dispensation
    structure map.group.rule.source.variable:
      value: dsp
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: derivedFrom
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: dsp
structure map.group.rule.rule:
  index: 3
  structure map.group.rule.name:
    value: derivedFromAdministration
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: df
    structure map.group.rule.source.element:
      value: administration
    structure map.group.rule.source.variable:
      value: adm
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: derivedFrom
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: adm
structure map.group.rule.rule:
  index: 4
  structure map.group.rule.name:
    value: derivedFromOther
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: df
    structure map.group.rule.source.element:
      value: other
    structure map.group.rule.source.variable:
      value: oth
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: derivedFrom
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: oth

index: 16
structure map.group.rule.name:
  value: extVersion
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: version
  structure map.group.rule.source.variable:
    value: v
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: ext
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: ext
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: url
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: http://hl7.org/fhir/StructureDefinition/artifact-version
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: ext
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: v
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: ext

index: 17
structure map.group.rule.name:
  value: extVerification
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: verificationInformation
  structure map.group.rule.source.variable:
    value: vi
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: ext
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: viUrl
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: vi
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/ihe-ext-medicationstatement-verificationinformation
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.name:
    value: viVerifier
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: vi
    structure map.group.rule.source.element:
      value: verifier
    structure map.group.rule.source.variable:
      value: vr
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: e1
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: verifier
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: e1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: vr
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: e1
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.name:
    value: viTime
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: vi
    structure map.group.rule.source.element:
      value: verificationTime
    structure map.group.rule.source.variable:
      value: vt
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: e2
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e2
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: verificationTime
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: e2
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: vt
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: e2
structure map.group.rule.rule:
  index: 3
  structure map.group.rule.name:
    value: viAssign
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: vi
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: ext

index: 18
structure map.group.rule.name:
  value: extSubstitution
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: substitution
  structure map.group.rule.source.variable:
    value: sub
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.variable:
    value: ext
  structure map.group.rule.target.transform:
    value: create
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: Extension
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: subUrl
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: sub
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: https://profiles.ihe.net/PHARM/MEOW/StructureDefinition/ihe-ext-medicationstatement-substitution
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.name:
    value: subType
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: sub
    structure map.group.rule.source.element:
      value: substitutionType
    structure map.group.rule.source.variable:
      value: t
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: e1
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: substitutionType
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: e1
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: t
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: e1
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.name:
    value: subReason
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: sub
    structure map.group.rule.source.element:
      value: substitutionTypeReason
    structure map.group.rule.source.variable:
      value: r
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: e2
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e2
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: url
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: substitutionTypeReason
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: e2
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: r
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: e2
structure map.group.rule.rule:
  index: 3
  structure map.group.rule.name:
    value: subReasonText
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: sub
    structure map.group.rule.source.element:
      value: substitutionTypeReasonText
    structure map.group.rule.source.variable:
      value: rt
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.variable:
      value: e3
    structure map.group.rule.target.transform:
      value: create
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value string:
        value: Extension

index: 1
structure map.group.rule.target.context:
  value: e3
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: url
structure map.group.rule.target.transform:
  value: copy
structure map.group.rule.target.parameter:
  index: 0
  structure map.group.rule.target.parameter.value string:
    value: substitutionTypeReasonText

index: 2
structure map.group.rule.target.context:
  value: e3
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: value
structure map.group.rule.target.transform:
  value: copy
structure map.group.rule.target.parameter:
  index: 0
  structure map.group.rule.target.parameter.value id:
    value: rt

index: 3
structure map.group.rule.target.context:
  value: ext
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: extension
structure map.group.rule.target.transform:
  value: copy
structure map.group.rule.target.parameter:
  index: 0
  structure map.group.rule.target.parameter.value id:
    value: e3

index: 4
structure map.group.rule.name:
  value: subAssign
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: sub
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: tgt
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.transform:
    value: copy
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value id:
      value: ext

index: 4
structure map.group.name:
  value: PractitionerLMToPractitioner
structure map.group.type mode:
  value: none
structure map.group.documentation:
  value: --------------------------------------------------------------------------- PractitionerLM -> FHIR Practitioner ---------------------------------------------------------------------------
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: PractitionerLM
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: tgt
  structure map.group.input.type:
    value: Practitioner
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: practIdentifier
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: identifier
    structure map.group.rule.source.variable:
      value: id
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: identifier
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: id
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: practName
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: name
    structure map.group.rule.source.variable:
      value: n
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: tgt
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.transform:
      value: copy
    structure map.group.rule.target.parameter:
      index: 0
      structure map.group.rule.target.parameter.value id:
        value: n