OrfQrToBundle
type: StructureMap
node role: treeRoot
resource.id:
  value: OrfQrToBundle
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: map "http://fhir.ch/ig/ch-orf/StructureMap/OrfQrToBundle" = "OrfQrToBundle" // ORF QuestionnaireResponse to Bundle // 2021-01-11 Oliver Egger, copyright ahdis ag, Apache License // QRF Questionnaire: http://build.fhir.org/ig/hl7ch/ch-orf/Questionnaire-order-referral-form.html // QRF QuestionnaireResponse: http://build.fhir.org/ig/hl7ch/ch-orf/QuestionnaireResponse-order-referral-form.xml.html // Bundle: http://build.fhir.org/ig/hl7ch/ch-orf/StructureDefinition-ch-orf-document.html uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponse as source uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias Bundle as target uses "http://hl7.org/fhir/StructureDefinition/Patient" alias Patient as target uses "http://hl7.org/fhir/StructureDefinition/Organization" alias Organization as target uses "http://hl7.org/fhir/StructureDefinition/Practitioner" alias Practitioner as target uses "http://hl7.org/fhir/StructureDefinition/PractitionerRole" alias PractitionerRole as target uses "http://hl7.org/fhir/StructureDefinition/ServiceRequest" alias ServiceRequest as target uses "http://hl7.org/fhir/StructureDefinition/BackboneElement" alias BackboneElement as target group OrfQrToBundle(source qr : QuestionnaireResponse, target bundle : Bundle) { qr -> bundle.identifier as documentIdentifier, documentIdentifier.system = 'urn:ietf:rfc:3986', uuid() as uuidDoc, documentIdentifier.value = append('urn:uuid:', uuidDoc) "documentIdentifier"; qr as qrcp -> bundle.entry as e, e.resource = create('Composition') as composition, composition.id = uuid() as uuid, e.fullUrl = append('urn:uuid:', uuid), bundle.entry as e2, bundle.timestamp = (now()) as timestamp, composition.date = timestamp, e2.resource = create('Patient') as patient, patient.id = uuid() as uuid2, e2.fullUrl = append('urn:uuid:', uuid2), bundle.entry as e4, e4.resource = qrcp as questionnaireresp, questionnaireresp.id = uuid() as uuid4, e4.fullUrl = append('urn:uuid:', uuid4), bundle.ent…
structure map.url:
  value: http://fhir.ch/ig/ch-orf/StructureMap/OrfQrToBundle
structure map.version:
  value: 0.10.0
structure map.name:
  value: OrfQrToBundle
structure map.status:
  value: draft
structure map.date:
  value: 2021-06-15T14:23:15+02:00
structure map.publisher:
  value: HL7 Switzerland
structure map.contact:
  index: 0
  contact detail.name:
    value: HL7 Switzerland
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: https://www.hl7.ch/
structure map.description:
  value: ORF QuestionnaireResponse to Bundle 2021-01-11 Oliver Egger, copyright ahdis ag, Apache License QRF Questionnaire: http://build.fhir.org/ig/hl7ch/ch-orf/Questionnaire-order-referral-form.html QRF QuestionnaireResponse: http://build.fhir.org/ig/hl7ch/ch-orf/QuestionnaireResponse-order-referral-form.xml.html Bundle: http://build.fhir.org/ig/hl7ch/ch-orf/StructureDefinition-ch-orf-document.html
structure map.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: CH
structure map.copyright:
  value: CC-BY-SA-4.0
structure map.structure:
  index: 0
  structure map.structure.url:
    value: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
    link: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
  structure map.structure.mode:
    value: source
  structure map.structure.alias:
    value: QuestionnaireResponse
structure map.structure:
  index: 1
  structure map.structure.url:
    value: http://hl7.org/fhir/StructureDefinition/Bundle
    link: http://hl7.org/fhir/StructureDefinition/Bundle
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: Bundle
structure map.structure:
  index: 2
  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: 3
  structure map.structure.url:
    value: http://hl7.org/fhir/StructureDefinition/Organization
    link: http://hl7.org/fhir/StructureDefinition/Organization
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: Organization
structure map.structure:
  index: 4
  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.structure:
  index: 5
  structure map.structure.url:
    value: http://hl7.org/fhir/StructureDefinition/PractitionerRole
    link: http://hl7.org/fhir/StructureDefinition/PractitionerRole
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: PractitionerRole
structure map.structure:
  index: 6
  structure map.structure.url:
    value: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    link: http://hl7.org/fhir/StructureDefinition/ServiceRequest
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: ServiceRequest
structure map.structure:
  index: 7
  structure map.structure.url:
    value: http://hl7.org/fhir/StructureDefinition/BackboneElement
    link: http://hl7.org/fhir/StructureDefinition/BackboneElement
  structure map.structure.mode:
    value: target
  structure map.structure.alias:
    value: BackboneElement
structure map.group:
  index: 0
  structure map.group.name:
    value: OrfQrToBundle
  structure map.group.type mode:
    value: none
  structure map.group.input:
    index: 0
    structure map.group.input.name:
      value: qr
    structure map.group.input.type:
      value: QuestionnaireResponse
    structure map.group.input.mode:
      value: source
  structure map.group.input:
    index: 1
    structure map.group.input.name:
      value: bundle
    structure map.group.input.type:
      value: Bundle
    structure map.group.input.mode:
      value: target
  structure map.group.rule:
    index: 0
    structure map.group.rule.name:
      value: documentIdentifier
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: qr
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: bundle
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: identifier
      structure map.group.rule.target.variable:
        value: documentIdentifier
    structure map.group.rule.target:
      index: 1
      structure map.group.rule.target.context:
        value: documentIdentifier
      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:
      index: 2
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.variable:
        value: uuidDoc
      structure map.group.rule.target.transform:
        value: uuid
    structure map.group.rule.target:
      index: 3
      structure map.group.rule.target.context:
        value: documentIdentifier
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value
      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:
    index: 1
    structure map.group.rule.name:
      value: orfbundle
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: qr
      structure map.group.rule.source.variable:
        value: qrcp
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: bundle
      structure map.group.rule.target.context type:
        value: variable

value: urn:ietf:rfc:3986

value: urn:uuid:

value: uuidDoc

value: entry

value: e

index: 1
structure map.group.rule.target.context:
  value: e
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: resource
structure map.group.rule.target.variable:
  value: composition
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: Composition

index: 2
structure map.group.rule.target.context:
  value: composition
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: id
structure map.group.rule.target.variable:
  value: uuid
structure map.group.rule.target.transform:
  value: uuid

index: 3
structure map.group.rule.target.context:
  value: e
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: uuid

index: 4
structure map.group.rule.target.context:
  value: bundle
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: entry
structure map.group.rule.target.variable:
  value: e2

index: 5
structure map.group.rule.target.context:
  value: bundle
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: timestamp
structure map.group.rule.target.variable:
  value: timestamp
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: 6
structure map.group.rule.target.context:
  value: composition
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: date
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: timestamp

index: 7
structure map.group.rule.target.context:
  value: e2
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: resource
structure map.group.rule.target.variable:
  value: patient
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

index: 8
structure map.group.rule.target.context:
  value: patient
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: id
structure map.group.rule.target.variable:
  value: uuid2
structure map.group.rule.target.transform:
  value: uuid

index: 9
structure map.group.rule.target.context:
  value: e2
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: uuid2

index: 10
structure map.group.rule.target.context:
  value: bundle
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: entry
structure map.group.rule.target.variable:
  value: e4

index: 11
structure map.group.rule.target.context:
  value: e4
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: resource
structure map.group.rule.target.variable:
  value: questionnaireresp
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: qrcp

index: 12
structure map.group.rule.target.context:
  value: questionnaireresp
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: id
structure map.group.rule.target.variable:
  value: uuid4
structure map.group.rule.target.transform:
  value: uuid

index: 13
structure map.group.rule.target.context:
  value: e4
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: uuid4

index: 14
structure map.group.rule.target.context:
  value: bundle
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: entry
structure map.group.rule.target.variable:
  value: e5

index: 15
structure map.group.rule.target.context:
  value: e5
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: resource
structure map.group.rule.target.variable:
  value: servicerequest
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: ServiceRequest

index: 16
structure map.group.rule.target.context:
  value: servicerequest
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: id
structure map.group.rule.target.variable:
  value: uuid5
structure map.group.rule.target.transform:
  value: uuid

index: 17
structure map.group.rule.target.context:
  value: e5
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: uuid5

index: 0
structure map.group.rule.name:
  value: orfbundle
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: qr
  structure map.group.rule.source.element:
    value: questionnaire
  structure map.group.rule.source.variable:
    value: can
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: bundle
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: entry
  structure map.group.rule.target.variable:
    value: e6
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: e6
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: resource
  structure map.group.rule.target.variable:
    value: q
  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: can.resolve()
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: q
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: id
  structure map.group.rule.target.variable:
    value: uuid6
  structure map.group.rule.target.transform:
    value: uuid
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: e6
  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: uuid6
