Upload a custom FHIR profile
/fhir/profilesCreates a custom profile from a FHIR StructureDefinition supplied as a JSON object. Metadata such as version, resource type, and url is read from the StructureDefinition; the lowercase StructureDefinition id becomes the profile's lookup key. When id is omitted, a random UUID is assigned. Optionally group the profile under a named implementation guide.
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 created
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.