MyStructureMap
type: StructureMap
node role: treeRoot
id:
  v: MyStructureMap
text:
  status:
    v: generated
  div: Generated Narrative: StructureMap MyStructureMap map "http://example.org/fhir/StructureMap/MyStructureMap" = "MyStructureMap" // Maps fields from PatientLM (a logical model) to FHIR Patient resource. uses "http://example.org/fhir/StructureDefinition/PatientSummaryHeaderType" alias src as source uses "http://hl7.org/fhir/StructureDefinition/Patient" alias tgt as target group PatientMapping(source src : patientId, target tgt : identifier) { src.patientId -> tgt.identifier = copy(); }
url:
  v: http://example.org/fhir/StructureMap/MyStructureMap
version:
  v: 0.1.0
name:
  v: MyStructureMap
title:
  v: Map from Patient Logical Model to FHIR Patient
status:
  v: active
date:
  v: 2025-05-21T13:18:11+02:00
publisher:
  v: Inera AB
contact:
  name:
    v: Inera AB
  telecom:
    system:
      v: url
    value:
      v: http://inera.se
description:
  v: Maps fields from PatientLM (a logical model) to FHIR Patient resource.
structure:
  url:
    v: http://example.org/fhir/StructureDefinition/PatientSummaryHeaderType
    link: http://example.org/fhir/StructureDefinition/PatientSummaryHeaderType
  mode:
    v: source
  alias:
    v: src
structure:
  url:
    v: http://hl7.org/fhir/StructureDefinition/Patient
    link: http://hl7.org/fhir/StructureDefinition/Patient
  mode:
    v: target
  alias:
    v: tgt
group:
  name:
    v: PatientMapping
  type mode:
    v: none
  input:
    name:
      v: src
    type:
      v: patientId
    mode:
      v: source
  input:
    name:
      v: tgt
    type:
      v: identifier
    mode:
      v: target
  rule:
    name:
      v: patientId
    source:
      context:
        v: src
      element:
        v: patientId
    target:
      context:
        v: tgt
      context type:
        v: variable
      element:
        v: identifier
      transform:
        v: copy