Add Custom Code
Changed onAdd a user-defined custom code to a configuration.
Args: configuration_id (UUID): The ID of the configuration to update. body (AddCustomCodeInput): The custom code information provided by the user. user (dict[str, Any]): The logged-in user. db (AsyncDatabaseConnection): The database connection.
Raises: HTTPException: 404 if configuration isn't found HTTPException: 409 if configuration is not a draft and therefore not editable HTTPException: 500 if custom code can't be added
Returns: ConfigurationCustomCodeResponse: Updated configuration
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
Request body
Response
Successful Response
Changes
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the request property
- warning
removed the request property
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- breaking
removed the enum value
icd-10of the request property - breaking
removed the enum value
loincof the request property - breaking
removed the enum value
otherof the request property - breaking
removed the enum value
rxnormof the request property - breaking
removed the enum value
snomedof the request property - warning
added the new
CVXenum value to the//response property for the response status - info
added the new
CVXenum value to the request property - info
added the new
ICD-10enum value to the request property - info
added the new
LOINCenum value to the request property - info
added the new
Otherenum value to the request property - info
added the new
RxNormenum value to the request property - info
added the new
SNOMEDenum value to the request property
- breaking