FHIR Extensions Pack
5.1.0 - 5.1.0 (April 2024) International flag

This page is part of the FHIR Core Extensions Registry (v5.1.0: Release 5.1) based on FHIR (HL7® FHIR® Standard) v5.0.0. This is the current published version. For a full list of available versions, see the Directory of published versions

: FML Conversion for MedicinalProductDefinition: R5 to R4 - JSON Representation

Page standards status: Trial-use Maturity Level: 1

Raw json | Download


{
  "resourceType" : "StructureMap",
  "id" : "MedicinalProductDefinition5to4",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/MedicinalProductDefinition5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'MedicinalProductDefinition5to4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'FML Conversion for MedicinalProductDefinition: R5 to R4'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R5/medicinalproductdefinition.html\" title=\"MedicinalProductDefinition\">http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition</a><span style=\"color: navy\">&quot; </span><b>alias </b>MedicinalProductDefinitionR5 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"http://hl7.org/fhir/R4/medicinalproduct.html\" title=\"MedicinalProduct\">http://hl7.org/fhir/4.0/StructureDefinition/MedicinalProduct</a><span style=\"color: navy\">&quot; </span><b>alias </b>MedicinalProductR4 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*5to4<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>MedicinalProductDefinition<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>MedicinalProductDefinitionR5, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>MedicinalProductR4<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span>  src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n  src.type<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n  src.domain<span style=\"color: navy\"><b> -&gt; </b></span>tgt.domain<span style=\"color: navy\">;</span>\r\n  src.combinedPharmaceuticalDoseForm<span style=\"color: navy\"><b> -&gt; </b></span>tgt.combinedPharmaceuticalDoseForm<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.version -&gt; tgt.version;</span>\r\n  src.legalStatusOfSupply<span style=\"color: navy\"><b> -&gt; </b></span>tgt.legalStatusOfSupply<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.route -&gt; tgt.route;</span>\r\n  src.additionalMonitoringIndicator<span style=\"color: navy\"><b> -&gt; </b></span>tgt.additionalMonitoringIndicator<span style=\"color: navy\">;</span>\r\n  src.specialMeasures<span style=\"color: navy\"><b> -&gt; </b></span>tgt.specialMeasures<span style=\"color: navy\">;</span>\r\n  src.pediatricUseIndicator<span style=\"color: navy\"><b> -&gt; </b></span>tgt.paediatricUseIndicator<span style=\"color: navy\">;</span>\r\n  src.classification<span style=\"color: navy\"><b> -&gt; </b></span>tgt.productClassification<span style=\"color: navy\">;</span>\r\n  src.marketingStatus<span style=\"color: navy\"><b> -&gt; </b></span>tgt.marketingStatus<span style=\"color: navy\">;</span>\r\n  src.attachedDocument<span style=\"color: navy\"><b> -&gt; </b></span>tgt.attachedDocument<span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.packagedMedicinalProduct -&gt; tgt.packagedMedicinalProduct;</span>\r\n  src.masterFile<span style=\"color: navy\"><b> -&gt; </b></span>tgt.masterFile<span style=\"color: navy\">;</span>\r\n  src.contact<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.contact = <span style=\"color: maroon\">s.contact</span><span style=\"color: navy\">;</span>\r\n  src.clinicalTrial<span style=\"color: navy\"><b> -&gt; </b></span>tgt.clinicalTrial<span style=\"color: navy\">;</span>\r\n  src.name<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.name<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicinalProductDefinitionName<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.code -&gt; tgt.code;</span>\r\n  src.operation<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.manufacturingBusinessOperation<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicinalProductDefinitionOperation<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.crossReference as s -&gt; tgt.crossReference as t then MedicinalProductDefinitionCrossReference(s,t);</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group MedicinalProductDefinitionContact(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -&gt; tgt.type;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.contact -&gt; tgt.contact;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>MedicinalProductDefinitionName<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.productName<span style=\"color: navy\"><b> -&gt; </b></span>tgt.productName<span style=\"color: navy\">;</span>\r\n  src.part<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.namePart<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicinalProductDefinitionNamePart<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span> <span style=\"color: navy\">// </span><span style=\"color: green\">src.type -&gt; tgt.type;</span>\r\n  src.usage<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.countryLanguage<b> as </b><span style=\"color: maroon\">t</span><b> then </b>MedicinalProductDefinitionNameUsage<span style=\"color: navy\">(</span><span style=\"color: maroon\">s</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">t</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MedicinalProductDefinitionNamePart<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.part<span style=\"color: navy\"><b> -&gt; </b></span>tgt.part<span style=\"color: navy\">;</span>\r\n  src.type<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>MedicinalProductDefinitionNameUsage<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.country<span style=\"color: navy\"><b> -&gt; </b></span>tgt.country<span style=\"color: navy\">;</span>\r\n  src.jurisdiction<span style=\"color: navy\"><b> -&gt; </b></span>tgt.jurisdiction<span style=\"color: navy\">;</span>\r\n  src.language<span style=\"color: navy\"><b> -&gt; </b></span>tgt.language<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><span style=\"color: navy\">// </span><span style=\"color: green\">group MedicinalProductDefinitionCrossReference(source src, target tgt) extends BackboneElement {</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.product -&gt; tgt.product;</span>\r\n<span style=\"color: #b36b00\" title=\"This element was not defined prior to R5\">// src.type -&gt; tgt.type;</span>\r\n<span style=\"color: navy\">// </span><span style=\"color: green\">}</span>\r\n<b>group </b>MedicinalProductDefinitionOperation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span>  src.type<span style=\"color: navy\"><b> -&gt; </b></span>tgt.operationType<span style=\"color: navy\">;</span>\r\n  src.effectiveDate<span style=\"color: navy\"> : </span>Period<b> as </b><span style=\"color: maroon\">s</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.effectiveDate = <span style=\"color: maroon\">s.start</span><span style=\"color: navy\">;</span>\r\n  src.organization<span style=\"color: navy\"><b> -&gt; </b></span>tgt.manufacturer<span style=\"color: navy\">;</span>\r\n  src.confidentialityIndicator<span style=\"color: navy\"><b> -&gt; </b></span>tgt.confidentialityIndicator<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "trial-use",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.extensions"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/MedicinalProductDefinition5to4",
  "version" : "5.1.0",
  "name" : "MedicinalProductDefinition5to4",
  "title" : "FML Conversion for MedicinalProductDefinition: R5 to R4",
  "status" : "active",
  "date" : "2024-04-27T18:54:50+10:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "FMLConversionforMedicinalProductDefinitionR5toR4",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/MedicinalProductDefinition",
      "mode" : "source",
      "alias" : "MedicinalProductDefinitionR5"
    },
    {
      "url" : "http://hl7.org/fhir/4.0/StructureDefinition/MedicinalProduct",
      "mode" : "target",
      "alias" : "MedicinalProductR4"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*5to4"
  ],
  "group" : [
    {
      "name" : "MedicinalProductDefinition",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "MedicinalProductDefinitionR5",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "MedicinalProductR4",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "type",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "domain",
          "source" : [
            {
              "context" : "src",
              "element" : "domain",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "domain",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "combinedPharmaceuticalDoseForm",
          "source" : [
            {
              "context" : "src",
              "element" : "combinedPharmaceuticalDoseForm",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "combinedPharmaceuticalDoseForm",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.version -> tgt.version;"
        },
        {
          "name" : "legalStatusOfSupply",
          "source" : [
            {
              "context" : "src",
              "element" : "legalStatusOfSupply",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "legalStatusOfSupply",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.route -> tgt.route;"
        },
        {
          "name" : "additionalMonitoringIndicator",
          "source" : [
            {
              "context" : "src",
              "element" : "additionalMonitoringIndicator",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "additionalMonitoringIndicator",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "specialMeasures",
          "source" : [
            {
              "context" : "src",
              "element" : "specialMeasures",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "specialMeasures",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "pediatricUseIndicator",
          "source" : [
            {
              "context" : "src",
              "element" : "pediatricUseIndicator",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "paediatricUseIndicator",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "classification",
          "source" : [
            {
              "context" : "src",
              "element" : "classification",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "productClassification",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "marketingStatus",
          "source" : [
            {
              "context" : "src",
              "element" : "marketingStatus",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "marketingStatus",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "attachedDocument",
          "source" : [
            {
              "context" : "src",
              "element" : "attachedDocument",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "attachedDocument",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ],
          "documentation" : "src.packagedMedicinalProduct -> tgt.packagedMedicinalProduct;"
        },
        {
          "name" : "masterFile",
          "source" : [
            {
              "context" : "src",
              "element" : "masterFile",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "masterFile",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "contact",
          "source" : [
            {
              "context" : "src",
              "element" : "contact",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "contact",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s.contact"
                }
              ]
            }
          ]
        },
        {
          "name" : "clinicalTrial",
          "source" : [
            {
              "context" : "src",
              "element" : "clinicalTrial",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "clinicalTrial",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "name",
          "source" : [
            {
              "context" : "src",
              "element" : "name",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "name",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "MedicinalProductDefinitionName",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ],
          "documentation" : "src.code -> tgt.code;"
        },
        {
          "name" : "operation",
          "source" : [
            {
              "context" : "src",
              "element" : "operation",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "manufacturingBusinessOperation",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "MedicinalProductDefinitionOperation",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ],
          "documentation" : "src.crossReference as s -> tgt.crossReference as t then MedicinalProductDefinitionCrossReference(s,t);"
        }
      ]
    },
    {
      "name" : "MedicinalProductDefinitionName",
      "extends" : "BackboneElement",
      "documentation" : "group MedicinalProductDefinitionContact(source src, target tgt) extends BackboneElement {\r\nsrc.type -> tgt.type;\r\nsrc.contact -> tgt.contact;\r\n}",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "productName",
          "source" : [
            {
              "context" : "src",
              "element" : "productName",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "productName",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "part",
          "source" : [
            {
              "context" : "src",
              "element" : "part",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "namePart",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "MedicinalProductDefinitionNamePart",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ],
          "documentation" : "src.type -> tgt.type;"
        },
        {
          "name" : "usage",
          "source" : [
            {
              "context" : "src",
              "element" : "usage",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "countryLanguage",
              "variable" : "t"
            }
          ],
          "dependent" : [
            {
              "name" : "MedicinalProductDefinitionNameUsage",
              "parameter" : [
                {
                  "valueId" : "s"
                },
                {
                  "valueId" : "t"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "MedicinalProductDefinitionNamePart",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "part",
          "source" : [
            {
              "context" : "src",
              "element" : "part",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "part",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "type",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "MedicinalProductDefinitionNameUsage",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "country",
          "source" : [
            {
              "context" : "src",
              "element" : "country",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "country",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "jurisdiction",
          "source" : [
            {
              "context" : "src",
              "element" : "jurisdiction",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "jurisdiction",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "language",
          "source" : [
            {
              "context" : "src",
              "element" : "language",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "language",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "MedicinalProductDefinitionOperation",
      "extends" : "BackboneElement",
      "documentation" : "group MedicinalProductDefinitionCrossReference(source src, target tgt) extends BackboneElement {\r\nsrc.product -> tgt.product;\r\nsrc.type -> tgt.type;\r\n}",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "operationType",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "effectiveDatePeriod",
          "source" : [
            {
              "context" : "src",
              "type" : "Period",
              "element" : "effectiveDate",
              "variable" : "s"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "effectiveDate",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "s.start"
                }
              ]
            }
          ]
        },
        {
          "name" : "organization",
          "source" : [
            {
              "context" : "src",
              "element" : "organization",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "manufacturer",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "confidentialityIndicator",
          "source" : [
            {
              "context" : "src",
              "element" : "confidentialityIndicator",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "confidentialityIndicator",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}