structure map.group.rule.dependent:
  index: 0
  structure map.group.rule.dependent.name:
    value: QrToBundle
  structure map.group.rule.dependent.variable:
    value: qr
    index: 0
  structure map.group.rule.dependent.variable:
    value: q
    index: 1
  structure map.group.rule.dependent.variable:
    value: patient
    index: 2
  structure map.group.rule.dependent.variable:
    value: questionnaireresp
    index: 3
  structure map.group.rule.dependent.variable:
    value: servicerequest
    index: 4
  structure map.group.rule.dependent.variable:
    value: composition
    index: 5
  structure map.group.rule.dependent.variable:
    value: bundle
    index: 6

index: 1
structure map.group.name:
  value: QrToGroups
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: qr
  structure map.group.input.type:
    value: QuestionnaireResponse
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: patient
  structure map.group.input.type:
    value: Patient
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: bundle
  structure map.group.input.type:
    value: Bundle
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 3
  structure map.group.input.name:
    value: composition
  structure map.group.input.type:
    value: Composition
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 4
  structure map.group.input.name:
    value: serviceRequest
  structure map.group.input.type:
    value: ServiceRequest
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: grporder
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: qr
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: grp
    structure map.group.rule.source.condition:
      value: linkId = 'order'
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: OrderItems
    structure map.group.rule.dependent.variable:
      value: grp
      index: 0
    structure map.group.rule.dependent.variable:
      value: bundle
      index: 1
    structure map.group.rule.dependent.variable:
      value: composition
      index: 2
    structure map.group.rule.dependent.variable:
      value: serviceRequest
      index: 3
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: receiver
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: qr
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: grp
    structure map.group.rule.source.condition:
      value: linkId = 'receiver'
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: ReceiverInit
    structure map.group.rule.dependent.variable:
      value: grp
      index: 0
    structure map.group.rule.dependent.variable:
      value: bundle
      index: 1
    structure map.group.rule.dependent.variable:
      value: composition
      index: 2
    structure map.group.rule.dependent.variable:
      value: serviceRequest
      index: 3
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: grppatient
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: qr
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: grp
    structure map.group.rule.source.condition:
      value: linkId = 'patient'
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: PatientItems
    structure map.group.rule.dependent.variable:
      value: grp
      index: 0
    structure map.group.rule.dependent.variable:
      value: patient
      index: 1
structure map.group.rule:
  index: 3
  structure map.group.rule.name:
    value: grprequestedencounter
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: qr
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: grp
    structure map.group.rule.source.condition:
      value: linkId = 'requestedEncounter'
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: RequestedEncounterItems
    structure map.group.rule.dependent.variable:
      value: grp
      index: 0
    structure map.group.rule.dependent.variable:
      value: bundle
      index: 1
    structure map.group.rule.dependent.variable:
      value: patient
      index: 2
    structure map.group.rule.dependent.variable:
      value: serviceRequest
      index: 3
structure map.group.rule:
  index: 4
  structure map.group.rule.name:
    value: grprequestedencounter
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: qr
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: grp
    structure map.group.rule.source.condition:
      value: linkId = 'coverage'
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: Coverage
    structure map.group.rule.dependent.variable:
      value: grp
      index: 0
    structure map.group.rule.dependent.variable:
      value: bundle
      index: 1
    structure map.group.rule.dependent.variable:
      value: patient
      index: 2
    structure map.group.rule.dependent.variable:
      value: serviceRequest
      index: 3
structure map.group.rule:
  index: 5
  structure map.group.rule.name:
    value: grpsender
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: qr
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: grp
    structure map.group.rule.source.condition:
      value: linkId = 'sender'

index: 0
structure map.group.rule.dependent.name:
  value: SenderAuthorInit
structure map.group.rule.dependent.variable:
  value: grp
  index: 0
structure map.group.rule.dependent.variable:
  value: bundle
  index: 1
structure map.group.rule.dependent.variable:
  value: composition
  index: 2
structure map.group.rule.dependent.variable:
  value: serviceRequest
  index: 3

index: 6
structure map.group.rule.name:
  value: grpsender
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: qr
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: grp
  structure map.group.rule.source.condition:
    value: linkId = 'receiverCopies'
structure map.group.rule.dependent:
  index: 0
  structure map.group.rule.dependent.name:
    value: ReceiverCopy
  structure map.group.rule.dependent.variable:
    value: grp
    index: 0
  structure map.group.rule.dependent.variable:
    value: bundle
    index: 1
  structure map.group.rule.dependent.variable:
    value: composition
    index: 2
  structure map.group.rule.dependent.variable:
    value: serviceRequest
    index: 3

index: 7
structure map.group.rule.name:
  value: grpsender
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: qr
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: grp
  structure map.group.rule.source.condition:
    value: linkId = 'appointment'
structure map.group.rule.dependent:
  index: 0
  structure map.group.rule.dependent.name:
    value: Appointment
  structure map.group.rule.dependent.variable:
    value: grp
    index: 0
  structure map.group.rule.dependent.variable:
    value: bundle
    index: 1
  structure map.group.rule.dependent.variable:
    value: composition
    index: 2
  structure map.group.rule.dependent.variable:
    value: serviceRequest
    index: 3

index: 8
structure map.group.rule.name:
  value: note
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: qr
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: grp
  structure map.group.rule.source.condition:
    value: linkId = 'note'
structure map.group.rule.dependent:
  index: 0
  structure map.group.rule.dependent.name:
    value: Note
  structure map.group.rule.dependent.variable:
    value: grp
    index: 0
  structure map.group.rule.dependent.variable:
    value: serviceRequest
    index: 1

index: 2
structure map.group.name:
  value: OrderItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: bundle
  structure map.group.input.type:
    value: Bundle
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: composition
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 3
  structure map.group.input.name:
    value: serviceRequest
  structure map.group.input.type:
    value: ServiceRequest
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: order.title
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'order.title') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: composition
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: title
    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: item.answer.valueString
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: order.type
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'order.type') and answer.exists())
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: answer
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: item
      structure map.group.rule.source.element:
        value: answer
      structure map.group.rule.source.variable:
        value: answer
    structure map.group.rule.rule:
      index: 0
      structure map.group.rule.name:
        value: type
      structure map.group.rule.source:
        index: 0
      structure map.group.rule.target:
        index: 0
      structure map.group.rule.target:
        index: 1
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: order.category
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'order.category') and answer.exists())
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: answer
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: item
      structure map.group.rule.source.element:
        value: answer
      structure map.group.rule.source.variable:
        value: answer
    structure map.group.rule.rule:
      index: 0
      structure map.group.rule.name:
        value: category
      structure map.group.rule.source:
        index: 0
      structure map.group.rule.target:
        index: 0
      structure map.group.rule.target:
        index: 1
structure map.group.rule:
  index: 3
  structure map.group.rule.name:
    value: order.precedentDocumentIdentifier
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'order.precedentDocumentIdentifier') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: composition
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: ext
  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://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-precedentdocument
  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.variable:
      value: value
    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: Identifier
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: value
    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:3986

value: answer

value: Coding

value: value

value: coding

value: composition

value: variable

value: type

value: comptype

value: comptype

value: variable

value: coding

value: copy

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

value: answer

value: Coding

value: value

value: coding

value: composition

value: variable

value: category

value: compcat

value: compcat

value: variable

value: coding

value: copy

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

index: 4
structure map.group.rule.target.context:
  value: value
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: value
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: 'urn:uuid:' + item.answer.valueString

index: 4
structure map.group.rule.name:
  value: order.placerOrderIdentifier
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'order.placerOrderIdentifier') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: value
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: placer
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: type
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: type
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: coding
  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://terminology.hl7.org/CodeSystem/v2-0203
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: coding
  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: PLAC
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.valueString

index: 5
structure map.group.rule.name:
  value: order.placerOrderIdentifierDomain
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'order.placerOrderIdentifierDomain') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: value
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: placer
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: system
  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: item.answer.valueString

index: 6
structure map.group.rule.name:
  value: order.fillerOrderIdentifier
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'order.fillerOrderIdentifier') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: value
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: filler
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: type
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: type
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: coding
  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://terminology.hl7.org/CodeSystem/v2-0203
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: coding
  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: FILL
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.valueString

index: 7
structure map.group.rule.name:
  value: order.fillerOrderIdentifierDomain
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'order.fillerOrderIdentifierDomain') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: value
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: filler
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: system
  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: item.answer.valueString

index: 8
structure map.group.rule.name:
  value: item
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'order.dateTime') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: authoredOn
  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: item.answer.value

index: 9
structure map.group.rule.name:
  value: item
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'order.priority') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: priority
  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: item.answer.value.code

