{
  "resourceType" : "StructureMap",
  "id" : "StructureMapPatientED",
  "meta" : {
    "lastUpdated" : "2025-07-23T16:00:00Z",
    "profile" : ["https://fhir.by/StructureDefinition/StructureMapBy"]
  },
  "url" : "https://fhir.by/StructureMap/StructureMapPatientED",
  "version" : "0.2.6803",
  "name" : "Маппинг Пациента для ВН",
  "status" : "draft",
  "date" : "2025-07-23",
  "publisher" : "fhir.by",
  "contact" : [{
    "name" : "fhir.by",
    "telecom" : [{
      "system" : "url",
      "value" : "https://fhir.by"
    }]
  }],
  "description" : "Пробный маппинг для пациента в контексте ВН",
  "structure" : [{
    "url" : "https://fhir.by/StructureDefinition/PatientWithIdentificationNumber",
    "mode" : "source"
  },
  {
    "url" : "https://fhir.by/StructureDefinition/PatientED",
    "mode" : "target"
  }],
  "group" : [{
    "name" : "main",
    "input" : [{
      "name" : "target",
      "type" : "PatientED",
      "mode" : "target"
    }],
    "rule" : [{
      "name" : "link",
      "source" : [{
        "context" : "source",
        "element" : "id",
        "variable" : "reference"
      }],
      "target" : [{
        "context" : "source",
        "element" : "link.other.reference",
        "transform" : "copy",
        "parameter" : [{
          "valueString" : "'reference'"
        }]
      }]
    }]
  }]
}