Patient resource (FHIR R4)
Patient is a FHIR R4 resource. The Pidgeon engine generates synthetic Patient instances and validates them against the R4 structure definitions.
| Resource | Patient |
|---|---|
| FHIR version | R4 (4.0.1) |
| Canonical URL | http://hl7.org/fhir/StructureDefinition/Patient |
| Required elements | none; every top-level element is optional (min 0) in base R4 |
| IG profiles in this catalog | 4 |
Example
{
"resourceType": "Patient",
"id": "patient-546cfad606fd5d5a484b1759514b8aff",
"meta": {
"versionId": "1",
"lastUpdated": "2026-07-01T12:00:00Z"
},
"identifier": [
{
"use": "usual",
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "MR",
"display": "Medical Record Number"
}
]
},
"system": "http://hospital.example.org/mrn",
"value": "L46A6EIB9J"
}
],
"active": true,
"name": [
{
"use": "official",
"family": "Fuentes",
"given": [
"Ola"
],
"text": "Fuentes, Ola"
}
],
"gender": "female",
"birthDate": "1983-08-28",
"telecom": [
{
"system": "phone",
"value": "(769)275-5693",
"use": "home"
}
],
"address": [
{
"use": "home",
"type": "physical",
"line": [
"6869 Canyon Pkwy"
],
"city": "Miami",
"state": "Oklahoma",
"postalCode": "02030",
"country": "USA"
}
]
}Generated by the Pidgeon engine: pidgeon generate Patient --seed 20260722.
Validation context
- strict pidgeon validate grades a Patient 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)
- strict Profile validation grades the same instance against an installed IG profile: profile cardinality findings carry FHIR-PROFILE-CARDINALITY and terminology binding findings carry FHIR-PROFILE-BINDING.(FHIR-PROFILE-CARDINALITY)
This answer, in your terminal
pidgeon lookup PatientWire it into your AI agent:
claude mcp add pidgeon -- npx -y @pidgeonhealth/mcpDownload Post free to browse this reference with generation attached.