post
https://{instanceUrl}/lang2fhir/profile/upload
Upload a custom FHIR StructureDefinition profile for use with the lang2fhir service.
All metadata is derived from the StructureDefinition JSON itself. The lowercase id field
from the StructureDefinition is used as the profile's unique identifier and lookup key.
To use the uploaded profile with /lang2fhir/create, pass this id as the resource parameter.
Uploads will be rejected if:
- A built-in US Core or R4 base profile already exists with the same id
- A custom profile with the same id has already been uploaded
- A custom profile with the same url has already been uploaded
400Invalid request or profile validation failed. Possible reasons:
- Missing or invalid StructureDefinition JSON
- Missing required fields (id, url, type, snapshot with elements)
- A built-in US Core or R4 base profile exists with the same id
- A custom profile with the same id or url already exists
401Unauthorized
403Forbidden - requires develop or launch tier access
500Server error
