Substance resource (FHIR R4)
Substance is the FHIR R4 resource for a homogeneous material with a definite composition.
| Resource | Substance |
|---|---|
| FHIR version | R4 (4.0.1) |
| Canonical URL | http://hl7.org/fhir/StructureDefinition/Substance |
| Required elements | code (1..1) |
Example
{
"resourceType": "Substance",
"id": "substance-375a2a0e07aac99d2ae37bdba7332426",
"code": {
"text": "Synthetic value"
}
}Generated by the Pidgeon engine: pidgeon generate Substance --seed 20260722.
Validation context
- strict pidgeon validate grades a Substance 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 SubstanceWire it into your AI agent:
claude mcp add pidgeon -- npx -y @pidgeonhealth/mcpDownload Post free to browse this reference with generation attached.