Starter FHIR Implementation Guide
1.0.1 - draft International flag

Starter FHIR Implementation Guide, published by Jembi Health Systems. This guide is not an authorized publication; it is the continuous build for version 1.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/jembi/Starter-FHIR-IG/ and changes regularly. See the Directory of published versions

: Map Breastfeeding Proprietary Structure to an Observation - JSON Representation

Draft as of 2024-11-17

Raw json | Download

{
  "resourceType" : "StructureMap",
  "id" : "ProprietaryBreastfeedingStatusToObservation",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureMap ProprietaryBreastfeedingStatusToObservation</b></p><a name=\"ProprietaryBreastfeedingStatusToObservation\"> </a><a name=\"hcProprietaryBreastfeedingStatusToObservation\"> </a><a name=\"ProprietaryBreastfeedingStatusToObservation-en-US\"> </a><pre class=\"fml\">\r\n<b>map</b><span style=\"color: navy\"> &quot;</span>http://jembi.org/fhir/StructureMap/ProprietaryBreastfeedingStatusToObservation<span style=\"color: navy\">&quot; = &quot;</span>ProprietaryBreastfeedingStatusToObservation<span style=\"color: navy\">&quot;\r\n\r\n</span><b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-BreastfeedingStatusProprietaryLogicalModel.html\" title=\"Breastfeeding Status Proprietary Logical Model\">http://jembi.org/fhir/StructureDefinition/BreastfeedingStatusProprietaryLogicalModel</a><span style=\"color: navy\">&quot; </span><b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span><a href=\"StructureDefinition-breastfeeding-status-observation.html\" title=\"Observation - Breastfeeding Status\">http://jembi.org/fhir/StructureDefinition/breastfeeding-status-observation</a><span style=\"color: navy\">&quot; </span><b>as </b><b>target</b>\r\n\r\n<b>group </b>ProprietaryBreastfeedingStatusToObservation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>BreastfeedingStatusProprietaryLogicalModel, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>Observation<span style=\"color: navy\">)</span><span style=\"color: navy\"> {\r\n</span>  src<span style=\"color: navy\"><b> -&gt; </b></span>tgt.id = <b>uuid</b><span style=\"color: navy\">(</span><span style=\"color: navy\">)</span> <i>&quot;SetObservationId&quot;</i><span style=\"color: navy\">;</span>\r\n  src<span style=\"color: navy\"><b> -&gt; </b></span>tgt.meta<b> as </b><span style=\"color: maroon\">meta</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    src<span style=\"color: navy\"><b> -&gt; </b></span>meta.profile = <span style=\"color: blue\">'http://jembi.org/fhir/StructureDefinition/breastfeeding-status-observation'</span> <i>&quot;SetObservationMetaProfile&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;SetObservationMeta&quot;</i><span style=\"color: navy\">;</span>\r\n  src.observationStatus<b> as </b><span style=\"color: maroon\">status</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: maroon\">status</span> <i>&quot;SetObservationStatus&quot;</i><span style=\"color: navy\">;</span>\r\n  src.code<b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.code = <b>cc</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://loinc.org'</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">code</span><span style=\"color: navy\">)</span> <i>&quot;SetObservationCode&quot;</i><span style=\"color: navy\">;</span>\r\n  src<span style=\"color: navy\"><b> -&gt; </b></span> tgt.code<b> as </b><span style=\"color: maroon\">code</span><span style=\"color: navy\">, </span> code.text = <span style=\"color: blue\">'Breastfeeding status'</span> <i>&quot;SetObservationCodeText&quot;</i><span style=\"color: navy\">;</span>\r\n  src.date<b> as </b><span style=\"color: maroon\">authored</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.effective = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'dateTime'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">obsDate</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    authored<span style=\"color: navy\"><b> -&gt; </b></span>obsDate.value = <span style=\"color: maroon\">authored</span> <i>&quot;SetObservationEffectiveDateTime&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n  src<span style=\"color: navy\"><b> -&gt; </b></span>tgt.category = <b>cc</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'http://terminology.hl7.org/CodeSystem/observation-category'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'exam'</span><span style=\"color: navy\">)</span> <i>&quot;SetObservationCategory&quot;</i><span style=\"color: navy\">;</span>\r\n  src.patient<b> as </b><span style=\"color: maroon\">patient</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.subject<b> as </b><span style=\"color: maroon\">subject</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    patient<span style=\"color: navy\"><b> -&gt; </b></span>subject.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Patient/'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Some FHIR ID generated at the time of CREATE'</span><span style=\"color: navy\">)</span> <i>&quot;SetPatientReference&quot;</i><span style=\"color: navy\">;</span>\r\n    patient<span style=\"color: navy\"><b> -&gt; </b></span>subject.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then</b><span style=\"color: navy\"> {\r\n</span>      patient<span style=\"color: navy\"><b> -&gt; </b></span>ext.value = <span style=\"color: maroon\">patient</span> <i>&quot;SetOriginalPatientReferenceValue&quot;</i><span style=\"color: navy\">;</span>\r\n      patient<span style=\"color: navy\"><b> -&gt; </b></span>ext.url = <span style=\"color: blue\">'http://jembi.org/fhir/StructureDefinition/source-system-resource-reference'</span> <i>&quot;SetOriginalPatientReferenceUrl&quot;</i><span style=\"color: navy\">;</span>\r\n    <span style=\"color: navy\">}</span> <i>&quot;ProcessPatientReferenceExtension&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;SetObservationPatientReference&quot;</i><span style=\"color: navy\">;</span>\r\n  src.performer<b> as </b><span style=\"color: maroon\">author</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.performer<b> as </b><span style=\"color: maroon\">practitioner</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    author<span style=\"color: navy\"><b> -&gt; </b></span>practitioner.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Practitioner/'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Some FHIR ID generated at the time of CREATE'</span><span style=\"color: navy\">)</span> <i>&quot;ProcessPerformerReference&quot;</i><span style=\"color: navy\">;</span>\r\n    author<span style=\"color: navy\"><b> -&gt; </b></span>practitioner.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then</b><span style=\"color: navy\"> {\r\n</span>      author<span style=\"color: navy\"><b> -&gt; </b></span>ext.value = <span style=\"color: maroon\">author</span> <i>&quot;SetOriginalPractitionerReferenceValue&quot;</i><span style=\"color: navy\">;</span>\r\n      author<span style=\"color: navy\"><b> -&gt; </b></span>ext.url = <span style=\"color: blue\">'http://jembi.org/fhir/StructureDefinition/source-system-resource-reference'</span> <i>&quot;SetOriginalPractitionerReferenceUrl&quot;</i><span style=\"color: navy\">;</span>\r\n    <span style=\"color: navy\">}</span> <i>&quot;ProcessPractitionerReferenceExtension&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;SetObservationPerformerReference&quot;</i><span style=\"color: navy\">;</span>\r\n  src.encounter<b> as </b><span style=\"color: maroon\">encounter</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.encounter<b> as </b><span style=\"color: maroon\">enc</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    encounter<span style=\"color: navy\"><b> -&gt; </b></span>enc.reference = <b>append</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Encounter/'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'Some FHIR ID generated at the time of CREATE'</span><span style=\"color: navy\">)</span> <i>&quot;ProcessEncounterReference&quot;</i><span style=\"color: navy\">;</span>\r\n    encounter<span style=\"color: navy\"><b> -&gt; </b></span>enc.extension<b> as </b><span style=\"color: maroon\">ext</span><b> then</b><span style=\"color: navy\"> {\r\n</span>      encounter<span style=\"color: navy\"><b> -&gt; </b></span>ext.value = <span style=\"color: maroon\">encounter</span> <i>&quot;SetOriginalEncounterReferenceValue&quot;</i><span style=\"color: navy\">;</span>\r\n      encounter<span style=\"color: navy\"><b> -&gt; </b></span>ext.url = <span style=\"color: blue\">'http://jembi.org/fhir/StructureDefinition/source-system-resource-reference'</span> <i>&quot;SetOriginalEncounterReferenceUrl&quot;</i><span style=\"color: navy\">;</span>\r\n    <span style=\"color: navy\">}</span> <i>&quot;ProcessEncounterReferenceExtension&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span> <i>&quot;SetObservationEncounterReference&quot;</i><span style=\"color: navy\">;</span>\r\n  src.breastFeedingStatus<b> as </b><span style=\"color: maroon\">breastfeeding</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.value = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'CodeableConcept'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">obsValue</span><b> then</b><span style=\"color: navy\"> {\r\n</span>    breastfeeding<span style=\"color: navy\"><b> -&gt; </b></span>obsValue.coding = <b>create</b><span style=\"color: navy\">(</span><span style=\"color: blue\">'Coding'</span><span style=\"color: navy\">)</span><b> as </b><span style=\"color: maroon\">coding</span><b> then</b><span style=\"color: navy\"> {\r\n</span>      breastfeeding<span style=\"color: navy\"><b> -&gt; </b></span>coding.system = <span style=\"color: blue\">'http://loinc.org'</span> <i>&quot;SetObservationValueCodingSystem&quot;</i><span style=\"color: navy\">;</span>\r\n      breastfeeding<span style=\"color: navy\"><b> -&gt; </b></span>coding.code = <span style=\"color: maroon\">breastfeeding</span> <i>&quot;SetObservationValueCodingCode&quot;</i><span style=\"color: navy\">;</span>\r\n    <span style=\"color: navy\">}</span> <i>&quot;SetObservationValueCoding&quot;</i><span style=\"color: navy\">;</span>\r\n  <span style=\"color: navy\">}</span><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "url" : "http://jembi.org/fhir/StructureMap/ProprietaryBreastfeedingStatusToObservation",
  "version" : "1.0.1",
  "name" : "ProprietaryBreastfeedingStatusToObservation",
  "status" : "draft",
  "date" : "2024-11-17T13:26:33+00:00",
  "publisher" : "Jembi Health Systems",
  "contact" : [
    {
      "name" : "Jembi Health Systems",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.jembi.org/"
        },
        {
          "system" : "email",
          "value" : "info@jembi.org"
        }
      ]
    },
    {
      "name" : "Richard Langford",
      "telecom" : [
        {
          "system" : "email",
          "value" : "richard.langford@jembi.org",
          "use" : "work"
        }
      ]
    }
  ],
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001",
          "display" : "World"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://jembi.org/fhir/StructureDefinition/BreastfeedingStatusProprietaryLogicalModel",
      "mode" : "source"
    },
    {
      "url" : "http://jembi.org/fhir/StructureDefinition/breastfeeding-status-observation",
      "mode" : "target"
    }
  ],
  "group" : [
    {
      "name" : "ProprietaryBreastfeedingStatusToObservation",
      "typeMode" : "none",
      "input" : [
        {
          "name" : "src",
          "type" : "BreastfeedingStatusProprietaryLogicalModel",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "Observation",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "SetObservationId",
          "source" : [
            {
              "context" : "src"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "id",
              "transform" : "uuid"
            }
          ]
        },
        {
          "name" : "SetObservationMeta",
          "source" : [
            {
              "context" : "src"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "meta",
              "variable" : "meta"
            }
          ],
          "rule" : [
            {
              "name" : "SetObservationMetaProfile",
              "source" : [
                {
                  "context" : "src"
                }
              ],
              "target" : [
                {
                  "context" : "meta",
                  "contextType" : "variable",
                  "element" : "profile",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueString" : "http://jembi.org/fhir/StructureDefinition/breastfeeding-status-observation"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "SetObservationStatus",
          "source" : [
            {
              "context" : "src",
              "element" : "observationStatus",
              "variable" : "status"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "status",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueId" : "status"
                }
              ]
            }
          ]
        },
        {
          "name" : "SetObservationCode",
          "source" : [
            {
              "context" : "src",
              "element" : "code",
              "variable" : "code"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "code",
              "transform" : "cc",
              "parameter" : [
                {
                  "valueString" : "http://loinc.org"
                },
                {
                  "valueId" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "SetObservationCodeText",
          "source" : [
            {
              "context" : "src"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "code",
              "variable" : "code"
            },
            {
              "context" : "code",
              "contextType" : "variable",
              "element" : "text",
              "transform" : "copy",
              "parameter" : [
                {
                  "valueString" : "Breastfeeding status"
                }
              ]
            }
          ]
        },
        {
          "name" : "date",
          "source" : [
            {
              "context" : "src",
              "element" : "date",
              "variable" : "authored"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "effective",
              "variable" : "obsDate",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "dateTime"
                }
              ]
            }
          ],
          "rule" : [
            {
              "name" : "SetObservationEffectiveDateTime",
              "source" : [
                {
                  "context" : "authored"
                }
              ],
              "target" : [
                {
                  "context" : "obsDate",
                  "contextType" : "variable",
                  "element" : "value",
                  "transform" : "copy",
                  "parameter" : [
                    {
                      "valueId" : "authored"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "SetObservationCategory",
          "source" : [
            {
              "context" : "src"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "category",
              "transform" : "cc",
              "parameter" : [
                {
                  "valueString" : "http://terminology.hl7.org/CodeSystem/observation-category"
                },
                {
                  "valueString" : "exam"
                }
              ]
            }
          ]
        },
        {
          "name" : "SetObservationPatientReference",
          "source" : [
            {
              "context" : "src",
              "element" : "patient",
              "variable" : "patient"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "subject",
              "variable" : "subject"
            }
          ],
          "rule" : [
            {
              "name" : "SetPatientReference",
              "source" : [
                {
                  "context" : "patient"
                }
              ],
              "target" : [
                {
                  "context" : "subject",
                  "contextType" : "variable",
                  "element" : "reference",
                  "transform" : "append",
                  "parameter" : [
                    {
                      "valueString" : "Patient/"
                    },
                    {
                      "valueString" : "Some FHIR ID generated at the time of CREATE"
                    }
                  ]
                }
              ]
            },
            {
              "name" : "ProcessPatientReferenceExtension",
              "source" : [
                {
                  "context" : "patient"
                }
              ],
              "target" : [
                {
                  "context" : "subject",
                  "contextType" : "variable",
                  "element" : "extension",
                  "variable" : "ext"
                }
              ],
              "rule" : [
                {
                  "name" : "SetOriginalPatientReferenceValue",
                  "source" : [
                    {
                      "context" : "patient"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "ext",
                      "contextType" : "variable",
                      "element" : "value",
                      "transform" : "copy",
                      "parameter" : [
                        {
                          "valueId" : "patient"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name" : "SetOriginalPatientReferenceUrl",
                  "source" : [
                    {
                      "context" : "patient"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "ext",
                      "contextType" : "variable",
                      "element" : "url",
                      "transform" : "copy",
                      "parameter" : [
                        {
                          "valueString" : "http://jembi.org/fhir/StructureDefinition/source-system-resource-reference"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "SetObservationPerformerReference",
          "source" : [
            {
              "context" : "src",
              "element" : "performer",
              "variable" : "author"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "performer",
              "variable" : "practitioner"
            }
          ],
          "rule" : [
            {
              "name" : "ProcessPerformerReference",
              "source" : [
                {
                  "context" : "author"
                }
              ],
              "target" : [
                {
                  "context" : "practitioner",
                  "contextType" : "variable",
                  "element" : "reference",
                  "transform" : "append",
                  "parameter" : [
                    {
                      "valueString" : "Practitioner/"
                    },
                    {
                      "valueString" : "Some FHIR ID generated at the time of CREATE"
                    }
                  ]
                }
              ]
            },
            {
              "name" : "ProcessPractitionerReferenceExtension",
              "source" : [
                {
                  "context" : "author"
                }
              ],
              "target" : [
                {
                  "context" : "practitioner",
                  "contextType" : "variable",
                  "element" : "extension",
                  "variable" : "ext"
                }
              ],
              "rule" : [
                {
                  "name" : "SetOriginalPractitionerReferenceValue",
                  "source" : [
                    {
                      "context" : "author"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "ext",
                      "contextType" : "variable",
                      "element" : "value",
                      "transform" : "copy",
                      "parameter" : [
                        {
                          "valueId" : "author"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name" : "SetOriginalPractitionerReferenceUrl",
                  "source" : [
                    {
                      "context" : "author"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "ext",
                      "contextType" : "variable",
                      "element" : "url",
                      "transform" : "copy",
                      "parameter" : [
                        {
                          "valueString" : "http://jembi.org/fhir/StructureDefinition/source-system-resource-reference"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "SetObservationEncounterReference",
          "source" : [
            {
              "context" : "src",
              "element" : "encounter",
              "variable" : "encounter"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "encounter",
              "variable" : "enc"
            }
          ],
          "rule" : [
            {
              "name" : "ProcessEncounterReference",
              "source" : [
                {
                  "context" : "encounter"
                }
              ],
              "target" : [
                {
                  "context" : "enc",
                  "contextType" : "variable",
                  "element" : "reference",
                  "transform" : "append",
                  "parameter" : [
                    {
                      "valueString" : "Encounter/"
                    },
                    {
                      "valueString" : "Some FHIR ID generated at the time of CREATE"
                    }
                  ]
                }
              ]
            },
            {
              "name" : "ProcessEncounterReferenceExtension",
              "source" : [
                {
                  "context" : "encounter"
                }
              ],
              "target" : [
                {
                  "context" : "enc",
                  "contextType" : "variable",
                  "element" : "extension",
                  "variable" : "ext"
                }
              ],
              "rule" : [
                {
                  "name" : "SetOriginalEncounterReferenceValue",
                  "source" : [
                    {
                      "context" : "encounter"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "ext",
                      "contextType" : "variable",
                      "element" : "value",
                      "transform" : "copy",
                      "parameter" : [
                        {
                          "valueId" : "encounter"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name" : "SetOriginalEncounterReferenceUrl",
                  "source" : [
                    {
                      "context" : "encounter"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "ext",
                      "contextType" : "variable",
                      "element" : "url",
                      "transform" : "copy",
                      "parameter" : [
                        {
                          "valueString" : "http://jembi.org/fhir/StructureDefinition/source-system-resource-reference"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "name" : "breastFeedingStatus",
          "source" : [
            {
              "context" : "src",
              "element" : "breastFeedingStatus",
              "variable" : "breastfeeding"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "contextType" : "variable",
              "element" : "value",
              "variable" : "obsValue",
              "transform" : "create",
              "parameter" : [
                {
                  "valueString" : "CodeableConcept"
                }
              ]
            }
          ],
          "rule" : [
            {
              "name" : "SetObservationValueCoding",
              "source" : [
                {
                  "context" : "breastfeeding"
                }
              ],
              "target" : [
                {
                  "context" : "obsValue",
                  "contextType" : "variable",
                  "element" : "coding",
                  "variable" : "coding",
                  "transform" : "create",
                  "parameter" : [
                    {
                      "valueString" : "Coding"
                    }
                  ]
                }
              ],
              "rule" : [
                {
                  "name" : "SetObservationValueCodingSystem",
                  "source" : [
                    {
                      "context" : "breastfeeding"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "coding",
                      "contextType" : "variable",
                      "element" : "system",
                      "transform" : "copy",
                      "parameter" : [
                        {
                          "valueString" : "http://loinc.org"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name" : "SetObservationValueCodingCode",
                  "source" : [
                    {
                      "context" : "breastfeeding"
                    }
                  ],
                  "target" : [
                    {
                      "context" : "coding",
                      "contextType" : "variable",
                      "element" : "code",
                      "transform" : "copy",
                      "parameter" : [
                        {
                          "valueId" : "breastfeeding"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}