index: 10
structure map.group.rule.name:
  value: order.notificationContactDocument
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: (linkId.value = 'order.notificationContactDocument')
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: order.notificationContactDocument.items
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e4
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e4
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: practitionerRoleDataEnterer
    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: PractitionerRole
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: practitionerRoleDataEnterer
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid4
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: e4
    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: uuid4
  structure map.group.rule.target:
    index: 4
    structure map.group.rule.target.context:
      value: composition
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: extension
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e5
  structure map.group.rule.target:
    index: 6
    structure map.group.rule.target.context:
      value: e5
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: practitionerDataEnterer
    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: Practitioner
  structure map.group.rule.target:
    index: 7
    structure map.group.rule.target.context:
      value: practitionerDataEnterer
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid5
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 8
    structure map.group.rule.target.context:
      value: e5
    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: uuid5
  structure map.group.rule.target:
    index: 9
    structure map.group.rule.target.context:
      value: practitionerRoleDataEnterer
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: practitioner
    structure map.group.rule.target.variable:
      value: reference
    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: 10
    structure map.group.rule.target.context:
      value: reference
    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: uuid5
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: data
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: item
    structure map.group.rule.dependent:
      index: 0
      structure map.group.rule.dependent.name:
        value: UrgentNotificationContactForRequestItems
      structure map.group.rule.dependent.variable:
        value: item
        index: 0
      structure map.group.rule.dependent.variable:
        value: practitionerRoleDataEnterer
        index: 1
      structure map.group.rule.dependent.variable:
        value: practitionerDataEnterer
        index: 2
  structure map.group.rule.rule:
    index: 1
    structure map.group.rule.name:
      value: extension

index: 0
structure map.group.rule.source.context:
  value: item

index: 0
structure map.group.rule.dependent.name:
  value: ExtOrfUrgentNotificationContactForRequest
structure map.group.rule.dependent.variable:
  value: item
  index: 0
structure map.group.rule.dependent.variable:
  value: practitionerRoleDataEnterer
  index: 1
structure map.group.rule.dependent.variable:
  value: extension
  index: 2

index: 11
structure map.group.rule.name:
  value: order.notificationContactDocumentResponse
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: (linkId.value = 'order.notificationContactDocumentResponse')
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: order.notificationContactDocumentResponse.items
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e4
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e4
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: practitionerRoleDataEnterer
    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: PractitionerRole
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: practitionerRoleDataEnterer
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid4
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: e4
    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: uuid4
  structure map.group.rule.target:
    index: 4
    structure map.group.rule.target.context:
      value: composition
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: extension
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e5
  structure map.group.rule.target:
    index: 6
    structure map.group.rule.target.context:
      value: e5
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: practitionerDataEnterer
    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: Practitioner
  structure map.group.rule.target:
    index: 7
    structure map.group.rule.target.context:
      value: practitionerDataEnterer
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid5
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 8
    structure map.group.rule.target.context:
      value: e5
    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: uuid5
  structure map.group.rule.target:
    index: 9
    structure map.group.rule.target.context:
      value: practitionerRoleDataEnterer
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: practitioner
    structure map.group.rule.target.variable:
      value: reference
    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: 10
    structure map.group.rule.target.context:
      value: reference
    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: uuid5
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: data
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: item
    structure map.group.rule.dependent:
      index: 0
      structure map.group.rule.dependent.name:
        value: UrgentNotificationContactForResponseItems
      structure map.group.rule.dependent.variable:
        value: item
        index: 0
      structure map.group.rule.dependent.variable:
        value: practitionerRoleDataEnterer
        index: 1
      structure map.group.rule.dependent.variable:
        value: practitionerDataEnterer
        index: 2
  structure map.group.rule.rule:
    index: 1
    structure map.group.rule.name:
      value: extension

index: 0
structure map.group.rule.source.context:
  value: item

index: 0
structure map.group.rule.dependent.name:
  value: ExtOrfUrgentNotificationContactForResponse
structure map.group.rule.dependent.variable:
  value: item
  index: 0
structure map.group.rule.dependent.variable:
  value: practitionerRoleDataEnterer
  index: 1
structure map.group.rule.dependent.variable:
  value: extension
  index: 2

index: 3
structure map.group.name:
  value: UrgentNotificationContactForRequestPractitionerItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitioner
  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: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'order.notificationContactDocument.practitioner.familyName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: family
    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: item.answer.value
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'order.notificationContactDocument.practitioner.givenName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: given
    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: item.answer.value
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: sender.author.practitioner.title
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'order.notificationContactDocument.practitioner.title') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: prefix
    structure map.group.rule.target.variable:
      value: prefix
    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: item.answer.value
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: prefix
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: ext
  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: 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/iso21090-EN-qualifier
  structure map.group.rule.target:
    index: 4
    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.variable:
      value: value
    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: code
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: value
    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

index: 0
structure map.group.rule.target.parameter.value string:
  value: AC

index: 3
structure map.group.rule.name:
  value: sender.author.practitioner.phone
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'order.notificationContactDocument.practitioner.phone') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: practitioner
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: phone
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 4
structure map.group.rule.name:
  value: sender.author.practitioner.email
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'order.notificationContactDocument.practitioner.email') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: practitioner
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: email
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 4
structure map.group.name:
  value: UrgentNotificationContactForRequestItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitionerRole
  structure map.group.input.type:
    value: practitionerRole
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: practitioner
  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: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: (linkId.value = 'order.notificationContactDocument.practitioner')
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: UrgentNotificationContactForRequestPractitionerItems
    structure map.group.rule.dependent.variable:
      value: item
      index: 0
    structure map.group.rule.dependent.variable:
      value: practitioner
      index: 1

index: 5
structure map.group.name:
  value: ExtOrfUrgentNotificationContactForRequest
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitionerRole
  structure map.group.input.type:
    value: PractitionerRole
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: ext
  structure map.group.input.type:
    value: Extension
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: url
  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: 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://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-urgentnoficationcontactforthisdocument
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: practitionerRole
  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: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.variable:
      value: reference
    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: reference
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: reference
    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: 'urn:uuid:' + %practitionerRole.id

index: 6
structure map.group.name:
  value: UrgentNotificationContactForResponsePractitionerItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitioner
  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: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'order.notificationContactDocumentResponse.practitioner.familyName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: family
    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: item.answer.value
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'order.notificationContactDocumentResponse.practitioner.givenName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: given
    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: item.answer.value
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: sender.author.practitioner.title
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'order.notificationContactDocumentResponse.practitioner.title') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: prefix
    structure map.group.rule.target.variable:
      value: prefix
    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: item.answer.value
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: prefix
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: ext
  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: 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/iso21090-EN-qualifier
  structure map.group.rule.target:
    index: 4
    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.variable:
      value: value
    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: code
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: value
    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

index: 0
structure map.group.rule.target.parameter.value string:
  value: AC

index: 3
structure map.group.rule.name:
  value: sender.author.practitioner.phone
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'order.notificationContactDocumentResponse.practitioner.phone') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: practitioner
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: phone
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 4
structure map.group.rule.name:
  value: sender.author.practitioner.email
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'order.notificationContactDocumentResponse.practitioner.email') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: practitioner
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: email
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 7
structure map.group.name:
  value: UrgentNotificationContactForResponseItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitionerRole
  structure map.group.input.type:
    value: practitionerRole
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: practitioner
  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: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: (linkId.value = 'order.notificationContactDocumentResponse.practitioner')
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: UrgentNotificationContactForResponsePractitionerItems
    structure map.group.rule.dependent.variable:
      value: item
      index: 0
    structure map.group.rule.dependent.variable:
      value: practitioner
      index: 1

index: 8
structure map.group.name:
  value: ExtOrfUrgentNotificationContactForResponse
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitionerRole
  structure map.group.input.type:
    value: PractitionerRole
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: ext
  structure map.group.input.type:
    value: Extension
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: url
  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: 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://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-urgentnoficationcontactfortheresponsetothisdocument
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: practitionerRole
  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: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.variable:
      value: reference
    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: reference
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: reference
    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: 'urn:uuid:' + %practitionerRole.id

index: 9
structure map.group.name:
  value: ReceiverPractitionerItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitioner
  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: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiver.practitioner.familyName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: family
    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: item.answer.value
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiver.practitioner.givenName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: given
    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: item.answer.value
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: receiver.practitioner.title
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiver.practitioner.title') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: prefix
    structure map.group.rule.target.variable:
      value: prefix
    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: item.answer.value
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: prefix
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: ext
  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: 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/iso21090-EN-qualifier
  structure map.group.rule.target:
    index: 4
    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.variable:
      value: value
    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: code
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: value
    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

index: 0
structure map.group.rule.target.parameter.value string:
  value: AC

index: 3
structure map.group.rule.name:
  value: receiver.practitioner.gln
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiver.practitioner.gln') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: practitioner
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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:oid:2.51.1.3
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 4
structure map.group.rule.name:
  value: receiver.practitioner.phone
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiver.practitioner.phone') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: practitioner
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: phone
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 5
structure map.group.rule.name:
  value: receiver.practitioner.email
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiver.practitioner.email') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: practitioner
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: email
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 10
structure map.group.name:
  value: ReceiverOrganizationItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: organization
  structure map.group.input.type:
    value: Organization
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiver.organization.name') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    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: item.answer.value
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item.answer
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiver.organization.streetAddressLine') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: address
    structure map.group.rule.target.variable:
      value: address
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: orgAddress
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: receiver.organization.streetAddressLine
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: item
      structure map.group.rule.source.element:
        value: answer
      structure map.group.rule.source.variable:
        value: answer
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: address
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: line
      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: receiver.organization.postalCode
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiver.organization.postalCode') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: address
    structure map.group.rule.target.variable:
      value: address
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: orgAddress
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: address
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: postalCode
    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: item.answer.value
