API endpoint for querying EForms

GET /api/public/eforms/37/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://testing.clinic-frontend.dc.gompels.com/api/public/eforms/37/?format=api",
    "is_deleted": false,
    "deleted_at": null,
    "name": "Flu Vaccination NHS - Vaccination Details",
    "title": "Flu Vaccination NHS - Vaccination Details",
    "description": "Details to be entered by clinician",
    "version": 1,
    "subversion": 5,
    "formDefinition": [
        {
            "id": "text-eea973d4-1cb3-456e-b9c3-bb336545e043",
            "name": "vaccine-name",
            "type": "text",
            "label": "Name of vaccine/manufacturer",
            "access": false,
            "subtype": "text",
            "required": true,
            "className": "form-control",
            "relatedData": {
                "name": "name",
                "table": "vaccine_product"
            }
        },
        {
            "id": "text-2872ba42-3fd7-4a1a-88ca-5b4b1b5bf429",
            "name": "batch-number",
            "type": "text",
            "label": "Batch Number",
            "access": false,
            "subtype": "text",
            "required": true,
            "className": "form-control",
            "relatedData": {
                "name": "batch_number",
                "table": "supply_record"
            }
        },
        {
            "id": "date-6fb7cebe-0840-4147-85e9-e5168770a78a",
            "name": "expiry-date",
            "type": "date",
            "label": "Expiry Date",
            "access": false,
            "required": true,
            "className": "form-control",
            "relatedData": {
                "name": "expiry_date",
                "table": "supply_record"
            }
        },
        {
            "id": "radio-group-c92859cc-fb7c-4d01-937e-26725f9d6e52",
            "name": "injection-site",
            "type": "radio-group",
            "label": "Injection site",
            "other": false,
            "access": false,
            "inline": true,
            "values": [
                {
                    "label": "Left upper arm",
                    "value": "left-upper-arm",
                    "selected": false
                },
                {
                    "label": "Right upper arm",
                    "value": "right-upper-arm",
                    "selected": false
                }
            ],
            "required": true,
            "relatedData": {
                "name": "site_of_administration",
                "table": "vaccination_history"
            }
        },
        {
            "id": "radio-group-57cf3c55-d16b-4c7c-bfa4-fe14299bfe1e",
            "name": "administration-route",
            "type": "radio-group",
            "label": "Route of administration",
            "other": false,
            "access": false,
            "inline": true,
            "values": [
                {
                    "label": "Intramuscular",
                    "value": "intramuscular",
                    "selected": false
                },
                {
                    "label": "Subcutaneous",
                    "value": "subcutaneous",
                    "selected": false
                }
            ],
            "required": true,
            "relatedData": {
                "name": "route_of_administration",
                "table": "vaccination_history"
            }
        },
        {
            "id": "radio-group-5adb5df6-ccf0-4160-a43c-62f28acdef6f",
            "name": "location",
            "type": "radio-group",
            "label": "Location",
            "other": false,
            "access": false,
            "inline": false,
            "values": [
                {
                    "label": "Pharmacy",
                    "value": "pharmacy",
                    "selected": true
                },
                {
                    "label": "Patient's home",
                    "value": "patient-home",
                    "selected": false
                },
                {
                    "label": "Long-stay care home or long-stay residential facility",
                    "value": "care-home",
                    "selected": false
                },
                {
                    "label": "Other (please specify)",
                    "value": "other",
                    "selected": false
                }
            ],
            "required": true
        },
        {
            "id": "text-bd756357-51fc-401a-a497-8e1c12a0474f",
            "name": "other-location",
            "type": "text",
            "label": "Other location",
            "access": false,
            "subtype": "text",
            "required": false,
            "className": "form-control",
            "relatedData": {
                "name": "external_clinic_address",
                "table": "vaccination_history"
            }
        },
        {
            "id": "textarea-bbb10d7b-e952-4523-b46a-deb907a19eb2",
            "name": "adverse-effects",
            "rows": 6,
            "type": "textarea",
            "label": "Any adverse effects",
            "access": false,
            "subtype": "textarea",
            "required": false,
            "className": "form-control",
            "relatedData": {
                "name": "adverse_reactions",
                "table": "vaccination_history"
            }
        },
        {
            "id": "textarea-eff4b3b4-60ec-405b-82d0-7fbfaaa7b4f3",
            "name": "notes",
            "rows": 6,
            "type": "textarea",
            "label": "Advice given/notes",
            "access": false,
            "subtype": "textarea",
            "required": false,
            "className": "form-control",
            "relatedData": {
                "name": "notes",
                "table": "vaccination_history"
            }
        }
    ],
    "created": "2025-05-19T13:35:20.993365+01:00",
    "modified": "2025-05-19T13:35:20.993375+01:00",
    "archived": false,
    "is_vaccination_form": true
}