Skip to content

StructureMap resource (FHIR R4)

StructureMap is the FHIR R4 resource for a Map of relationships between 2 structures that can be used to transform data.

ResourceStructureMap
FHIR versionR4 (4.0.1)
Canonical URLhttp://hl7.org/fhir/StructureDefinition/StructureMap
Required elementsurl (1..1), name (1..1), status (1..1), group (1..*)

Example

{
  "resourceType": "StructureMap",
  "id": "structuremap-1ec91d668546f30f71160b89a289260c",
  "url": "http://example.org/pidgeon/synthetic",
  "name": "Synthetic value",
  "status": "draft",
  "group": [
    {
      "name": "id18e4b2fc0608c7dae44d3f56d02dab54",
      "typeMode": "none",
      "input": [
        {
          "name": "idd054cdb0a22d0eb47c210069f28f6dd8",
          "mode": "source"
        }
      ],
      "rule": [
        {
          "name": "id48698db9aa70adb45ed4018d2f78e010",
          "source": [
            {
              "context": "id21fd90485164b84237ca4fc9a37d51ca"
            }
          ]
        }
      ]
    }
  ]
}

Generated by the Pidgeon engine: pidgeon generate StructureMap --seed 20260722.

Validation context

  • strict pidgeon validate grades a StructureMap instance against the base R4 structure definition: missing required elements raise REQUIRED_FIELD_MISSING and cardinality violations raise CARDINALITY_MIN or CARDINALITY_MAX.(REQUIRED_FIELD_MISSING)

This answer, in your terminal

pidgeon lookup StructureMap

Wire it into your AI agent:

claude mcp add pidgeon -- npx -y @pidgeonhealth/mcp

Download Post free to browse this reference with generation attached.

FHIR® R4 © Health Level Seven International. FHIR R4 specification content is used under its CC0 license; this page is a derivative work and is not endorsed by HL7 International.

HL7® and FHIR® are registered trademarks of Health Level Seven International.

Published by Pattern Engine LLC (Pidgeon Health).

Rendered from the same machine-readable definitions the Pidgeon engine validates against. Exported from the Pidgeon engine's FHIR R4 definitions (CC0); example generated with seed 20260722.