structure map.group.rule:
  index: 3
  structure map.group.rule.name:
    value: receiver.organization.city
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiver.organization.city') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: address
    structure map.group.rule.target.variable:
      value: address
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: orgAddress
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: address
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: city
    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: item.answer.value
structure map.group.rule:
  index: 4
  structure map.group.rule.name:
    value: receiver.organization.country
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiver.organization.country') and answer.exists())

value: answer.value

index: 0
structure map.group.rule.target.context:
  value: organization
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: address
structure map.group.rule.target.variable:
  value: address
structure map.group.rule.target.list mode:
  value: share
  index: 0
structure map.group.rule.target.list rule id:
  value: orgAddress

index: 1
structure map.group.rule.target.context:
  value: address
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: country
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: item.answer.value

index: 11
structure map.group.name:
  value: ReceiverItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitionerRole
  structure map.group.input.type:
    value: practitionerRole
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: practitioner
  structure map.group.input.type:
    value: Practitioner
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 3
  structure map.group.input.name:
    value: organization
  structure map.group.input.type:
    value: Organization
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: (linkId.value = 'receiver.practitioner')
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: ReceiverPractitionerItems
    structure map.group.rule.dependent.variable:
      value: item
      index: 0
    structure map.group.rule.dependent.variable:
      value: practitioner
      index: 1
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: (linkId.value = 'receiver.organization')
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: ReceiverOrganizationItems
    structure map.group.rule.dependent.variable:
      value: item
      index: 0
    structure map.group.rule.dependent.variable:
      value: organization
      index: 1

index: 12
structure map.group.name:
  value: ReceiverInit
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: bundle
  structure map.group.input.type:
    value: Bundle
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: composition
  structure map.group.input.type:
    value: Composition
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 3
  structure map.group.input.name:
    value: serviceRequest
  structure map.group.input.type:
    value: ServiceRequest
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: receiver
  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: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: practitionerRole
    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: PractitionerRole
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: practitionerRole
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: e
    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: uuid
  structure map.group.rule.target:
    index: 4
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e2
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: e2
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: practitioner
    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: Practitioner
  structure map.group.rule.target:
    index: 6
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid2
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 7
    structure map.group.rule.target.context:
      value: e2
    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: uuid2
  structure map.group.rule.target:
    index: 8
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e3
  structure map.group.rule.target:
    index: 9
    structure map.group.rule.target.context:
      value: e3
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: organization
    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: Organization
  structure map.group.rule.target:
    index: 10
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid3
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 11
    structure map.group.rule.target.context:
      value: e3
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: fullUrl

value: append

index: 0
structure map.group.rule.target.parameter.value string:
  value: urn:uuid:

index: 1
structure map.group.rule.target.parameter.value id:
  value: uuid3

index: 12
structure map.group.rule.target.context:
  value: composition
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: extension
structure map.group.rule.target.variable:
  value: ext

index: 13
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://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-receiver

index: 14
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.variable:
  value: reference
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

index: 15
structure map.group.rule.target.context:
  value: reference
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: uuid

index: 16
structure map.group.rule.target.context:
  value: practitionerRole
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: practitioner
structure map.group.rule.target.variable:
  value: reference
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

index: 17
structure map.group.rule.target.context:
  value: reference
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: uuid2

index: 18
structure map.group.rule.target.context:
  value: practitionerRole
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: organization
structure map.group.rule.target.variable:
  value: reference
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

index: 19
structure map.group.rule.target.context:
  value: reference
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: uuid3

index: 0
structure map.group.rule.dependent.name:
  value: ReceiverItems
structure map.group.rule.dependent.variable:
  value: src
  index: 0
structure map.group.rule.dependent.variable:
  value: practitionerRole
  index: 1
structure map.group.rule.dependent.variable:
  value: practitioner
  index: 2
structure map.group.rule.dependent.variable:
  value: organization
  index: 3

index: 13
structure map.group.name:
  value: PatientItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  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: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: PatientItems
    structure map.group.rule.dependent.variable:
      value: item
      index: 0
    structure map.group.rule.dependent.variable:
      value: tgt
      index: 1
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'patient.familyName') and answer.exists())
  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.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: patientName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: family
    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: item.answer.value
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'patient.maidenName') and answer.exists())
  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.variable:
      value: name
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: use
    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: maiden
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: family
    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: item.answer.value
structure map.group.rule:
  index: 3
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'patient.givenName') and answer.exists())
  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.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: patientName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: given
    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: item.answer.value
structure map.group.rule:
  index: 4
  structure map.group.rule.name:
    value: patient.localPid
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'patient.localPid') and answer.exists())
  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

value: value

value: share
index: 0

value: localpid

index: 1
structure map.group.rule.target.context:
  value: value
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: type
structure map.group.rule.target.variable:
  value: type

index: 2
structure map.group.rule.target.context:
  value: type
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: coding
structure map.group.rule.target.variable:
  value: coding

index: 3
structure map.group.rule.target.context:
  value: coding
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://terminology.hl7.org/CodeSystem/v2-0203

index: 4
structure map.group.rule.target.context:
  value: coding
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: MR

index: 5
structure map.group.rule.target.context:
  value: value
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: value
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: item.answer.valueString

index: 5
structure map.group.rule.name:
  value: patient.localPidDomain
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'patient.localPidDomain') and answer.exists())
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: value
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: localpid
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: system
  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: item.answer.valueString

index: 6
structure map.group.rule.name:
  value: item
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'patient.birthDate') and answer.exists())
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: evaluate
  structure map.group.rule.target.parameter:
    index: 0
    structure map.group.rule.target.parameter.value string:
      value: item.answer.value

index: 7
structure map.group.rule.name:
  value: item
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'patient.gender') and answer.exists())
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: gender
  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: item.answer.value.code

index: 8
structure map.group.rule.name:
  value: patient.phone
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'patient.phone') and answer.exists())
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: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: phone
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 9
structure map.group.rule.name:
  value: patient.email
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'patient.email') and answer.exists())
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: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: email
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 10
structure map.group.rule.name:
  value: item.answer
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'patient.streetAddressLine') and answer.exists())
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: address
  structure map.group.rule.target.variable:
    value: address
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: orgAddress
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: patient.streetAddressLine
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: answer
    structure map.group.rule.source.variable:
      value: answer
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: address
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: line
    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: answer.value

index: 11
structure map.group.rule.name:
  value: patient.postalCode
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'patient.postalCode') and answer.exists())
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: address
  structure map.group.rule.target.variable:
    value: address
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: orgAddress
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: address
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: postalCode
  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: item.answer.value

index: 12
structure map.group.rule.name:
  value: patient.city
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'patient.city') and answer.exists())
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: address
  structure map.group.rule.target.variable:
    value: address
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: orgAddress
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: address
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: city
  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: item.answer.value

index: 13
structure map.group.rule.name:
  value: patient.country
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'patient.country') and answer.exists())
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: address
  structure map.group.rule.target.variable:
    value: address
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: orgAddress
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: address
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: country
  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: item.answer.value

index: 14
structure map.group.rule.name:
  value: contact
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: (linkId.value = 'patient.contactperson')
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: contact
  structure map.group.rule.target.variable:
    value: contact
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'patient.contactperson.familyName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: contact
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: contactName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: family
    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: item.answer.value
structure map.group.rule.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'patient.contactperson.givenName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: contact
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: contactName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: given
    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: item.answer.value
structure map.group.rule.rule:
  index: 2
  structure map.group.rule.name:
    value: patient.phone
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'patient.contactperson.phone') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: contact
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: telecom
    structure map.group.rule.target.variable:
      value: value
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: value
    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: phone
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: value
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    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: item.answer.value
structure map.group.rule.rule:
  index: 3
  structure map.group.rule.name:
    value: patient.email
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'patient.contactperson.email') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: contact
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: telecom
    structure map.group.rule.target.variable:
      value: value
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: value
    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: email
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: value

value: variable

value: value

value: evaluate

index: 0
structure map.group.rule.target.parameter.value string:
  value: item.answer.value

index: 4
structure map.group.rule.name:
  value: patient.contactperson.relationship
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: item
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'patient.contactperson.relationship') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: contact
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: relationship
  structure map.group.rule.target.variable:
    value: relationship
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: relationship
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: text
  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: item.answer.value

