CDA to FHIR Maps
0.1.0 - ci-build Italy flag

CDA to FHIR Maps, published by HL7 Italy. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-it/cda2fhir/ and changes regularly. See the Directory of published versions

: CDA to FHIR - LAB - TTL Representation

Draft as of 2026-10-20

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/StructureMap/cda2fhirLabReport> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "cda2fhirLabReport"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n         <pre>map \"http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirLabReport\" = \"cda2fhirLabReport\"\n\nuses \"http://hl7.org/fhir/cda/StructureDefinition/ClinicalDocument\" alias ClinicalDocument as source\nuses \"http://hl7.org/fhir/cda/StructureDefinition/AssignedAuthor\" alias AssignedAuthor as queried\nuses \"http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity\" alias AssignedEntity as queried\nuses \"http://hl7.org/fhir/cda/StructureDefinition/AssociatedEntity\" alias AssociatedEntity as queried\nuses \"http://hl7.org/fhir/cda/StructureDefinition/CustodianOrganization\" alias CustodianOrganization as queried\nuses \"http://hl7.org/fhir/cda/StructureDefinition/OrganizationPartOf\" alias OrganizationPartOf as queried\nuses \"http://hl7.org/fhir/cda/StructureDefinition/Organization\" alias rapresentedOrganization as queried\nuses \"http://hl7.org/fhir/cda/StructureDefinition/Section\" alias Section as queried\nuses \"http://hl7.org/fhir/cda/StructureDefinition/PatientRole\" alias PatientRole as queried\nuses \"http://hl7.org/fhir/cda/StructureDefinition/AD\" alias AD as source\nuses \"http://hl7.org/fhir/StructureDefinition/Bundle\" alias Bundle as target\nuses \"http://hl7.org/fhir/StructureDefinition/Composition\" alias Composition as produced\nuses \"http://hl7.org/fhir/StructureDefinition/Patient\" alias Patient as produced\nuses \"http://hl7.org/fhir/StructureDefinition/Encounter\" alias Encounter as produced\nuses \"http://hl7.org/fhir/StructureDefinition/Person\" alias Patient as produced\nuses \"http://hl7.org/fhir/StructureDefinition/Practitioner\" alias Practitioner as produced\nuses \"http://hl7.org/fhir/StructureDefinition/Specimen\" alias Specimen as produced\nuses \"http://hl7.org/fhir/StructureDefinition/Procedure\" alias Procedure as produced\nuses \"http://hl7.org/fhir/StructureDefinition/Organization\" alias Organization as produced\nuses \"http://hl7.org/fhir/cda/StructureDefinition/Act\" alias Act as produced\nuses \"http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ\" alias IVL_PQ as source\nuses \"http://hl7.org/fhir/cda/StructureDefinition/PQ\" alias PQ as source\nuses \"http://hl7.org/fhir/StructureDefinition/SimpleQuantity\" alias SimpleQuantity as target\nuses \"http://hl7.org/fhir/cda/StructureDefinition/Organizer\" alias Organizer as source\n\nimports \"http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirDataTypes\"\nimports \"http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirHeader\"\n\ngroup CdaToBundle(source cda : ClinicalDocument, target bundle : Bundle) {\n  cda -&gt;  bundle.entry as e,  e.request = create('BackboneElement') as request,  request.method = 'POST',  e.resource = create('Composition') as composition,  composition.id = uuid() as uuid1,  e.fullUrl = append('https://example/Composition/', uuid1),  request.url = 'Composition',  bundle.entry as e2,  e2.request = create('BackboneElement') as requestPAT,  requestPAT.method = 'PUT',  e2.resource = create('Patient') as patient,  patient.id = uuid() as uuid2,  e2.fullUrl = append('https://example/Patient/', uuid2),  bundle.entry as e3,  e3.request = create('BackboneElement') as request,  request.method = 'POST',  e3.resource = create('Encounter') as encounter,  encounter.id = uuid() as uuid3,  e3.fullUrl = append('https://example/Encounter/', uuid3),  request.url = 'Encounter',  bundle.entry as e6,  e6.request = create('BackboneElement') as request,  request.method = 'POST',  e6.resource = create('DocumentReference') as DocumentReference,  DocumentReference.id = uuid() as uuid6,  e6.fullUrl = append('https://example/DocumentReference/', uuid6),  request.url = 'DocumentReference' then {\n    cda then ClinicalDocumentToBundle(cda, patient, composition, encounter, bundle, DocumentReference) \"cdatobundle\";\n    cda.recordTarget as recordTarget then {\n      recordTarget.patientRole as patient then {\n        patient.id as id -&gt; patient.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext1 -&gt; identifier.value = ext1 \"value\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n        } \"idfr\";\n        patient.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') or (root = '2.16.840.1.113883.2.9.4.3.7') or (root = '2.16.840.1.113883.2.9.4.3.3') or (root = '2.16.840.1.113883.2.9.4.3.17') or (root = '2.16.840.1.113883.2.9.4.3.18') or (root = '2.16.840.1.113883.2.9.2.10.4.1.1') or (root = '2.16.840.1.113883.2.9.2.20.4.1.1') or (root = '2.16.840.1.113883.2.9.2.30.4.1.1') or (root = '2.16.840.1.113883.2.9.2.41.4.1.1') or (root = '2.16.840.1.113883.2.9.2.42.4.1.1') or (root = '2.16.840.1.113883.2.9.2.50.4.1.1') or (root = '2.16.840.1.113883.2.9.2.60.4.1.1') or (root = '2.16.840.1.113883.2.9.2.70.4.1.1') or (root = '2.16.840.1.113883.2.9.2.80.4.1.1') or (root = '2.16.840.1.113883.2.9.2.90.4.1.1') or (root = '2.16.840.1.113883.2.9.2.100.4.1.1') or (root = '2.16.840.1.113883.2.9.2.110.4.1.1') or (root = '2.16.840.1.113883.2.9.2.120.4.1.1') or (root = '2.16.840.1.113883.2.9.2.130.4.1.1') or (root = '2.16.840.1.113883.2.9.2.140.4.1.1') or (root = '2.16.840.1.113883.2.9.2.150.4.1.1') or (root = '2.16.840.1.113883.2.9.2.160.4.1.1') or (root = '2.16.840.1.113883.2.9.2.170.4.1.1') or (root = '2.16.840.1.113883.2.9.2.180.4.1.1') or (root = '2.16.840.1.113883.2.9.2.190.4.1.1') or (root = '2.16.840.1.113883.2.9.2.200.4.1.1') or (root = '2.16.840.1.113883.2.9.2.10.4.1') or (root = '2.16.840.1.113883.2.9.2.20.4.1') or (root = '2.16.840.1.113883.2.9.2.30.4.1') or (root = '2.16.840.1.113883.2.9.2.41.4.1') or (root = '2.16.840.1.113883.2.9.2.42.4.1') or (root = '2.16.840.1.113883.2.9.2.50.4.1') or (root = '2.16.840.1.113883.2.9.2.60.4.1') or (root = '2.16.840.1.113883.2.9.2.70.4.1') or (root = '2.16.840.1.113883.2.9.2.80.4.1') or (root = '2.16.840.1.113883.2.9.2.90.4.1') or (root = '2.16.840.1.113883.2.9.2.100.4.1') or (root = '2.16.840.1.113883.2.9.2.110.4.1') or (root = '2.16.840.1.113883.2.9.2.120.4.1') or (root = '2.16.840.1.113883.2.9.2.130.4.1') or (root = '2.16.840.1.113883.2.9.2.140.4.1') or (root = '2.16.840.1.113883.2.9.2.150.4.1') or (root = '2.16.840.1.113883.2.9.2.160.4.1') or (root = '2.16.840.1.113883.2.9.2.170.4.1') or (root = '2.16.840.1.113883.2.9.2.180.4.1') or (root = '2.16.840.1.113883.2.9.2.190.4.1') or (root = '2.16.840.1.113883.2.9.2.200.4.1') or (root = '2.16.840.1.113883.2.9.4.3.15') then {\n          id.extension as ext -&gt; requestPAT.url = append('Patient?identifier=', ext) \"UUID\";\n        } \"ext\";\n      } \"record\";\n    } \"patient\";\n  } \"ClinicalDocumentToBody\";\n}\n\ngroup ClinicalDocumentToBundle(source cda : ClinicalDocument, target patient : Patient, target composition : Composition, target encounter : Encounter, target bundle : Bundle, target documentreference : DocumentReference) {\n  cda -&gt; bundle.id = uuid() \"id\";\n  cda.id -&gt; bundle.identifier \"identifier\";\n  cda -&gt; bundle.type = 'transaction' \"type\";\n  cda -&gt; bundle.timestamp = (timestamp.now()) \"date\";\n  cda then ClinicalDocumentComposition(cda, composition, patient, encounter, bundle, documentreference) \"composition\";\n  cda.component as component then {\n    component.structuredBody as body then {\n      body.component as component then {\n        component.section as srcSection then {\n          srcSection.code -&gt; composition.section as tgtSection then ClinicalDocumentSection(cda, srcSection, patient, tgtSection, bundle, encounter, documentreference);\n        };\n      };\n    } \"body\";\n  };\n}\n\ngroup ClinicalDocumentSection(source cda : ClinicalDocument, source src : Section, target patient : Patient, target tgt, target bundle : Bundle, target enc : Encounter, target documentreference : DocumentReference) {\n  src.title as t -&gt; tgt.title = (t.dataString);\n  src.code -&gt; tgt.code;\n  src.text as cdaText -&gt; tgt.text as fhirText then {\n    cdaText -&gt; fhirText.status = 'generated' \"narrativeStatus\";\n    cdaText as t -&gt; fhirText.div = t \"narrativeText\";\n  } \"cdaText\";\n  src.entry as entry1 -&gt;  bundle.entry as e1,  e1.request = create('BackboneElement') as request,  request.method = 'POST',  e1.resource = create('DiagnosticReport') as DiagnosticReport,  DiagnosticReport.id = uuid() as uuid1,  e1.fullUrl = append('https://example/DiagnosticReport/', uuid1),  request.url = 'DiagnosticReport',  tgt.entry = create('Reference') as reference,  reference.reference = ('https://example/DiagnosticReport/' + %DiagnosticReport.id) then {\n    entry1.act as act1 then Act(act1, patient, DiagnosticReport, enc, bundle);\n  };\n  src.component as component then {\n    component.section as sec -&gt; tgt.section as tgtSection then ClinicalDocumentSection(cda, sec, patient, tgtSection, bundle, enc, documentreference);\n  };\n}\n\ngroup Observation(source obs : Observation, target patient : Patient, target encounter : Encounter, target ob : Observation, target bundle : Bundle) {\n  obs -&gt;  ob.subject = create('Reference') as reference,  reference.reference = ('https://example/Patient/' + %patient.id) \"reference\";\n  obs -&gt;  ob.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) \"reference\";\n  obs.code -&gt; ob.code;\n  obs.statusCode as statusc where (code = 'completed') -&gt; ob.status = 'final';\n  obs.statusCode as statusc where (code = 'active') -&gt; ob.status = 'registered';\n  obs.statusCode as statusc where (code = 'aborted') -&gt; ob.status = 'cancelled';\n  obs.statusCode as statusc where (code = 'suspended') -&gt; ob.status = 'partial';\n  obs.effectiveTime as effectiveTime -&gt; ob.effective = create('dateTime') as value then TSDateTime(effectiveTime, value) \"value2\";\n  obs where effectiveTime.low.exists() or effectiveTime.high.exists() then {\n    obs.effectiveTime as eff -&gt; ob.effective = create('Period') as period then IVLTSPeriod(eff, period);\n  } \"where\";\n  obs.interpretationCode -&gt; ob.interpretation;\n  obs.methodCode -&gt; ob.method;\n  obs.value : INT as int -&gt; ob.value = (int.value);\n  obs.value : BL as boolean -&gt; ob.value = (boolean.value) \"boolean\";\n  obs.value : CE as val then {\n    val -&gt; ob.value = create('CodeableConcept') as ce then {\n      val.originalText as originalText then {\n        originalText.reference as reference -&gt; ce.text = reference;\n      } \"originltext\";\n      val -&gt; ce.coding as coding then {\n        val.code as code -&gt; coding.code = cast(code, 'string');\n        val.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        val.displayName as display -&gt; coding.display = cast(display, 'string');\n        val.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n      } \"code\";\n      val.translation as translation -&gt; ce.coding as coding then {\n        translation.code as code -&gt; coding.code = cast(code, 'string');\n        translation.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        translation.displayName as display -&gt; coding.display = cast(display, 'string');\n        translation.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n        translation.qualifier as qualifier then {\n          qualifier.value as value -&gt; ce.coding as coding then {\n            value.code as code -&gt; coding.code = cast(code, 'string');\n            value.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n            value.displayName as display -&gt; coding.display = cast(display, 'string');\n            value.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n          };\n        };\n      };\n    } \"coding\";\n  } \"val\";\n  obs.value : CD as val then {\n    val -&gt; ob.value = create('CodeableConcept') as ce then {\n      val.originalText as originalText then {\n        originalText.reference as reference -&gt; ce.text = reference;\n      } \"originltext\";\n      val -&gt; ce.coding as coding then {\n        val.code as code -&gt; coding.code = cast(code, 'string');\n        val.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        val.displayName as display -&gt; coding.display = cast(display, 'string');\n        val.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n      } \"code\";\n      val.translation as translation -&gt; ce.coding as coding then {\n        translation.code as code -&gt; coding.code = cast(code, 'string');\n        translation.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        translation.displayName as display -&gt; coding.display = cast(display, 'string');\n        translation.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n        translation.qualifier as qualifier then {\n          qualifier.value as value -&gt; ce.coding as coding then {\n            value.code as code -&gt; coding.code = cast(code, 'string');\n            value.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n            value.displayName as display -&gt; coding.display = cast(display, 'string');\n            value.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n          };\n        };\n      };\n    } \"coding\";\n  } \"val\";\n  obs.value : PQ as val then {\n    val -&gt; ob.value = create('Quantity') as quantity then {\n      val.value as value -&gt; quantity.value = value;\n      val.unit as unit -&gt; quantity.unit = unit;\n    } \"quantity\";\n  } \"valueQuantity\";\n  obs.value : ST as value -&gt;  ob.value = create('string'),  ob.value = (value.dataString);\n  // Note e commenti\n  obs.entryRelationship as entryRelationship then {\n    entryRelationship.act as act then {\n      act.text as text then {\n        text.reference as reference -&gt; ob.note as note then {\n          reference -&gt; note.text = (reference.value) \"reference\";\n        };\n      };\n    } \"Act\";\n  };\n  // subject\n  obs.subject as sbj then {\n    sbj.relatedSubject as relatedSubj -&gt; patient.extension as extension2 then ExtSubjectAnimal(relatedSubj, extension2);\n  };\n  // performer\n  obs.performer as performer -&gt;  bundle.entry as e1,  e1.request = create('BackboneElement') as request,  request.method = 'POST',  e1.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid1,  e1.fullUrl = append('https://example/PractitionerRole/', uuid1),  request.url = 'PractitionerRole' then {\n    performer -&gt;  ob.performer = create('Reference') as reference,  reference.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) then {\n      performer.assignedEntity as entity then {\n        entity.code -&gt; practitionerRole.code;\n        entity -&gt;  bundle.entry as e2,  e2.request = create('BackboneElement') as request,  request.method = 'PUT',  e2.resource = create('Practitioner') as practitioner then {\n          entity -&gt; practitioner.meta as meta then {\n            entity -&gt; meta.tag = create('Coding') as coding then {\n              entity -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n              entity -&gt; coding.code = 'ClinicalDocument/body/observation/performer' \"code\";\n            } \"coding\";\n          } \"meta\";\n          entity.id as id -&gt; practitioner.identifier as identifier then {\n            id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n            id.extension as ext -&gt; identifier.value = ext then {\n              entity -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n            } \"ext\";\n            id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n            id.root as r then {\n              id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid2,  e2.fullUrl = append('https://example/Practitioner/', uuid2),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"performer\";\n            } \"r\";\n          } \"identifier\";\n          entity.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"2\";\n          entity.id as id where (root != '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"diverso\";\n          entity.addr -&gt; practitioner.address;\n          entity.telecom -&gt; practitioner.telecom;\n          entity.assignedPerson as person then {\n            person.name -&gt; practitioner.name;\n            person.birthTime as birthTime then {\n              birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n            } \"birth\";\n          } \"name\";\n          // organization\n          entity.representedOrganization as representedOrganization -&gt;  bundle.entry as e3,  e3.request = create('BackboneElement') as request,  request.method = 'PUT',  e3.resource = create('Organization') as organization then {\n            representedOrganization -&gt; organization.meta as meta then {\n              representedOrganization -&gt; meta.tag = create('Coding') as coding then {\n                representedOrganization -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                representedOrganization -&gt; coding.code = 'ClinicalDocument/body/observation/performer/representedOrganization' \"code\";\n              } \"coding\";\n            } \"meta\";\n            representedOrganization.id as id -&gt; organization.identifier as identifier then {\n              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n              id.extension as ext -&gt; identifier.value = ext then {\n                representedOrganization -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n              } \"ext\";\n              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n              id.root as r then {\n                id.extension as ext -&gt;  organization.id = (r + '-' + ext) as uuid3,  e3.fullUrl = append('https://example/Organization/', uuid3),  practitionerRole.organization = create('Reference') as referenceOrg,  referenceOrg.reference = append('https://example/Organization/', uuid3) \"aut\";\n              } \"r\";\n            } \"identifier\";\n            representedOrganization.name as v -&gt; organization.name = (v.other);\n            representedOrganization.telecom -&gt; organization.telecom;\n            representedOrganization.addr -&gt; organization.address;\n            representedOrganization.asOrganizationPartOf as OrgPartOf -&gt;  bundle.entry as e4,  e4.request = create('BackboneElement') as request,  e4.resource = create('Organization') as organization1,  request.method = 'PUT' then {\n              OrgPartOf -&gt; organization1.meta as meta then {\n                OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n                  OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                  OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/observation/performer/representedOrganization/asOrganizationPartOf' \"code\";\n                } \"coding\";\n              } \"meta\";\n              OrgPartOf.id as id -&gt; organization1.identifier as identifier then {\n                id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n                id.extension as ext -&gt; identifier.value = ext then {\n                  OrgPartOf -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n                } \"ext\";\n                id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n                id.root as r then {\n                  id.extension as ext -&gt;  organization1.id = (r + '-' + ext) as uuid4,  e4.fullUrl = append('https://example/Organization/', uuid4),  organization.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization1.id) \"org\";\n                } \"r\";\n              } \"identifier\";\n              OrgPartOf.code -&gt; organization1.type;\n              OrgPartOf.statusCode as status where (value = 'active') -&gt;  organization1.active = create('boolean'),  organization1.active = 'true';\n              OrgPartOf.wholeOrganization as wholeOrgan -&gt;  bundle.entry as e5,  e5.request = create('BackboneElement') as request,  request.method = 'PUT',  e5.resource = create('Organization') as organization2 then {\n                wholeOrgan -&gt; organization2.meta as meta then {\n                  wholeOrgan -&gt; meta.tag = create('Coding') as coding then {\n                    wholeOrgan -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                    wholeOrgan -&gt; coding.code = 'ClinicalDocument/body/observation/performer/representedOrganization/wholeOrganization' \"code\";\n                  } \"coding\";\n                } \"meta\";\n                wholeOrgan.id as id -&gt; organization2.identifier as identifier then {\n                  id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n                  id.extension as ext -&gt; identifier.value = ext then {\n                    wholeOrgan -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n                  } \"ext\";\n                  id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n                  id.root as r then {\n                    id.extension as ext -&gt;  organization2.id = (r + '-' + ext) as uuid5,  e5.fullUrl = append('https://example/Organization/', uuid5),  organization1.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization2.id) \"org\";\n                  } \"r\";\n                } \"identifier\";\n                wholeOrgan.name as v -&gt; organization2.name = (v.other);\n                wholeOrgan.telecom -&gt; organization2.telecom;\n                wholeOrgan.addr -&gt; organization2.address;\n              };\n            } \"OrgPartOf\";\n          };\n        } \"practitioner\";\n      } \"entity\";\n    } \"practitionerRole\";\n  };\n  // author\n  obs.author as srcAuthor -&gt;  bundle.entry as e6,  e6.request = create('BackboneElement') as request,  request.method = 'POST',  e6.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid6,  e6.fullUrl = append('https://example/PractitionerRole/', uuid6),  request.url = 'PractitionerRole',  ob.performer = create('Reference') as referenceaut,  referenceaut.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) then {\n    srcAuthor.assignedAuthor as assignedAuthor then {\n      assignedAuthor.code as codice -&gt; practitionerRole.code as code2 then CECodeableConcept(codice, code2);\n      assignedAuthor -&gt;  bundle.entry as e7,  e7.request = create('BackboneElement') as request,  request.method = 'PUT',  e7.resource = create('Practitioner') as practitioner,  practitioner.id = uuid() as uuid7 then {\n        srcAuthor.functionCode -&gt; practitionerRole.code;\n        assignedAuthor -&gt; practitioner.meta as meta then {\n          assignedAuthor -&gt; meta.tag = create('Coding') as coding then {\n            assignedAuthor -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            assignedAuthor -&gt; coding.code = 'ClinicalDocument/body/observation/author' \"code\";\n          } \"coding\";\n        } \"meta\";\n        assignedAuthor.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            assignedAuthor -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid2,  e7.fullUrl = append('https://example/Practitioner/', uuid2),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"aut\";\n          } \"r\";\n          assignedAuthor.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"2\";\n          assignedAuthor.id as id where (root != '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"diverso\";\n        } \"identifier\";\n        assignedAuthor.addr -&gt; practitioner.address;\n        assignedAuthor.telecom -&gt; practitioner.telecom;\n        // person\n        assignedAuthor.assignedPerson as person then {\n          person.name -&gt; practitioner.name;\n          person.birthTime as birthTime then {\n            birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n          } \"birth\";\n        } \"name\";\n      } \"ASSAUth\";\n      // organization\n      assignedAuthor.representedOrganization as representedOrganization -&gt;  bundle.entry as e8,  e8.request = create('BackboneElement') as request,  request.method = 'PUT',  e8.resource = create('Organization') as organization then {\n        representedOrganization -&gt; organization.meta as meta then {\n          representedOrganization -&gt; meta.tag = create('Coding') as coding then {\n            representedOrganization -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            representedOrganization -&gt; coding.code = 'ClinicalDocument/body/observation/author/representedOrganization' \"code\";\n          } \"coding\";\n        } \"meta\";\n        representedOrganization.id as id -&gt; organization.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            representedOrganization -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  organization.id = (r + '-' + ext) as uuid3,  e8.fullUrl = append('https://example/Organization/', uuid3),  practitionerRole.organization = create('Reference') as referenceOrg,  referenceOrg.reference = append('https://example/Organization/', uuid3) \"org\";\n          } \"r\";\n        } \"identifier\";\n        representedOrganization.name as v -&gt; organization.name = (v.other);\n        representedOrganization.telecom -&gt; organization.telecom;\n        representedOrganization.addr -&gt; organization.address;\n        representedOrganization.asOrganizationPartOf as OrgPartOf -&gt;  bundle.entry as e9,  e9.request = create('BackboneElement') as request,  request.method = 'PUT',  e9.resource = create('Organization') as organization1 then {\n          OrgPartOf -&gt; organization1.meta as meta then {\n            OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n              OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n              OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf' \"code\";\n            } \"coding\";\n          } \"meta\";\n          OrgPartOf.id as id -&gt; organization1.identifier as identifier then {\n            id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n            id.extension as ext -&gt; identifier.value = ext then {\n              OrgPartOf -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n            } \"ext\";\n            id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n            id.root as r then {\n              id.extension as ext -&gt;  organization1.id = (r + '-' + ext) as uuid4,  e9.fullUrl = append('https://example/Organization/', uuid4),  organization.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization1.id) \"org\";\n            } \"r\";\n          } \"identifier\";\n          OrgPartOf.code -&gt; organization1.type;\n          OrgPartOf.statusCode as status where (value = 'active') -&gt;  organization1.active = create('boolean'),  organization1.active = 'true';\n          OrgPartOf.wholeOrganization as wholeOrgan -&gt;  bundle.entry as e10,  e10.request = create('BackboneElement') as request,  request.method = 'PUT',  e10.resource = create('Organization') as organization2 then {\n            wholeOrgan -&gt; organization2.meta as meta then {\n              wholeOrgan -&gt; meta.tag = create('Coding') as coding then {\n                wholeOrgan -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                wholeOrgan -&gt; coding.code = 'ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf/wholeOrganization' \"code\";\n              } \"coding\";\n            } \"meta\";\n            wholeOrgan.id as id -&gt; organization2.identifier as identifier then {\n              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n              id.extension as ext -&gt; identifier.value = ext then {\n                wholeOrgan -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n              } \"ext\";\n              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n              id.root as r then {\n                id.extension as ext -&gt;  organization2.id = (r + '-' + ext) as uuid4,  e10.fullUrl = append('https://example/Organization/', uuid4),  organization1.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization2.id) \"org\";\n              } \"r\";\n            } \"identifier\";\n            wholeOrgan.name as v -&gt; organization2.name = (v.other);\n            wholeOrgan.telecom -&gt; organization2.telecom;\n            wholeOrgan.addr -&gt; organization2.address;\n          };\n        } \"OrgPartOf\";\n      };\n      // device\n      assignedAuthor.assignedAuthoringDevice as assignedAuthoringDevice -&gt;  bundle.entry as e11,  e11.request = create('BackboneElement') as request,  request.method = 'POST',  e11.resource = create('Device') as device,  device.id = uuid() as uuid11,  e11.fullUrl = append('https://example/Device/', uuid11),  request.url = 'Device',  tgt.author = create('Reference') as reference,  reference.reference = ('https://example/Device/' + %device.id) then {\n        assignedAuthoringDevice.templateId -&gt; device.identifier;\n        assignedAuthoringDevice.code -&gt; device.type;\n        assignedAuthoringDevice.manufacturerModelName as manufacturerModelName then {\n          manufacturerModelName as m -&gt; device.manufacturer = (m.displayName) \"displayRule\";\n        } \"manufacturer\";\n        assignedAuthoringDevice.softwareName as softwareName -&gt; device.deviceName as deviceName then {\n          softwareName -&gt; deviceName.type = 'other' \"typeName\";\n          softwareName as s -&gt; deviceName.name = (s.displayName) \"name\";\n        } \"deviceName\";\n      } \"Device\";\n    };\n  };\n  // participant person\n  obs.participant as participant where (typeCode != 'DEV') -&gt;  ob.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) then {\n    participant -&gt; encounter.participant as FhirParticipant then {\n      participant as p -&gt; FhirParticipant.type as type then {\n        p -&gt; type.coding as coding then {\n          p -&gt; coding.code = (p.typeCode) \"codice\";\n          p -&gt; coding.system = 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType' \"system\";\n        } \"codeType\";\n      } \"type\";\n    } \"fhirParticipant\";\n    participant.participantRole as participantRole -&gt;  bundle.entry as e12,  e12.request = create('BackboneElement') as request,  request.method = 'POST',  e12.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid12,  e12.fullUrl = append('https://example/PractitionerRole/', uuid12),  request.url = 'PractitionerRole',  encounter.participant = create('BackboneElement') as participant1,  participant1.individual = create('Reference') as referencepart,  referencepart.reference = ('https://example/Practitioner/' + %practitionerRole.id) then {\n      // participant.time -&gt; participant1.period;\n      participant.time as time1 -&gt; participant1.period = create('Period') as period then {\n        time1 -&gt; period.start = create('dateTime') as start then TSDateTime(time1, start) \"val\";\n      };\n      participant.time as time1 -&gt; participant1.period = create('Period') as period then IVLTSPeriod(time1, period);\n      participant.functionCode -&gt; practitionerRole.code;\n      // non mappa i 2 precedenti\n      participantRole -&gt;  bundle.entry as e13,  e13.request = create('BackboneElement') as request,  request.method = 'PUT',  e13.resource = create('Practitioner') as practitioner then {\n        participantRole -&gt; practitioner.meta as meta then {\n          participantRole -&gt; meta.tag = create('Coding') as coding then {\n            participantRole -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            participantRole -&gt; coding.code = 'ClinicalDocument/body/observation/participant' \"code\";\n          } \"coding\";\n        } \"meta\";\n        participantRole.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            participantRole -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid4,  e13.fullUrl = append('https://example/Practitioner/', uuid4),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"org\";\n          } \"r\";\n        } \"identifier\";\n        participantRole.code -&gt; practitionerRole.code;\n        participantRole.addr -&gt; practitioner.address;\n        participantRole.telecom -&gt; practitioner.telecom;\n        participantRole.playingEntity as playingEntity then {\n          playingEntity.name -&gt; practitioner.name;\n          playingEntity.birthTime as birthTime then {\n            birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n          } \"birth\";\n        } \"name\";\n      } \"practitioner\";\n    } \"partRole\";\n  } \"participantEncounter\";\n  // participant device\n  obs.participant as devParticipant where (typeCode = 'DEV') -&gt;  bundle.entry as e14,  e14.request = create('BackboneElement') as request,  request.method = 'POST',  e14.resource = create('Device') as device,  device.id = uuid() as uuid14,  e14.fullUrl = append('https://example/Device/', uuid14),  request.url = 'Device',  ob.device = create('Reference') as reference,  reference.reference = ('https://example/Device/' + %device.id) then {\n    devParticipant.participantRole as participantRoleDev then {\n      participantRoleDev.playingDevice as playingDevice then {\n        playingDevice.code -&gt; device.type;\n        playingDevice.manufacturerModelName as manufacturerModelName then {\n          manufacturerModelName as m -&gt; device.manufacturer = (m.displayName) \"displayRule\";\n        } \"manufacturer\";\n        playingDevice.softwareName as softwareName -&gt; device.deviceName as deviceName then {\n          softwareName -&gt; deviceName.type = 'other' \"typeName\";\n          softwareName as s -&gt; deviceName.name = (s.displayName) \"name\";\n        } \"deviceName\";\n      };\n    } \"participantRoleDev\";\n  } \"devParticipant\";\n  // observationMedia\n  obs.entryRelationship as er then {\n    er.observationMedia as obsMedia -&gt;  bundle.entry as e15,  e15.request = create('BackboneElement') as request,  request.method = 'POST',  e15.resource = create('Media') as media1,  media1.id = uuid() as uuid15,  e15.fullUrl = append('https://example/Media/', uuid15),  request.url = 'Media',  ob.derivedFrom = create('Reference') as reference,  reference.reference = ('https://example/Media/' + %media1.id) then {\n      obsMedia -&gt; media1.content = create('Attachment') as Attachment then {\n        obsMedia -&gt; media1.status = 'unknown' \"status\";\n        obsMedia.value as valueMedia then {\n          valueMedia.mediaType as type -&gt; Attachment.contentType = type \"type\";\n          valueMedia -&gt; Attachment.data = (valueMedia.dataBase64Binary) \"data\";\n        } \"valuemedia\";\n      } \"Attachment\";\n    } \"media\";\n  } \"observationMedia\";\n  // referenceRange\n  obs.referenceRange as refRange -&gt; ob.referenceRange = create('BackboneElement') as ref then {\n    refRange.observationRange as obsRange then {\n      obsRange.value : ST as value -&gt;  ref.text = create('string'),  ref.text = (value.dataString);\n      obsRange -&gt; ref.low = create('Quantity') as Low then {\n        obsRange.value : IVL_PQ as v then {\n          v.low as l1 then {\n            l1.value as decValue -&gt; Low.value = decValue;\n            l1.unit as Unit -&gt; Low.unit = Unit;\n          } \"decValue\";\n          v -&gt; ref.high = create('Quantity') as high then {\n            v.high as h1 then {\n              h1.value as decValue1 -&gt; high.value = decValue1;\n              h1.unit as Unit1 -&gt; high.unit = Unit1;\n            } \"decValue\";\n          } \"high\";\n        } \"IVL-PQ\";\n        obsRange.interpretationCode -&gt; ref.type;\n        obsRange.precondition as precondition then {\n          precondition.criterion as criterion then {\n            criterion.code -&gt; ref.appliesTo \"appliesTo\";\n            criterion.value : IVL_PQ as v then {\n              v.high as l1 then {\n                l1 -&gt; ref.age = create('Quantity') as age then {\n                  l1 -&gt; age.high as high then {\n                    l1.value as decValue -&gt; high.value = decValue;\n                    l1.unit as Unit1 -&gt; high.unit = Unit1;\n                  } \"high\";\n                } \"age\";\n              } \"low\";\n            } \"v\";\n          };\n        };\n      } \"obsRange\";\n    } \"refRange\";\n  } \"ref\";\n}\n\ngroup Observation2(source obs : Observation, target patient : Patient, target encounter : Encounter, target ob : Observation, target bundle : Bundle, source cda : Act, target specimenp : Specimen) {\n  obs -&gt;  ob.subject = create('Reference') as reference,  reference.reference = ('https://example/Patient/' + %patient.id) \"reference\";\n  obs -&gt;  ob.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) \"reference\";\n  obs.code -&gt; ob.code;\n  obs.statusCode as statusc where (code = 'completed') -&gt; ob.status = 'final';\n  obs.statusCode as statusc where (code = 'active') -&gt; ob.status = 'registered';\n  obs.statusCode as statusc where (code = 'aborted') -&gt; ob.status = 'cancelled';\n  obs.statusCode as statusc where (code = 'suspended') -&gt; ob.status = 'partial';\n  obs.effectiveTime as effectiveTime -&gt; ob.effective = create('dateTime') as value then TSDateTime(effectiveTime, value) \"value2\";\n  obs where effectiveTime.low.exists() or effectiveTime.high.exists() then {\n    obs.effectiveTime as eff -&gt; ob.effective = create('Period') as period then IVLTSPeriod(eff, period);\n  } \"where\";\n  obs.interpretationCode -&gt; ob.interpretation;\n  obs.methodCode -&gt; ob.method;\n  obs.value : INT as int -&gt; ob.value = (int.value);\n  obs.value : BL as boolean -&gt; ob.value = (boolean.value) \"boolean\";\n  obs.value : CE as val then {\n    val -&gt; ob.value = create('CodeableConcept') as ce then {\n      val.originalText as originalText then {\n        originalText.reference as reference -&gt; ce.text = reference;\n      } \"originltext\";\n      val -&gt; ce.coding as coding then {\n        val.code as code -&gt; coding.code = cast(code, 'string');\n        val.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        val.displayName as display -&gt; coding.display = cast(display, 'string');\n        val.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n      } \"code\";\n      val.translation as translation -&gt; ce.coding as coding then {\n        translation.code as code -&gt; coding.code = cast(code, 'string');\n        translation.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        translation.displayName as display -&gt; coding.display = cast(display, 'string');\n        translation.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n        translation.qualifier as qualifier then {\n          qualifier.value as value -&gt; ce.coding as coding then {\n            value.code as code -&gt; coding.code = cast(code, 'string');\n            value.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n            value.displayName as display -&gt; coding.display = cast(display, 'string');\n            value.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n          };\n        };\n      };\n    } \"coding\";\n  } \"val\";\n  obs.value : PQ as val then {\n    val -&gt; ob.value = create('Quantity') as quantity then {\n      val.value as value -&gt; quantity.value = value;\n      val.unit as unit -&gt; quantity.unit = unit;\n    } \"quantity\";\n  } \"valueQuantity\";\n  obs.value : ST as value -&gt;  ob.value = create('string'),  ob.value = (value.dataString);\n  // Note e commenti\n  obs.entryRelationship as entryRelationship then {\n    entryRelationship.act as act then {\n      act.text as text then {\n        text.reference as reference -&gt; ob.note as note then {\n          reference -&gt; note.text = (reference.value) \"reference\";\n        };\n      };\n    } \"Act\";\n  };\n  // subject\n  obs.subject as sbj then {\n    sbj.relatedSubject as relatedSubj -&gt; patient.extension as extension2 then ExtSubjectAnimal(relatedSubj, extension2);\n  };\n  cda where cda.entryRelationship.act.exists() then {\n    // specimen\n    obs.specimen as spmn then {\n      spmn.specimenRole as specimenRole then {\n        specimenRole.id as id then {\n          id.extension as extobs then {\n            cda.entryRelationship as entryRelationship then {\n              entryRelationship.act as a then {\n                a.specimen as sp then {\n                  sp.specimenRole as spr then {\n                    spr.id where (extension = extobs) -&gt;  bundle.entry as e4o,  e4o.request = create('BackboneElement') as request,  request.method = 'POST',  e4o.resource = create('Specimen') as specimen,  specimen.id = uuid() as uuid4o,  e4o.fullUrl = append('https://example/Specimen/', uuid4o),  request.url = 'Specimen',  ob.specimen = create('Reference') as reference,  reference.reference = ('https://example/Specimen/' + %specimen.id) then {\n                      spr -&gt;  specimen.parent = create('Reference') as reference,  reference.reference = ('https://example/Specimen/' + %specimenp.id) \"reference\";\n                      spr.id -&gt; specimen.identifier;\n                      specimenRole.specimenPlayingEntity as spent then {\n                        spent.code -&gt; specimen.type;\n                      } \"ent\";\n                      spr.specimenPlayingEntity as specimenPlayingEntity then {\n                        specimenPlayingEntity.code -&gt; specimen.type;\n                      };\n                      a -&gt; specimen.collection = create('BackboneElement') as collection then {\n                        a.effectiveTime as effectivetime -&gt; collection.collected = create('dateTime') as value then TSDateTime(effectivetime, value) \"value\";\n                        a where effectiveTime.low.exists() or effectiveTime.high.exists() then {\n                          a.effectiveTime as eff -&gt; collection.collected = create('Period') as period then IVLTSPeriod(eff, period);\n                        } \"where\";\n                        a.participant as participant -&gt;  bundle.entry as e10,  e10.request = create('BackboneElement') as request,  request.method = 'PUT',  e10.resource = create('Practitioner') as practitioner,  practitioner.id = uuid() as uuid11,  e10.fullUrl = append('https://example/Practitioner/', uuid11),  collection.collector = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) then {\n                          participant.participantRole as participantRole then {\n                            participantRole -&gt; practitioner.meta as meta then {\n                              participantRole -&gt; meta.tag = create('Coding') as coding then {\n                                participantRole -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                                participantRole -&gt; coding.code = 'ClinicalDocument/body/act/participant' \"code\";\n                              } \"coding\";\n                            } \"meta\";\n                            participantRole.id as id -&gt; practitioner.identifier as identifier then {\n                              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n                              id.extension as ext -&gt; identifier.value = ext then {\n                                participantRole -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n                              } \"ext\";\n                              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n                            } \"identifier\";\n                            participantRole.addr -&gt; practitioner.address;\n                            participantRole.playingEntity as playingEntity then {\n                              playingEntity.name -&gt; practitioner.name;\n                            };\n                          };\n                        };\n                      } \"collection\";\n                    } \"cont\";\n                  } \"spr\";\n                } \"sp\";\n              } \"a\";\n            } \"en\";\n          } \"extobs\";\n        };\n      };\n    };\n  } \"conditionactexists\";\n  cda where cda.entryRelationship.act.exists().not() and (obs.specimen.specimenRole.specimenPlayingEntity.code.code != specimenp.type.coding.code) then {\n    obs.specimen as spmn -&gt;  bundle.entry as e4o,  e4o.request = create('BackboneElement') as request,  request.method = 'POST',  e4o.resource = create('Specimen') as specimen,  specimen.id = uuid() as uuid4o,  e4o.fullUrl = append('https://example/Specimen/', uuid4o),  request.url = 'Specimen',  ob.specimen = create('Reference') as reference,  reference.reference = ('https://example/Specimen/' + %specimen.id) then {\n      spmn.specimenRole as specimenRole then {\n        specimenRole.id -&gt; specimen.identifier;\n        specimenRole.specimenPlayingEntity as specimenPlayingEntity then {\n          specimenPlayingEntity.code -&gt; specimen.type;\n        };\n      };\n    };\n  } \"wherenotexists\";\n  // performer\n  obs.performer as performer -&gt;  bundle.entry as e1,  e1.request = create('BackboneElement') as request,  request.method = 'POST',  e1.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid1,  e1.fullUrl = append('https://example/PractitionerRole/', uuid1),  request.url = 'PractitionerRole' then {\n    performer -&gt;  ob.performer = create('Reference') as reference,  reference.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) then {\n      performer.assignedEntity as entity then {\n        entity.code -&gt; practitionerRole.code;\n        entity -&gt;  bundle.entry as e2,  e2.request = create('BackboneElement') as request,  request.method = 'PUT',  e2.resource = create('Practitioner') as practitioner then {\n          entity -&gt; practitioner.meta as meta then {\n            entity -&gt; meta.tag = create('Coding') as coding then {\n              entity -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n              entity -&gt; coding.code = 'ClinicalDocument/body/observation/performer' \"code\";\n            } \"coding\";\n          } \"meta\";\n          entity.id as id -&gt; practitioner.identifier as identifier then {\n            id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n            id.extension as ext -&gt; identifier.value = ext then {\n              entity -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n            } \"ext\";\n            id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n            id.root as r then {\n              id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid2,  e2.fullUrl = append('https://example/Practitioner/', uuid2),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"performer\";\n            } \"r\";\n          } \"identifier\";\n          entity.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"2\";\n          entity.id as id where (root != '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"diverso\";\n          entity.addr -&gt; practitioner.address;\n          entity.telecom -&gt; practitioner.telecom;\n          entity.assignedPerson as person then {\n            person.name -&gt; practitioner.name;\n            person.birthTime as birthTime then {\n              birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n            } \"birth\";\n          } \"name\";\n          // organization\n          entity.representedOrganization as representedOrganization -&gt;  bundle.entry as e3,  e3.request = create('BackboneElement') as request,  request.method = 'PUT',  e3.resource = create('Organization') as organization then {\n            representedOrganization -&gt; organization.meta as meta then {\n              representedOrganization -&gt; meta.tag = create('Coding') as coding then {\n                representedOrganization -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                representedOrganization -&gt; coding.code = 'ClinicalDocument/body/observation/performer/representedOrganization' \"code\";\n              } \"coding\";\n            } \"meta\";\n            representedOrganization.id as id -&gt; organization.identifier as identifier then {\n              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n              id.extension as ext -&gt; identifier.value = ext then {\n                representedOrganization -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n              } \"ext\";\n              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n              id.root as r then {\n                id.extension as ext -&gt;  organization.id = (r + '-' + ext) as uuid3,  e3.fullUrl = append('https://example/Organization/', uuid3),  practitionerRole.organization = create('Reference') as referenceOrg,  referenceOrg.reference = append('https://example/Organization/', uuid3) \"aut\";\n              } \"r\";\n            } \"identifier\";\n            representedOrganization.name as v -&gt; organization.name = (v.other);\n            representedOrganization.telecom -&gt; organization.telecom;\n            representedOrganization.addr -&gt; organization.address;\n            representedOrganization.asOrganizationPartOf as OrgPartOf -&gt;  bundle.entry as e4,  e4.request = create('BackboneElement') as request,  e4.resource = create('Organization') as organization1,  request.method = 'PUT' then {\n              OrgPartOf -&gt; organization1.meta as meta then {\n                OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n                  OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                  OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/observation/performer/representedOrganization/asOrganizationPartOf' \"code\";\n                } \"coding\";\n              } \"meta\";\n              OrgPartOf.id as id -&gt; organization1.identifier as identifier then {\n                id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n                id.extension as ext -&gt; identifier.value = ext then {\n                  OrgPartOf -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n                } \"ext\";\n                id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n                id.root as r then {\n                  id.extension as ext -&gt;  organization1.id = (r + '-' + ext) as uuid4,  e4.fullUrl = append('https://example/Organization/', uuid4),  organization.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization1.id) \"org\";\n                } \"r\";\n              } \"identifier\";\n              OrgPartOf.code -&gt; organization1.type;\n              OrgPartOf.statusCode as status where (value = 'active') -&gt;  organization1.active = create('boolean'),  organization1.active = 'true';\n              OrgPartOf.wholeOrganization as wholeOrgan -&gt;  bundle.entry as e5,  e5.request = create('BackboneElement') as request,  request.method = 'PUT',  e5.resource = create('Organization') as organization2 then {\n                wholeOrgan -&gt; organization2.meta as meta then {\n                  wholeOrgan -&gt; meta.tag = create('Coding') as coding then {\n                    wholeOrgan -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                    wholeOrgan -&gt; coding.code = 'ClinicalDocument/body/observation/performer/representedOrganization/wholeOrganization' \"code\";\n                  } \"coding\";\n                } \"meta\";\n                wholeOrgan.id as id -&gt; organization2.identifier as identifier then {\n                  id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n                  id.extension as ext -&gt; identifier.value = ext then {\n                    wholeOrgan -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n                  } \"ext\";\n                  id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n                  id.root as r then {\n                    id.extension as ext -&gt;  organization2.id = (r + '-' + ext) as uuid5,  e5.fullUrl = append('https://example/Organization/', uuid5),  organization1.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization2.id) \"org\";\n                  } \"r\";\n                } \"identifier\";\n                wholeOrgan.name as v -&gt; organization2.name = (v.other);\n                wholeOrgan.telecom -&gt; organization2.telecom;\n                wholeOrgan.addr -&gt; organization2.address;\n              };\n            } \"OrgPartOf\";\n          };\n        } \"practitioner\";\n      } \"entity\";\n    } \"practitionerRole\";\n  };\n  // author\n  obs.author as srcAuthor -&gt;  bundle.entry as e6,  e6.request = create('BackboneElement') as request,  request.method = 'POST',  e6.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid6,  e6.fullUrl = append('https://example/PractitionerRole/', uuid6),  request.url = 'PractitionerRole',  ob.performer = create('Reference') as referenceaut,  referenceaut.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) then {\n    srcAuthor.assignedAuthor as assignedAuthor then {\n      assignedAuthor.code as codice -&gt; practitionerRole.code as code2 then CECodeableConcept(codice, code2);\n      assignedAuthor -&gt;  bundle.entry as e7,  e7.request = create('BackboneElement') as request,  request.method = 'PUT',  e7.resource = create('Practitioner') as practitioner,  practitioner.id = uuid() as uuid7 then {\n        srcAuthor.functionCode -&gt; practitionerRole.code;\n        assignedAuthor -&gt; practitioner.meta as meta then {\n          assignedAuthor -&gt; meta.tag = create('Coding') as coding then {\n            assignedAuthor -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            assignedAuthor -&gt; coding.code = 'ClinicalDocument/body/observation/author' \"code\";\n          } \"coding\";\n        } \"meta\";\n        assignedAuthor.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            assignedAuthor -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid2,  e7.fullUrl = append('https://example/Practitioner/', uuid2),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"aut\";\n          } \"r\";\n          assignedAuthor.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"2\";\n          assignedAuthor.id as id where (root != '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"diverso\";\n        } \"identifier\";\n        assignedAuthor.addr -&gt; practitioner.address;\n        assignedAuthor.telecom -&gt; practitioner.telecom;\n        // person\n        assignedAuthor.assignedPerson as person then {\n          person.name -&gt; practitioner.name;\n          person.birthTime as birthTime then {\n            birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n          } \"birth\";\n        } \"name\";\n      } \"ASSAUth\";\n      // organization\n      assignedAuthor.representedOrganization as representedOrganization -&gt;  bundle.entry as e8,  e8.request = create('BackboneElement') as request,  request.method = 'PUT',  e8.resource = create('Organization') as organization then {\n        representedOrganization -&gt; organization.meta as meta then {\n          representedOrganization -&gt; meta.tag = create('Coding') as coding then {\n            representedOrganization -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            representedOrganization -&gt; coding.code = 'ClinicalDocument/body/observation/author/representedOrganization' \"code\";\n          } \"coding\";\n        } \"meta\";\n        representedOrganization.id as id -&gt; organization.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            representedOrganization -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  organization.id = (r + '-' + ext) as uuid3,  e8.fullUrl = append('https://example/Organization/', uuid3),  practitionerRole.organization = create('Reference') as referenceOrg,  referenceOrg.reference = append('https://example/Organization/', uuid3) \"org\";\n          } \"r\";\n        } \"identifier\";\n        representedOrganization.name as v -&gt; organization.name = (v.other);\n        representedOrganization.telecom -&gt; organization.telecom;\n        representedOrganization.addr -&gt; organization.address;\n        representedOrganization.asOrganizationPartOf as OrgPartOf -&gt;  bundle.entry as e9,  e9.request = create('BackboneElement') as request,  request.method = 'PUT',  e9.resource = create('Organization') as organization1 then {\n          OrgPartOf -&gt; organization1.meta as meta then {\n            OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n              OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n              OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf' \"code\";\n            } \"coding\";\n          } \"meta\";\n          OrgPartOf.id as id -&gt; organization1.identifier as identifier then {\n            id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n            id.extension as ext -&gt; identifier.value = ext then {\n              OrgPartOf -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n            } \"ext\";\n            id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n            id.root as r then {\n              id.extension as ext -&gt;  organization1.id = (r + '-' + ext) as uuid4,  e9.fullUrl = append('https://example/Organization/', uuid4),  organization.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization1.id) \"org\";\n            } \"r\";\n          } \"identifier\";\n          OrgPartOf.code -&gt; organization1.type;\n          OrgPartOf.statusCode as status where (value = 'active') -&gt;  organization1.active = create('boolean'),  organization1.active = 'true';\n          OrgPartOf.wholeOrganization as wholeOrgan -&gt;  bundle.entry as e10,  e10.request = create('BackboneElement') as request,  request.method = 'PUT',  e10.resource = create('Organization') as organization2 then {\n            wholeOrgan -&gt; organization2.meta as meta then {\n              wholeOrgan -&gt; meta.tag = create('Coding') as coding then {\n                wholeOrgan -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                wholeOrgan -&gt; coding.code = 'ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf/wholeOrganization' \"code\";\n              } \"coding\";\n            } \"meta\";\n            wholeOrgan.id as id -&gt; organization2.identifier as identifier then {\n              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n              id.extension as ext -&gt; identifier.value = ext then {\n                wholeOrgan -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n              } \"ext\";\n              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n              id.root as r then {\n                id.extension as ext -&gt;  organization2.id = (r + '-' + ext) as uuid4,  e10.fullUrl = append('https://example/Organization/', uuid4),  organization1.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization2.id) \"org\";\n              } \"r\";\n            } \"identifier\";\n            wholeOrgan.name as v -&gt; organization2.name = (v.other);\n            wholeOrgan.telecom -&gt; organization2.telecom;\n            wholeOrgan.addr -&gt; organization2.address;\n          };\n        } \"OrgPartOf\";\n      };\n      // device\n      assignedAuthor.assignedAuthoringDevice as assignedAuthoringDevice -&gt;  bundle.entry as e11,  e11.request = create('BackboneElement') as request,  request.method = 'POST',  e11.resource = create('Device') as device,  device.id = uuid() as uuid11,  e11.fullUrl = append('https://example/Device/', uuid11),  request.url = 'Device',  tgt.author = create('Reference') as reference,  reference.reference = ('https://example/Device/' + %device.id) then {\n        assignedAuthoringDevice.templateId -&gt; device.identifier;\n        assignedAuthoringDevice.code -&gt; device.type;\n        assignedAuthoringDevice.manufacturerModelName as manufacturerModelName then {\n          manufacturerModelName as m -&gt; device.manufacturer = (m.displayName) \"displayRule\";\n        } \"manufacturer\";\n        assignedAuthoringDevice.softwareName as softwareName -&gt; device.deviceName as deviceName then {\n          softwareName -&gt; deviceName.type = 'other' \"typeName\";\n          softwareName as s -&gt; deviceName.name = (s.displayName) \"name\";\n        } \"deviceName\";\n      } \"Device\";\n    };\n  };\n  // participant person\n  obs.participant as participant where (typeCode != 'DEV') -&gt;  ob.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) then {\n    participant -&gt; encounter.participant as FhirParticipant then {\n      participant as p -&gt; FhirParticipant.type as type then {\n        p -&gt; type.coding as coding then {\n          p -&gt; coding.code = (p.typeCode) \"codice\";\n          p -&gt; coding.system = 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType' \"system\";\n        } \"codeType\";\n      } \"type\";\n    } \"fhirParticipant\";\n    participant.participantRole as participantRole -&gt;  bundle.entry as e12,  e12.request = create('BackboneElement') as request,  request.method = 'POST',  e12.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid12,  e12.fullUrl = append('https://example/PractitionerRole/', uuid12),  request.url = 'PractitionerRole',  encounter.participant = create('BackboneElement') as participant1,  participant1.individual = create('Reference') as referencepart,  referencepart.reference = ('https://example/Practitioner/' + %practitionerRole.id) then {\n      // participant.time -&gt; participant1.period;\n      participant.time as time1 -&gt; participant1.period = create('Period') as period then {\n        time1 -&gt; period.start = create('dateTime') as start then TSDateTime(time1, start) \"val\";\n      };\n      participant.time as time1 -&gt; participant1.period = create('Period') as period then IVLTSPeriod(time1, period);\n      participant.functionCode -&gt; practitionerRole.code;\n      // non mappa i 2 precedenti\n      participantRole -&gt;  bundle.entry as e13,  e13.request = create('BackboneElement') as request,  request.method = 'PUT',  e13.resource = create('Practitioner') as practitioner then {\n        participantRole -&gt; practitioner.meta as meta then {\n          participantRole -&gt; meta.tag = create('Coding') as coding then {\n            participantRole -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            participantRole -&gt; coding.code = 'ClinicalDocument/body/observation/participant' \"code\";\n          } \"coding\";\n        } \"meta\";\n        participantRole.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            participantRole -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid4,  e13.fullUrl = append('https://example/Practitioner/', uuid4),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"org\";\n          } \"r\";\n        } \"identifier\";\n        participantRole.code -&gt; practitionerRole.code;\n        participantRole.addr -&gt; practitioner.address;\n        participantRole.telecom -&gt; practitioner.telecom;\n        participantRole.playingEntity as playingEntity then {\n          playingEntity.name -&gt; practitioner.name;\n          playingEntity.birthTime as birthTime then {\n            birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n          } \"birth\";\n        } \"name\";\n      } \"practitioner\";\n    } \"partRole\";\n  } \"participantEncounter\";\n  // participant device\n  obs.participant as devParticipant where (typeCode = 'DEV') -&gt;  bundle.entry as e14,  e14.request = create('BackboneElement') as request,  request.method = 'POST',  e14.resource = create('Device') as device,  device.id = uuid() as uuid14,  e14.fullUrl = append('https://example/Device/', uuid14),  request.url = 'Device',  ob.device = create('Reference') as reference,  reference.reference = ('https://example/Device/' + %device.id) then {\n    devParticipant.participantRole as participantRoleDev then {\n      participantRoleDev.playingDevice as playingDevice then {\n        playingDevice.code -&gt; device.type;\n        playingDevice.manufacturerModelName as manufacturerModelName then {\n          manufacturerModelName as m -&gt; device.manufacturer = (m.displayName) \"displayRule\";\n        } \"manufacturer\";\n        playingDevice.softwareName as softwareName -&gt; device.deviceName as deviceName then {\n          softwareName -&gt; deviceName.type = 'other' \"typeName\";\n          softwareName as s -&gt; deviceName.name = (s.displayName) \"name\";\n        } \"deviceName\";\n      };\n    } \"participantRoleDev\";\n  } \"devParticipant\";\n  // observationMedia\n  obs.entryRelationship as er then {\n    er.observationMedia as obsMedia -&gt;  bundle.entry as e15,  e15.request = create('BackboneElement') as request,  request.method = 'POST',  e15.resource = create('Media') as media1,  media1.id = uuid() as uuid15,  e15.fullUrl = append('https://example/Media/', uuid15),  request.url = 'Media',  ob.derivedFrom = create('Reference') as reference,  reference.reference = ('https://example/Media/' + %media1.id) then {\n      obsMedia -&gt; media1.content = create('Attachment') as Attachment then {\n        obsMedia -&gt; media1.status = 'unknown' \"status\";\n        obsMedia.value as valueMedia then {\n          valueMedia.mediaType as type -&gt; Attachment.contentType = type \"type\";\n          valueMedia -&gt; Attachment.data = (valueMedia.dataBase64Binary) \"data\";\n        } \"valuemedia\";\n      } \"Attachment\";\n    } \"media\";\n  } \"observationMedia\";\n  // referenceRange\n  obs.referenceRange as refRange -&gt; ob.referenceRange = create('BackboneElement') as ref then {\n    refRange.observationRange as obsRange then {\n      obsRange.value : ST as value -&gt;  ref.text = create('string'),  ref.text = (value.dataString);\n      obsRange -&gt; ref.low = create('Quantity') as Low then {\n        obsRange.value : IVL_PQ as v then {\n          v.low as l1 then {\n            l1.value as decValue -&gt; Low.value = decValue;\n            l1.unit as Unit -&gt; Low.unit = Unit;\n          } \"decValue\";\n          v -&gt; ref.high = create('Quantity') as high then {\n            v.high as h1 then {\n              h1.value as decValue1 -&gt; high.value = decValue1;\n              h1.unit as Unit1 -&gt; high.unit = Unit1;\n            } \"decValue\";\n          } \"high\";\n        } \"IVL-PQ\";\n        obsRange.interpretationCode -&gt; ref.type;\n        obsRange.precondition as precondition then {\n          precondition.criterion as criterion then {\n            criterion.code -&gt; ref.appliesTo \"appliesTo\";\n            criterion.value : IVL_PQ as v then {\n              v.high as l1 then {\n                l1 -&gt; ref.age = create('Quantity') as age then {\n                  l1 -&gt; age.high as high then {\n                    l1.value as decValue -&gt; high.value = decValue;\n                    l1.unit as Unit1 -&gt; high.unit = Unit1;\n                  } \"high\";\n                } \"age\";\n              } \"low\";\n            } \"v\";\n          };\n        };\n      } \"obsRange\";\n    } \"refRange\";\n  } \"ref\";\n}\n\ngroup Observation3(source obs : Observation, target patient : Patient, target encounter : Encounter, target ob : Observation, target bundle : Bundle, source cda : Act) {\n  obs -&gt;  ob.subject = create('Reference') as reference,  reference.reference = ('https://example/Patient/' + %patient.id) \"reference\";\n  obs -&gt;  ob.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) \"reference\";\n  obs.code -&gt; ob.code;\n  obs.statusCode as statusc where (code = 'completed') -&gt; ob.status = 'final';\n  obs.statusCode as statusc where (code = 'active') -&gt; ob.status = 'registered';\n  obs.statusCode as statusc where (code = 'aborted') -&gt; ob.status = 'cancelled';\n  obs.statusCode as statusc where (code = 'suspended') -&gt; ob.status = 'partial';\n  obs.effectiveTime as effectiveTime -&gt; ob.effective = create('dateTime') as value then TSDateTime(effectiveTime, value) \"value2\";\n  obs where effectiveTime.low.exists() or effectiveTime.high.exists() then {\n    obs.effectiveTime as eff -&gt; ob.effective = create('Period') as period then IVLTSPeriod(eff, period);\n  } \"where\";\n  obs.interpretationCode -&gt; ob.interpretation;\n  obs.methodCode -&gt; ob.method;\n  obs.value : INT as int -&gt; ob.value = (int.value);\n  obs.value : BL as boolean -&gt; ob.value = (boolean.value) \"boolean\";\n  obs.value : CE as val then {\n    val -&gt; ob.value = create('CodeableConcept') as ce then {\n      val.originalText as originalText then {\n        originalText.reference as reference -&gt; ce.text = reference;\n      } \"originltext\";\n      val -&gt; ce.coding as coding then {\n        val.code as code -&gt; coding.code = cast(code, 'string');\n        val.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        val.displayName as display -&gt; coding.display = cast(display, 'string');\n        val.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n      } \"code\";\n      val.translation as translation -&gt; ce.coding as coding then {\n        translation.code as code -&gt; coding.code = cast(code, 'string');\n        translation.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n        translation.displayName as display -&gt; coding.display = cast(display, 'string');\n        translation.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n        translation.qualifier as qualifier then {\n          qualifier.value as value -&gt; ce.coding as coding then {\n            value.code as code -&gt; coding.code = cast(code, 'string');\n            value.codeSystem as system -&gt; coding.system = translate(system, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri');\n            value.displayName as display -&gt; coding.display = cast(display, 'string');\n            value.codeSystemVersion as version -&gt; coding.version = cast(version, 'string');\n          };\n        };\n      };\n    } \"coding\";\n  } \"val\";\n  obs.value : PQ as val then {\n    val -&gt; ob.value = create('Quantity') as quantity then {\n      val.value as value -&gt; quantity.value = value;\n      val.unit as unit -&gt; quantity.unit = unit;\n    } \"quantity\";\n  } \"valueQuantity\";\n  obs.value : ST as value -&gt;  ob.value = create('string'),  ob.value = (value.dataString);\n  // Note e commenti\n  obs.entryRelationship as entryRelationship then {\n    entryRelationship.act as act then {\n      act.text as text then {\n        text.reference as reference -&gt; ob.note as note then {\n          reference -&gt; note.text = (reference.value) \"reference\";\n        };\n      };\n    } \"Act\";\n  };\n  // subject\n  obs.subject as sbj then {\n    sbj.relatedSubject as relatedSubj -&gt; patient.extension as extension2 then ExtSubjectAnimal(relatedSubj, extension2);\n  };\n  // specimen\n  obs.specimen as spmn -&gt;  bundle.entry as e4o,  e4o.request = create('BackboneElement') as request,  request.method = 'POST',  e4o.resource = create('Specimen') as specimen,  specimen.id = uuid() as uuid4o,  e4o.fullUrl = append('https://example/Specimen/', uuid4o),  request.url = 'Specimen',  ob.specimen = create('Reference') as reference,  reference.reference = ('https://example/Specimen/' + %specimen.id) then {\n    spmn.specimenRole as specimenRole then {\n      specimenRole.id as id -&gt; specimen.identifier;\n      specimenRole.specimenPlayingEntity as specimenPlayingEntity then {\n        specimenPlayingEntity.code -&gt; specimen.type;\n      };\n    };\n  };\n  // performer\n  obs.performer as performer -&gt;  bundle.entry as e1,  e1.request = create('BackboneElement') as request,  request.method = 'POST',  e1.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid1,  e1.fullUrl = append('https://example/PractitionerRole/', uuid1),  request.url = 'PractitionerRole' then {\n    performer -&gt;  ob.performer = create('Reference') as reference,  reference.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) then {\n      performer.assignedEntity as entity then {\n        entity.code -&gt; practitionerRole.code;\n        entity -&gt;  bundle.entry as e2,  e2.request = create('BackboneElement') as request,  request.method = 'PUT',  e2.resource = create('Practitioner') as practitioner then {\n          entity -&gt; practitioner.meta as meta then {\n            entity -&gt; meta.tag = create('Coding') as coding then {\n              entity -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n              entity -&gt; coding.code = 'ClinicalDocument/body/observation/performer' \"code\";\n            } \"coding\";\n          } \"meta\";\n          entity.id as id -&gt; practitioner.identifier as identifier then {\n            id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n            id.extension as ext -&gt; identifier.value = ext then {\n              entity -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n            } \"ext\";\n            id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n            id.root as r then {\n              id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid2,  e2.fullUrl = append('https://example/Practitioner/', uuid2),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"performer\";\n            } \"r\";\n          } \"identifier\";\n          entity.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"2\";\n          entity.id as id where (root != '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"diverso\";\n          entity.addr -&gt; practitioner.address;\n          entity.telecom -&gt; practitioner.telecom;\n          entity.assignedPerson as person then {\n            person.name -&gt; practitioner.name;\n            person.birthTime as birthTime then {\n              birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n            } \"birth\";\n          } \"name\";\n          // organization\n          entity.representedOrganization as representedOrganization -&gt;  bundle.entry as e3,  e3.request = create('BackboneElement') as request,  request.method = 'PUT',  e3.resource = create('Organization') as organization then {\n            representedOrganization -&gt; organization.meta as meta then {\n              representedOrganization -&gt; meta.tag = create('Coding') as coding then {\n                representedOrganization -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                representedOrganization -&gt; coding.code = 'ClinicalDocument/body/observation/performer/representedOrganization' \"code\";\n              } \"coding\";\n            } \"meta\";\n            representedOrganization.id as id -&gt; organization.identifier as identifier then {\n              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n              id.extension as ext -&gt; identifier.value = ext then {\n                representedOrganization -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n              } \"ext\";\n              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n              id.root as r then {\n                id.extension as ext -&gt;  organization.id = (r + '-' + ext) as uuid3,  e3.fullUrl = append('https://example/Organization/', uuid3),  practitionerRole.organization = create('Reference') as referenceOrg,  referenceOrg.reference = append('https://example/Organization/', uuid3) \"aut\";\n              } \"r\";\n            } \"identifier\";\n            representedOrganization.name as v -&gt; organization.name = (v.other);\n            representedOrganization.telecom -&gt; organization.telecom;\n            representedOrganization.addr -&gt; organization.address;\n            representedOrganization.asOrganizationPartOf as OrgPartOf -&gt;  bundle.entry as e4,  e4.request = create('BackboneElement') as request,  e4.resource = create('Organization') as organization1,  request.method = 'PUT' then {\n              OrgPartOf -&gt; organization1.meta as meta then {\n                OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n                  OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                  OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/observation/performer/representedOrganization/asOrganizationPartOf' \"code\";\n                } \"coding\";\n              } \"meta\";\n              OrgPartOf.id as id -&gt; organization1.identifier as identifier then {\n                id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n                id.extension as ext -&gt; identifier.value = ext then {\n                  OrgPartOf -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n                } \"ext\";\n                id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n                id.root as r then {\n                  id.extension as ext -&gt;  organization1.id = (r + '-' + ext) as uuid4,  e4.fullUrl = append('https://example/Organization/', uuid4),  organization.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization1.id) \"org\";\n                } \"r\";\n              } \"identifier\";\n              OrgPartOf.code -&gt; organization1.type;\n              OrgPartOf.statusCode as status where (value = 'active') -&gt;  organization1.active = create('boolean'),  organization1.active = 'true';\n              OrgPartOf.wholeOrganization as wholeOrgan -&gt;  bundle.entry as e5,  e5.request = create('BackboneElement') as request,  request.method = 'PUT',  e5.resource = create('Organization') as organization2 then {\n                wholeOrgan -&gt; organization2.meta as meta then {\n                  wholeOrgan -&gt; meta.tag = create('Coding') as coding then {\n                    wholeOrgan -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                    wholeOrgan -&gt; coding.code = 'ClinicalDocument/body/observation/performer/representedOrganization/wholeOrganization' \"code\";\n                  } \"coding\";\n                } \"meta\";\n                wholeOrgan.id as id -&gt; organization2.identifier as identifier then {\n                  id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n                  id.extension as ext -&gt; identifier.value = ext then {\n                    wholeOrgan -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n                  } \"ext\";\n                  id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n                  id.root as r then {\n                    id.extension as ext -&gt;  organization2.id = (r + '-' + ext) as uuid5,  e5.fullUrl = append('https://example/Organization/', uuid5),  organization1.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization2.id) \"org\";\n                  } \"r\";\n                } \"identifier\";\n                wholeOrgan.name as v -&gt; organization2.name = (v.other);\n                wholeOrgan.telecom -&gt; organization2.telecom;\n                wholeOrgan.addr -&gt; organization2.address;\n              };\n            } \"OrgPartOf\";\n          };\n        } \"practitioner\";\n      } \"entity\";\n    } \"practitionerRole\";\n  };\n  // author\n  obs.author as srcAuthor -&gt;  bundle.entry as e6,  e6.request = create('BackboneElement') as request,  request.method = 'POST',  e6.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid6,  e6.fullUrl = append('https://example/PractitionerRole/', uuid6),  request.url = 'PractitionerRole',  ob.performer = create('Reference') as referenceaut,  referenceaut.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) then {\n    srcAuthor.assignedAuthor as assignedAuthor then {\n      assignedAuthor.code as codice -&gt; practitionerRole.code as code2 then CECodeableConcept(codice, code2);\n      assignedAuthor -&gt;  bundle.entry as e7,  e7.request = create('BackboneElement') as request,  request.method = 'PUT',  e7.resource = create('Practitioner') as practitioner,  practitioner.id = uuid() as uuid7 then {\n        srcAuthor.functionCode -&gt; practitionerRole.code;\n        assignedAuthor -&gt; practitioner.meta as meta then {\n          assignedAuthor -&gt; meta.tag = create('Coding') as coding then {\n            assignedAuthor -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            assignedAuthor -&gt; coding.code = 'ClinicalDocument/body/observation/author' \"code\";\n          } \"coding\";\n        } \"meta\";\n        assignedAuthor.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            assignedAuthor -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid2,  e7.fullUrl = append('https://example/Practitioner/', uuid2),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"aut\";\n          } \"r\";\n          assignedAuthor.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"2\";\n          assignedAuthor.id as id where (root != '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"diverso\";\n        } \"identifier\";\n        assignedAuthor.addr -&gt; practitioner.address;\n        assignedAuthor.telecom -&gt; practitioner.telecom;\n        // person\n        assignedAuthor.assignedPerson as person then {\n          person.name -&gt; practitioner.name;\n          person.birthTime as birthTime then {\n            birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n          } \"birth\";\n        } \"name\";\n      } \"ASSAUth\";\n      // organization\n      assignedAuthor.representedOrganization as representedOrganization -&gt;  bundle.entry as e8,  e8.request = create('BackboneElement') as request,  request.method = 'PUT',  e8.resource = create('Organization') as organization then {\n        representedOrganization -&gt; organization.meta as meta then {\n          representedOrganization -&gt; meta.tag = create('Coding') as coding then {\n            representedOrganization -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            representedOrganization -&gt; coding.code = 'ClinicalDocument/body/observation/author/representedOrganization' \"code\";\n          } \"coding\";\n        } \"meta\";\n        representedOrganization.id as id -&gt; organization.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            representedOrganization -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  organization.id = (r + '-' + ext) as uuid3,  e8.fullUrl = append('https://example/Organization/', uuid3),  practitionerRole.organization = create('Reference') as referenceOrg,  referenceOrg.reference = append('https://example/Organization/', uuid3) \"org\";\n          } \"r\";\n        } \"identifier\";\n        representedOrganization.name as v -&gt; organization.name = (v.other);\n        representedOrganization.telecom -&gt; organization.telecom;\n        representedOrganization.addr -&gt; organization.address;\n        representedOrganization.asOrganizationPartOf as OrgPartOf -&gt;  bundle.entry as e9,  e9.request = create('BackboneElement') as request,  request.method = 'PUT',  e9.resource = create('Organization') as organization1 then {\n          OrgPartOf -&gt; organization1.meta as meta then {\n            OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n              OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n              OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf' \"code\";\n            } \"coding\";\n          } \"meta\";\n          OrgPartOf.id as id -&gt; organization1.identifier as identifier then {\n            id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n            id.extension as ext -&gt; identifier.value = ext then {\n              OrgPartOf -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n            } \"ext\";\n            id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n            id.root as r then {\n              id.extension as ext -&gt;  organization1.id = (r + '-' + ext) as uuid4,  e9.fullUrl = append('https://example/Organization/', uuid4),  organization.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization1.id) \"org\";\n            } \"r\";\n          } \"identifier\";\n          OrgPartOf.code -&gt; organization1.type;\n          OrgPartOf.statusCode as status where (value = 'active') -&gt;  organization1.active = create('boolean'),  organization1.active = 'true';\n          OrgPartOf.wholeOrganization as wholeOrgan -&gt;  bundle.entry as e10,  e10.request = create('BackboneElement') as request,  request.method = 'PUT',  e10.resource = create('Organization') as organization2 then {\n            wholeOrgan -&gt; organization2.meta as meta then {\n              wholeOrgan -&gt; meta.tag = create('Coding') as coding then {\n                wholeOrgan -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                wholeOrgan -&gt; coding.code = 'ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf/wholeOrganization' \"code\";\n              } \"coding\";\n            } \"meta\";\n            wholeOrgan.id as id -&gt; organization2.identifier as identifier then {\n              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n              id.extension as ext -&gt; identifier.value = ext then {\n                wholeOrgan -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n              } \"ext\";\n              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n              id.root as r then {\n                id.extension as ext -&gt;  organization2.id = (r + '-' + ext) as uuid4,  e10.fullUrl = append('https://example/Organization/', uuid4),  organization1.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization2.id) \"org\";\n              } \"r\";\n            } \"identifier\";\n            wholeOrgan.name as v -&gt; organization2.name = (v.other);\n            wholeOrgan.telecom -&gt; organization2.telecom;\n            wholeOrgan.addr -&gt; organization2.address;\n          };\n        } \"OrgPartOf\";\n      };\n      // device\n      assignedAuthor.assignedAuthoringDevice as assignedAuthoringDevice -&gt;  bundle.entry as e11,  e11.request = create('BackboneElement') as request,  request.method = 'POST',  e11.resource = create('Device') as device,  device.id = uuid() as uuid11,  e11.fullUrl = append('https://example/Device/', uuid11),  request.url = 'Device',  tgt.author = create('Reference') as reference,  reference.reference = ('https://example/Device/' + %device.id) then {\n        assignedAuthoringDevice.templateId -&gt; device.identifier;\n        assignedAuthoringDevice.code -&gt; device.type;\n        assignedAuthoringDevice.manufacturerModelName as manufacturerModelName then {\n          manufacturerModelName as m -&gt; device.manufacturer = (m.displayName) \"displayRule\";\n        } \"manufacturer\";\n        assignedAuthoringDevice.softwareName as softwareName -&gt; device.deviceName as deviceName then {\n          softwareName -&gt; deviceName.type = 'other' \"typeName\";\n          softwareName as s -&gt; deviceName.name = (s.displayName) \"name\";\n        } \"deviceName\";\n      } \"Device\";\n    };\n  };\n  // participant person\n  obs.participant as participant where (typeCode != 'DEV') -&gt;  ob.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) then {\n    participant -&gt; encounter.participant as FhirParticipant then {\n      participant as p -&gt; FhirParticipant.type as type then {\n        p -&gt; type.coding as coding then {\n          p -&gt; coding.code = (p.typeCode) \"codice\";\n          p -&gt; coding.system = 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType' \"system\";\n        } \"codeType\";\n      } \"type\";\n    } \"fhirParticipant\";\n    participant.participantRole as participantRole -&gt;  bundle.entry as e12,  e12.request = create('BackboneElement') as request,  request.method = 'POST',  e12.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid12,  e12.fullUrl = append('https://example/PractitionerRole/', uuid12),  request.url = 'PractitionerRole',  encounter.participant = create('BackboneElement') as participant1,  participant1.individual = create('Reference') as referencepart,  referencepart.reference = ('https://example/Practitioner/' + %practitionerRole.id) then {\n      // participant.time -&gt; participant1.period;\n      participant.time as time1 -&gt; participant1.period = create('Period') as period then {\n        time1 -&gt; period.start = create('dateTime') as start then TSDateTime(time1, start) \"val\";\n      };\n      participant.time as time1 -&gt; participant1.period = create('Period') as period then IVLTSPeriod(time1, period);\n      participant.functionCode -&gt; practitionerRole.code;\n      // non mappa i 2 precedenti\n      participantRole -&gt;  bundle.entry as e13,  e13.request = create('BackboneElement') as request,  request.method = 'PUT',  e13.resource = create('Practitioner') as practitioner then {\n        participantRole -&gt; practitioner.meta as meta then {\n          participantRole -&gt; meta.tag = create('Coding') as coding then {\n            participantRole -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            participantRole -&gt; coding.code = 'ClinicalDocument/body/observation/participant' \"code\";\n          } \"coding\";\n        } \"meta\";\n        participantRole.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            participantRole -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid4,  e13.fullUrl = append('https://example/Practitioner/', uuid4),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"org\";\n          } \"r\";\n        } \"identifier\";\n        participantRole.code -&gt; practitionerRole.code;\n        participantRole.addr -&gt; practitioner.address;\n        participantRole.telecom -&gt; practitioner.telecom;\n        participantRole.playingEntity as playingEntity then {\n          playingEntity.name -&gt; practitioner.name;\n          playingEntity.birthTime as birthTime then {\n            birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n          } \"birth\";\n        } \"name\";\n      } \"practitioner\";\n    } \"partRole\";\n  } \"participantEncounter\";\n  // participant device\n  obs.participant as devParticipant where (typeCode = 'DEV') -&gt;  bundle.entry as e14,  e14.request = create('BackboneElement') as request,  request.method = 'POST',  e14.resource = create('Device') as device,  device.id = uuid() as uuid14,  e14.fullUrl = append('https://example/Device/', uuid14),  request.url = 'Device',  ob.device = create('Reference') as reference,  reference.reference = ('https://example/Device/' + %device.id) then {\n    devParticipant.participantRole as participantRoleDev then {\n      participantRoleDev.playingDevice as playingDevice then {\n        playingDevice.code -&gt; device.type;\n        playingDevice.manufacturerModelName as manufacturerModelName then {\n          manufacturerModelName as m -&gt; device.manufacturer = (m.displayName) \"displayRule\";\n        } \"manufacturer\";\n        playingDevice.softwareName as softwareName -&gt; device.deviceName as deviceName then {\n          softwareName -&gt; deviceName.type = 'other' \"typeName\";\n          softwareName as s -&gt; deviceName.name = (s.displayName) \"name\";\n        } \"deviceName\";\n      };\n    } \"participantRoleDev\";\n  } \"devParticipant\";\n  // observationMedia\n  obs.entryRelationship as er then {\n    er.observationMedia as obsMedia -&gt;  bundle.entry as e15,  e15.request = create('BackboneElement') as request,  request.method = 'POST',  e15.resource = create('Media') as media1,  media1.id = uuid() as uuid15,  e15.fullUrl = append('https://example/Media/', uuid15),  request.url = 'Media',  ob.derivedFrom = create('Reference') as reference,  reference.reference = ('https://example/Media/' + %media1.id) then {\n      obsMedia -&gt; media1.content = create('Attachment') as Attachment then {\n        obsMedia -&gt; media1.status = 'unknown' \"status\";\n        obsMedia.value as valueMedia then {\n          valueMedia.mediaType as type -&gt; Attachment.contentType = type \"type\";\n          valueMedia -&gt; Attachment.data = (valueMedia.dataBase64Binary) \"data\";\n        } \"valuemedia\";\n      } \"Attachment\";\n    } \"media\";\n  } \"observationMedia\";\n  // referenceRange\n  obs.referenceRange as refRange -&gt; ob.referenceRange = create('BackboneElement') as ref then {\n    refRange.observationRange as obsRange then {\n      obsRange.value : ST as value -&gt;  ref.text = create('string'),  ref.text = (value.dataString);\n      obsRange -&gt; ref.low = create('Quantity') as Low then {\n        obsRange.value : IVL_PQ as v then {\n          v.low as l1 then {\n            l1.value as decValue -&gt; Low.value = decValue;\n            l1.unit as Unit -&gt; Low.unit = Unit;\n          } \"decValue\";\n          v -&gt; ref.high = create('Quantity') as high then {\n            v.high as h1 then {\n              h1.value as decValue1 -&gt; high.value = decValue1;\n              h1.unit as Unit1 -&gt; high.unit = Unit1;\n            } \"decValue\";\n          } \"high\";\n        } \"IVLPQ\";\n        obsRange.interpretationCode -&gt; ref.type;\n        obsRange.precondition as precondition then {\n          precondition.criterion as criterion then {\n            criterion.code -&gt; ref.appliesTo \"appliesTo\";\n            criterion.value : IVL_PQ as v then {\n              v.high as l1 then {\n                l1 -&gt; ref.age = create('Quantity') as age then {\n                  l1 -&gt; age.high as high then {\n                    l1.value as decValue -&gt; high.value = decValue;\n                    l1.unit as Unit1 -&gt; high.unit = Unit1;\n                  } \"high\";\n                } \"age\";\n              } \"low\";\n            } \"v\";\n          };\n        };\n      } \"obsRange\";\n    } \"refRange\";\n  } \"ref\";\n}\n\ngroup Act(source cda : Act, target pat : Patient, target ac : DiagnosticReport, target enc : Encounter, target bundle : Bundle) {\n  cda.code -&gt; ac.code;\n  cda where cda.statusCode.exists().not() then {\n    cda -&gt; ac.status = 'final' \"statuscode\";\n  } \"status\";\n  cda.statusCode as statusc where (code = 'completed') -&gt; ac.status = 'final';\n  cda.statusCode as statusc where (code = 'active') -&gt; ac.status = 'registered';\n  cda.statusCode as statusc where (code = 'aborted') -&gt; ac.status = 'cancelled';\n  cda.statusCode as statusc where (code = 'suspended') -&gt; ac.status = 'partial';\n  cda.effectiveTime as effectiveTime -&gt; ac.effective = create('dateTime') as value then TSDateTime(effectiveTime, value) \"value3\";\n  cda where effectiveTime.low.exists() or effectiveTime.high.exists() then {\n    cda.effectiveTime as eff -&gt; ac.effective = create('Period') as period then IVLTSPeriod(eff, period);\n  } \"where\";\n  cda -&gt;  ac.subject = create('Reference') as reference,  reference.reference = ('https://example/Patient/' + %pat.id) \"reference\";\n  cda -&gt;  ac.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %enc.id) \"reference\";\n  // specimen\n  cda where cda.specimen.exists() then {\n    cda.specimen as src -&gt;  bundle.entry as e4,  e4.request = create('BackboneElement') as request,  request.method = 'POST',  e4.resource = create('Specimen') as specimen,  specimen.id = uuid() as uuid4,  e4.fullUrl = append('https://example/Specimen/', uuid4),  request.url = 'Specimen',  ac.specimen = create('Reference') as reference,  reference.reference = ('https://example/Specimen/' + %specimen.id) then {\n      src.specimenRole as specimenRole then {\n        specimenRole.id -&gt; specimen.identifier;\n        specimenRole.specimenPlayingEntity as specimenPlayingEntity then {\n          specimenPlayingEntity.code -&gt; specimen.type;\n        };\n      } \"SpecimenRole\";\n      src -&gt;  specimen.subject = create('Reference') as reference,  reference.reference = ('https://example/Patient/' + %patient.id) \"reference\";\n      cda.entryRelationship as entryRelationship then {\n        entryRelationship.observation as observation then {\n          observation -&gt;  bundle.entry as e12,  e12.request = create('BackboneElement') as request,  request.method = 'POST',  e12.resource = create('Observation') as obs,  obs.id = uuid() as uuid13,  e12.fullUrl = append('https://example/Observation/', uuid13),  request.url = 'Observation',  ac.result = create('Reference') as reference,  reference.reference = ('https://example/Observation/' + %obs.id) then {\n            observation then Observation2(observation, pat, enc, obs, bundle, cda, specimen) \"ORG\";\n            // procedure\n            cda.entryRelationship as entryRelationship1 then {\n              entryRelationship1.procedure as proc -&gt;  bundle.entry as e5,  e5.request = create('BackboneElement') as request,  request.method = 'POST',  e5.resource = create('Procedure') as procedure,  procedure.id = uuid() as uuid5,  e5.fullUrl = append('https://example/Procedure/', uuid5),  request.url = 'Procedure',  obs.partOf = create('Reference') as reference,  reference.reference = ('https://example/Procedure/' + %procedure.id) then {\n                proc -&gt;  procedure.subject = create('Reference') as reference,  reference.reference = ('https://example/Patient/' + %patient.id) \"reference\";\n                proc -&gt;  procedure.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) \"reference\";\n                proc where proc.statusCode.exists().not() then {\n                  proc -&gt; procedure.status = 'unknown' \"statuscode\";\n                } \"status\";\n                proc.statusCode as statusc where (code = 'completed') -&gt; procedure.status = 'completed';\n                proc.statusCode as statusc where (code = 'active') -&gt; procedure.status = 'in-progress';\n                proc.statusCode as statusc where (code = 'aborted') -&gt; procedure.status = 'stopped';\n                proc.statusCode as statusc where (code = 'suspended') -&gt; procedure.status = 'on-hold';\n                proc.statusCode as statusc where (code = 'cancelled') -&gt; procedure.status = 'not-done';\n                proc.statusCode as statusc where (code = 'held') -&gt; procedure.status = 'on-hold';\n                proc.statusCode as statusc where (code = 'new') -&gt; procedure.status = 'preparation';\n                proc.statusCode as statusc where (code = 'obsolete') -&gt; procedure.status = 'entered-in-error';\n                proc.statusCode as statusc where (code = 'nullified') -&gt; procedure.status = 'unknown';\n                proc.effectiveTime as effectiveTime -&gt; procedure.performed = create('dateTime') as value then TSDateTime(effectiveTime, value) \"datetime\";\n                proc where effectiveTime.low.exists() or effectiveTime.high.exists() then {\n                  proc.effectiveTime as eff -&gt; procedure.performed = create('Period') as period then IVLTSPeriod(eff, period);\n                } \"where\";\n                proc.targetSiteCode -&gt; procedure.bodySite;\n              };\n            } \"entryRelationshipprocedure\";\n          } \"obs\";\n        };\n        entryRelationship.organizer as organizer then {\n          organizer -&gt;  bundle.entry as e12,  e12.request = create('BackboneElement') as request,  request.method = 'POST',  e12.resource = create('Observation') as obs,  obs.id = uuid() as uuid13,  e12.fullUrl = append('https://example/Observation/', uuid13),  request.url = 'Observation',  ac.result = create('Reference') as reference,  reference.reference = ('https://example/Observation/' + %obs.id) then {\n            organizer then Organizer(cda, organizer, pat, enc, obs, bundle) \"ORG\";\n            // procedure\n            cda.entryRelationship as entryRelationship1 then {\n              entryRelationship1.procedure as proc -&gt;  bundle.entry as e5,  e5.request = create('BackboneElement') as request,  request.method = 'POST',  e5.resource = create('Procedure') as procedure,  procedure.id = uuid() as uuid5,  e5.fullUrl = append('https://example/Procedure/', uuid5),  request.url = 'Procedure',  obs.partOf = create('Reference') as reference,  reference.reference = ('https://example/Procedure/' + %procedure.id) then {\n                proc -&gt;  procedure.subject = create('Reference') as reference,  reference.reference = ('https://example/Patient/' + %patient.id) \"reference\";\n                proc -&gt;  procedure.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) \"reference\";\n                proc where proc.statusCode.exists().not() then {\n                  proc -&gt; procedure.status = 'unknown' \"statuscode\";\n                } \"status\";\n                proc.statusCode as statusc where (code = 'completed') -&gt; procedure.status = 'completed';\n                proc.statusCode as statusc where (code = 'active') -&gt; procedure.status = 'in-progress';\n                proc.statusCode as statusc where (code = 'aborted') -&gt; procedure.status = 'stopped';\n                proc.statusCode as statusc where (code = 'suspended') -&gt; procedure.status = 'on-hold';\n                proc.statusCode as statusc where (code = 'cancelled') -&gt; procedure.status = 'not-done';\n                proc.statusCode as statusc where (code = 'held') -&gt; procedure.status = 'on-hold';\n                proc.statusCode as statusc where (code = 'new') -&gt; procedure.status = 'preparation';\n                proc.statusCode as statusc where (code = 'obsolete') -&gt; procedure.status = 'entered-in-error';\n                proc.statusCode as statusc where (code = 'nullified') -&gt; procedure.status = 'unknown';\n                proc.effectiveTime as effectiveTime -&gt; procedure.performed = create('dateTime') as value then TSDateTime(effectiveTime, value) \"datetime\";\n                proc where effectiveTime.low.exists() or effectiveTime.high.exists() then {\n                  proc.effectiveTime as eff -&gt; procedure.performed = create('Period') as period then IVLTSPeriod(eff, period);\n                } \"where\";\n                proc.targetSiteCode -&gt; procedure.bodySite;\n              } \"pbservation\";\n            } \"entryRelationshiprocedure\";\n          } \"Organizer\";\n        };\n      } \"entryRelationshipobservation\";\n    };\n  } \"exist\";\n  cda where cda.specimen.exists().not() then {\n    // cda -&gt; bundle.entry as e4, e4.request = create('BackboneElement') as request, request.method = 'POST', e4.resource = create('Specimen') as specimen,  specimen.id = uuid() as uuid4,  e4.fullUrl = append('https://example/Specimen/', uuid4), request.url = 'Specimen' then {\n    cda.entryRelationship as entryRelationship then {\n      entryRelationship.observation as observation then {\n        observation -&gt;  bundle.entry as e12,  e12.request = create('BackboneElement') as request,  request.method = 'POST',  e12.resource = create('Observation') as obs,  obs.id = uuid() as uuid13,  e12.fullUrl = append('https://example/Observation/', uuid13),  request.url = 'Observation',  ac.result = create('Reference') as reference,  reference.reference = ('https://example/Observation/' + %obs.id) then {\n          observation then Observation3(observation, pat, enc, obs, bundle, cda) \"ORG\";\n          // procedure\n          cda.entryRelationship as entryRelationship1 then {\n            entryRelationship1.procedure as proc -&gt;  bundle.entry as e5,  e5.request = create('BackboneElement') as request,  request.method = 'POST',  e5.resource = create('Procedure') as procedure,  procedure.id = uuid() as uuid5,  e5.fullUrl = append('https://example/Procedure/', uuid5),  request.url = 'Procedure',  obs.partOf = create('Reference') as reference,  reference.reference = ('https://example/Procedure/' + %procedure.id) then {\n              proc -&gt;  procedure.subject = create('Reference') as reference,  reference.reference = ('https://example/Patient/' + %patient.id) \"reference\";\n              proc -&gt;  procedure.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) \"reference\";\n              proc where proc.statusCode.exists().not() then {\n                proc -&gt; procedure.status = 'unknown' \"statuscode\";\n              } \"status\";\n              proc.statusCode as statusc where (code = 'completed') -&gt; procedure.status = 'completed';\n              proc.statusCode as statusc where (code = 'active') -&gt; procedure.status = 'in-progress';\n              proc.statusCode as statusc where (code = 'aborted') -&gt; procedure.status = 'stopped';\n              proc.statusCode as statusc where (code = 'suspended') -&gt; procedure.status = 'on-hold';\n              proc.statusCode as statusc where (code = 'cancelled') -&gt; procedure.status = 'not-done';\n              proc.statusCode as statusc where (code = 'held') -&gt; procedure.status = 'on-hold';\n              proc.statusCode as statusc where (code = 'new') -&gt; procedure.status = 'preparation';\n              proc.statusCode as statusc where (code = 'obsolete') -&gt; procedure.status = 'entered-in-error';\n              proc.statusCode as statusc where (code = 'nullified') -&gt; procedure.status = 'unknown';\n              proc.effectiveTime as effectiveTime -&gt; procedure.performed = create('dateTime') as value then TSDateTime(effectiveTime, value) \"datetime\";\n              proc where effectiveTime.low.exists() or effectiveTime.high.exists() then {\n                proc.effectiveTime as eff -&gt; procedure.performed = create('Period') as period then IVLTSPeriod(eff, period);\n              } \"where\";\n              proc.targetSiteCode -&gt; procedure.bodySite;\n            };\n          } \"entryRelationshipprocedure\";\n        } \"obs\";\n      };\n      entryRelationship.organizer as organizer then {\n        organizer -&gt;  bundle.entry as e12,  e12.request = create('BackboneElement') as request,  request.method = 'POST',  e12.resource = create('Observation') as obs,  obs.id = uuid() as uuid13,  e12.fullUrl = append('https://example/Observation/', uuid13),  request.url = 'Observation',  ac.result = create('Reference') as reference,  reference.reference = ('https://example/Observation/' + %obs.id) then {\n          organizer then Organizer(cda, organizer, pat, enc, obs, bundle) \"ORG\";\n          // procedure\n          cda.entryRelationship as entryRelationship1 then {\n            entryRelationship1.procedure as proc -&gt;  bundle.entry as e5,  e5.request = create('BackboneElement') as request,  request.method = 'POST',  e5.resource = create('Procedure') as procedure,  procedure.id = uuid() as uuid5,  e5.fullUrl = append('https://example/Procedure/', uuid5),  request.url = 'Procedure',  obs.partOf = create('Reference') as reference,  reference.reference = ('https://example/Procedure/' + %procedure.id) then {\n              proc -&gt;  procedure.subject = create('Reference') as reference,  reference.reference = ('https://example/Patient/' + %patient.id) \"reference\";\n              proc -&gt;  procedure.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) \"reference\";\n              proc where proc.statusCode.exists().not() then {\n                proc -&gt; procedure.status = 'unknown' \"statuscode\";\n              } \"status\";\n              proc.statusCode as statusc where (code = 'completed') -&gt; procedure.status = 'completed';\n              proc.statusCode as statusc where (code = 'active') -&gt; procedure.status = 'in-progress';\n              proc.statusCode as statusc where (code = 'aborted') -&gt; procedure.status = 'stopped';\n              proc.statusCode as statusc where (code = 'suspended') -&gt; procedure.status = 'on-hold';\n              proc.statusCode as statusc where (code = 'cancelled') -&gt; procedure.status = 'not-done';\n              proc.statusCode as statusc where (code = 'held') -&gt; procedure.status = 'on-hold';\n              proc.statusCode as statusc where (code = 'new') -&gt; procedure.status = 'preparation';\n              proc.statusCode as statusc where (code = 'obsolete') -&gt; procedure.status = 'entered-in-error';\n              proc.statusCode as statusc where (code = 'nullified') -&gt; procedure.status = 'unknown';\n              proc.effectiveTime as effectiveTime -&gt; procedure.performed = create('dateTime') as value then TSDateTime(effectiveTime, value) \"datetime\";\n              proc where effectiveTime.low.exists() or effectiveTime.high.exists() then {\n                proc.effectiveTime as eff -&gt; procedure.performed = create('Period') as period then IVLTSPeriod(eff, period);\n              } \"where\";\n              proc.targetSiteCode -&gt; procedure.bodySite;\n            } \"pbservation\";\n          } \"entryRelationshiprocedure\";\n        } \"Organizer\";\n      };\n    } \"entryRelationshipobservation\";\n  } \"existnot\";\n  // PARTICIPANT\n  cda.participant as part where (typeCode != 'DEV') -&gt; enc.participant as participant then {\n    part -&gt; participant.type as type then {\n      part -&gt; type.coding as coding then {\n        part -&gt; coding.code = (part.typeCode) \"codice\";\n        part -&gt; coding.system = 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType' \"system\";\n      } \"codeType\";\n    } \"type\";\n    part.participantRole as participantRole -&gt; participant.individual = create('Reference') as reference then {\n      participantRole -&gt;  bundle.entry as e,  e.request = create('BackboneElement') as request,  request.method = 'PUT',  e.resource = create('Practitioner') as practitioner then {\n        part.time as time1 -&gt; participant.period = create('Period') as period then {\n          time1 -&gt; period.start = create('dateTime') as start then TSDateTime(time1, start) \"val\";\n        };\n        part.time as time1 -&gt; participant.period = create('Period') as period then IVLTSPeriod(time1, period);\n        participantRole -&gt; practitioner.meta as meta then {\n          participantRole -&gt; meta.tag = create('Coding') as coding then {\n            participantRole -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            participantRole -&gt; coding.code = 'ClinicalDocument/body/act/participant' \"code\";\n          } \"coding\";\n        } \"meta\";\n        participantRole.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            participantRole -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid4,  e.fullUrl = append('https://example/Practitioner/', uuid4),  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"org\";\n          } \"r\";\n        } \"identifier\";\n        participantRole.addr -&gt; practitioner.address;\n        participantRole.playingEntity as playingEntity then {\n          playingEntity.name -&gt; practitioner.name;\n        };\n      } \"participanRoleBund\";\n    };\n  };\n  // PERFORMER\n  cda.performer as performer -&gt;  bundle.entry as e1,  e1.request = create('BackboneElement') as request,  request.method = 'POST',  e1.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid1,  e1.fullUrl = append('https://example/PractitionerRole/', uuid1),  request.url = 'PractitionerRole',  ac.performer = create('Reference') as reference,  reference.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) then {\n    performer.assignedEntity as assignedEntity then {\n      assignedEntity.code as codice -&gt; practitionerRole.code;\n      assignedEntity -&gt;  bundle.entry as e2,  e2.request = create('BackboneElement') as request,  request.method = 'PUT',  e2.resource = create('Practitioner') as practitioner then {\n        assignedEntity.code -&gt; practitionerRole.code;\n        assignedEntity -&gt; practitioner.meta as meta then {\n          assignedEntity -&gt; meta.tag = create('Coding') as coding then {\n            assignedEntity -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            assignedEntity -&gt; coding.code = 'ClinicalDocument/body/act/performer' \"code\";\n          } \"coding\";\n        } \"meta\";\n        assignedEntity.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            assignedEntity -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid4,  e2.fullUrl = append('https://example/Practitioner/', uuid4),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"pra\";\n          } \"r\";\n        } \"identifier\";\n        assignedEntity.addr -&gt; practitioner.address;\n        assignedEntity.telecom -&gt; practitioner.telecom;\n        assignedEntity.assignedPerson as person then {\n          person.name -&gt; practitioner.name;\n          person.birthTime as birthTime then {\n            birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n          } \"birth\";\n        } \"name\";\n      } \"ASSAUth\";\n      assignedEntity.representedOrganization as representedOrganization -&gt;  bundle.entry as e3,  e3.request = create('BackboneElement') as request,  request.method = 'PUT',  e3.resource = create('Organization') as organization then {\n        representedOrganization -&gt; organization.meta as meta then {\n          representedOrganization -&gt; meta.tag = create('Coding') as coding then {\n            representedOrganization -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            representedOrganization -&gt; coding.code = 'ClinicalDocument/body/act/representedOrganization' \"code\";\n          } \"coding\";\n        } \"meta\";\n        representedOrganization.id as id -&gt; organization.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            representedOrganization -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  organization.id = (r + '-' + ext) as uuid2,  e3.fullUrl = append('https://example/Organization/', uuid2),  practitionerRole.organization = create('Reference') as referenceOrg,  referenceOrg.reference = append('https://example/Organization/', uuid2) \"org\";\n          } \"r\";\n        } \"identifier\";\n        representedOrganization.name as v -&gt; organization.name = (v.other);\n        representedOrganization.telecom -&gt; organization.telecom;\n        representedOrganization.addr -&gt; organization.address;\n        representedOrganization.asOrganizationPartOf as OrgPartOf -&gt;  bundle.entry as e4,  e4.request = create('BackboneElement') as request,  request.method = 'PUT',  e4.resource = create('Organization') as organization1 then {\n          OrgPartOf -&gt; organization1.meta as meta then {\n            OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n              OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n              OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/act/representedOrganization/asOrganizationPartOf' \"code\";\n            } \"coding\";\n          } \"meta\";\n          OrgPartOf.id as id -&gt; organization1.identifier as identifier then {\n            id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n            id.extension as ext -&gt; identifier.value = ext then {\n              OrgPartOf -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n            } \"ext\";\n            id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n            id.root as r then {\n              id.extension as ext -&gt;  organization1.id = (r + '-' + ext) as uuid3,  organization1.id = uuid() as uuid3,  e4.fullUrl = append('https://example/Organization/', uuid3),  organization.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization1.id) \"org\";\n            } \"r\";\n          } \"identifier\";\n          OrgPartOf.code -&gt; organization1.type;\n          OrgPartOf.statusCode as status where (value = 'active') -&gt;  organization1.active = create('boolean'),  organization1.active = 'true';\n          OrgPartOf.wholeOrganization as wholeOrgan -&gt;  bundle.entry as e10bis,  e10bis.request = create('BackboneElement') as request,  request.method = 'PUT',  e10bis.resource = create('Organization') as organization2 then {\n            OrgPartOf -&gt; organization2.meta as meta then {\n              OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n                OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/act/representedOrganization/asOrganizationPartOf/wholeOrganization' \"code\";\n              } \"coding\";\n            } \"meta\";\n            wholeOrgan.id as id -&gt; organization2.identifier as identifier then {\n              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n              id.extension as ext -&gt; identifier.value = ext then {\n                wholeOrgan -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n              } \"ext\";\n              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n              id.root as r then {\n                id.extension as ext -&gt;  organization2.id = (r + '-' + ext) as uuid5,  e10bis.fullUrl = append('https://example/Organization/', uuid5),  organization1.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization2.id) \"org\";\n              } \"r\";\n            } \"identifier\";\n            wholeOrgan.name as v -&gt; organization2.name = (v.other);\n            wholeOrgan.telecom -&gt; organization2.telecom;\n            wholeOrgan.addr -&gt; organization2.address;\n          };\n        } \"OrgPartOf\";\n      };\n    } \"performer\";\n  };\n  // AUTHOR\n  cda.author as srcAuthor -&gt;  bundle.entry as e5,  e5.request = create('BackboneElement') as request,  request.method = 'POST',  e5.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid6,  e5.fullUrl = append('https://example/PractitionerRole/', uuid6),  request.url = 'PractitionerRole',  ac.performer = create('Reference') as reference,  reference.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) then {\n    srcAuthor.assignedAuthor as assignedAuthor then {\n      assignedAuthor.code as codice -&gt; practitionerRole.code;\n      assignedAuthor -&gt;  bundle.entry as e7,  e7.request = create('BackboneElement') as request,  request.method = 'PUT',  e7.resource = create('Practitioner') as practitioner then {\n        srcAuthor.functionCode -&gt; practitionerRole.code;\n        assignedAuthor.code -&gt; practitionerRole.code;\n        assignedAuthor -&gt; practitioner.meta as meta then {\n          assignedAuthor -&gt; meta.tag = create('Coding') as coding then {\n            assignedAuthor -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            assignedAuthor -&gt; coding.code = 'ClinicalDocument/body/act/author' \"code\";\n          } \"coding\";\n        } \"meta\";\n        assignedAuthor.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            assignedAuthor -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid2,  e7.fullUrl = append('https://example/Practitioner/', uuid2),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"aut\";\n          } \"r\";\n        } \"identifier\";\n        assignedAuthor.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') then {\n          id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n        } \"2\";\n        assignedAuthor.id as id where (root != '2.16.840.1.113883.2.9.4.3.2') then {\n          id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n        } \"diverso\";\n        assignedAuthor.addr -&gt; practitioner.address;\n        assignedAuthor.telecom -&gt; practitioner.telecom;\n        // person\n        assignedAuthor.assignedPerson as person then {\n          person.name -&gt; practitioner.name;\n          person.birthTime as birthTime then {\n            birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n          } \"birth\";\n        } \"name\";\n      } \"ASSAUth\";\n      // organization\n      assignedAuthor.representedOrganization as representedOrganization -&gt;  bundle.entry as e8,  e8.request = create('BackboneElement') as request,  request.method = 'PUT',  e8.resource = create('Organization') as organization then {\n        representedOrganization -&gt; organization.meta as meta then {\n          representedOrganization -&gt; meta.tag = create('Coding') as coding then {\n            representedOrganization -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            representedOrganization -&gt; coding.code = 'ClinicalDocument/body/act/author/representedOrganization' \"code\";\n          } \"coding\";\n        } \"meta\";\n        representedOrganization.id as id -&gt; organization.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            representedOrganization -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  organization.id = (r + '-' + ext) as uuid8,  e8.fullUrl = append('https://example/Organization/', uuid8),  practitionerRole.organization = create('Reference') as referenceOrg,  referenceOrg.reference = append('https://example/Organization/', uuid8) \"org\";\n          } \"r\";\n        } \"identifier\";\n        representedOrganization.name as v -&gt; organization.name = (v.other);\n        representedOrganization.telecom -&gt; organization.telecom;\n        representedOrganization.addr -&gt; organization.address;\n        representedOrganization.asOrganizationPartOf as OrgPartOf -&gt;  bundle.entry as e9,  e9.request = create('BackboneElement') as request,  request.method = 'PUT',  e9.resource = create('Organization') as organization1 then {\n          OrgPartOf -&gt; organization1.meta as meta then {\n            OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n              OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n              OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/act/author/representedOrganization/asOrganizationPartOf' \"code\";\n            } \"coding\";\n          } \"meta\";\n          OrgPartOf.id as id -&gt; organization1.identifier as identifier then {\n            id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n            id.extension as ext -&gt; identifier.value = ext then {\n              OrgPartOf -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n            } \"ext\";\n            id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n            id.root as r then {\n              id.extension as ext -&gt;  organization1.id = (r + '-' + ext) as uuid9,  e9.fullUrl = append('https://example/Organization/', uuid9),  organization.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization1.id) \"org\";\n            } \"r\";\n          } \"identifier\";\n          OrgPartOf.code -&gt; organization1.type;\n          OrgPartOf.statusCode as status where (value = 'active') -&gt;  organization1.active = create('boolean'),  organization1.active = 'true';\n          OrgPartOf.wholeOrganization as wholeOrgan -&gt;  bundle.entry as e10,  e10.request = create('BackboneElement') as request,  request.method = 'PUT',  e10.resource = create('Organization') as organization2 then {\n            wholeOrgan -&gt; organization2.meta as meta then {\n              wholeOrgan -&gt; meta.tag = create('Coding') as coding then {\n                wholeOrgan -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                wholeOrgan -&gt; coding.code = 'ClinicalDocument/body/act/author/representedOrganization/asOrganizationPartOf/wholeOrganization' \"code\";\n              } \"coding\";\n            } \"meta\";\n            wholeOrgan.id as id -&gt; organization2.identifier as identifier then {\n              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n              id.extension as ext -&gt; identifier.value = ext then {\n                wholeOrgan -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n              } \"ext\";\n              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n              id.root as r then {\n                id.extension as ext -&gt;  organization2.id = (r + '-' + ext) as uuid10,  e10.fullUrl = append('https://example/Organization/', uuid10),  organization1.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization2.id) \"org\";\n              } \"r\";\n            } \"identifier\";\n            wholeOrgan.name as v -&gt; organization2.name = (v.other);\n            wholeOrgan.telecom -&gt; organization2.telecom;\n            wholeOrgan.addr -&gt; organization2.address;\n          };\n        } \"OrgPartOf\";\n      };\n    } \"author\";\n  };\n  // &lt;!--entryRelationship per la gestione delle note e commenti--&gt;\n  cda.entryRelationship as entryRelationship then {\n    entryRelationship.act as act then {\n      act.text as text then {\n        text.reference as reference -&gt; ac.conclusion = (reference.value);\n      };\n    } \"Act\";\n  };\n}\n\ngroup Organizer(source cda : Act, source org : Organizer, target patient : Patient, target encounter : Encounter, target observation : Observation, target bundle : Bundle) {\n  org -&gt;  observation.subject = create('Reference') as reference,  reference.reference = ('https://example/Patient/' + %patient.id) \"reference\";\n  org -&gt;  observation.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) \"reference\";\n  org.code -&gt; observation.code;\n  org where org.code.exists().not() then {\n    cda.code -&gt; observation.code;\n  } \"act\";\n  org.statusCode as statusc where (code = 'completed') -&gt; observation.status = 'final';\n  org.statusCode as statusc where (code = 'active') -&gt; observation.status = 'registered';\n  org.statusCode as statusc where (code = 'aborted') -&gt; observation.status = 'cancelled';\n  org.statusCode as statusc where (code = 'suspended') -&gt; observation.status = 'partial';\n  org.effectiveTime as effectiveTime -&gt; observation.effective = create('dateTime') as value then TSDateTime(effectiveTime, value) \"value2\";\n  org where effectiveTime.low.exists() or effectiveTime.high.exists() then {\n    org.effectiveTime as eff -&gt; observation.effective = create('Period') as period then IVLTSPeriod(eff, period);\n  } \"where\";\n  // specimen\n  org.specimen as spmn -&gt;  bundle.entry as e4o,  e4o.request = create('BackboneElement') as request,  request.method = 'POST',  e4o.resource = create('Specimen') as specimen,  specimen.id = uuid() as uuid4o,  e4o.fullUrl = append('https://example/Specimen/', uuid4o),  request.url = 'Specimen',  observation.specimen = create('Reference') as reference,  reference.reference = ('https://example/Specimen/' + %specimen.id) then {\n    spmn.specimenRole as specimenRole then {\n      specimenRole.id as id -&gt; specimen.identifier;\n      specimenRole.specimenPlayingEntity as specimenPlayingEntity then {\n        specimenPlayingEntity.code -&gt; specimen.type;\n      };\n    };\n  };\n  // subject\n  org.subject as sbj then {\n    sbj.relatedSubject as relatedSubj -&gt; patient.extension as extension2 then ExtSubjectAnimal(relatedSubj, extension2);\n  };\n  // performer\n  org.performer as performer -&gt;  bundle.entry as e1,  e1.request = create('BackboneElement') as request,  request.method = 'POST',  e1.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid1,  e1.fullUrl = append('https://example/PractitionerRole/', uuid1),  request.url = 'PractitionerRole' then {\n    performer -&gt;  observation.performer = create('Reference') as reference,  reference.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) then {\n      performer.assignedEntity as entity then {\n        entity.code -&gt; practitionerRole.code;\n        entity -&gt;  bundle.entry as e2,  e2.request = create('BackboneElement') as request,  request.method = 'PUT',  e2.resource = create('Practitioner') as practitioner then {\n          entity -&gt; practitioner.meta as meta then {\n            entity -&gt; meta.tag = create('Coding') as coding then {\n              entity -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n              entity -&gt; coding.code = 'ClinicalDocument/body/organizer/performer' \"code\";\n            } \"coding\";\n          } \"meta\";\n          entity.id as id -&gt; practitioner.identifier as identifier then {\n            id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n            id.extension as ext -&gt; identifier.value = ext then {\n              entity -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n            } \"ext\";\n            id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n            id.root as r then {\n              id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid2,  e2.fullUrl = append('https://example/Practitioner/', uuid2),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"aut\";\n            } \"r\";\n          } \"identifier\";\n          entity.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"2\";\n          entity.id as id where (root != '2.16.840.1.113883.2.9.4.3.2') then {\n            id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"diverso\";\n          entity.addr -&gt; practitioner.address;\n          entity.telecom -&gt; practitioner.telecom;\n          entity.assignedPerson as person then {\n            person.name -&gt; practitioner.name;\n            person.birthTime as birthTime then {\n              birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n            } \"birth\";\n          } \"name\";\n          entity.representedOrganization as representedOrganization -&gt;  bundle.entry as e3,  e3.request = create('BackboneElement') as request,  request.method = 'PUT',  e3.resource = create('Organization') as organization then {\n            representedOrganization -&gt; organization.meta as meta then {\n              representedOrganization -&gt; meta.tag = create('Coding') as coding then {\n                representedOrganization -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                representedOrganization -&gt; coding.code = 'ClinicalDocument/body/organizer/performer/representedOrganization' \"code\";\n              } \"coding\";\n            } \"meta\";\n            representedOrganization.id as id -&gt; organization.identifier as identifier then {\n              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n              id.extension as ext -&gt; identifier.value = ext then {\n                representedOrganization -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n              } \"ext\";\n              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n              id.root as r then {\n                id.extension as ext -&gt;  organization.id = (r + '-' + ext) as uuid3,  e3.fullUrl = append('https://example/Organization/', uuid3),  practitionerRole.organization = create('Reference') as referenceOrg,  referenceOrg.reference = append('https://example/Organization/', uuid3) \"aut\";\n              } \"r\";\n            } \"identifier\";\n            representedOrganization.name as v -&gt; organization.name = (v.other);\n            representedOrganization.telecom -&gt; organization.telecom;\n            representedOrganization.addr -&gt; organization.address;\n            representedOrganization.asOrganizationPartOf as OrgPartOf -&gt;  bundle.entry as e4,  e4.request = create('BackboneElement') as request,  request.method = 'PUT',  e4.resource = create('Organization') as organization1 then {\n              OrgPartOf -&gt; organization1.meta as meta then {\n                OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n                  OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                  OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/organizer/performer/representedOrganization/asOrganizationPartOf' \"code\";\n                } \"coding\";\n              } \"meta\";\n              OrgPartOf.id as id -&gt; organization1.identifier as identifier then {\n                id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n                id.extension as ext -&gt; identifier.value = ext then {\n                  OrgPartOf -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n                } \"ext\";\n                id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n                id.root as r then {\n                  id.extension as ext -&gt;  organization1.id = (r + '-' + ext) as uuid4,  e4.fullUrl = append('https://example/Organization/', uuid4),  organization.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization1.id) \"org\";\n                } \"r\";\n              } \"identifier\";\n              OrgPartOf.code -&gt; organization1.type;\n              OrgPartOf.statusCode as status where (value = 'active') -&gt;  organization1.active = create('boolean'),  organization1.active = 'true';\n              OrgPartOf.wholeOrganization as wholeOrgan -&gt;  bundle.entry as e5,  e5.request = create('BackboneElement') as request,  request.method = 'PUT',  e5.resource = create('Organization') as organization2 then {\n                wholeOrgan -&gt; organization2.meta as meta then {\n                  wholeOrgan -&gt; meta.tag = create('Coding') as coding then {\n                    wholeOrgan -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                    wholeOrgan -&gt; coding.code = 'ClinicalDocument/body/organizer/performer/representedOrganization/asOrganizationPartOf/wholeOrganization' \"code\";\n                  } \"coding\";\n                } \"meta\";\n                wholeOrgan.id as id -&gt; organization2.identifier as identifier then {\n                  id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n                  id.extension as ext -&gt; identifier.value = ext then {\n                    wholeOrgan -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n                  } \"ext\";\n                  id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n                  id.root as r then {\n                    id.extension as ext -&gt;  organization2.id = (r + '-' + ext) as uuid4,  e5.fullUrl = append('https://example/Organization/', uuid4),  organization1.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization2.id) \"org\";\n                  } \"r\";\n                } \"identifier\";\n                wholeOrgan.name as v -&gt; organization2.name = (v.other);\n                wholeOrgan.telecom -&gt; organization2.telecom;\n                wholeOrgan.addr -&gt; organization2.address;\n              };\n            } \"OrgPartOf\";\n          };\n        } \"practitioner\";\n      } \"entity\";\n    } \"practitionerRole\";\n  };\n  // author\n  org.author as srcAuthor -&gt;  bundle.entry as e6,  e6.request = create('BackboneElement') as request,  request.method = 'POST',  e6.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid6,  e6.fullUrl = append('https://example/PractitionerRole/', uuid6),  request.url = 'PractitionerRole',  observation.performer = create('Reference') as referenceaut,  referenceaut.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) then {\n    // srcAuthor.time as time -&gt; tgt.date;\n    srcAuthor.assignedAuthor as assignedAuthor then {\n      assignedAuthor.code as codice -&gt; practitionerRole.code as code2 then CECodeableConcept(codice, code2);\n      assignedAuthor -&gt;  bundle.entry as e7,  e7.request = create('BackboneElement') as request,  request.method = 'PUT',  e7.resource = create('Practitioner') as practitioner then {\n        srcAuthor.functionCode -&gt; practitionerRole.code;\n        // assignedAuthor.code -&gt; practitionerRole.code;\n        assignedAuthor -&gt; practitioner.meta as meta then {\n          assignedAuthor -&gt; meta.tag = create('Coding') as coding then {\n            assignedAuthor -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            assignedAuthor -&gt; coding.code = 'ClinicalDocument/body/organizer/author' \"code\";\n          } \"coding\";\n        } \"meta\";\n        assignedAuthor.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            assignedAuthor -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid7,  e7.fullUrl = append('https://example/Practitioner/', uuid7),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"aut\";\n          } \"r\";\n        } \"identifier\";\n        assignedAuthor.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') then {\n          id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n        } \"2\";\n        assignedAuthor.id as id where (root != '2.16.840.1.113883.2.9.4.3.2') then {\n          id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n        } \"diverso\";\n        assignedAuthor.addr -&gt; practitioner.address;\n        assignedAuthor.telecom -&gt; practitioner.telecom;\n        // person\n        assignedAuthor.assignedPerson as person then {\n          person.name -&gt; practitioner.name;\n          person.birthTime as birthTime then {\n            birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n          } \"birth\";\n        } \"name\";\n      } \"ASSAUth\";\n      // organization\n      assignedAuthor.representedOrganization as representedOrganization -&gt;  bundle.entry as e8,  e8.request = create('BackboneElement') as request,  request.method = 'PUT',  e8.resource = create('Organization') as organization then {\n        representedOrganization -&gt; organization.meta as meta then {\n          representedOrganization -&gt; meta.tag = create('Coding') as coding then {\n            representedOrganization -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            representedOrganization -&gt; coding.code = 'ClinicalDocument/body/organizer/author/representedOrganization' \"code\";\n          } \"coding\";\n        } \"meta\";\n        representedOrganization.id as id -&gt; organization.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            representedOrganization -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  organization.id = (r + '-' + ext) as uuid8,  e8.fullUrl = append('https://example/Organization/', uuid8),  practitionerRole.organization = create('Reference') as referenceOrg,  referenceOrg.reference = append('https://example/Organization/', uuid8) \"aut\";\n          } \"r\";\n        } \"identifier\";\n        representedOrganization.name as v -&gt; organization.name = (v.other);\n        representedOrganization.telecom -&gt; organization.telecom;\n        representedOrganization.addr -&gt; organization.address;\n        representedOrganization.asOrganizationPartOf as OrgPartOf -&gt;  bundle.entry as e9,  e9.request = create('BackboneElement') as request,  request.method = 'PUT',  e9.resource = create('Organization') as organization1 then {\n          OrgPartOf -&gt; organization1.meta as meta then {\n            OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n              OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n              OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/organizer/author/representedOrganization/asOrganizationPartOf' \"code\";\n            } \"coding\";\n          } \"meta\";\n          OrgPartOf.id as id -&gt; organization1.identifier as identifier then {\n            id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n            id.extension as ext -&gt; identifier.value = ext then {\n              OrgPartOf -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n            } \"ext\";\n            id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n            id.root as r then {\n              id.extension as ext -&gt;  organization1.id = (r + '-' + ext) as uuid9,  e9.fullUrl = append('https://example/Organization/', uuid9),  organization.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization1.id) \"aut\";\n            } \"r\";\n          } \"identifier\";\n          OrgPartOf.code -&gt; organization1.type;\n          OrgPartOf.statusCode as status where (value = 'active') -&gt;  organization1.active = create('boolean'),  organization1.active = 'true';\n          OrgPartOf.wholeOrganization as wholeOrgan -&gt;  bundle.entry as e10,  e10.request = create('BackboneElement') as request,  request.method = 'PUT',  e10.resource = create('Organization') as organization2 then {\n            OrgPartOf -&gt; organization2.meta as meta then {\n              OrgPartOf -&gt; meta.tag = create('Coding') as coding then {\n                OrgPartOf -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n                OrgPartOf -&gt; coding.code = 'ClinicalDocument/body/organizer/author/representedOrganization/asOrganizationPartOf/wholeOrganization' \"code\";\n              } \"coding\";\n            } \"meta\";\n            wholeOrgan.id as id -&gt; organization2.identifier as identifier then {\n              id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n              id.extension as ext -&gt; identifier.value = ext then {\n                wholeOrgan -&gt; request.url = append('Organization?identifier=', ext) \"UUID\";\n              } \"ext\";\n              id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n              id.root as r then {\n                id.extension as ext -&gt;  organization2.id = (r + '-' + ext) as uuid10,  e10.fullUrl = append('https://example/Organization/', uuid10),  organization1.partOf = create('Reference') as reference,  reference.reference = ('https://example/Organization/' + %organization2.id) \"aut\";\n              } \"r\";\n            } \"identifier\";\n            wholeOrgan.name as v -&gt; organization2.name = (v.other);\n            wholeOrgan.telecom -&gt; organization2.telecom;\n            wholeOrgan.addr -&gt; organization2.address;\n          };\n        } \"OrgPartOf\";\n      };\n      // device\n      assignedAuthor.assignedAuthoringDevice as assignedAuthoringDevice -&gt;  bundle.entry as e11,  e11.request = create('BackboneElement') as request,  request.method = 'POST',  e11.resource = create('Device') as device,  device.id = uuid() as uuid11,  e11.fullUrl = append('https://example/Device/', uuid11),  request.url = 'Device',  tgt.author = create('Reference') as reference,  reference.reference = ('https://example/Device/' + %device.id) then {\n        assignedAuthoringDevice.templateId -&gt; device.identifier;\n        assignedAuthoringDevice.code -&gt; device.type;\n        assignedAuthoringDevice.manufacturerModelName as manufacturerModelName then {\n          manufacturerModelName as m -&gt; device.manufacturer = (m.displayName) \"displayRule\";\n        } \"manufacturer\";\n        assignedAuthoringDevice.softwareName as softwareName -&gt; device.deviceName as deviceName then {\n          softwareName -&gt; deviceName.type = 'other' \"typeName\";\n          softwareName as s -&gt; deviceName.name = (s.displayName) \"name\";\n        } \"deviceName\";\n      } \"Device\";\n    };\n  };\n  // participant person\n  org.participant as participant where (typeCode != 'DEV') -&gt;  observation.encounter = create('Reference') as reference,  reference.reference = ('https://example/Encounter/' + %encounter.id) then {\n    participant -&gt; encounter.participant as FhirParticipant then {\n      participant as p -&gt; FhirParticipant.type as type then {\n        p -&gt; type.coding as coding then {\n          p -&gt; coding.code = (p.typeCode) \"codice\";\n          p -&gt; coding.system = 'http://terminology.hl7.org/CodeSystem/v3-ParticipationType' \"system\";\n        } \"codeType\";\n      } \"type\";\n    } \"fhirParticipant\";\n    participant.participantRole as participantRole -&gt;  bundle.entry as e12,  e12.request = create('BackboneElement') as request,  request.method = 'POST',  e12.resource = create('PractitionerRole') as practitionerRole,  practitionerRole.id = uuid() as uuid12,  e12.fullUrl = append('https://example/PractitionerRole/', uuid12),  request.url = 'PractitionerRole',  encounter.participant = create('BackboneElement') as participant1 then {\n      // participant.time -&gt; participant1.period;\n      participant.time as time1 -&gt; participant1.period = create('Period') as period then {\n        time1 -&gt; period.start = create('dateTime') as start then TSDateTime(time1, start) \"val\";\n      };\n      participant.time as time1 -&gt; participant1.period = create('Period') as period then IVLTSPeriod(time1, period);\n      participant.functionCode -&gt; practitionerRole.code;\n      // non mappa i 2 precedenti\n      participantRole -&gt;  bundle.entry as e13,  e13.request = create('BackboneElement') as request,  request.method = 'PUT',  e13.resource = create('Practitioner') as practitioner then {\n        participantRole -&gt;  participant1.individual = create('Reference') as referencepart,  referencepart.reference = ('https://example/PractitionerRole/' + %practitionerRole.id) \"par\";\n        participantRole -&gt; practitioner.meta as meta then {\n          participantRole -&gt; meta.tag = create('Coding') as coding then {\n            participantRole -&gt; coding.system = 'http://algoritmodiscoring' \"system\";\n            participantRole -&gt; coding.code = 'ClinicalDocument/body/organizer/participant' \"code\";\n          } \"coding\";\n        } \"meta\";\n        participantRole.id as id -&gt; practitioner.identifier as identifier then {\n          id.root as r -&gt; identifier.system = translate(r, 'http://hl7.org/fhir/ConceptMap/special-oid2uri', 'uri') \"root1\";\n          id.extension as ext -&gt; identifier.value = ext then {\n            participantRole -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n          } \"ext\";\n          id.assigningAuthorityName as s -&gt;  identifier.assigner as a,  a.display = s;\n          id.root as r then {\n            id.extension as ext -&gt;  practitioner.id = (r + '-' + ext) as uuid2,  e13.fullUrl = append('https://example/Practitioner/', uuid2),  practitionerRole.practitioner = create('Reference') as reference,  reference.reference = ('https://example/Practitioner/' + %practitioner.id) \"part\";\n          } \"r\";\n        } \"identifier\";\n        participantRole.id as id where (root = '2.16.840.1.113883.2.9.4.3.2') then {\n          id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n        } \"2\";\n        participantRole.id as id where (root != '2.16.840.1.113883.2.9.4.3.2') then {\n          id.extension as ext -&gt; request.url = append('Practitioner?identifier=', ext) \"UUID\";\n        } \"diverso\";\n        participantRole.code -&gt; practitionerRole.code;\n        participantRole.addr -&gt; practitioner.address;\n        participantRole.telecom -&gt; practitioner.telecom;\n        participantRole.playingEntity as playingEntity then {\n          playingEntity.name -&gt; practitioner.name;\n          playingEntity.birthTime as birthTime then {\n            birthTime.value as date -&gt; practitioner.birthDate = truncate(date, 10);\n          } \"birth\";\n        } \"name\";\n      } \"practitioner\";\n    } \"partRole\";\n  } \"participantEncounter\";\n  // participant device\n  org.participant as devParticipant where (typeCode = 'DEV') -&gt;  bundle.entry as e14,  e14.request = create('BackboneElement') as request,  request.method = 'POST',  e14.resource = create('Device') as device,  device.id = uuid() as uuid14,  e14.fullUrl = append('https://example/Device/', uuid14),  request.url = 'Device',  observation.device = create('Reference') as reference,  reference.reference = ('https://example/Device/' + %device.id) then {\n    devParticipant.participantRole as participantRoleDev then {\n      participantRoleDev.playingDevice as playingDevice then {\n        playingDevice.code -&gt; device.type;\n        playingDevice.manufacturerModelName as manufacturerModelName then {\n          manufacturerModelName as m -&gt; device.manufacturer = (m.displayName) \"displayRule\";\n        } \"manufacturer\";\n        playingDevice.softwareName as softwareName -&gt; device.deviceName as deviceName then {\n          softwareName -&gt; deviceName.type = 'other' \"typeName\";\n          softwareName as s -&gt; deviceName.name = (s.displayName) \"name\";\n        } \"deviceName\";\n      };\n    } \"participantRoleDev\";\n  } \"devParticipant\";\n  org.component as component then {\n    component.observation as observation -&gt;  bundle.entry as e,  e.request = create('BackboneElement') as request,  request.method = 'POST',  e.resource = create('Observation') as observationhasmember,  observationhasmember.id = uuid() as uuid2,  e.fullUrl = append('https://example/Observation/', uuid2),  request.url = 'Observation',  observation.hasMember = create('Reference') as reference,  reference.reference = ('https://example/Observation/' + %observationhasmember.id) then Observation(observation, patient, encounter, observationhasmember, bundle) \"OBS\";\n  } \"componentobservation\";\n  org.component as component then {\n    component.organizer as organizer -&gt;  bundle.entry as e1,  e1.request = create('BackboneElement') as request,  request.method = 'POST',  e1.resource = create('Observation') as observationorganizer,  observationorganizer.id = uuid() as uuid3,  e1.fullUrl = append('https://example/Observation/', uuid3),  request.url = 'Observation',  observation.hasMember = create('Reference') as reference,  reference.reference = ('https://example/Observation/' + %observationorganizer.id) then {\n      organizer then Organizer(cda, organizer, patient, encounter, observationorganizer, bundle) \"ORG\";\n    };\n  } \"componentorganizer\";\n  // observationMedia\n  org.component as component then {\n    component.observationMedia as obsMedia -&gt;  bundle.entry as e15,  e15.request = create('BackboneElement') as request,  request.method = 'POST',  e15.resource = create('Media') as media1,  media1.id = uuid() as uuid15,  e15.fullUrl = append('https://example/Media/', uuid15),  request.url = 'Media',  observation.derivedFrom = create('Reference') as reference,  reference.reference = ('https://example/Media/' + %media1.id) then {\n      obsMedia -&gt; media1.content = create('Attachment') as Attachment then {\n        obsMedia -&gt; media1.status = 'unknown' \"status\";\n        obsMedia.value as valueMedia then {\n          valueMedia.mediaType as type -&gt; Attachment.contentType = type \"type\";\n          valueMedia -&gt; Attachment.data = (valueMedia.dataBase64Binary) \"data\";\n        } \"valuemedia\";\n      } \"Attachment\";\n    } \"obsmedia\";\n  };\n  // note\n  org.component as component then {\n    component.act as act then {\n      act.text as text then {\n        text.reference as reference -&gt; observation.note as note then {\n          reference -&gt; note.text = (reference.value) \"reference\";\n        } \"note\";\n      };\n    } \"componentact\";\n  };\n}\n\ngroup ExtSubjectAnimal(source src : relatedSubject, target ext : Extension) {\n  src -&gt; ext.url = 'http://hl7.org/fhir/StructureDefinition/patient-animal' \"url\";\n  src.code as code -&gt;  ext.extension as ext,  ext.url = 'species',  ext.value = create('CodeableConcept') as code1 then CECodeableConcept(code, code1);\n}\n\n</pre>\n      </div>"
  ] ;
  fhir:StructureMap.url [ fhir:value "http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirLabReport"] ;
  fhir:StructureMap.version [ fhir:value "0.1.0"] ;
  fhir:StructureMap.name [ fhir:value "cda2fhirLabReport"] ;
  fhir:StructureMap.status [ fhir:value "draft"] ;
  fhir:StructureMap.date [ fhir:value "2026-10-20T14:46:29+00:00"^^xsd:dateTime] ;
  fhir:StructureMap.publisher [ fhir:value "HL7 Italy"] ;
  fhir:StructureMap.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "HL7 Italy" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "http://hl7.it" ]
     ]
  ] ;
  fhir:StructureMap.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "IT" ] ;
       fhir:Coding.display [ fhir:value "Italy" ]
     ]
  ] ;
  fhir:StructureMap.structure [
     fhir:index 0 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/ClinicalDocument" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/ClinicalDocument>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "ClinicalDocument" ]
  ], [
     fhir:index 1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/AssignedAuthor" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/AssignedAuthor>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "queried" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "AssignedAuthor" ]
  ], [
     fhir:index 2 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/AssignedEntity>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "queried" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "AssignedEntity" ]
  ], [
     fhir:index 3 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/AssociatedEntity" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/AssociatedEntity>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "queried" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "AssociatedEntity" ]
  ], [
     fhir:index 4 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/CustodianOrganization" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/CustodianOrganization>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "queried" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "CustodianOrganization" ]
  ], [
     fhir:index 5 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/OrganizationPartOf" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/OrganizationPartOf>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "queried" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "OrganizationPartOf" ]
  ], [
     fhir:index 6 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Organization" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/Organization>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "queried" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "rapresentedOrganization" ]
  ], [
     fhir:index 7 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Section" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/Section>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "queried" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Section" ]
  ], [
     fhir:index 8 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PatientRole" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/PatientRole>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "queried" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "PatientRole" ]
  ], [
     fhir:index 9 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/AD" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/AD>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "AD" ]
  ], [
     fhir:index 10 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Bundle" ]
  ], [
     fhir:index 11 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Composition" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Composition>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "produced" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Composition" ]
  ], [
     fhir:index 12 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "produced" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Patient" ]
  ], [
     fhir:index 13 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "produced" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Encounter" ]
  ], [
     fhir:index 14 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Person" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Person>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "produced" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Patient" ]
  ], [
     fhir:index 15 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Practitioner" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "produced" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Practitioner" ]
  ], [
     fhir:index 16 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Specimen" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Specimen>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "produced" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Specimen" ]
  ], [
     fhir:index 17 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Procedure" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Procedure>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "produced" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Procedure" ]
  ], [
     fhir:index 18 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Organization>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "produced" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Organization" ]
  ], [
     fhir:index 19 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Act" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/Act>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "produced" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Act" ]
  ], [
     fhir:index 20 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/IVL-PQ>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "IVL_PQ" ]
  ], [
     fhir:index 21 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/PQ" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/PQ>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "PQ" ]
  ], [
     fhir:index 22 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/SimpleQuantity>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "SimpleQuantity" ]
  ], [
     fhir:index 23 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/cda/StructureDefinition/Organizer" ;
       fhir:link <http://hl7.org/fhir/cda/StructureDefinition/Organizer>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "Organizer" ]
  ] ;
  fhir:StructureMap.import [
     fhir:value "http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirDataTypes" ;
     fhir:index 0 ;
     fhir:link <http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirDataTypes>
  ], [
     fhir:value "http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirHeader" ;
     fhir:index 1 ;
     fhir:link <http://hl7.it/fhir/cda2fhir/StructureMap/cda2fhirHeader>
  ] ;
  fhir:StructureMap.group [
     fhir:index 0 ;
     fhir:StructureMap.group.name [ fhir:value "CdaToBundle" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "cda" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "ClinicalDocument" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ClinicalDocumentToBody" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "composition" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Composition" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "composition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid1" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Composition/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid1" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Composition" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e2" ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "requestPAT" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 9 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "requestPAT" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
         ]
       ], [
         fhir:index 10 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Patient" ]
         ]
       ], [
         fhir:index 11 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 12 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Patient/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
         ]
       ], [
         fhir:index 13 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e3" ]
       ], [
         fhir:index 14 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 15 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 16 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Encounter" ]
         ]
       ], [
         fhir:index 17 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 18 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Encounter/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
         ]
       ], [
         fhir:index 19 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Encounter" ]
         ]
       ], [
         fhir:index 20 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e6" ]
       ], [
         fhir:index 21 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 22 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 23 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "DocumentReference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DocumentReference" ]
         ]
       ], [
         fhir:index 24 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "DocumentReference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid6" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 25 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/DocumentReference/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid6" ]
         ]
       ], [
         fhir:index 26 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DocumentReference" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "cdatobundle" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "ClinicalDocumentToBundle" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "cda" ;
             fhir:index 0
           ], [
             fhir:value "patient" ;
             fhir:index 1
           ], [
             fhir:value "composition" ;
             fhir:index 2
           ], [
             fhir:value "encounter" ;
             fhir:index 3
           ], [
             fhir:value "bundle" ;
             fhir:index 4
           ], [
             fhir:value "DocumentReference" ;
             fhir:index 5
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "patient" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "recordTarget" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "recordTarget" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "record" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "recordTarget" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "patientRole" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "patient" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "idfr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "patient" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext1" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext1" ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "patient" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2') or (root = '2.16.840.1.113883.2.9.4.3.7') or (root = '2.16.840.1.113883.2.9.4.3.3') or (root = '2.16.840.1.113883.2.9.4.3.17') or (root = '2.16.840.1.113883.2.9.4.3.18') or (root = '2.16.840.1.113883.2.9.2.10.4.1.1') or (root = '2.16.840.1.113883.2.9.2.20.4.1.1') or (root = '2.16.840.1.113883.2.9.2.30.4.1.1') or (root = '2.16.840.1.113883.2.9.2.41.4.1.1') or (root = '2.16.840.1.113883.2.9.2.42.4.1.1') or (root = '2.16.840.1.113883.2.9.2.50.4.1.1') or (root = '2.16.840.1.113883.2.9.2.60.4.1.1') or (root = '2.16.840.1.113883.2.9.2.70.4.1.1') or (root = '2.16.840.1.113883.2.9.2.80.4.1.1') or (root = '2.16.840.1.113883.2.9.2.90.4.1.1') or (root = '2.16.840.1.113883.2.9.2.100.4.1.1') or (root = '2.16.840.1.113883.2.9.2.110.4.1.1') or (root = '2.16.840.1.113883.2.9.2.120.4.1.1') or (root = '2.16.840.1.113883.2.9.2.130.4.1.1') or (root = '2.16.840.1.113883.2.9.2.140.4.1.1') or (root = '2.16.840.1.113883.2.9.2.150.4.1.1') or (root = '2.16.840.1.113883.2.9.2.160.4.1.1') or (root = '2.16.840.1.113883.2.9.2.170.4.1.1') or (root = '2.16.840.1.113883.2.9.2.180.4.1.1') or (root = '2.16.840.1.113883.2.9.2.190.4.1.1') or (root = '2.16.840.1.113883.2.9.2.200.4.1.1') or (root = '2.16.840.1.113883.2.9.2.10.4.1') or (root = '2.16.840.1.113883.2.9.2.20.4.1') or (root = '2.16.840.1.113883.2.9.2.30.4.1') or (root = '2.16.840.1.113883.2.9.2.41.4.1') or (root = '2.16.840.1.113883.2.9.2.42.4.1') or (root = '2.16.840.1.113883.2.9.2.50.4.1') or (root = '2.16.840.1.113883.2.9.2.60.4.1') or (root = '2.16.840.1.113883.2.9.2.70.4.1') or (root = '2.16.840.1.113883.2.9.2.80.4.1') or (root = '2.16.840.1.113883.2.9.2.90.4.1') or (root = '2.16.840.1.113883.2.9.2.100.4.1') or (root = '2.16.840.1.113883.2.9.2.110.4.1') or (root = '2.16.840.1.113883.2.9.2.120.4.1') or (root = '2.16.840.1.113883.2.9.2.130.4.1') or (root = '2.16.840.1.113883.2.9.2.140.4.1') or (root = '2.16.840.1.113883.2.9.2.150.4.1') or (root = '2.16.840.1.113883.2.9.2.160.4.1') or (root = '2.16.840.1.113883.2.9.2.170.4.1') or (root = '2.16.840.1.113883.2.9.2.180.4.1') or (root = '2.16.840.1.113883.2.9.2.190.4.1') or (root = '2.16.840.1.113883.2.9.2.200.4.1') or (root = '2.16.840.1.113883.2.9.4.3.15')" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "requestPAT" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Patient?identifier=" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ]
             ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:StructureMap.group.name [ fhir:value "ClinicalDocumentToBundle" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "cda" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "ClinicalDocument" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Patient" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "composition" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Composition" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "encounter" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Encounter" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.input.name [ fhir:value "documentreference" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "DocumentReference" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "transaction" ]
         ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "date" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "timestamp" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "timestamp.now()" ]
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "composition" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "ClinicalDocumentComposition" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "cda" ;
           fhir:index 0
         ], [
           fhir:value "composition" ;
           fhir:index 1
         ], [
           fhir:value "patient" ;
           fhir:index 2
         ], [
           fhir:value "encounter" ;
           fhir:index 3
         ], [
           fhir:value "bundle" ;
           fhir:index 4
         ], [
           fhir:value "documentreference" ;
           fhir:index 5
         ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "component" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "component" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "component" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "body" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "component" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "structuredBody" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "body" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "component" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "body" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "component" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "component" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "section" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "component" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "section" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "srcSection" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "srcSection" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "code" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "composition" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "section" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtSection" ]
               ] ;
               fhir:StructureMap.group.rule.dependent [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.dependent.name [ fhir:value "ClinicalDocumentSection" ] ;
                 fhir:StructureMap.group.rule.dependent.variable [
                   fhir:value "cda" ;
                   fhir:index 0
                 ], [
                   fhir:value "srcSection" ;
                   fhir:index 1
                 ], [
                   fhir:value "patient" ;
                   fhir:index 2
                 ], [
                   fhir:value "tgtSection" ;
                   fhir:index 3
                 ], [
                   fhir:value "bundle" ;
                   fhir:index 4
                 ], [
                   fhir:value "encounter" ;
                   fhir:index 5
                 ], [
                   fhir:value "documentreference" ;
                   fhir:index 6
                 ]
               ]
             ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index 2 ;
     fhir:StructureMap.group.name [ fhir:value "ClinicalDocumentSection" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "cda" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "ClinicalDocument" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "src" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Section" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Patient" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "tgt" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.input.name [ fhir:value "enc" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Encounter" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.input.name [ fhir:value "documentreference" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "DocumentReference" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "title" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "title" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "t" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "title" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "t.dataString" ]
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "cdaText" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "text" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "cdaText" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "fhirText" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "narrativeStatus" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cdaText" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "fhirText" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "generated" ]
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "narrativeText" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cdaText" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "t" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "fhirText" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "div" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "t" ]
           ]
         ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "entry" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "entry1" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e1" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "DiagnosticReport" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DiagnosticReport" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "DiagnosticReport" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid1" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/DiagnosticReport/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid1" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "DiagnosticReport" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/DiagnosticReport/' + %DiagnosticReport.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "act" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "entry1" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "act" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "act1" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "Act" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "act1" ;
             fhir:index 0
           ], [
             fhir:value "patient" ;
             fhir:index 1
           ], [
             fhir:value "DiagnosticReport" ;
             fhir:index 2
           ], [
             fhir:value "enc" ;
             fhir:index 3
           ], [
             fhir:value "bundle" ;
             fhir:index 4
           ]
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "component" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "component" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "component" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "section" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "component" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "section" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "sec" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "section" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "tgtSection" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "ClinicalDocumentSection" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "cda" ;
             fhir:index 0
           ], [
             fhir:value "sec" ;
             fhir:index 1
           ], [
             fhir:value "patient" ;
             fhir:index 2
           ], [
             fhir:value "tgtSection" ;
             fhir:index 3
           ], [
             fhir:value "bundle" ;
             fhir:index 4
           ], [
             fhir:value "enc" ;
             fhir:index 5
           ], [
             fhir:value "documentreference" ;
             fhir:index 6
           ]
         ]
       ]
     ]
  ], [
     fhir:index 3 ;
     fhir:StructureMap.group.name [ fhir:value "Observation" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "obs" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Observation" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Patient" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "encounter" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Encounter" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "ob" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Observation" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Patient/' + %patient.id" ]
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
         ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'completed')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "final" ]
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'active')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "registered" ]
         ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'aborted')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "cancelled" ]
         ]
       ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'suspended')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "partial" ]
         ]
       ]
     ], [
       fhir:index 7 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value2" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "effectiveTime" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "effectiveTime" ;
           fhir:index 0
         ], [
           fhir:value "value" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 8 ;
       fhir:StructureMap.group.rule.name [ fhir:value "where" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "effectiveTime.low.exists() or effectiveTime.high.exists()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "effectiveTime" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "eff" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "eff" ;
             fhir:index 0
           ], [
             fhir:value "period" ;
             fhir:index 1
           ]
         ]
       ]
     ], [
       fhir:index 9 ;
       fhir:StructureMap.group.rule.name [ fhir:value "interpretationCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "interpretationCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "interpretation" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 10 ;
       fhir:StructureMap.group.rule.name [ fhir:value "methodCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "methodCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 11 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "INT" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "int" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "int.value" ]
         ]
       ]
     ], [
       fhir:index 12 ;
       fhir:StructureMap.group.rule.name [ fhir:value "boolean" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "BL" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "boolean" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean.value" ]
         ]
       ]
     ], [
       fhir:index 13 ;
       fhir:StructureMap.group.rule.name [ fhir:value "val" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "CE" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "val" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ce" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "originltext" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "originalText" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "originalText" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "originalText" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "reference" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "reference" ]
               ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "translation" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "translation" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "translation" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "qualifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "qualifier" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "qualifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "qualifier" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index 14 ;
       fhir:StructureMap.group.rule.name [ fhir:value "val" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "CD" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "val" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ce" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "originltext" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "originalText" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "originalText" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "originalText" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "reference" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "reference" ]
               ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "translation" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "translation" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "translation" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "qualifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "qualifier" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "qualifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "qualifier" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index 15 ;
       fhir:StructureMap.group.rule.name [ fhir:value "valueQuantity" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "PQ" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "val" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "quantity" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "quantity" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "quantity" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "value" ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "unit" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "quantity" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "unit" ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index 16 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "ST" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "value.dataString" ]
         ]
       ]
     ], [
       fhir:index 17 ;
       fhir:StructureMap.group.rule.name [ fhir:value "entryRelationship" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "Act" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "act" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "act" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "text" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "act" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "text" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "text" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "reference" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "note" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "note" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "reference" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "note" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "reference.value" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Note e commenti" ]
     ], [
       fhir:index 18 ;
       fhir:StructureMap.group.rule.name [ fhir:value "subject" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "sbj" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "relatedSubject" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "sbj" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "relatedSubject" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "relatedSubj" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "extension2" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "ExtSubjectAnimal" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "relatedSubj" ;
             fhir:index 0
           ], [
             fhir:value "extension2" ;
             fhir:index 1
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "subject" ]
     ], [
       fhir:index 19 ;
       fhir:StructureMap.group.rule.name [ fhir:value "performer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "performer" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e1" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid1" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid1" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "performer" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "entity" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "performer" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "assignedEntity" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "entity" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e2" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "performer" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "2.16.840.1.113883.2.9.4.3.2" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "diverso" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root != '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 5 ;
               fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 6 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assignedPerson" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "person" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 7 ;
               fhir:StructureMap.group.rule.name [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "representedOrganization" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "representedOrganization" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e3" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "organization" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer/representedOrganization" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceOrg" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "referenceOrg" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 5 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "asOrganizationPartOf" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "e4" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "organization1" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                         ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer/representedOrganization/asOrganizationPartOf" ]
                         ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                       ], [
                         fhir:index 2 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                       ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                         ]
                       ], [
                         fhir:index 2 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                         ]
                       ], [
                         fhir:index 3 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization1.id" ]
                         ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(value = 'active')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "true" ]
                     ]
                   ]
                 ], [
                   fhir:index 4 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "wholeOrganization" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "wholeOrganization" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "wholeOrgan" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "e5" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "organization2" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                         ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                           ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer/representedOrganization/wholeOrganization" ]
                           ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                         ], [
                           fhir:index 2 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                         ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                         ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                           ]
                         ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                         ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                           fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid5" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                           ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid5" ]
                           ]
                         ], [
                           fhir:index 2 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                           ]
                         ], [
                           fhir:index 3 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization2.id" ]
                           ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                       ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                     ]
                   ], [
                     fhir:index 4 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                     ]
                   ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "organization" ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "performer" ]
     ], [
       fhir:index 20 ;
       fhir:StructureMap.group.rule.name [ fhir:value "author" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "author" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "srcAuthor" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e6" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid6" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid6" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceaut" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "referenceaut" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "assignedAuthor" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "srcAuthor" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "assignedAuthor" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "assignedAuthor" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "codice" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "code2" ]
           ] ;
           fhir:StructureMap.group.rule.dependent [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.dependent.name [ fhir:value "CECodeableConcept" ] ;
             fhir:StructureMap.group.rule.dependent.variable [
               fhir:value "codice" ;
               fhir:index 0
             ], [
               fhir:value "code2" ;
               fhir:index 1
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "ASSAUth" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e7" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid7" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "functionCode" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "functionCode" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "2.16.840.1.113883.2.9.4.3.2" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 5 ;
               fhir:StructureMap.group.rule.name [ fhir:value "diverso" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root != '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "assignedPerson" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "person" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                   ]
                 ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "person" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "representedOrganization" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "representedOrganization" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "representedOrganization" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e8" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "organization" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author/representedOrganization" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "OrgPartOf" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "asOrganizationPartOf" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "OrgPartOf" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e9" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "organization1" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization1.id" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(value = 'active')" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "true" ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "wholeOrganization" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "wholeOrganization" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "wholeOrgan" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e10" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "organization2" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf/wholeOrganization" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization2.id" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "organization" ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.name [ fhir:value "Device" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "assignedAuthoringDevice" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "assignedAuthoringDevice" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e11" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "device" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid11" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Device/" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid11" ]
             ]
           ], [
             fhir:index 6 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
             ]
           ], [
             fhir:index 7 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "author" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
             ]
           ], [
             fhir:index 8 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Device/' + %device.id" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "templateId" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "templateId" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "manufacturer" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "manufacturerModelName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manufacturerModelName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "displayRule" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "manufacturerModelName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "m" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "manufacturer" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "m.displayName" ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "deviceName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "softwareName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "softwareName" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "deviceName" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "deviceName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "typeName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "other" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "s.displayName" ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "device" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "author" ]
     ], [
       fhir:index 21 ;
       fhir:StructureMap.group.rule.name [ fhir:value "participantEncounter" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(typeCode != 'DEV')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "fhirParticipant" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "encounter" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "FhirParticipant" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "p" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "FhirParticipant" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "type" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeType" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "codice" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "p.typeCode" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ]
                 ]
               ]
             ]
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "partRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "participantRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "participantRole" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e12" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid12" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid12" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "encounter" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "participant1" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "individual" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "referencepart" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 9 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "referencepart" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitionerRole.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "time" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "time" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "time1" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "time1" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "period" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "start" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "start" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.dependent [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
               fhir:StructureMap.group.rule.dependent.variable [
                 fhir:value "time1" ;
                 fhir:index 0
               ], [
                 fhir:value "start" ;
                 fhir:index 1
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "participant.time -> participant1.period;" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "time" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "time" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "time1" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.dependent [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
             fhir:StructureMap.group.rule.dependent.variable [
               fhir:value "time1" ;
               fhir:index 0
             ], [
               fhir:value "period" ;
               fhir:index 1
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "functionCode" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "functionCode" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.name [ fhir:value "practitioner" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e13" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/participant" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "playingEntity" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "playingEntity" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "playingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "playingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                   ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "non mappa i 2 precedenti" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "participant person" ]
     ], [
       fhir:index 22 ;
       fhir:StructureMap.group.rule.name [ fhir:value "devParticipant" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "devParticipant" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(typeCode = 'DEV')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e14" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid14" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Device/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid14" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Device/' + %device.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "participantRoleDev" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "devParticipant" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "participantRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "participantRoleDev" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "playingDevice" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participantRoleDev" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "playingDevice" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "playingDevice" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "manufacturer" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "manufacturerModelName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manufacturerModelName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "displayRule" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "manufacturerModelName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "m" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "manufacturer" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "m.displayName" ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "deviceName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "softwareName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "softwareName" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "deviceName" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "deviceName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "typeName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "other" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "s.displayName" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "participant device" ]
     ], [
       fhir:index 23 ;
       fhir:StructureMap.group.rule.name [ fhir:value "observationMedia" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "er" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "media" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "er" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "observationMedia" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "obsMedia" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e15" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "media1" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Media" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid15" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Media/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid15" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Media" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "derivedFrom" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Media/' + %media1.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "Attachment" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "content" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "Attachment" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Attachment" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "valuemedia" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "valueMedia" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "valueMedia" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "mediaType" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "type" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "Attachment" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "contentType" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "type" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "data" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "valueMedia" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "Attachment" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "data" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "valueMedia.dataBase64Binary" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "observationMedia" ]
     ], [
       fhir:index 24 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ref" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "referenceRange" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "refRange" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "referenceRange" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "ref" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "refRange" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "refRange" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "observationRange" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "obsRange" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
             fhir:StructureMap.group.rule.source.type [ fhir:value "ST" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "value.dataString" ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "obsRange" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "low" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "Low" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "IVL-PQ" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
               fhir:StructureMap.group.rule.source.type [ fhir:value "IVL_PQ" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "decValue" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "v" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "low" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "l1" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "decValue" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "Low" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "decValue" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "Unit" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "Low" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "Unit" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "high" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "v" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "high" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "high" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "decValue" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "v" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "high" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "h1" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "h1" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "decValue1" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "decValue1" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "h1" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "Unit1" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "Unit1" ]
                     ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "interpretationCode" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "interpretationCode" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "precondition" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "precondition" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "precondition" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "criterion" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "precondition" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "criterion" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "criterion" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "appliesTo" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "criterion" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "appliesTo" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "v" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "criterion" ] ;
                   fhir:StructureMap.group.rule.source.type [ fhir:value "IVL_PQ" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "low" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "v" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "high" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "l1" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "age" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "age" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "age" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "high" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "age" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "high" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "high" ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                           fhir:StructureMap.group.rule.source.variable [ fhir:value "decValue" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "decValue" ]
                           ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
                           fhir:StructureMap.group.rule.source.variable [ fhir:value "Unit1" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "Unit1" ]
                           ]
                         ]
                       ]
                     ]
                   ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "referenceRange" ]
     ]
  ], [
     fhir:index 4 ;
     fhir:StructureMap.group.name [ fhir:value "Observation2" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "obs" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Observation" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Patient" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "encounter" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Encounter" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "ob" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Observation" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.input.name [ fhir:value "cda" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Act" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.input.name [ fhir:value "specimenp" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Specimen" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Patient/' + %patient.id" ]
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
         ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'completed')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "final" ]
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'active')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "registered" ]
         ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'aborted')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "cancelled" ]
         ]
       ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'suspended')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "partial" ]
         ]
       ]
     ], [
       fhir:index 7 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value2" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "effectiveTime" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "effectiveTime" ;
           fhir:index 0
         ], [
           fhir:value "value" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 8 ;
       fhir:StructureMap.group.rule.name [ fhir:value "where" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "effectiveTime.low.exists() or effectiveTime.high.exists()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "effectiveTime" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "eff" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "eff" ;
             fhir:index 0
           ], [
             fhir:value "period" ;
             fhir:index 1
           ]
         ]
       ]
     ], [
       fhir:index 9 ;
       fhir:StructureMap.group.rule.name [ fhir:value "interpretationCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "interpretationCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "interpretation" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 10 ;
       fhir:StructureMap.group.rule.name [ fhir:value "methodCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "methodCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 11 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "INT" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "int" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "int.value" ]
         ]
       ]
     ], [
       fhir:index 12 ;
       fhir:StructureMap.group.rule.name [ fhir:value "boolean" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "BL" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "boolean" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean.value" ]
         ]
       ]
     ], [
       fhir:index 13 ;
       fhir:StructureMap.group.rule.name [ fhir:value "val" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "CE" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "val" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ce" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "originltext" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "originalText" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "originalText" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "originalText" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "reference" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "reference" ]
               ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "translation" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "translation" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "translation" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "qualifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "qualifier" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "qualifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "qualifier" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index 14 ;
       fhir:StructureMap.group.rule.name [ fhir:value "valueQuantity" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "PQ" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "val" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "quantity" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "quantity" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "quantity" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "value" ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "unit" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "quantity" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "unit" ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index 15 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "ST" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "value.dataString" ]
         ]
       ]
     ], [
       fhir:index 16 ;
       fhir:StructureMap.group.rule.name [ fhir:value "entryRelationship" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "Act" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "act" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "act" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "text" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "act" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "text" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "text" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "reference" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "note" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "note" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "reference" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "note" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "reference.value" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Note e commenti" ]
     ], [
       fhir:index 17 ;
       fhir:StructureMap.group.rule.name [ fhir:value "subject" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "sbj" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "relatedSubject" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "sbj" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "relatedSubject" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "relatedSubj" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "extension2" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "ExtSubjectAnimal" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "relatedSubj" ;
             fhir:index 0
           ], [
             fhir:value "extension2" ;
             fhir:index 1
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "subject" ]
     ], [
       fhir:index 18 ;
       fhir:StructureMap.group.rule.name [ fhir:value "conditionactexists" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "cda.entryRelationship.act.exists()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "specimen" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "spmn" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "specimenRole" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "spmn" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "specimenRole" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "specimenRole" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "specimenRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "extobs" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "extobs" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "en" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "act" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "a" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "sp" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "a" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "specimen" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "sp" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "spr" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "sp" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "specimenRole" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "spr" ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "cont" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "spr" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.source.condition [ fhir:value "(extension = extobs)" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "e4o" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                           ]
                         ], [
                           fhir:index 2 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
                           ]
                         ], [
                           fhir:index 3 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "specimen" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Specimen" ]
                           ]
                         ], [
                           fhir:index 4 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4o" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
                         ], [
                           fhir:index 5 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Specimen/" ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4o" ]
                           ]
                         ], [
                           fhir:index 6 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Specimen" ]
                           ]
                         ], [
                           fhir:index 7 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "specimen" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                           ]
                         ], [
                           fhir:index 8 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Specimen/' + %specimen.id" ]
                           ]
                         ] ;
                         fhir:StructureMap.group.rule.rule [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.source [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.source.context [ fhir:value "spr" ]
                           ] ;
                           fhir:StructureMap.group.rule.target [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
                             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                             fhir:StructureMap.group.rule.target.element [ fhir:value "parent" ] ;
                             fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                             fhir:StructureMap.group.rule.target.parameter [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                             ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                             fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                             fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                             fhir:StructureMap.group.rule.target.parameter [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Specimen/' + %specimenp.id" ]
                             ]
                           ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.source [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.source.context [ fhir:value "spr" ] ;
                             fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                             fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                           ] ;
                           fhir:StructureMap.group.rule.target [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
                             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                             fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                             fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                           ]
                         ], [
                           fhir:index 2 ;
                           fhir:StructureMap.group.rule.name [ fhir:value "ent" ] ;
                           fhir:StructureMap.group.rule.source [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.source.context [ fhir:value "specimenRole" ] ;
                             fhir:StructureMap.group.rule.source.element [ fhir:value "specimenPlayingEntity" ] ;
                             fhir:StructureMap.group.rule.source.variable [ fhir:value "spent" ]
                           ] ;
                           fhir:StructureMap.group.rule.rule [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                             fhir:StructureMap.group.rule.source [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.source.context [ fhir:value "spent" ] ;
                               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                             ] ;
                             fhir:StructureMap.group.rule.target [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                             ]
                           ]
                         ], [
                           fhir:index 3 ;
                           fhir:StructureMap.group.rule.name [ fhir:value "specimenPlayingEntity" ] ;
                           fhir:StructureMap.group.rule.source [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.source.context [ fhir:value "spr" ] ;
                             fhir:StructureMap.group.rule.source.element [ fhir:value "specimenPlayingEntity" ] ;
                             fhir:StructureMap.group.rule.source.variable [ fhir:value "specimenPlayingEntity" ]
                           ] ;
                           fhir:StructureMap.group.rule.rule [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                             fhir:StructureMap.group.rule.source [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.source.context [ fhir:value "specimenPlayingEntity" ] ;
                               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                             ] ;
                             fhir:StructureMap.group.rule.target [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                             ]
                           ]
                         ], [
                           fhir:index 4 ;
                           fhir:StructureMap.group.rule.name [ fhir:value "collection" ] ;
                           fhir:StructureMap.group.rule.source [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.source.context [ fhir:value "a" ]
                           ] ;
                           fhir:StructureMap.group.rule.target [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
                             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                             fhir:StructureMap.group.rule.target.element [ fhir:value "collection" ] ;
                             fhir:StructureMap.group.rule.target.variable [ fhir:value "collection" ] ;
                             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                             fhir:StructureMap.group.rule.target.parameter [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                             ]
                           ] ;
                           fhir:StructureMap.group.rule.rule [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                             fhir:StructureMap.group.rule.source [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.source.context [ fhir:value "a" ] ;
                               fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
                               fhir:StructureMap.group.rule.source.variable [ fhir:value "effectivetime" ]
                             ] ;
                             fhir:StructureMap.group.rule.target [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "collection" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "collected" ] ;
                               fhir:StructureMap.group.rule.target.variable [ fhir:value "value" ] ;
                               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                               fhir:StructureMap.group.rule.target.parameter [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
                               ]
                             ] ;
                             fhir:StructureMap.group.rule.dependent [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
                               fhir:StructureMap.group.rule.dependent.variable [
                                 fhir:value "effectivetime" ;
                                 fhir:index 0
                               ], [
                                 fhir:value "value" ;
                                 fhir:index 1
                               ]
                             ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.name [ fhir:value "where" ] ;
                             fhir:StructureMap.group.rule.source [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.source.context [ fhir:value "a" ] ;
                               fhir:StructureMap.group.rule.source.condition [ fhir:value "effectiveTime.low.exists() or effectiveTime.high.exists()" ]
                             ] ;
                             fhir:StructureMap.group.rule.rule [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.name [ fhir:value "effectiveTime" ] ;
                               fhir:StructureMap.group.rule.source [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.source.context [ fhir:value "a" ] ;
                                 fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
                                 fhir:StructureMap.group.rule.source.variable [ fhir:value "eff" ]
                               ] ;
                               fhir:StructureMap.group.rule.target [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.target.context [ fhir:value "collection" ] ;
                                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                 fhir:StructureMap.group.rule.target.element [ fhir:value "collected" ] ;
                                 fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
                                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                                 fhir:StructureMap.group.rule.target.parameter [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
                                 ]
                               ] ;
                               fhir:StructureMap.group.rule.dependent [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
                                 fhir:StructureMap.group.rule.dependent.variable [
                                   fhir:value "eff" ;
                                   fhir:index 0
                                 ], [
                                   fhir:value "period" ;
                                   fhir:index 1
                                 ]
                               ]
                             ]
                           ], [
                             fhir:index 2 ;
                             fhir:StructureMap.group.rule.name [ fhir:value "participant" ] ;
                             fhir:StructureMap.group.rule.source [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.source.context [ fhir:value "a" ] ;
                               fhir:StructureMap.group.rule.source.element [ fhir:value "participant" ] ;
                               fhir:StructureMap.group.rule.source.variable [ fhir:value "participant" ]
                             ] ;
                             fhir:StructureMap.group.rule.target [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                               fhir:StructureMap.group.rule.target.variable [ fhir:value "e10" ]
                             ], [
                               fhir:index 1 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                               fhir:StructureMap.group.rule.target.parameter [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                               ]
                             ], [
                               fhir:index 2 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                               fhir:StructureMap.group.rule.target.parameter [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                               ]
                             ], [
                               fhir:index 3 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                               fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
                               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                               fhir:StructureMap.group.rule.target.parameter [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
                               ]
                             ], [
                               fhir:index 4 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                               fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid11" ] ;
                               fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
                             ], [
                               fhir:index 5 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                               fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                               fhir:StructureMap.group.rule.target.parameter [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                               ], [
                                 fhir:index 1 ;
                                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid11" ]
                               ]
                             ], [
                               fhir:index 6 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "collection" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "collector" ] ;
                               fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                               fhir:StructureMap.group.rule.target.parameter [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                               ]
                             ], [
                               fhir:index 7 ;
                               fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                               fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                               fhir:StructureMap.group.rule.target.parameter [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                               ]
                             ] ;
                             fhir:StructureMap.group.rule.rule [
                               fhir:index 0 ;
                               fhir:StructureMap.group.rule.name [ fhir:value "participantRole" ] ;
                               fhir:StructureMap.group.rule.source [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
                                 fhir:StructureMap.group.rule.source.element [ fhir:value "participantRole" ] ;
                                 fhir:StructureMap.group.rule.source.variable [ fhir:value "participantRole" ]
                               ] ;
                               fhir:StructureMap.group.rule.rule [
                                 fhir:index 0 ;
                                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                                 fhir:StructureMap.group.rule.source [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                                 ] ;
                                 fhir:StructureMap.group.rule.target [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                                 ] ;
                                 fhir:StructureMap.group.rule.rule [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                                   fhir:StructureMap.group.rule.source [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                                   ] ;
                                   fhir:StructureMap.group.rule.target [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                                     fhir:StructureMap.group.rule.target.parameter [
                                       fhir:index 0 ;
                                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                                     ]
                                   ] ;
                                   fhir:StructureMap.group.rule.rule [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                                     fhir:StructureMap.group.rule.source [
                                       fhir:index 0 ;
                                       fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                                     ] ;
                                     fhir:StructureMap.group.rule.target [
                                       fhir:index 0 ;
                                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                                       fhir:StructureMap.group.rule.target.parameter [
                                         fhir:index 0 ;
                                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                                       ]
                                     ]
                                   ], [
                                     fhir:index 1 ;
                                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                                     fhir:StructureMap.group.rule.source [
                                       fhir:index 0 ;
                                       fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                                     ] ;
                                     fhir:StructureMap.group.rule.target [
                                       fhir:index 0 ;
                                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                                       fhir:StructureMap.group.rule.target.parameter [
                                         fhir:index 0 ;
                                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/act/participant" ]
                                       ]
                                     ]
                                   ]
                                 ]
                               ], [
                                 fhir:index 1 ;
                                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                                 fhir:StructureMap.group.rule.source [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
                                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                                 ] ;
                                 fhir:StructureMap.group.rule.target [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                                 ] ;
                                 fhir:StructureMap.group.rule.rule [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                                   fhir:StructureMap.group.rule.source [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                                   ] ;
                                   fhir:StructureMap.group.rule.target [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                                     fhir:StructureMap.group.rule.target.parameter [
                                       fhir:index 0 ;
                                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                                     ], [
                                       fhir:index 1 ;
                                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                                     ], [
                                       fhir:index 2 ;
                                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                                     ]
                                   ]
                                 ], [
                                   fhir:index 1 ;
                                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                                   fhir:StructureMap.group.rule.source [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                                   ] ;
                                   fhir:StructureMap.group.rule.target [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                                     fhir:StructureMap.group.rule.target.parameter [
                                       fhir:index 0 ;
                                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                                     ]
                                   ] ;
                                   fhir:StructureMap.group.rule.rule [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                                     fhir:StructureMap.group.rule.source [
                                       fhir:index 0 ;
                                       fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                                     ] ;
                                     fhir:StructureMap.group.rule.target [
                                       fhir:index 0 ;
                                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                                       fhir:StructureMap.group.rule.target.parameter [
                                         fhir:index 0 ;
                                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                                       ], [
                                         fhir:index 1 ;
                                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                                       ]
                                     ]
                                   ]
                                 ], [
                                   fhir:index 2 ;
                                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                                   fhir:StructureMap.group.rule.source [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                                   ] ;
                                   fhir:StructureMap.group.rule.target [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                                   ], [
                                     fhir:index 1 ;
                                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                                     fhir:StructureMap.group.rule.target.parameter [
                                       fhir:index 0 ;
                                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                                     ]
                                   ]
                                 ]
                               ], [
                                 fhir:index 2 ;
                                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                                 fhir:StructureMap.group.rule.source [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
                                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                                 ] ;
                                 fhir:StructureMap.group.rule.target [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                                 ]
                               ], [
                                 fhir:index 3 ;
                                 fhir:StructureMap.group.rule.name [ fhir:value "playingEntity" ] ;
                                 fhir:StructureMap.group.rule.source [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
                                   fhir:StructureMap.group.rule.source.element [ fhir:value "playingEntity" ] ;
                                   fhir:StructureMap.group.rule.source.variable [ fhir:value "playingEntity" ]
                                 ] ;
                                 fhir:StructureMap.group.rule.rule [
                                   fhir:index 0 ;
                                   fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                                   fhir:StructureMap.group.rule.source [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.source.context [ fhir:value "playingEntity" ] ;
                                     fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                                     fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                                   ] ;
                                   fhir:StructureMap.group.rule.target [
                                     fhir:index 0 ;
                                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                                     fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                                     fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                                   ]
                                 ]
                               ]
                             ]
                           ]
                         ]
                       ]
                     ]
                   ]
                 ]
               ]
             ]
           ]
         ] ;
         fhir:StructureMap.group.rule.documentation [ fhir:value "specimen" ]
       ]
     ], [
       fhir:index 19 ;
       fhir:StructureMap.group.rule.name [ fhir:value "wherenotexists" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "cda.entryRelationship.act.exists().not() and (obs.specimen.specimenRole.specimenPlayingEntity.code.code != specimenp.type.coding.code)" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "specimen" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "spmn" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e4o" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "specimen" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Specimen" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4o" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Specimen/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4o" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Specimen" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "specimen" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Specimen/' + %specimen.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "specimenRole" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "spmn" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "specimenRole" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "specimenRole" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "specimenRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "specimenPlayingEntity" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "specimenRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "specimenPlayingEntity" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "specimenPlayingEntity" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "specimenPlayingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index 20 ;
       fhir:StructureMap.group.rule.name [ fhir:value "performer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "performer" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e1" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid1" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid1" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "performer" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "entity" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "performer" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "assignedEntity" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "entity" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e2" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "performer" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "2.16.840.1.113883.2.9.4.3.2" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "diverso" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root != '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 5 ;
               fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 6 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assignedPerson" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "person" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 7 ;
               fhir:StructureMap.group.rule.name [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "representedOrganization" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "representedOrganization" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e3" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "organization" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer/representedOrganization" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceOrg" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "referenceOrg" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 5 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "asOrganizationPartOf" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "e4" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "organization1" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                         ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer/representedOrganization/asOrganizationPartOf" ]
                         ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                       ], [
                         fhir:index 2 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                       ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                         ]
                       ], [
                         fhir:index 2 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                         ]
                       ], [
                         fhir:index 3 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization1.id" ]
                         ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(value = 'active')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "true" ]
                     ]
                   ]
                 ], [
                   fhir:index 4 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "wholeOrganization" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "wholeOrganization" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "wholeOrgan" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "e5" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "organization2" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                         ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                           ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer/representedOrganization/wholeOrganization" ]
                           ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                         ], [
                           fhir:index 2 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                         ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                         ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                           ]
                         ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                         ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                           fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid5" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                           ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid5" ]
                           ]
                         ], [
                           fhir:index 2 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                           ]
                         ], [
                           fhir:index 3 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization2.id" ]
                           ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                       ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                     ]
                   ], [
                     fhir:index 4 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                     ]
                   ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "organization" ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "performer" ]
     ], [
       fhir:index 21 ;
       fhir:StructureMap.group.rule.name [ fhir:value "author" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "author" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "srcAuthor" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e6" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid6" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid6" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceaut" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "referenceaut" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "assignedAuthor" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "srcAuthor" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "assignedAuthor" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "assignedAuthor" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "codice" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "code2" ]
           ] ;
           fhir:StructureMap.group.rule.dependent [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.dependent.name [ fhir:value "CECodeableConcept" ] ;
             fhir:StructureMap.group.rule.dependent.variable [
               fhir:value "codice" ;
               fhir:index 0
             ], [
               fhir:value "code2" ;
               fhir:index 1
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "ASSAUth" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e7" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid7" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "functionCode" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "functionCode" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "2.16.840.1.113883.2.9.4.3.2" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 5 ;
               fhir:StructureMap.group.rule.name [ fhir:value "diverso" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root != '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "assignedPerson" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "person" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                   ]
                 ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "person" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "representedOrganization" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "representedOrganization" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "representedOrganization" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e8" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "organization" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author/representedOrganization" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "OrgPartOf" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "asOrganizationPartOf" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "OrgPartOf" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e9" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "organization1" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization1.id" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(value = 'active')" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "true" ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "wholeOrganization" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "wholeOrganization" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "wholeOrgan" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e10" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "organization2" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf/wholeOrganization" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization2.id" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "organization" ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.name [ fhir:value "Device" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "assignedAuthoringDevice" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "assignedAuthoringDevice" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e11" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "device" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid11" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Device/" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid11" ]
             ]
           ], [
             fhir:index 6 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
             ]
           ], [
             fhir:index 7 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "author" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
             ]
           ], [
             fhir:index 8 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Device/' + %device.id" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "templateId" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "templateId" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "manufacturer" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "manufacturerModelName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manufacturerModelName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "displayRule" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "manufacturerModelName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "m" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "manufacturer" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "m.displayName" ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "deviceName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "softwareName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "softwareName" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "deviceName" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "deviceName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "typeName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "other" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "s.displayName" ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "device" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "author" ]
     ], [
       fhir:index 22 ;
       fhir:StructureMap.group.rule.name [ fhir:value "participantEncounter" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(typeCode != 'DEV')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "fhirParticipant" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "encounter" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "FhirParticipant" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "p" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "FhirParticipant" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "type" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeType" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "codice" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "p.typeCode" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ]
                 ]
               ]
             ]
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "partRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "participantRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "participantRole" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e12" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid12" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid12" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "encounter" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "participant1" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "individual" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "referencepart" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 9 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "referencepart" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitionerRole.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "time" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "time" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "time1" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "time1" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "period" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "start" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "start" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.dependent [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
               fhir:StructureMap.group.rule.dependent.variable [
                 fhir:value "time1" ;
                 fhir:index 0
               ], [
                 fhir:value "start" ;
                 fhir:index 1
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "participant.time -> participant1.period;" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "time" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "time" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "time1" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.dependent [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
             fhir:StructureMap.group.rule.dependent.variable [
               fhir:value "time1" ;
               fhir:index 0
             ], [
               fhir:value "period" ;
               fhir:index 1
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "functionCode" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "functionCode" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.name [ fhir:value "practitioner" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e13" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/participant" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "playingEntity" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "playingEntity" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "playingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "playingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                   ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "non mappa i 2 precedenti" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "participant person" ]
     ], [
       fhir:index 23 ;
       fhir:StructureMap.group.rule.name [ fhir:value "devParticipant" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "devParticipant" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(typeCode = 'DEV')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e14" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid14" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Device/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid14" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Device/' + %device.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "participantRoleDev" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "devParticipant" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "participantRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "participantRoleDev" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "playingDevice" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participantRoleDev" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "playingDevice" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "playingDevice" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "manufacturer" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "manufacturerModelName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manufacturerModelName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "displayRule" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "manufacturerModelName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "m" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "manufacturer" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "m.displayName" ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "deviceName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "softwareName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "softwareName" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "deviceName" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "deviceName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "typeName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "other" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "s.displayName" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "participant device" ]
     ], [
       fhir:index 24 ;
       fhir:StructureMap.group.rule.name [ fhir:value "observationMedia" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "er" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "media" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "er" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "observationMedia" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "obsMedia" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e15" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "media1" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Media" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid15" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Media/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid15" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Media" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "derivedFrom" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Media/' + %media1.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "Attachment" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "content" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "Attachment" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Attachment" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "valuemedia" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "valueMedia" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "valueMedia" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "mediaType" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "type" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "Attachment" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "contentType" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "type" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "data" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "valueMedia" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "Attachment" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "data" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "valueMedia.dataBase64Binary" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "observationMedia" ]
     ], [
       fhir:index 25 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ref" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "referenceRange" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "refRange" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "referenceRange" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "ref" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "refRange" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "refRange" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "observationRange" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "obsRange" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
             fhir:StructureMap.group.rule.source.type [ fhir:value "ST" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "value.dataString" ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "obsRange" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "low" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "Low" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "IVL-PQ" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
               fhir:StructureMap.group.rule.source.type [ fhir:value "IVL_PQ" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "decValue" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "v" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "low" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "l1" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "decValue" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "Low" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "decValue" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "Unit" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "Low" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "Unit" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "high" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "v" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "high" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "high" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "decValue" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "v" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "high" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "h1" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "h1" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "decValue1" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "decValue1" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "h1" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "Unit1" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "Unit1" ]
                     ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "interpretationCode" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "interpretationCode" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "precondition" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "precondition" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "precondition" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "criterion" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "precondition" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "criterion" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "criterion" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "appliesTo" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "criterion" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "appliesTo" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "v" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "criterion" ] ;
                   fhir:StructureMap.group.rule.source.type [ fhir:value "IVL_PQ" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "low" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "v" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "high" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "l1" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "age" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "age" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "age" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "high" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "age" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "high" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "high" ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                           fhir:StructureMap.group.rule.source.variable [ fhir:value "decValue" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "decValue" ]
                           ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
                           fhir:StructureMap.group.rule.source.variable [ fhir:value "Unit1" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "Unit1" ]
                           ]
                         ]
                       ]
                     ]
                   ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "referenceRange" ]
     ]
  ], [
     fhir:index 5 ;
     fhir:StructureMap.group.name [ fhir:value "Observation3" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "obs" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Observation" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Patient" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "encounter" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Encounter" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "ob" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Observation" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.input.name [ fhir:value "cda" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Act" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Patient/' + %patient.id" ]
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
         ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'completed')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "final" ]
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'active')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "registered" ]
         ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'aborted')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "cancelled" ]
         ]
       ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'suspended')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "partial" ]
         ]
       ]
     ], [
       fhir:index 7 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value2" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "effectiveTime" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "effectiveTime" ;
           fhir:index 0
         ], [
           fhir:value "value" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 8 ;
       fhir:StructureMap.group.rule.name [ fhir:value "where" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "effectiveTime.low.exists() or effectiveTime.high.exists()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "effectiveTime" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "eff" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "eff" ;
             fhir:index 0
           ], [
             fhir:value "period" ;
             fhir:index 1
           ]
         ]
       ]
     ], [
       fhir:index 9 ;
       fhir:StructureMap.group.rule.name [ fhir:value "interpretationCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "interpretationCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "interpretation" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 10 ;
       fhir:StructureMap.group.rule.name [ fhir:value "methodCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "methodCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 11 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "INT" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "int" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "int.value" ]
         ]
       ]
     ], [
       fhir:index 12 ;
       fhir:StructureMap.group.rule.name [ fhir:value "boolean" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "BL" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "boolean" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean.value" ]
         ]
       ]
     ], [
       fhir:index 13 ;
       fhir:StructureMap.group.rule.name [ fhir:value "val" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "CE" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "val" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "ce" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "originltext" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "originalText" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "originalText" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "originalText" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "reference" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "reference" ]
               ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "translation" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "translation" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "translation" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
               ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "qualifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "translation" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "qualifier" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "qualifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "qualifier" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "ce" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "code" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "codeSystem" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystem" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "system" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "system" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "displayName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "displayName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "display" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "display" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "codeSystemVersion" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "codeSystemVersion" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "version" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "version" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "cast" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "version" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
                   ]
                 ]
               ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index 14 ;
       fhir:StructureMap.group.rule.name [ fhir:value "valueQuantity" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "PQ" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "val" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "quantity" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "val" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "quantity" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "quantity" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "value" ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "unit" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "quantity" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "unit" ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index 15 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.type [ fhir:value "ST" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "value.dataString" ]
         ]
       ]
     ], [
       fhir:index 16 ;
       fhir:StructureMap.group.rule.name [ fhir:value "entryRelationship" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "Act" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "act" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "act" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "text" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "act" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "text" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "text" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "reference" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "note" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "note" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "reference" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "note" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "reference.value" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "Note e commenti" ]
     ], [
       fhir:index 17 ;
       fhir:StructureMap.group.rule.name [ fhir:value "subject" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "sbj" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "relatedSubject" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "sbj" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "relatedSubject" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "relatedSubj" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "extension2" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "ExtSubjectAnimal" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "relatedSubj" ;
             fhir:index 0
           ], [
             fhir:value "extension2" ;
             fhir:index 1
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "subject" ]
     ], [
       fhir:index 18 ;
       fhir:StructureMap.group.rule.name [ fhir:value "specimen" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "spmn" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e4o" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Specimen" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4o" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Specimen/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4o" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Specimen" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Specimen/' + %specimen.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "specimenRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "spmn" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "specimenRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "specimenRole" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "specimenRole" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "specimenPlayingEntity" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "specimenRole" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "specimenPlayingEntity" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "specimenPlayingEntity" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "specimenPlayingEntity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "specimen" ]
     ], [
       fhir:index 19 ;
       fhir:StructureMap.group.rule.name [ fhir:value "performer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "performer" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e1" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid1" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid1" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "performer" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "entity" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "performer" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "assignedEntity" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "entity" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e2" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "performer" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "2.16.840.1.113883.2.9.4.3.2" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "diverso" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root != '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 5 ;
               fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 6 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assignedPerson" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "person" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 7 ;
               fhir:StructureMap.group.rule.name [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "representedOrganization" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "representedOrganization" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e3" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "organization" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer/representedOrganization" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceOrg" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "referenceOrg" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 5 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "asOrganizationPartOf" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "e4" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "organization1" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                         ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer/representedOrganization/asOrganizationPartOf" ]
                         ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                       ], [
                         fhir:index 2 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                       ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                         ]
                       ], [
                         fhir:index 2 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                         ]
                       ], [
                         fhir:index 3 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization1.id" ]
                         ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(value = 'active')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "true" ]
                     ]
                   ]
                 ], [
                   fhir:index 4 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "wholeOrganization" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "wholeOrganization" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "wholeOrgan" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "e5" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "organization2" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                         ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                           ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/performer/representedOrganization/wholeOrganization" ]
                           ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                         ], [
                           fhir:index 2 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                         ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                         ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                           ]
                         ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                         ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                           fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid5" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                           ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid5" ]
                           ]
                         ], [
                           fhir:index 2 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                           ]
                         ], [
                           fhir:index 3 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization2.id" ]
                           ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                       ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                     ]
                   ], [
                     fhir:index 4 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                     ]
                   ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "organization" ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "performer" ]
     ], [
       fhir:index 20 ;
       fhir:StructureMap.group.rule.name [ fhir:value "author" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "author" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "srcAuthor" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e6" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid6" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid6" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceaut" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "referenceaut" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "assignedAuthor" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "srcAuthor" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "assignedAuthor" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "assignedAuthor" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "codice" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "code2" ]
           ] ;
           fhir:StructureMap.group.rule.dependent [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.dependent.name [ fhir:value "CECodeableConcept" ] ;
             fhir:StructureMap.group.rule.dependent.variable [
               fhir:value "codice" ;
               fhir:index 0
             ], [
               fhir:value "code2" ;
               fhir:index 1
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "ASSAUth" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e7" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid7" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "functionCode" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "functionCode" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "2.16.840.1.113883.2.9.4.3.2" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 5 ;
               fhir:StructureMap.group.rule.name [ fhir:value "diverso" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root != '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "assignedPerson" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "person" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                   ]
                 ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "person" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "representedOrganization" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "representedOrganization" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "representedOrganization" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e8" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "organization" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author/representedOrganization" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "OrgPartOf" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "asOrganizationPartOf" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "OrgPartOf" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e9" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "organization1" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization1.id" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(value = 'active')" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "true" ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "wholeOrganization" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "wholeOrganization" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "wholeOrgan" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e10" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "organization2" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/author/representedOrganization/asOrganizationPartOf/wholeOrganization" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization2.id" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "organization" ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.name [ fhir:value "Device" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "assignedAuthoringDevice" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "assignedAuthoringDevice" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e11" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "device" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid11" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Device/" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid11" ]
             ]
           ], [
             fhir:index 6 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
             ]
           ], [
             fhir:index 7 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "author" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
             ]
           ], [
             fhir:index 8 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Device/' + %device.id" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "templateId" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "templateId" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "manufacturer" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "manufacturerModelName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manufacturerModelName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "displayRule" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "manufacturerModelName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "m" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "manufacturer" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "m.displayName" ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "deviceName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "softwareName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "softwareName" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "deviceName" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "deviceName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "typeName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "other" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "s.displayName" ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "device" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "author" ]
     ], [
       fhir:index 21 ;
       fhir:StructureMap.group.rule.name [ fhir:value "participantEncounter" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(typeCode != 'DEV')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "fhirParticipant" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "encounter" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "FhirParticipant" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "p" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "FhirParticipant" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "type" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeType" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "codice" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "p.typeCode" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ]
                 ]
               ]
             ]
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "partRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "participantRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "participantRole" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e12" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid12" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid12" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "encounter" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "participant1" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "individual" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "referencepart" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 9 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "referencepart" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitionerRole.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "time" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "time" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "time1" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "time1" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "period" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "start" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "start" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.dependent [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
               fhir:StructureMap.group.rule.dependent.variable [
                 fhir:value "time1" ;
                 fhir:index 0
               ], [
                 fhir:value "start" ;
                 fhir:index 1
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "participant.time -> participant1.period;" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "time" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "time" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "time1" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.dependent [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
             fhir:StructureMap.group.rule.dependent.variable [
               fhir:value "time1" ;
               fhir:index 0
             ], [
               fhir:value "period" ;
               fhir:index 1
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "functionCode" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "functionCode" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.name [ fhir:value "practitioner" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e13" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/observation/participant" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "playingEntity" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "playingEntity" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "playingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "playingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                   ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "non mappa i 2 precedenti" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "participant person" ]
     ], [
       fhir:index 22 ;
       fhir:StructureMap.group.rule.name [ fhir:value "devParticipant" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "devParticipant" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(typeCode = 'DEV')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e14" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid14" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Device/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid14" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Device/' + %device.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "participantRoleDev" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "devParticipant" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "participantRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "participantRoleDev" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "playingDevice" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participantRoleDev" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "playingDevice" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "playingDevice" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "manufacturer" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "manufacturerModelName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manufacturerModelName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "displayRule" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "manufacturerModelName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "m" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "manufacturer" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "m.displayName" ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "deviceName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "softwareName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "softwareName" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "deviceName" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "deviceName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "typeName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "other" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "s.displayName" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "participant device" ]
     ], [
       fhir:index 23 ;
       fhir:StructureMap.group.rule.name [ fhir:value "observationMedia" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "er" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "media" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "er" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "observationMedia" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "obsMedia" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e15" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "media1" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Media" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid15" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Media/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid15" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Media" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "derivedFrom" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Media/' + %media1.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "Attachment" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "content" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "Attachment" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Attachment" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "valuemedia" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "valueMedia" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "valueMedia" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "mediaType" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "type" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "Attachment" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "contentType" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "type" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "data" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "valueMedia" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "Attachment" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "data" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "valueMedia.dataBase64Binary" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "observationMedia" ]
     ], [
       fhir:index 24 ;
       fhir:StructureMap.group.rule.name [ fhir:value "ref" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "obs" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "referenceRange" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "refRange" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ob" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "referenceRange" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "ref" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "refRange" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "refRange" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "observationRange" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "obsRange" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
             fhir:StructureMap.group.rule.source.type [ fhir:value "ST" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "value" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "string" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "value.dataString" ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "obsRange" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "low" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "Low" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "IVLPQ" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
               fhir:StructureMap.group.rule.source.type [ fhir:value "IVL_PQ" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "decValue" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "v" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "low" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "l1" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "decValue" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "Low" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "decValue" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "Unit" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "Low" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "Unit" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "high" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "v" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "high" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "high" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "decValue" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "v" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "high" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "h1" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "h1" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "decValue1" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "decValue1" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "h1" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "Unit1" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "Unit1" ]
                     ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "interpretationCode" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "interpretationCode" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "precondition" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsRange" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "precondition" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "precondition" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "criterion" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "precondition" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "criterion" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "criterion" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "appliesTo" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "criterion" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "appliesTo" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "v" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "criterion" ] ;
                   fhir:StructureMap.group.rule.source.type [ fhir:value "IVL_PQ" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "low" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "v" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "high" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "l1" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "age" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "ref" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "age" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "age" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Quantity" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "high" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "age" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "high" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "high" ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                           fhir:StructureMap.group.rule.source.variable [ fhir:value "decValue" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "decValue" ]
                           ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "unit" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "l1" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "unit" ] ;
                           fhir:StructureMap.group.rule.source.variable [ fhir:value "Unit1" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "high" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "unit" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "Unit1" ]
                           ]
                         ]
                       ]
                     ]
                   ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "referenceRange" ]
     ]
  ], [
     fhir:index 6 ;
     fhir:StructureMap.group.name [ fhir:value "Act" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "cda" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Act" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "pat" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Patient" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "ac" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "DiagnosticReport" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "enc" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Encounter" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "cda.statusCode.exists().not()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "statuscode" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "final" ]
           ]
         ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'completed')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "final" ]
         ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'active')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "registered" ]
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'aborted')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "cancelled" ]
         ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'suspended')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "partial" ]
         ]
       ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value3" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "effectiveTime" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "effectiveTime" ;
           fhir:index 0
         ], [
           fhir:value "value" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 7 ;
       fhir:StructureMap.group.rule.name [ fhir:value "where" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "effectiveTime.low.exists() or effectiveTime.high.exists()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "effectiveTime" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "eff" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "eff" ;
             fhir:index 0
           ], [
             fhir:value "period" ;
             fhir:index 1
           ]
         ]
       ]
     ], [
       fhir:index 8 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Patient/' + %pat.id" ]
         ]
       ]
     ], [
       fhir:index 9 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %enc.id" ]
         ]
       ]
     ], [
       fhir:index 10 ;
       fhir:StructureMap.group.rule.name [ fhir:value "exist" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "cda.specimen.exists()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "specimen" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e4" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "specimen" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Specimen" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Specimen/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Specimen" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "specimen" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Specimen/' + %specimen.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "SpecimenRole" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "specimenRole" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "specimenRole" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "specimenRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "specimenPlayingEntity" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "specimenRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "specimenPlayingEntity" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "specimenPlayingEntity" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "specimenPlayingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Patient/' + %patient.id" ]
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "entryRelationshipobservation" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "observation" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "observation" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "observation" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "obs" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "observation" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e12" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "obs" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid13" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
               ], [
                 fhir:index 5 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Observation/" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid13" ]
                 ]
               ], [
                 fhir:index 6 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
                 ]
               ], [
                 fhir:index 7 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "result" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                 ]
               ], [
                 fhir:index 8 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Observation/' + %obs.id" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ORG" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "observation" ]
                 ] ;
                 fhir:StructureMap.group.rule.dependent [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.dependent.name [ fhir:value "Observation2" ] ;
                   fhir:StructureMap.group.rule.dependent.variable [
                     fhir:value "observation" ;
                     fhir:index 0
                   ], [
                     fhir:value "pat" ;
                     fhir:index 1
                   ], [
                     fhir:value "enc" ;
                     fhir:index 2
                   ], [
                     fhir:value "obs" ;
                     fhir:index 3
                   ], [
                     fhir:value "bundle" ;
                     fhir:index 4
                   ], [
                     fhir:value "cda" ;
                     fhir:index 5
                   ], [
                     fhir:value "specimen" ;
                     fhir:index 6
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "entryRelationshipprocedure" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship1" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "procedure" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship1" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "proc" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "e5" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Procedure" ]
                     ]
                   ], [
                     fhir:index 4 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid5" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
                   ], [
                     fhir:index 5 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Procedure/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid5" ]
                     ]
                   ], [
                     fhir:index 6 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Procedure" ]
                     ]
                   ], [
                     fhir:index 7 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 8 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Procedure/' + %procedure.id" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Patient/' + %patient.id" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
                       ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "proc.statusCode.exists().not()" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "statuscode" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'completed')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "completed" ]
                       ]
                     ]
                   ], [
                     fhir:index 4 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'active')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "in-progress" ]
                       ]
                     ]
                   ], [
                     fhir:index 5 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'aborted')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "stopped" ]
                       ]
                     ]
                   ], [
                     fhir:index 6 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'suspended')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "on-hold" ]
                       ]
                     ]
                   ], [
                     fhir:index 7 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'cancelled')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "not-done" ]
                       ]
                     ]
                   ], [
                     fhir:index 8 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'held')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "on-hold" ]
                       ]
                     ]
                   ], [
                     fhir:index 9 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'new')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "preparation" ]
                       ]
                     ]
                   ], [
                     fhir:index 10 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'obsolete')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "entered-in-error" ]
                       ]
                     ]
                   ], [
                     fhir:index 11 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'nullified')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
                       ]
                     ]
                   ], [
                     fhir:index 12 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "datetime" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "effectiveTime" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "performed" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "value" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.dependent [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
                       fhir:StructureMap.group.rule.dependent.variable [
                         fhir:value "effectiveTime" ;
                         fhir:index 0
                       ], [
                         fhir:value "value" ;
                         fhir:index 1
                       ]
                     ]
                   ], [
                     fhir:index 13 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "where" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "effectiveTime.low.exists() or effectiveTime.high.exists()" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "effectiveTime" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "eff" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "performed" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
                         ]
                       ] ;
                       fhir:StructureMap.group.rule.dependent [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
                         fhir:StructureMap.group.rule.dependent.variable [
                           fhir:value "eff" ;
                           fhir:index 0
                         ], [
                           fhir:value "period" ;
                           fhir:index 1
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 14 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "targetSiteCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "targetSiteCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "bodySite" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                     ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.documentation [ fhir:value "procedure" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "organizer" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "organizer" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "organizer" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "Organizer" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "organizer" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e12" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "obs" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid13" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
               ], [
                 fhir:index 5 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Observation/" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid13" ]
                 ]
               ], [
                 fhir:index 6 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
                 ]
               ], [
                 fhir:index 7 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "result" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                 ]
               ], [
                 fhir:index 8 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Observation/' + %obs.id" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ORG" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "organizer" ]
                 ] ;
                 fhir:StructureMap.group.rule.dependent [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.dependent.name [ fhir:value "Organizer" ] ;
                   fhir:StructureMap.group.rule.dependent.variable [
                     fhir:value "cda" ;
                     fhir:index 0
                   ], [
                     fhir:value "organizer" ;
                     fhir:index 1
                   ], [
                     fhir:value "pat" ;
                     fhir:index 2
                   ], [
                     fhir:value "enc" ;
                     fhir:index 3
                   ], [
                     fhir:value "obs" ;
                     fhir:index 4
                   ], [
                     fhir:value "bundle" ;
                     fhir:index 5
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "entryRelationshiprocedure" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship1" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "pbservation" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship1" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "proc" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "e5" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Procedure" ]
                     ]
                   ], [
                     fhir:index 4 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid5" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
                   ], [
                     fhir:index 5 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Procedure/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid5" ]
                     ]
                   ], [
                     fhir:index 6 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Procedure" ]
                     ]
                   ], [
                     fhir:index 7 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 8 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Procedure/' + %procedure.id" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Patient/' + %patient.id" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
                       ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "proc.statusCode.exists().not()" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "statuscode" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'completed')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "completed" ]
                       ]
                     ]
                   ], [
                     fhir:index 4 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'active')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "in-progress" ]
                       ]
                     ]
                   ], [
                     fhir:index 5 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'aborted')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "stopped" ]
                       ]
                     ]
                   ], [
                     fhir:index 6 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'suspended')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "on-hold" ]
                       ]
                     ]
                   ], [
                     fhir:index 7 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'cancelled')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "not-done" ]
                       ]
                     ]
                   ], [
                     fhir:index 8 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'held')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "on-hold" ]
                       ]
                     ]
                   ], [
                     fhir:index 9 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'new')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "preparation" ]
                       ]
                     ]
                   ], [
                     fhir:index 10 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'obsolete')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "entered-in-error" ]
                       ]
                     ]
                   ], [
                     fhir:index 11 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'nullified')" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
                       ]
                     ]
                   ], [
                     fhir:index 12 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "datetime" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "effectiveTime" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "performed" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "value" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.dependent [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
                       fhir:StructureMap.group.rule.dependent.variable [
                         fhir:value "effectiveTime" ;
                         fhir:index 0
                       ], [
                         fhir:value "value" ;
                         fhir:index 1
                       ]
                     ]
                   ], [
                     fhir:index 13 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "where" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.condition [ fhir:value "effectiveTime.low.exists() or effectiveTime.high.exists()" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "effectiveTime" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "eff" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "performed" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
                         ]
                       ] ;
                       fhir:StructureMap.group.rule.dependent [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
                         fhir:StructureMap.group.rule.dependent.variable [
                           fhir:value "eff" ;
                           fhir:index 0
                         ], [
                           fhir:value "period" ;
                           fhir:index 1
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 14 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "targetSiteCode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "targetSiteCode" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "bodySite" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                     ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.documentation [ fhir:value "procedure" ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "specimen" ]
     ], [
       fhir:index 11 ;
       fhir:StructureMap.group.rule.name [ fhir:value "existnot" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "cda.specimen.exists().not()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "entryRelationshipobservation" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "observation" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "observation" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "observation" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "obs" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "observation" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e12" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "obs" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid13" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
             ], [
               fhir:index 5 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Observation/" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid13" ]
               ]
             ], [
               fhir:index 6 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
               ]
             ], [
               fhir:index 7 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "result" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
               ]
             ], [
               fhir:index 8 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Observation/' + %obs.id" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ORG" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "observation" ]
               ] ;
               fhir:StructureMap.group.rule.dependent [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.dependent.name [ fhir:value "Observation3" ] ;
                 fhir:StructureMap.group.rule.dependent.variable [
                   fhir:value "observation" ;
                   fhir:index 0
                 ], [
                   fhir:value "pat" ;
                   fhir:index 1
                 ], [
                   fhir:value "enc" ;
                   fhir:index 2
                 ], [
                   fhir:value "obs" ;
                   fhir:index 3
                 ], [
                   fhir:value "bundle" ;
                   fhir:index 4
                 ], [
                   fhir:value "cda" ;
                   fhir:index 5
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "entryRelationshipprocedure" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship1" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "procedure" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship1" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "procedure" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "proc" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "e5" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "procedure" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Procedure" ]
                   ]
                 ], [
                   fhir:index 4 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid5" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
                 ], [
                   fhir:index 5 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Procedure/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid5" ]
                   ]
                 ], [
                   fhir:index 6 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Procedure" ]
                   ]
                 ], [
                   fhir:index 7 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 8 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Procedure/' + %procedure.id" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Patient/' + %patient.id" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "proc.statusCode.exists().not()" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statuscode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'completed')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "completed" ]
                     ]
                   ]
                 ], [
                   fhir:index 4 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'active')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "in-progress" ]
                     ]
                   ]
                 ], [
                   fhir:index 5 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'aborted')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "stopped" ]
                     ]
                   ]
                 ], [
                   fhir:index 6 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'suspended')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "on-hold" ]
                     ]
                   ]
                 ], [
                   fhir:index 7 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'cancelled')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "not-done" ]
                     ]
                   ]
                 ], [
                   fhir:index 8 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'held')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "on-hold" ]
                     ]
                   ]
                 ], [
                   fhir:index 9 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'new')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "preparation" ]
                     ]
                   ]
                 ], [
                   fhir:index 10 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'obsolete')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "entered-in-error" ]
                     ]
                   ]
                 ], [
                   fhir:index 11 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'nullified')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
                     ]
                   ]
                 ], [
                   fhir:index 12 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "datetime" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "effectiveTime" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "performed" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.dependent [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
                     fhir:StructureMap.group.rule.dependent.variable [
                       fhir:value "effectiveTime" ;
                       fhir:index 0
                     ], [
                       fhir:value "value" ;
                       fhir:index 1
                     ]
                   ]
                 ], [
                   fhir:index 13 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "where" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "effectiveTime.low.exists() or effectiveTime.high.exists()" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "effectiveTime" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "eff" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "performed" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.dependent [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
                       fhir:StructureMap.group.rule.dependent.variable [
                         fhir:value "eff" ;
                         fhir:index 0
                       ], [
                         fhir:value "period" ;
                         fhir:index 1
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 14 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "targetSiteCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "targetSiteCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "bodySite" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                   ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "procedure" ]
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "organizer" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "organizer" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "organizer" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "Organizer" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "organizer" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e12" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "obs" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid13" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
             ], [
               fhir:index 5 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Observation/" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid13" ]
               ]
             ], [
               fhir:index 6 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
               ]
             ], [
               fhir:index 7 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "result" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
               ]
             ], [
               fhir:index 8 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Observation/' + %obs.id" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ORG" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "organizer" ]
               ] ;
               fhir:StructureMap.group.rule.dependent [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.dependent.name [ fhir:value "Organizer" ] ;
                 fhir:StructureMap.group.rule.dependent.variable [
                   fhir:value "cda" ;
                   fhir:index 0
                 ], [
                   fhir:value "organizer" ;
                   fhir:index 1
                 ], [
                   fhir:value "pat" ;
                   fhir:index 2
                 ], [
                   fhir:value "enc" ;
                   fhir:index 3
                 ], [
                   fhir:value "obs" ;
                   fhir:index 4
                 ], [
                   fhir:value "bundle" ;
                   fhir:index 5
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "entryRelationshiprocedure" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship1" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "pbservation" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship1" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "procedure" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "proc" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "e5" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "procedure" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Procedure" ]
                   ]
                 ], [
                   fhir:index 4 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid5" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
                 ], [
                   fhir:index 5 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Procedure/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid5" ]
                   ]
                 ], [
                   fhir:index 6 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Procedure" ]
                   ]
                 ], [
                   fhir:index 7 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "obs" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 8 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Procedure/' + %procedure.id" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Patient/' + %patient.id" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "proc.statusCode.exists().not()" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "statuscode" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'completed')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "completed" ]
                     ]
                   ]
                 ], [
                   fhir:index 4 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'active')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "in-progress" ]
                     ]
                   ]
                 ], [
                   fhir:index 5 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'aborted')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "stopped" ]
                     ]
                   ]
                 ], [
                   fhir:index 6 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'suspended')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "on-hold" ]
                     ]
                   ]
                 ], [
                   fhir:index 7 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'cancelled')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "not-done" ]
                     ]
                   ]
                 ], [
                   fhir:index 8 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'held')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "on-hold" ]
                     ]
                   ]
                 ], [
                   fhir:index 9 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'new')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "preparation" ]
                     ]
                   ]
                 ], [
                   fhir:index 10 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'obsolete')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "entered-in-error" ]
                     ]
                   ]
                 ], [
                   fhir:index 11 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'nullified')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
                     ]
                   ]
                 ], [
                   fhir:index 12 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "datetime" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "effectiveTime" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "performed" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.dependent [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
                     fhir:StructureMap.group.rule.dependent.variable [
                       fhir:value "effectiveTime" ;
                       fhir:index 0
                     ], [
                       fhir:value "value" ;
                       fhir:index 1
                     ]
                   ]
                 ], [
                   fhir:index 13 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "where" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "effectiveTime.low.exists() or effectiveTime.high.exists()" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "effectiveTime" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "eff" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "performed" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.dependent [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
                       fhir:StructureMap.group.rule.dependent.variable [
                         fhir:value "eff" ;
                         fhir:index 0
                       ], [
                         fhir:value "period" ;
                         fhir:index 1
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 14 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "targetSiteCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "proc" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "targetSiteCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "procedure" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "bodySite" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                   ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.documentation [ fhir:value "procedure" ]
             ]
           ]
         ] ;
         fhir:StructureMap.group.rule.documentation [ fhir:value "cda -> bundle.entry as e4, e4.request = create('BackboneElement') as request, request.method = 'POST', e4.resource = create('Specimen') as specimen,  specimen.id = uuid() as uuid4,  e4.fullUrl = append('https://example/Specimen/', uuid4), request.url = 'Specimen' then {" ]
       ]
     ], [
       fhir:index 12 ;
       fhir:StructureMap.group.rule.name [ fhir:value "participant" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "part" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(typeCode != 'DEV')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "enc" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "participant" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "part" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "type" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "codeType" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "part" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "type" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codice" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "part" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "part.typeCode" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "part" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ]
               ]
             ]
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "participantRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "part" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "participantRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "participantRole" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "individual" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "participanRoleBund" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "time" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "part" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "time" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "time1" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "participant" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "val" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "time1" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "period" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "start" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "start" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.dependent [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
                 fhir:StructureMap.group.rule.dependent.variable [
                   fhir:value "time1" ;
                   fhir:index 0
                 ], [
                   fhir:value "start" ;
                   fhir:index 1
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "time" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "part" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "time" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "time1" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "participant" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.dependent [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
               fhir:StructureMap.group.rule.dependent.variable [
                 fhir:value "time1" ;
                 fhir:index 0
               ], [
                 fhir:value "period" ;
                 fhir:index 1
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/act/participant" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "playingEntity" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "playingEntity" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "playingEntity" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "playingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "PARTICIPANT" ]
     ], [
       fhir:index 13 ;
       fhir:StructureMap.group.rule.name [ fhir:value "performer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "performer" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e1" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid1" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid1" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "performer" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "assignedEntity" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "assignedEntity" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "codice" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "ASSAUth" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e2" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/act/performer" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "pra" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "assignedPerson" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "person" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                   ]
                 ]
               ]
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "representedOrganization" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedEntity" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "representedOrganization" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "representedOrganization" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e3" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "organization" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/act/representedOrganization" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "OrgPartOf" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "asOrganizationPartOf" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "OrgPartOf" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e4" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "organization1" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/act/representedOrganization/asOrganizationPartOf" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 4 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization1.id" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(value = 'active')" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "true" ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "wholeOrganization" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "wholeOrganization" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "wholeOrgan" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e10bis" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10bis" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10bis" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "organization2" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/act/representedOrganization/asOrganizationPartOf/wholeOrganization" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid5" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "e10bis" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid5" ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization2.id" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "PERFORMER" ]
     ], [
       fhir:index 14 ;
       fhir:StructureMap.group.rule.name [ fhir:value "author" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "author" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "srcAuthor" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e5" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid6" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid6" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "author" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "srcAuthor" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "assignedAuthor" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "assignedAuthor" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "codice" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "ASSAUth" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e7" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "functionCode" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "functionCode" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/act/author" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "2.16.840.1.113883.2.9.4.3.2" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2')" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "diverso" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(root != '2.16.840.1.113883.2.9.4.3.2')" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ]
             ]
           ], [
             fhir:index 6 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 7 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 8 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "assignedPerson" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "person" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                   ]
                 ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "person" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "representedOrganization" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "representedOrganization" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "representedOrganization" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e8" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "organization" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/act/author/representedOrganization" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid8" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid8" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid8" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "OrgPartOf" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "asOrganizationPartOf" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "OrgPartOf" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e9" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "organization1" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/act/author/representedOrganization/asOrganizationPartOf" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid9" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid9" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization1.id" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(value = 'active')" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "true" ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "wholeOrganization" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "wholeOrganization" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "wholeOrgan" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e10" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "organization2" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/act/author/representedOrganization/asOrganizationPartOf/wholeOrganization" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid10" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid10" ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization2.id" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "organization" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "AUTHOR" ]
     ], [
       fhir:index 15 ;
       fhir:StructureMap.group.rule.name [ fhir:value "entryRelationship" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entryRelationship" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "entryRelationship" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "Act" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "entryRelationship" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "act" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "act" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "text" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "act" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "text" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "text" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "reference" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "ac" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "conclusion" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "reference.value" ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "<!--entryRelationship per la gestione delle note e commenti-->" ]
     ]
  ], [
     fhir:index 7 ;
     fhir:StructureMap.group.name [ fhir:value "Organizer" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "cda" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Act" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "org" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Organizer" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.input.name [ fhir:value "patient" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Patient" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.input.name [ fhir:value "encounter" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Encounter" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.input.name [ fhir:value "observation" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Observation" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Patient/' + %patient.id" ]
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
         ]
       ]
     ], [
       fhir:index 2 ;
       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:StructureMap.group.rule.name [ fhir:value "act" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "org.code.exists().not()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "cda" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'completed')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "final" ]
         ]
       ]
     ], [
       fhir:index 5 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'active')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "registered" ]
         ]
       ]
     ], [
       fhir:index 6 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'aborted')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "cancelled" ]
         ]
       ]
     ], [
       fhir:index 7 ;
       fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "statusc" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(code = 'suspended')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "partial" ]
         ]
       ]
     ], [
       fhir:index 8 ;
       fhir:StructureMap.group.rule.name [ fhir:value "value2" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "effectiveTime" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "effectiveTime" ;
           fhir:index 0
         ], [
           fhir:value "value" ;
           fhir:index 1
         ]
       ]
     ], [
       fhir:index 9 ;
       fhir:StructureMap.group.rule.name [ fhir:value "where" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "effectiveTime.low.exists() or effectiveTime.high.exists()" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "effectiveTime" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "effectiveTime" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "eff" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "eff" ;
             fhir:index 0
           ], [
             fhir:value "period" ;
             fhir:index 1
           ]
         ]
       ]
     ], [
       fhir:index 10 ;
       fhir:StructureMap.group.rule.name [ fhir:value "specimen" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "spmn" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e4o" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Specimen" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4o" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e4o" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Specimen/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4o" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Specimen" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "specimen" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Specimen/' + %specimen.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "specimenRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "spmn" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "specimenRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "specimenRole" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "specimenRole" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "specimenPlayingEntity" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "specimenRole" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "specimenPlayingEntity" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "specimenPlayingEntity" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "specimenPlayingEntity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "specimen" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "specimen" ]
     ], [
       fhir:index 11 ;
       fhir:StructureMap.group.rule.name [ fhir:value "subject" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "sbj" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "relatedSubject" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "sbj" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "relatedSubject" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "relatedSubj" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "patient" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "extension2" ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "ExtSubjectAnimal" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "relatedSubj" ;
             fhir:index 0
           ], [
             fhir:value "extension2" ;
             fhir:index 1
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "subject" ]
     ], [
       fhir:index 12 ;
       fhir:StructureMap.group.rule.name [ fhir:value "performer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "performer" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e1" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid1" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid1" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "performer" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "entity" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "performer" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "assignedEntity" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "entity" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e2" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/organizer/performer" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e2" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "2.16.840.1.113883.2.9.4.3.2" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "diverso" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(root != '2.16.840.1.113883.2.9.4.3.2')" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 5 ;
               fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 6 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assignedPerson" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "person" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 7 ;
               fhir:StructureMap.group.rule.name [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "entity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "representedOrganization" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "representedOrganization" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e3" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "organization" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/organizer/performer/representedOrganization" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "e3" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceOrg" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "referenceOrg" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 5 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "asOrganizationPartOf" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "e4" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "organization1" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                         ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/organizer/performer/representedOrganization/asOrganizationPartOf" ]
                         ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                       ], [
                         fhir:index 2 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                       ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "e4" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                         ]
                       ], [
                         fhir:index 2 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                         ]
                       ], [
                         fhir:index 3 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization1.id" ]
                         ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ] ;
                     fhir:StructureMap.group.rule.source.condition [ fhir:value "(value = 'active')" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "true" ]
                     ]
                   ]
                 ], [
                   fhir:index 4 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "wholeOrganization" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "wholeOrganization" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "wholeOrgan" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "e5" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "organization2" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                         ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                           ]
                         ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/organizer/performer/representedOrganization/asOrganizationPartOf/wholeOrganization" ]
                           ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                     ] ;
                     fhir:StructureMap.group.rule.rule [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                         ], [
                           fhir:index 2 ;
                           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                         ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                         ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                           ]
                         ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                       ] ;
                       fhir:StructureMap.group.rule.target [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                         fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                         fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                         fhir:StructureMap.group.rule.target.parameter [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                         ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                       fhir:StructureMap.group.rule.source [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                         fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                         fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                       ] ;
                       fhir:StructureMap.group.rule.rule [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.name [ fhir:value "org" ] ;
                         fhir:StructureMap.group.rule.source [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                           fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                         ] ;
                         fhir:StructureMap.group.rule.target [
                           fhir:index 0 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid4" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                           ]
                         ], [
                           fhir:index 1 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "e5" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                           ], [
                             fhir:index 1 ;
                             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid4" ]
                           ]
                         ], [
                           fhir:index 2 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                           ]
                         ], [
                           fhir:index 3 ;
                           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                           fhir:StructureMap.group.rule.target.parameter [
                             fhir:index 0 ;
                             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization2.id" ]
                           ]
                         ]
                       ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                       ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                     ]
                   ], [
                     fhir:index 4 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                     ]
                   ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "performer" ]
     ], [
       fhir:index 13 ;
       fhir:StructureMap.group.rule.name [ fhir:value "author" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "author" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "srcAuthor" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e6" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid6" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e6" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid6" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "performer" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceaut" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "referenceaut" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "assignedAuthor" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "srcAuthor" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "assignedAuthor" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "assignedAuthor" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "codice" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "code2" ]
           ] ;
           fhir:StructureMap.group.rule.dependent [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.dependent.name [ fhir:value "CECodeableConcept" ] ;
             fhir:StructureMap.group.rule.dependent.variable [
               fhir:value "codice" ;
               fhir:index 0
             ], [
               fhir:value "code2" ;
               fhir:index 1
             ]
           ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "ASSAUth" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e7" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "functionCode" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "srcAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "functionCode" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/organizer/author" ]
                   ]
                 ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "assignedAuthor.code -> practitionerRole.code;" ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid7" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e7" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid7" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "2.16.840.1.113883.2.9.4.3.2" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2')" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "diverso" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(root != '2.16.840.1.113883.2.9.4.3.2')" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 6 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 7 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "assignedPerson" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "person" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "person" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                   ]
                 ]
               ]
             ] ;
             fhir:StructureMap.group.rule.documentation [ fhir:value "person" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "representedOrganization" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "representedOrganization" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "representedOrganization" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e8" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "organization" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/organizer/author/representedOrganization" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid8" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e8" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid8" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "organization" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "referenceOrg" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid8" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "OrgPartOf" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "representedOrganization" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "asOrganizationPartOf" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "OrgPartOf" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "e9" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "organization1" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/organizer/author/representedOrganization/asOrganizationPartOf" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid9" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "e9" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid9" ]
                     ]
                   ], [
                     fhir:index 2 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "organization" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                     ]
                   ], [
                     fhir:index 3 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization1.id" ]
                     ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "statusCode" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "statusCode" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "status" ] ;
                 fhir:StructureMap.group.rule.source.condition [ fhir:value "(value = 'active')" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "boolean" ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "active" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "true" ]
                 ]
               ]
             ], [
               fhir:index 4 ;
               fhir:StructureMap.group.rule.name [ fhir:value "wholeOrganization" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "wholeOrganization" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "wholeOrgan" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "e10" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "organization2" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                       ]
                     ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "OrgPartOf" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/organizer/author/representedOrganization/asOrganizationPartOf/wholeOrganization" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
                 ] ;
                 fhir:StructureMap.group.rule.rule [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                     ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                     ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Organization?identifier=" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                       ]
                     ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
                   ] ;
                   fhir:StructureMap.group.rule.target [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                     fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                     fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                     fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                     fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                     fhir:StructureMap.group.rule.target.parameter [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                     ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
                   fhir:StructureMap.group.rule.source [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                     fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                     fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
                   ] ;
                   fhir:StructureMap.group.rule.rule [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.name [ fhir:value "aut" ] ;
                     fhir:StructureMap.group.rule.source [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                       fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                     ] ;
                     fhir:StructureMap.group.rule.target [
                       fhir:index 0 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid10" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                       ]
                     ], [
                       fhir:index 1 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "e10" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Organization/" ]
                       ], [
                         fhir:index 1 ;
                         fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid10" ]
                       ]
                     ], [
                       fhir:index 2 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "organization1" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "partOf" ] ;
                       fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                       ]
                     ], [
                       fhir:index 3 ;
                       fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                       fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                       fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                       fhir:StructureMap.group.rule.target.parameter [
                         fhir:index 0 ;
                         fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Organization/' + %organization2.id" ]
                       ]
                     ]
                   ]
                 ]
               ], [
                 fhir:index 2 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "v" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "v.other" ]
                   ]
                 ]
               ], [
                 fhir:index 3 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ], [
                 fhir:index 4 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "wholeOrgan" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "organization2" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "organization" ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.name [ fhir:value "Device" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthor" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "assignedAuthoringDevice" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "assignedAuthoringDevice" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e11" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "device" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid11" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e11" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Device/" ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid11" ]
             ]
           ], [
             fhir:index 6 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
             ]
           ], [
             fhir:index 7 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "tgt" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "author" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
             ]
           ], [
             fhir:index 8 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Device/' + %device.id" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "templateId" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "templateId" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "manufacturer" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "manufacturerModelName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manufacturerModelName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "displayRule" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "manufacturerModelName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "m" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "manufacturer" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "m.displayName" ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "deviceName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "assignedAuthoringDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "softwareName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "softwareName" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "deviceName" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "deviceName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "typeName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "other" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "s.displayName" ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "device" ]
         ] ;
         fhir:StructureMap.group.rule.documentation [ fhir:value "srcAuthor.time as time -> tgt.date;" ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "author" ]
     ], [
       fhir:index 14 ;
       fhir:StructureMap.group.rule.name [ fhir:value "participantEncounter" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(typeCode != 'DEV')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "encounter" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Encounter/' + %encounter.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "fhirParticipant" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "encounter" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "FhirParticipant" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "p" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "FhirParticipant" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "type" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "codeType" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "codice" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "p.typeCode" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "p" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ]
                 ]
               ]
             ]
           ]
         ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "partRole" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "participantRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "participantRole" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e12" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "practitionerRole" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid12" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e12" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/PractitionerRole/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid12" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PractitionerRole" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "encounter" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "participant" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "participant1" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "time" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "time" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "time1" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "val" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "time1" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "period" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "start" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "start" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "dateTime" ]
               ]
             ] ;
             fhir:StructureMap.group.rule.dependent [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.dependent.name [ fhir:value "TSDateTime" ] ;
               fhir:StructureMap.group.rule.dependent.variable [
                 fhir:value "time1" ;
                 fhir:index 0
               ], [
                 fhir:value "start" ;
                 fhir:index 1
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "participant.time -> participant1.period;" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "time" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "time" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "time1" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.dependent [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.dependent.name [ fhir:value "IVLTSPeriod" ] ;
             fhir:StructureMap.group.rule.dependent.variable [
               fhir:value "time1" ;
               fhir:index 0
             ], [
               fhir:value "period" ;
               fhir:index 1
             ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.name [ fhir:value "functionCode" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participant" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "functionCode" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.name [ fhir:value "practitioner" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "e13" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "PUT" ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "practitioner" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "par" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "participant1" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "individual" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "referencepart" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "referencepart" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/PractitionerRole/' + %practitionerRole.id" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "meta" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "meta" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "coding" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "meta" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "tag" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "coding" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://algoritmodiscoring" ]
                   ]
                 ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "coding" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "ClinicalDocument/body/organizer/participant" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "identifier" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "identifier" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "identifier" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "root1" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "translate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "r" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/ConceptMap/special-oid2uri" ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "uri" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "ext" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                   ]
                 ]
               ]
             ], [
               fhir:index 2 ;
               fhir:StructureMap.group.rule.name [ fhir:value "assigningAuthorityName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "assigningAuthorityName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "identifier" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "assigner" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "a" ]
               ], [
                 fhir:index 1 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "a" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "s" ]
                 ]
               ]
             ], [
               fhir:index 3 ;
               fhir:StructureMap.group.rule.name [ fhir:value "r" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "root" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "r" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "part" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "r + '-' + ext" ]
                   ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "e13" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Practitioner/" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
                   ]
                 ], [
                   fhir:index 2 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
                   ]
                 ], [
                   fhir:index 3 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Practitioner/' + %practitioner.id" ]
                   ]
                 ]
               ]
             ]
           ], [
             fhir:index 3 ;
             fhir:StructureMap.group.rule.name [ fhir:value "2.16.840.1.113883.2.9.4.3.2" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(root = '2.16.840.1.113883.2.9.4.3.2')" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ]
             ]
           ], [
             fhir:index 4 ;
             fhir:StructureMap.group.rule.name [ fhir:value "diverso" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "id" ] ;
               fhir:StructureMap.group.rule.source.condition [ fhir:value "(root != '2.16.840.1.113883.2.9.4.3.2')" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "UUID" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "id" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "extension" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "ext" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Practitioner?identifier=" ]
                 ], [
                   fhir:index 1 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "ext" ]
                 ]
               ]
             ]
           ], [
             fhir:index 5 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitionerRole" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 6 ;
             fhir:StructureMap.group.rule.name [ fhir:value "addr" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "addr" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "address" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 7 ;
             fhir:StructureMap.group.rule.name [ fhir:value "telecom" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "telecom" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 8 ;
             fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "participantRole" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "playingEntity" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "playingEntity" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "playingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "birth" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "playingEntity" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "birthTime" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "birthTime" ]
               ] ;
               fhir:StructureMap.group.rule.rule [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
                 fhir:StructureMap.group.rule.source [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.source.context [ fhir:value "birthTime" ] ;
                   fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
                   fhir:StructureMap.group.rule.source.variable [ fhir:value "date" ]
                 ] ;
                 fhir:StructureMap.group.rule.target [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.context [ fhir:value "practitioner" ] ;
                   fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                   fhir:StructureMap.group.rule.target.element [ fhir:value "birthDate" ] ;
                   fhir:StructureMap.group.rule.target.transform [ fhir:value "truncate" ] ;
                   fhir:StructureMap.group.rule.target.parameter [
                     fhir:index 0 ;
                     fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "date" ]
                   ], [
                     fhir:index 1 ;
                     fhir:StructureMap.group.rule.target.parameter.valueInteger [ fhir:value "10"^^xsd:integer ]
                   ]
                 ]
               ]
             ]
           ] ;
           fhir:StructureMap.group.rule.documentation [ fhir:value "non mappa i 2 precedenti" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "participant person" ]
     ], [
       fhir:index 15 ;
       fhir:StructureMap.group.rule.name [ fhir:value "devParticipant" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "participant" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "devParticipant" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(typeCode = 'DEV')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "e14" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
         ]
       ], [
         fhir:index 3 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
         ]
       ], [
         fhir:index 4 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid14" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
       ], [
         fhir:index 5 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "e14" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Device/" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid14" ]
         ]
       ], [
         fhir:index 6 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Device" ]
         ]
       ], [
         fhir:index 7 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "device" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ], [
         fhir:index 8 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Device/' + %device.id" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "participantRoleDev" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "devParticipant" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "participantRole" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "participantRoleDev" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "playingDevice" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "participantRoleDev" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "playingDevice" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "playingDevice" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "vvv" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "vvv" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "manufacturer" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "manufacturerModelName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "manufacturerModelName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "displayRule" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "manufacturerModelName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "m" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "manufacturer" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "m.displayName" ]
                 ]
               ]
             ]
           ], [
             fhir:index 2 ;
             fhir:StructureMap.group.rule.name [ fhir:value "deviceName" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "playingDevice" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "softwareName" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "softwareName" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "device" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "deviceName" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "deviceName" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "typeName" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "other" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "name" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "softwareName" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "s" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "deviceName" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "name" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "s.displayName" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "participant device" ]
     ], [
       fhir:index 16 ;
       fhir:StructureMap.group.rule.name [ fhir:value "componentobservation" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "component" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "component" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "OBS" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "component" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "observation" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "observation" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "observationhasmember" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "observationhasmember" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid2" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Observation/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid2" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "hasMember" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Observation/' + %observationhasmember.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.dependent [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.dependent.name [ fhir:value "Observation" ] ;
           fhir:StructureMap.group.rule.dependent.variable [
             fhir:value "observation" ;
             fhir:index 0
           ], [
             fhir:value "patient" ;
             fhir:index 1
           ], [
             fhir:value "encounter" ;
             fhir:index 2
           ], [
             fhir:value "observationhasmember" ;
             fhir:index 3
           ], [
             fhir:value "bundle" ;
             fhir:index 4
           ]
         ]
       ]
     ], [
       fhir:index 17 ;
       fhir:StructureMap.group.rule.name [ fhir:value "componentorganizer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "component" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "component" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "organizer" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "component" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "organizer" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "organizer" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e1" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "observationorganizer" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "observationorganizer" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid3" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e1" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Observation/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid3" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "hasMember" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Observation/' + %observationorganizer.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "ORG" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "organizer" ]
           ] ;
           fhir:StructureMap.group.rule.dependent [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.dependent.name [ fhir:value "Organizer" ] ;
             fhir:StructureMap.group.rule.dependent.variable [
               fhir:value "cda" ;
               fhir:index 0
             ], [
               fhir:value "organizer" ;
               fhir:index 1
             ], [
               fhir:value "patient" ;
               fhir:index 2
             ], [
               fhir:value "encounter" ;
               fhir:index 3
             ], [
               fhir:value "observationorganizer" ;
               fhir:index 4
             ], [
               fhir:value "bundle" ;
               fhir:index 5
             ]
           ]
         ]
       ]
     ], [
       fhir:index 18 ;
       fhir:StructureMap.group.rule.name [ fhir:value "component" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "component" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "component" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "obsmedia" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "component" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "observationMedia" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "obsMedia" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "e15" ]
         ], [
           fhir:index 1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "BackboneElement" ]
           ]
         ], [
           fhir:index 2 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ], [
           fhir:index 3 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "media1" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Media" ]
           ]
         ], [
           fhir:index 4 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "uuid15" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "uuid" ]
         ], [
           fhir:index 5 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "e15" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "https://example/Media/" ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "uuid15" ]
           ]
         ], [
           fhir:index 6 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Media" ]
           ]
         ], [
           fhir:index 7 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "derivedFrom" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
           ]
         ], [
           fhir:index 8 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "'https://example/Media/' + %media1.id" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "Attachment" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "content" ] ;
             fhir:StructureMap.group.rule.target.variable [ fhir:value "Attachment" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Attachment" ]
             ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "status" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "media1" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
               fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
               fhir:StructureMap.group.rule.target.parameter [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unknown" ]
               ]
             ]
           ], [
             fhir:index 1 ;
             fhir:StructureMap.group.rule.name [ fhir:value "valuemedia" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "obsMedia" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "valueMedia" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "type" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "valueMedia" ] ;
                 fhir:StructureMap.group.rule.source.element [ fhir:value "mediaType" ] ;
                 fhir:StructureMap.group.rule.source.variable [ fhir:value "type" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "Attachment" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "contentType" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "type" ]
                 ]
               ]
             ], [
               fhir:index 1 ;
               fhir:StructureMap.group.rule.name [ fhir:value "data" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "valueMedia" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "Attachment" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "data" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "valueMedia.dataBase64Binary" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "observationMedia" ]
     ], [
       fhir:index 19 ;
       fhir:StructureMap.group.rule.name [ fhir:value "component" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "org" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "component" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "component" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.name [ fhir:value "componentact" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "component" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "act" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "act" ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.name [ fhir:value "text" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "act" ] ;
             fhir:StructureMap.group.rule.source.element [ fhir:value "text" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "text" ]
           ] ;
           fhir:StructureMap.group.rule.rule [
             fhir:index 0 ;
             fhir:StructureMap.group.rule.name [ fhir:value "note" ] ;
             fhir:StructureMap.group.rule.source [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.source.context [ fhir:value "text" ] ;
               fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source.variable [ fhir:value "reference" ]
             ] ;
             fhir:StructureMap.group.rule.target [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
               fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
               fhir:StructureMap.group.rule.target.element [ fhir:value "note" ] ;
               fhir:StructureMap.group.rule.target.variable [ fhir:value "note" ]
             ] ;
             fhir:StructureMap.group.rule.rule [
               fhir:index 0 ;
               fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
               fhir:StructureMap.group.rule.source [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.source.context [ fhir:value "reference" ]
               ] ;
               fhir:StructureMap.group.rule.target [
                 fhir:index 0 ;
                 fhir:StructureMap.group.rule.target.context [ fhir:value "note" ] ;
                 fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
                 fhir:StructureMap.group.rule.target.element [ fhir:value "text" ] ;
                 fhir:StructureMap.group.rule.target.transform [ fhir:value "evaluate" ] ;
                 fhir:StructureMap.group.rule.target.parameter [
                   fhir:index 0 ;
                   fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "reference.value" ]
                 ]
               ]
             ]
           ]
         ]
       ] ;
       fhir:StructureMap.group.rule.documentation [ fhir:value "note" ]
     ]
  ], [
     fhir:index 8 ;
     fhir:StructureMap.group.name [ fhir:value "ExtSubjectAnimal" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index 0 ;
       fhir:StructureMap.group.input.name [ fhir:value "src" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "relatedSubject" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.input.name [ fhir:value "ext" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Extension" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index 0 ;
       fhir:StructureMap.group.rule.name [ fhir:value "url" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/StructureDefinition/patient-animal" ]
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "code" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "code" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "extension" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "ext" ]
       ], [
         fhir:index 1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "species" ]
         ]
       ], [
         fhir:index 2 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "ext" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "code1" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index 0 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index 0 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "CECodeableConcept" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "code" ;
           fhir:index 0
         ], [
           fhir:value "code1" ;
           fhir:index 1
         ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/StructureMap/cda2fhirLabReport.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/StructureMap/cda2fhirLabReport.ttl> .