Phenoml Logo

Template

Summary/template
POST/fhir2summary/template

Creates a summary template from an example using LLM function calling

Create a reusable template for discharge summaries

Input
name: Discharge Summarymode: narrative
Result
success
Success
messageTemplate created successfully
template_ida1b2c3d4-e5f6-7890-abcd-ef1234567890
template
ida1b2c3d4-e5f6-7890-abcd-ef1234567890
nameDischarge Summary
template

Patient <<Patient.name[0].text>>, age <<Patient.birthDate|age>>, was admitted on <<Encounter[0].period.start>> with <<Condition[0].code.coding[0].display>>. Discharged on <<Encounter[0].period.end>> with <<MedicationRequest[0].medicationCodeableConcept.coding[0].display>> <<MedicationRequest[0].dosageInstruction[0].text>>.

target_resources
PatientConditionMedicationRequest
modenarrative
created_at2024-01-15T10:30:00Z
updated_at2024-01-15T10:30:00Z
GET/fhir2summary/template/{id}

Retrieves a specific summary template

Input
idpathabc-123-def-456
Result
success
Success
template
id550e8400-e29b-41d4-a716-446655440000
nameExample Name
descriptionAn example description
template{{resource.field}}
target_resources
Patient
modenarrative
metadata{}
created_at2024-01-15T09:30:00Z
updated_at2024-01-15T09:30:00Z
PUT/fhir2summary/template/{id}

Updates an existing summary template

Input
name: Example Namedescription: An example descriptiontemplate: {{resource.field}}mode: narrative
Result
success
Success
messageTemplate updated successfully
template
id550e8400-e29b-41d4-a716-446655440000
nameExample Name
descriptionAn example description
template{{resource.field}}
target_resources
Patient
modenarrative
metadata{}
created_at2024-01-15T09:30:00Z
updated_at2024-01-15T09:30:00Z
DELETE/fhir2summary/template/{id}

Deletes a summary template

Input
idpathabc-123-def-456
Result
success
Success
messageTemplate deleted successfully
Terms of Service|Privacy Policy