index: 14
structure map.group.name:
  value: RequestedEncounterItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: bundle
  structure map.group.input.type:
    value: Bundle
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: patient
  structure map.group.input.type:
    value: Patient
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 3
  structure map.group.input.name:
    value: serviceRequest
  structure map.group.input.type:
    value: ServiceRequest
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: RequestedEncounterItems
  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: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e4
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e4
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: encounter
    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: Encounter
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: encounter
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid4
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: e4
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: fullUrl
    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: 'urn:uuid:' + %uuid4
  structure map.group.rule.target:
    index: 4
    structure map.group.rule.target.context:
      value: encounter
    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: planned
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: serviceRequest
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: extension
  structure map.group.rule.target:
    index: 6
    structure map.group.rule.target.context:
      value: encounter
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: subject
    structure map.group.rule.target.variable:
      value: subject
    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: 7
    structure map.group.rule.target.context:
      value: subject
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: reference
    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: 'urn:uuid:' + %patient.id
  structure map.group.rule.target:
    index: 8
    structure map.group.rule.target.context:
      value: extension
    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://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-requestedencounterdetails
  structure map.group.rule.target:
    index: 9
    structure map.group.rule.target.context:
      value: extension
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.variable:
      value: reference
    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: 10
    structure map.group.rule.target.context:
      value: reference
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: reference
    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: 'urn:uuid:' + %uuid4
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: requestedEncounter.class
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: src

value: item

value: item

value: ((linkId.value = 'requestedEncounter.class') and answer.exists())

index: 0
structure map.group.rule.target.context:
  value: encounter
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: class
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: item.answer.value

index: 1
structure map.group.rule.name:
  value: requestedEncounter.desiredAccommodation
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'requestedEncounter.desiredAccommodation') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: encounter
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: extension
  structure map.group.rule.target.variable:
    value: extension
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: extension
  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://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-desiredaccommodation
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: extension
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 15
structure map.group.name:
  value: Coverage
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: bundle
  structure map.group.input.type:
    value: Bundle
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: patient
  structure map.group.input.type:
    value: Patient
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 3
  structure map.group.input.name:
    value: serviceRequest
  structure map.group.input.type:
    value: ServiceRequest
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: coverage.beneficiary
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: where(linkId.value = 'coverage.beneficiary')
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: coverage.beneficiary.ahvn13
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: item
      structure map.group.rule.source.element:
        value: item
      structure map.group.rule.source.variable:
        value: item
      structure map.group.rule.source.condition:
        value: ((linkId.value = 'coverage.beneficiary.ahvn13') and answer.exists())
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: patient
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: identifier
      structure map.group.rule.target.variable:
        value: identifier
    structure map.group.rule.target:
      index: 1
      structure map.group.rule.target.context:
        value: identifier
      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:
      index: 2
      structure map.group.rule.target.context:
        value: identifier
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: value
      structure map.group.rule.target.transform:
        value: evaluate
      structure map.group.rule.target.parameter:
        index: 0
  structure map.group.rule.documentation:
    value: coverage.beneficiary
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: coveragekvg
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: where(linkId.value = 'coverage.kvg')
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e4
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e4
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: coverage
    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: Coverage
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: coverage
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid4
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: e4
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: fullUrl
    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: 'urn:uuid:' + %uuid4
  structure map.group.rule.target:
    index: 4
    structure map.group.rule.target.context:
      value: serviceRequest
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: insurance
    structure map.group.rule.target.variable:
      value: insurance
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: insurance
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: reference
    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: 'urn:uuid:' + %uuid4
  structure map.group.rule.target:
    index: 6
    structure map.group.rule.target.context:
      value: coverage
    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

value: urn:oid:2.16.756.5.32

value: item.answer.value

value: active

index: 7
structure map.group.rule.target.context:
  value: coverage
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: beneficiary
structure map.group.rule.target.variable:
  value: subject
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

index: 8
structure map.group.rule.target.context:
  value: subject
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: reference
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: 'urn:uuid:' + %patient.id

index: 9
structure map.group.rule.target.context:
  value: coverage
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: type
structure map.group.rule.target.variable:
  value: type

index: 10
structure map.group.rule.target.context:
  value: type
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: coding
structure map.group.rule.target.variable:
  value: coding

index: 11
structure map.group.rule.target.context:
  value: coding
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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coveragetype

index: 12
structure map.group.rule.target.context:
  value: coding
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: KVG

index: 0
structure map.group.rule.name:
  value: coverage.kvg.name
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: item
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'coverage.kvg.name') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: payor
  structure map.group.rule.target.variable:
    value: payor
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: payor
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  structure map.group.rule.target.variable:
    value: refcontained
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: refcontained
  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 string:
      value: #org
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: contained
  structure map.group.rule.target.variable:
    value: organization
  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: Organization
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: organization
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: id
  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: org
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: organization
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: name
  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: item.answer.value

index: 1
structure map.group.rule.name:
  value: coverage.kvg.insuranceCardNumber
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: item
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'coverage.kvg.insuranceCardNumber') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: identifier
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: identifier
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: typeid
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: typeid
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: coding
  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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coverageidentifiertype
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: coding
  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: VeKa
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: identifier
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

value: coverage.kvg

index: 2
structure map.group.rule.name:
  value: coverageuvg
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: where(linkId.value = 'coverage.uvg')
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: bundle
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: entry
  structure map.group.rule.target.variable:
    value: e4
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: resource
  structure map.group.rule.target.variable:
    value: coverage
  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: Coverage
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: id
  structure map.group.rule.target.variable:
    value: uuid4
  structure map.group.rule.target.transform:
    value: uuid
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: fullUrl
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
  structure map.group.rule.target.variable:
    value: insurance
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: insurance
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 6
  structure map.group.rule.target.context:
    value: coverage
  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: active
structure map.group.rule.target:
  index: 7
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: beneficiary
  structure map.group.rule.target.variable:
    value: subject
  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: 8
  structure map.group.rule.target.context:
    value: subject
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %patient.id
structure map.group.rule.target:
  index: 9
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: type
structure map.group.rule.target:
  index: 10
  structure map.group.rule.target.context:
    value: type
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 11
  structure map.group.rule.target.context:
    value: coding
  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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coveragetype
structure map.group.rule.target:
  index: 12
  structure map.group.rule.target.context:
    value: coding
  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: UVG
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: coverage.uvg.name
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'coverage.uvg.name') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: coverage
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: payor

value: payor

index: 1
structure map.group.rule.target.context:
  value: payor
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: reference
structure map.group.rule.target.variable:
  value: refcontained

index: 2
structure map.group.rule.target.context:
  value: refcontained
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 string:
    value: #org

index: 3
structure map.group.rule.target.context:
  value: coverage
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: contained
structure map.group.rule.target.variable:
  value: organization
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: Organization

index: 4
structure map.group.rule.target.context:
  value: organization
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: id
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: org

index: 5
structure map.group.rule.target.context:
  value: organization
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: name
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: item.answer.value

index: 1
structure map.group.rule.name:
  value: coverage.uvg.claimNumber
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: item
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'coverage.uvg.claimNumber') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: identifier
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: identifier
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: typeid
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: typeid
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: coding
  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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coverageidentifiertype
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: coding
  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: Claim
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: identifier
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

value: coverage.uvg Unfallversicherung (nach UVG) 0..1 group Definition: Coverage.type

index: 3
structure map.group.rule.name:
  value: coveragevvg
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: where(linkId.value = 'coverage.vvg')
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: bundle
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: entry
  structure map.group.rule.target.variable:
    value: e4
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: resource
  structure map.group.rule.target.variable:
    value: coverage
  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: Coverage
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: id
  structure map.group.rule.target.variable:
    value: uuid4
  structure map.group.rule.target.transform:
    value: uuid
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: fullUrl
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
  structure map.group.rule.target.variable:
    value: insurance
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: insurance
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 6
  structure map.group.rule.target.context:
    value: coverage
  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: active
structure map.group.rule.target:
  index: 7
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: beneficiary
  structure map.group.rule.target.variable:
    value: subject
  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: 8
  structure map.group.rule.target.context:
    value: subject
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %patient.id
structure map.group.rule.target:
  index: 9
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: type
structure map.group.rule.target:
  index: 10
  structure map.group.rule.target.context:
    value: type
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 11
  structure map.group.rule.target.context:
    value: coding
  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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coveragetype
structure map.group.rule.target:
  index: 12
  structure map.group.rule.target.context:
    value: coding
  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: Zusatz
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: coverage.vvg.name
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'coverage.vvg.name') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: coverage
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: payor

value: payor

index: 1
structure map.group.rule.target.context:
  value: payor
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: reference
structure map.group.rule.target.variable:
  value: refcontained

index: 2
structure map.group.rule.target.context:
  value: refcontained
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 string:
    value: #org

index: 3
structure map.group.rule.target.context:
  value: coverage
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: contained
structure map.group.rule.target.variable:
  value: organization
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: Organization

index: 4
structure map.group.rule.target.context:
  value: organization
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: id
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: org

index: 5
structure map.group.rule.target.context:
  value: organization
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: name
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: item.answer.value

index: 1
structure map.group.rule.name:
  value: coverage.vvg.insuranceCardNumber
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: item
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'coverage.vvg.insuranceCardNumber') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: identifier
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: identifier
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: typeid
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: typeid
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: coding
  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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coverageidentifiertype
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: coding
  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: VeKa
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: identifier
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

