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.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Invalid request or profile validation failed. Possible reasons:
- Missing or invalid StructureDefinition JSON
- The StructureDefinition id does not match the id path parameter
- The resource type differs from the existing profile
- The url collides with a built-in profile or another custom profile
- The implementation_guide is reserved or invalid
401Unauthorized
403Forbidden - custom profiles are only available on dedicated instances
404Profile not found
409Conflict. Possible reasons:
- The requested StructureDefinition.version is already used by a retained version and this is not an unchanged re-submission of the profile's current version
- The profile has retained versions and the request changes its canonical URL
500Server error
