Update a custom FHIR profile
/fhir/profiles/{id}Replaces an existing custom profile with a new StructureDefinition. The
id path parameter is authoritative: if the StructureDefinition includes
an id it must match the path parameter, and if it omits one the path
parameter is used. The FHIR resource type of the profile cannot change.
When implementation_guide is omitted, the profile keeps its existing
implementation guide. A retained version string is allowed only when
re-submitting the profile's current version with an unchanged
StructureDefinition; otherwise it returns a conflict. While the profile
has retained versions, its
canonical URL cannot be changed.
Path parameters
The lowercase StructureDefinition id of the custom profile.
Body parameters
A FHIR StructureDefinition as a JSON object. Must include url, type, and a snapshot with elements. Metadata such as version, resource type, and url is read from the StructureDefinition itself. The lowercase id becomes the profile's lookup key; when omitted, a random UUID is assigned.
Implementation Guide name to group this profile under. On create, defaults to "custom" if omitted; on update, omitting it preserves the profile's current guide. Cannot be "us_core" (reserved). Use this to organize custom profiles into named IGs that can be referenced when calling create/multi or document/multi endpoints.
Profile successfully updated
Response fields
The lowercase StructureDefinition id, used as the profile's lookup key.
The profile's origin. Profile management responses return custom (uploaded) profiles, so this value is always "custom".
custombuiltinThe FHIR resource type from the StructureDefinition.
The canonical URL from the StructureDefinition.
The version from the StructureDefinition.version field.
The publication status from StructureDefinition.status. Expected FHIR values include draft, active, retired, and unknown; the server preserves authored strings.
The authored publication date from StructureDefinition.date, when present. This is a FHIR dateTime string and may be less precise than a full timestamp.
The canonical profile reference, including the version pin when present.
The base FHIR version the StructureDefinition targets.
The implementation guide the profile belongs to.
Last update timestamp for the profile's current StructureDefinition. For retained versions, this equals created_at.