value: coverage.vvg Zusatzversicherung (nach VVG) 0..1 group Definition: Coverage.type

index: 4
structure map.group.rule.name:
  value: coverageiv
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: where(linkId.value = 'coverage.iv')
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: bundle
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: entry
  structure map.group.rule.target.variable:
    value: e4
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: resource
  structure map.group.rule.target.variable:
    value: coverage
  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: Coverage
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: id
  structure map.group.rule.target.variable:
    value: uuid4
  structure map.group.rule.target.transform:
    value: uuid
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: fullUrl
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
  structure map.group.rule.target.variable:
    value: insurance
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: insurance
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 6
  structure map.group.rule.target.context:
    value: coverage
  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: active
structure map.group.rule.target:
  index: 7
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: beneficiary
  structure map.group.rule.target.variable:
    value: subject
  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: 8
  structure map.group.rule.target.context:
    value: subject
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %patient.id
structure map.group.rule.target:
  index: 9
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: type
structure map.group.rule.target:
  index: 10
  structure map.group.rule.target.context:
    value: type
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 11
  structure map.group.rule.target.context:
    value: coding
  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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coveragetype
structure map.group.rule.target:
  index: 12
  structure map.group.rule.target.context:
    value: coding
  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: IVG
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: coverage.iv.verfuegungsnummer
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'coverage.iv.verfuegungsnummer') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: coverage
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: identifier

value: identifier

index: 1
structure map.group.rule.target.context:
  value: identifier
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: type
structure map.group.rule.target.variable:
  value: typeid

index: 2
structure map.group.rule.target.context:
  value: typeid
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: coding
structure map.group.rule.target.variable:
  value: coding

index: 3
structure map.group.rule.target.context:
  value: coding
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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coverageidentifiertype

index: 4
structure map.group.rule.target.context:
  value: coding
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: IV

index: 5
structure map.group.rule.target.context:
  value: identifier
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: value
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: item.answer.value

value: coverage.iv Invalidenversicherung (IV) 0..1 group Definition: Coverage.type

index: 5
structure map.group.rule.name:
  value: coveragemv
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: where(linkId.value = 'coverage.mv')
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: bundle
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: entry
  structure map.group.rule.target.variable:
    value: e4
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: resource
  structure map.group.rule.target.variable:
    value: coverage
  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: Coverage
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: id
  structure map.group.rule.target.variable:
    value: uuid4
  structure map.group.rule.target.transform:
    value: uuid
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: fullUrl
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
  structure map.group.rule.target.variable:
    value: insurance
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: insurance
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 6
  structure map.group.rule.target.context:
    value: coverage
  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: active
structure map.group.rule.target:
  index: 7
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: beneficiary
  structure map.group.rule.target.variable:
    value: subject
  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: 8
  structure map.group.rule.target.context:
    value: subject
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %patient.id
structure map.group.rule.target:
  index: 9
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: type
structure map.group.rule.target:
  index: 10
  structure map.group.rule.target.context:
    value: type
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 11
  structure map.group.rule.target.context:
    value: coding
  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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coveragetype
structure map.group.rule.target:
  index: 12
  structure map.group.rule.target.context:
    value: coding
  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: MVG
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: coverage.mv.versichertennummer
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'coverage.mv.versichertennummer') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: coverage
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: identifier

value: identifier

index: 1
structure map.group.rule.target.context:
  value: identifier
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: type
structure map.group.rule.target.variable:
  value: typeid

index: 2
structure map.group.rule.target.context:
  value: typeid
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: coding
structure map.group.rule.target.variable:
  value: coding

index: 3
structure map.group.rule.target.context:
  value: coding
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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coverageidentifiertype

index: 4
structure map.group.rule.target.context:
  value: coding
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: MV

index: 5
structure map.group.rule.target.context:
  value: identifier
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: value
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: item.answer.value

value: coverage.mv Militärversicherung (MV) 0..1 group Definition: Coverage.type

index: 6
structure map.group.rule.name:
  value: coverageself
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: where(linkId.value = 'coverage.self')
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: bundle
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: entry
  structure map.group.rule.target.variable:
    value: e4
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: resource
  structure map.group.rule.target.variable:
    value: coverage
  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: Coverage
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: id
  structure map.group.rule.target.variable:
    value: uuid4
  structure map.group.rule.target.transform:
    value: uuid
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: fullUrl
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
  structure map.group.rule.target.variable:
    value: insurance
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: insurance
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 6
  structure map.group.rule.target.context:
    value: coverage
  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: active
structure map.group.rule.target:
  index: 7
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: beneficiary
  structure map.group.rule.target.variable:
    value: subject
  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: 8
  structure map.group.rule.target.context:
    value: subject
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %patient.id
structure map.group.rule.target:
  index: 9
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: type
structure map.group.rule.target:
  index: 10
  structure map.group.rule.target.context:
    value: type
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 11
  structure map.group.rule.target.context:
    value: coding
  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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coveragetype
structure map.group.rule.target:
  index: 12
  structure map.group.rule.target.context:
    value: coding
  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: Self
structure map.group.rule.target:
  index: 13
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: payor
  structure map.group.rule.target.variable:
    value: payor
structure map.group.rule.target:
  index: 14
  structure map.group.rule.target.context:
    value: payor
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  structure map.group.rule.target.variable:
    value: refcontained

index: 15
structure map.group.rule.target.context:
  value: refcontained
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 string:
    value: #pat

index: 16
structure map.group.rule.target.context:
  value: coverage
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: contained
structure map.group.rule.target.variable:
  value: patient
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

index: 17
structure map.group.rule.target.context:
  value: patient
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: id
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: pat

index: 0
structure map.group.rule.name:
  value: coverage.self.familyName
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: item
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'coverage.self.familyName') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: patient
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: name
  structure map.group.rule.target.variable:
    value: name
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: selfname
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: name
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: family
  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: item.answer.value

index: 1
structure map.group.rule.name:
  value: coverage.self.givenName
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: item
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'coverage.self.givenName') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: patient
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: name
  structure map.group.rule.target.variable:
    value: name
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: selfname
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: name
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: given
  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: item.answer.value

value: coverage.self Selbstzahler 0..1 group Definition: Coverage.type

index: 7
structure map.group.rule.name:
  value: coveragevvg
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: where(linkId.value = 'coverage.other')
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: bundle
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: entry
  structure map.group.rule.target.variable:
    value: e4
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: resource
  structure map.group.rule.target.variable:
    value: coverage
  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: Coverage
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: id
  structure map.group.rule.target.variable:
    value: uuid4
  structure map.group.rule.target.transform:
    value: uuid
structure map.group.rule.target:
  index: 3
  structure map.group.rule.target.context:
    value: e4
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: fullUrl
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 4
  structure map.group.rule.target.context:
    value: serviceRequest
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: insurance
  structure map.group.rule.target.variable:
    value: insurance
structure map.group.rule.target:
  index: 5
  structure map.group.rule.target.context:
    value: insurance
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %uuid4
structure map.group.rule.target:
  index: 6
  structure map.group.rule.target.context:
    value: coverage
  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: active
structure map.group.rule.target:
  index: 7
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: beneficiary
  structure map.group.rule.target.variable:
    value: subject
  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: 8
  structure map.group.rule.target.context:
    value: subject
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: reference
  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: 'urn:uuid:' + %patient.id
structure map.group.rule.target:
  index: 9
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: type
  structure map.group.rule.target.variable:
    value: type
structure map.group.rule.target:
  index: 10
  structure map.group.rule.target.context:
    value: type
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: coding
  structure map.group.rule.target.variable:
    value: coding
structure map.group.rule.target:
  index: 11
  structure map.group.rule.target.context:
    value: coding
  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://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coveragetype
structure map.group.rule.target:
  index: 12
  structure map.group.rule.target.context:
    value: coding
  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: Zusatz
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: coverage.other.name
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'coverage.other.name') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: coverage
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: payor

value: payor

index: 1
structure map.group.rule.target.context:
  value: payor
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: reference
structure map.group.rule.target.variable:
  value: refcontained

index: 2
structure map.group.rule.target.context:
  value: refcontained
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 string:
    value: #org

index: 3
structure map.group.rule.target.context:
  value: coverage
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: contained
structure map.group.rule.target.variable:
  value: organization
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: Organization

index: 4
structure map.group.rule.target.context:
  value: organization
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: id
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: org

index: 5
structure map.group.rule.target.context:
  value: organization
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: name
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: item.answer.value

index: 1
structure map.group.rule.name:
  value: coverage.other.id
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: item
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'coverage.other.id') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: coverage
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: identifier
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: identifier
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

value: coverage.other Anderer Kostenträger 0..1 group Definition: Coverage.type

index: 16
structure map.group.name:
  value: SenderAuthorPractitionerItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitioner
  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: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.author.practitioner.familyName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: family
    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: item.answer.value
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.author.practitioner.givenName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: given
    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: item.answer.value
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: sender.author.practitioner.title
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.author.practitioner.title') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: prefix
    structure map.group.rule.target.variable:
      value: prefix
    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: item.answer.value
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: prefix
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: ext
  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: 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/iso21090-EN-qualifier
  structure map.group.rule.target:
    index: 4
    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.variable:
      value: value
    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: code
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: value
    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

index: 0
structure map.group.rule.target.parameter.value string:
  value: AC

index: 3
structure map.group.rule.name:
  value: sender.author.practitioner.gln
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'sender.author.practitioner.gln') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: practitioner
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: identifier
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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:oid:2.51.1.3
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 4
structure map.group.rule.name:
  value: sender.author.practitioner.phone
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'sender.author.practitioner.phone') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: practitioner
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: phone
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 5
structure map.group.rule.name:
  value: sender.author.practitioner.email
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'sender.author.practitioner.email') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: practitioner
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: email
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 17
structure map.group.name:
  value: SenderAuthorOrganizationItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: organization
  structure map.group.input.type:
    value: Organization
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.author.organization.name') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    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: item.answer.value
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item.answer
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.author.organization.streetAddressLine') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: address
    structure map.group.rule.target.variable:
      value: address
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: orgAddress
  structure map.group.rule.rule:
    index: 0
    structure map.group.rule.name:
      value: sender.author.organization.streetAddressLine
    structure map.group.rule.source:
      index: 0
      structure map.group.rule.source.context:
        value: item
      structure map.group.rule.source.element:
        value: answer
      structure map.group.rule.source.variable:
        value: answer
    structure map.group.rule.target:
      index: 0
      structure map.group.rule.target.context:
        value: address
      structure map.group.rule.target.context type:
        value: variable
      structure map.group.rule.target.element:
        value: line
      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: sender.author.organization.postalCode
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.author.organization.postalCode') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: address
    structure map.group.rule.target.variable:
      value: address
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: orgAddress
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: address
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: postalCode
    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: item.answer.value
structure map.group.rule:
  index: 3
  structure map.group.rule.name:
    value: sender.author.organization.city
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.author.organization.city') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: address
    structure map.group.rule.target.variable:
      value: address
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: orgAddress
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: address
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: city
    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: item.answer.value
structure map.group.rule:
  index: 4
  structure map.group.rule.name:
    value: sender.author.organization.country
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.author.organization.country') and answer.exists())

value: answer.value

index: 0
structure map.group.rule.target.context:
  value: organization
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: address
structure map.group.rule.target.variable:
  value: address
structure map.group.rule.target.list mode:
  value: share
  index: 0
structure map.group.rule.target.list rule id:
  value: orgAddress

index: 1
structure map.group.rule.target.context:
  value: address
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: country
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: item.answer.value

index: 18
structure map.group.name:
  value: SenderAuthorItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitionerRole
  structure map.group.input.type:
    value: practitionerRole
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: practitioner
  structure map.group.input.type:
    value: Practitioner
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 3
  structure map.group.input.name:
    value: organization
  structure map.group.input.type:
    value: Organization
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: (linkId.value = 'sender.author.practitioner')
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: SenderAuthorPractitionerItems
    structure map.group.rule.dependent.variable:
      value: item
      index: 0
    structure map.group.rule.dependent.variable:
      value: practitioner
      index: 1
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: (linkId.value = 'sender.author.organization')
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: SenderAuthorOrganizationItems
    structure map.group.rule.dependent.variable:
      value: item
      index: 0
    structure map.group.rule.dependent.variable:
      value: organization
      index: 1

index: 19
structure map.group.name:
  value: SenderDataEntererPractitionerItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitioner
  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: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.dataenterer.practitioner.familyName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: family
    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: item.answer.value
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.dataenterer.practitioner.givenName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: practitionerName
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: given
    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: item.answer.value
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: sender.author.practitioner.phone
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.dataenterer.practitioner.phone') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: telecom
    structure map.group.rule.target.variable:
      value: value
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: value
    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: phone
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: value
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    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: item.answer.value
structure map.group.rule:
  index: 3
  structure map.group.rule.name:
    value: sender.author.practitioner.email
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'sender.dataenterer.practitioner.email') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: telecom
    structure map.group.rule.target.variable:
      value: value
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: value
    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: email
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: value
    structure map.group.rule.target.context type:
      value: variable

value: value

value: evaluate

index: 0
structure map.group.rule.target.parameter.value string:
  value: item.answer.value

index: 20
structure map.group.name:
  value: SenderDataEntererItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitionerRole
  structure map.group.input.type:
    value: practitionerRole
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: practitioner
  structure map.group.input.type:
    value: Practitioner
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 3
  structure map.group.input.name:
    value: organization
  structure map.group.input.type:
    value: Organization
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: (linkId.value = 'sender.dataenterer.practitioner')
  structure map.group.rule.dependent:
    index: 0
    structure map.group.rule.dependent.name:
      value: SenderDataEntererPractitionerItems
    structure map.group.rule.dependent.variable:
      value: item
      index: 0
    structure map.group.rule.dependent.variable:
      value: practitioner
      index: 1

index: 21
structure map.group.name:
  value: ChExtEprDataEnterer
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: practitionerRole
  structure map.group.input.type:
    value: PractitionerRole
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: ext
  structure map.group.input.type:
    value: Extension
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: url
  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: 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://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-epr-dataenterer
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: practitionerRole
  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: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: ext
  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: enterer
  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.variable:
      value: reference
    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: 3
    structure map.group.rule.target.context:
      value: reference
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: reference
    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: 'urn:uuid:' + %practitionerRole.id

index: 22
structure map.group.name:
  value: SenderAuthorInit
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: bundle
  structure map.group.input.type:
    value: Bundle
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: composition
  structure map.group.input.type:
    value: Composition
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 3
  structure map.group.input.name:
    value: serviceRequest
  structure map.group.input.type:
    value: ServiceRequest
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: sender
  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: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: practitionerRole
    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: PractitionerRole
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: practitionerRole
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: e
    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: uuid
  structure map.group.rule.target:
    index: 4
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e2
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: e2
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: practitioner
    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: Practitioner
  structure map.group.rule.target:
    index: 6
    structure map.group.rule.target.context:
      value: practitioner
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid2
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 7
    structure map.group.rule.target.context:
      value: e2
    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: uuid2
  structure map.group.rule.target:
    index: 8
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e3
  structure map.group.rule.target:
    index: 9
    structure map.group.rule.target.context:
      value: e3
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: organization
    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: Organization
  structure map.group.rule.target:
    index: 10
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid3
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 11
    structure map.group.rule.target.context:
      value: e3
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: fullUrl

value: append

index: 0
structure map.group.rule.target.parameter.value string:
  value: urn:uuid:

index: 1
structure map.group.rule.target.parameter.value id:
  value: uuid3

index: 12
structure map.group.rule.target.context:
  value: composition
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: author
structure map.group.rule.target.variable:
  value: reference
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

index: 13
structure map.group.rule.target.context:
  value: reference
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: uuid

index: 14
structure map.group.rule.target.context:
  value: serviceRequest
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: requester
structure map.group.rule.target.variable:
  value: reference
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

index: 15
structure map.group.rule.target.context:
  value: reference
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: uuid

index: 16
structure map.group.rule.target.context:
  value: practitionerRole
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: practitioner
structure map.group.rule.target.variable:
  value: reference
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

index: 17
structure map.group.rule.target.context:
  value: reference
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: uuid2

index: 18
structure map.group.rule.target.context:
  value: practitionerRole
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: organization
structure map.group.rule.target.variable:
  value: reference
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

index: 19
structure map.group.rule.target.context:
  value: reference
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: uuid3

index: 0
structure map.group.rule.name:
  value: sender.author
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: (linkId.value = 'sender.author')
structure map.group.rule.dependent:
  index: 0
  structure map.group.rule.dependent.name:
    value: SenderAuthorItems
  structure map.group.rule.dependent.variable:
    value: item
    index: 0
  structure map.group.rule.dependent.variable:
    value: practitionerRole
    index: 1
  structure map.group.rule.dependent.variable:
    value: practitioner
    index: 2
  structure map.group.rule.dependent.variable:
    value: organization
    index: 3

index: 1
structure map.group.rule.name:
  value: sender.dataenterer
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: (linkId.value = 'sender.dataenterer')
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: sender.dataenterer.items
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e4
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: e4
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: practitionerRoleDataEnterer
    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: PractitionerRole
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: practitionerRoleDataEnterer
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid4
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 3
    structure map.group.rule.target.context:
      value: e4
    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: uuid4
  structure map.group.rule.target:
    index: 4
    structure map.group.rule.target.context:
      value: composition
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: extension
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: bundle
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: entry
    structure map.group.rule.target.variable:
      value: e5
  structure map.group.rule.target:
    index: 6
    structure map.group.rule.target.context:
      value: e5
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: resource
    structure map.group.rule.target.variable:
      value: practitionerDataEnterer
    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: Practitioner
  structure map.group.rule.target:
    index: 7
    structure map.group.rule.target.context:
      value: practitionerDataEnterer
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: id
    structure map.group.rule.target.variable:
      value: uuid5
    structure map.group.rule.target.transform:
      value: uuid
  structure map.group.rule.target:
    index: 8
    structure map.group.rule.target.context:
      value: e5
    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: uuid5
  structure map.group.rule.target:
    index: 9
    structure map.group.rule.target.context:
      value: practitionerRoleDataEnterer
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: practitioner
    structure map.group.rule.target.variable:
      value: reference
    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: 10
    structure map.group.rule.target.context:
      value: reference
    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: uuid5
  structure map.group.rule.target:
    index: 11
    structure map.group.rule.target.context:
      value: practitionerRoleDataEnterer
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: organization
    structure map.group.rule.target.variable:
      value: reference
    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: 12
    structure map.group.rule.target.context:
      value: reference
    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

index: 0
structure map.group.rule.target.parameter.value string:
  value: urn:uuid:

index: 1
structure map.group.rule.target.parameter.value id:
  value: uuid3

index: 0
structure map.group.rule.name:
  value: data
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: item
structure map.group.rule.dependent:
  index: 0
  structure map.group.rule.dependent.name:
    value: SenderDataEntererItems
  structure map.group.rule.dependent.variable:
    value: item
    index: 0
  structure map.group.rule.dependent.variable:
    value: practitionerRoleDataEnterer
    index: 1
  structure map.group.rule.dependent.variable:
    value: practitionerDataEnterer
    index: 2
  structure map.group.rule.dependent.variable:
    value: organization
    index: 3

index: 1
structure map.group.rule.name:
  value: extension
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: item
structure map.group.rule.dependent:
  index: 0
  structure map.group.rule.dependent.name:
    value: ChExtEprDataEnterer
  structure map.group.rule.dependent.variable:
    value: item
    index: 0
  structure map.group.rule.dependent.variable:
    value: practitionerRoleDataEnterer
    index: 1
  structure map.group.rule.dependent.variable:
    value: extension
    index: 2

index: 23
structure map.group.name:
  value: CopyReceiverPatientItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: patient
  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: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiverCopy.familyName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: patient
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: name
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: family
    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: item.answer.value
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiverCopy.givenName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: patient
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: name
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: given
    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: item.answer.value
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: receiverCopy.title
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiverCopy.title') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: patient
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: name
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: prefix
    structure map.group.rule.target.variable:
      value: prefix
    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: item.answer.value
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: prefix
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: extension
    structure map.group.rule.target.variable:
      value: ext
  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: 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/iso21090-EN-qualifier
  structure map.group.rule.target:
    index: 4
    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.variable:
      value: value
    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: code
  structure map.group.rule.target:
    index: 5
    structure map.group.rule.target.context:
      value: value
    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

index: 0
structure map.group.rule.target.parameter.value string:
  value: AC

index: 3
structure map.group.rule.name:
  value: receiverCopy.phone
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiverCopy.phone') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: patient
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: phone
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 4
structure map.group.rule.name:
  value: receiverCopy.email
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiverCopy.email') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: patient
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: email
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 5
structure map.group.rule.name:
  value: item.answer
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiverCopy.streetAddressLine') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: patient
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: address
  structure map.group.rule.target.variable:
    value: address
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: orgAddress
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: receiverCopy.streetAddressLine
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: answer
    structure map.group.rule.source.variable:
      value: answer
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: address
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: line
    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: answer.value

index: 6
structure map.group.rule.name:
  value: receiverCopy.postalCode
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiverCopy.postalCode') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: patient
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: address
  structure map.group.rule.target.variable:
    value: address
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: orgAddress
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: address
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: postalCode
  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: item.answer.value

index: 7
structure map.group.rule.name:
  value: receiverCopy.city
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiverCopy.city') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: patient
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: address
  structure map.group.rule.target.variable:
    value: address
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: orgAddress
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: address
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: city
  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: item.answer.value

index: 8
structure map.group.rule.name:
  value: receiverCopy.country
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiverCopy.country') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: patient
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: address
  structure map.group.rule.target.variable:
    value: address
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: orgAddress
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: address
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: country
  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: item.answer.value

index: 24
structure map.group.name:
  value: ExtOrfCopyReceiverPatient
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: patient
  structure map.group.input.type:
    value: Patient
  structure map.group.input.mode:
    value: target
structure map.group.input:
  index: 2
  structure map.group.input.name:
    value: ext
  structure map.group.input.type:
    value: Extension
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: url
  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: 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://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-copyreceiver
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: patient
  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: ext
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: value
    structure map.group.rule.target.variable:
      value: reference
    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: reference
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: reference
    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: 'urn:uuid:' + %patient.id

index: 25
structure map.group.name:
  value: CopyReceiverOrganizationItems
structure map.group.type mode:
  value: none
structure map.group.input:
  index: 0
  structure map.group.input.name:
    value: src
  structure map.group.input.type:
    value: BackboneElement
  structure map.group.input.mode:
    value: source
structure map.group.input:
  index: 1
  structure map.group.input.name:
    value: organization
  structure map.group.input.type:
    value: Organization
  structure map.group.input.mode:
    value: target
structure map.group.rule:
  index: 0
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiverCopy.organization.name') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    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: item.answer.value
structure map.group.rule:
  index: 1
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiverCopy.familyName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: contact
    structure map.group.rule.target.variable:
      value: contact
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: contact
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: contact
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: name
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: family
    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: item.answer.value
structure map.group.rule:
  index: 2
  structure map.group.rule.name:
    value: item
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiverCopy.givenName') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: contact
    structure map.group.rule.target.variable:
      value: contact
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: contact
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: contact
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name
    structure map.group.rule.target.variable:
      value: name
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: name
  structure map.group.rule.target:
    index: 2
    structure map.group.rule.target.context:
      value: name
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: given
    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: item.answer.value
structure map.group.rule:
  index: 3
  structure map.group.rule.name:
    value: receiverCopy.title
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: src
    structure map.group.rule.source.element:
      value: item
    structure map.group.rule.source.variable:
      value: item
    structure map.group.rule.source.condition:
      value: ((linkId.value = 'receiverCopy.title') and answer.exists())
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: organization
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: contact
    structure map.group.rule.target.variable:
      value: contact
    structure map.group.rule.target.list mode:
      value: share
      index: 0
    structure map.group.rule.target.list rule id:
      value: contact
  structure map.group.rule.target:
    index: 1
    structure map.group.rule.target.context:
      value: contact
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: name

value: name

value: share
index: 0

value: name

index: 2
structure map.group.rule.target.context:
  value: name
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: prefix
structure map.group.rule.target.variable:
  value: prefix
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: item.answer.value

index: 3
structure map.group.rule.target.context:
  value: prefix
structure map.group.rule.target.context type:
  value: variable
structure map.group.rule.target.element:
  value: extension
structure map.group.rule.target.variable:
  value: ext

index: 4
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/iso21090-EN-qualifier

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: value
structure map.group.rule.target.variable:
  value: value
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: code

index: 6
structure map.group.rule.target.context:
  value: value
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 string:
    value: AC

index: 4
structure map.group.rule.name:
  value: receiverCopy.phone
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiverCopy.phone') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: organization
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: phone
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 5
structure map.group.rule.name:
  value: receiverCopy.email
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiverCopy.email') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: organization
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: telecom
  structure map.group.rule.target.variable:
    value: value
structure map.group.rule.target:
  index: 1
  structure map.group.rule.target.context:
    value: value
  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: email
structure map.group.rule.target:
  index: 2
  structure map.group.rule.target.context:
    value: value
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: value
  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: item.answer.value

index: 6
structure map.group.rule.name:
  value: item.answer
structure map.group.rule.source:
  index: 0
  structure map.group.rule.source.context:
    value: src
  structure map.group.rule.source.element:
    value: item
  structure map.group.rule.source.variable:
    value: item
  structure map.group.rule.source.condition:
    value: ((linkId.value = 'receiverCopy.streetAddressLine') and answer.exists())
structure map.group.rule.target:
  index: 0
  structure map.group.rule.target.context:
    value: organization
  structure map.group.rule.target.context type:
    value: variable
  structure map.group.rule.target.element:
    value: address
  structure map.group.rule.target.variable:
    value: address
  structure map.group.rule.target.list mode:
    value: share
    index: 0
  structure map.group.rule.target.list rule id:
    value: orgAddress
structure map.group.rule.rule:
  index: 0
  structure map.group.rule.name:
    value: receiverCopy.streetAddressLine
  structure map.group.rule.source:
    index: 0
    structure map.group.rule.source.context:
      value: item
    structure map.group.rule.source.element:
      value: answer
    structure map.group.rule.source.variable:
      value: answer
  structure map.group.rule.target:
    index: 0
    structure map.group.rule.target.context:
      value: address
    structure map.group.rule.target.context type:
      value: variable
    structure map.group.rule.target.element:
      value: line
    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: answer.value