# Oral Surgery: Knowledge Base Using Laravel

## Summary
A knowledge base blueprint for oral surgery built with Laravel on Ample. Domain schema: 
- **procedures** (code, name, description, anesthesia_options, recovery_days): extractions, implants, corrective surgery;
- **pre_op_instructions** (procedure_id, instructions, fasting_rules): public preparation guidance;
- **post_op_instructions** (procedure_id, instructions, warning_signs): public recovery guidance;
- **locations** (name, address, phone, opening_hours, emergency_line): surgery locations;
- **asset_versions** (version, cdn_key, published_at): versioned assets served from the CDN bucket.

Public information includes:
- Procedure catalog with recovery expectations,
- Pre- and post-operative instructions,
- Emergency contact per location.

## Representative Queries
- Oral surgery: knowledge base using Laravel
- Where can I host Oral surgery: Knowledge base built with Laravel?
- I need a genuinely specialized knowledge base workflow covering public procedure-category content and referral-contact directory; no clinical referrals.

## Resource Requirements
- **Primitive:** compute
- **Primitive:** CDN

## Infrastructure Requirements
- **Compute**: Apps run in isolated x86_64 Firecracker microVMs that auto-pause when idle and wake on request; sizes are the priced VM sizes.
- **CDN**: The CDN host serves objects from published buckets. It does not front app compute and is not a cache or key-value store.

## Prerequisites
1. A Laravel project (composer install --no-dev from composer.lock, then FrankenPHP serving public/ (php-server with the index.php fallback) reading PORT on the php-8.5 template).
2. Bucket credentials from `ample bucket create` passed as encrypted S3_* environment variables and a published bucket for public assets (CDN_*).
3. A review of which oral surgery data classes may be handled at all; this blueprint models public information only.

## Workflow Steps
1. Model the oral surgery domain: Create the tables procedures, pre_op_instructions, post_op_instructions, locations, asset_versions.
2. Model articles and categories as tables keyed to the public catalog entities.
3. Build the site with versioned assets served from the CDN bucket.
4. Keep articles free of any sensitive data class.
5. Deploy and verify the public URL and the CDN asset URL.
6. Run the synchronous deploy once and read the result. Re-running with no change is a no-op.
7. Run the pattern self-test(s) from the example (/p/versioned-static-assets) and your own acceptance checks for the oral surgery workflow.

## Limitations
- The technical basis (public web service on Laravel) was verified with the pattern fixture; the oral surgery schema and workflow are an original design for this blueprint and were not executed as a separate application.
- No health, financial, privacy or other compliance claim is made. Surgical and medication records are health data; only public guidance belongs here. No compliance is claimed.
- Public content and synthetic examples only until actual data-handling requirements have been reviewed.

## Cost Estimate
- **Currency:** USD
- **Monthly Amount:** 5.0
- **Basis:** Size prices from pricing.toml (loaded by the API) at build revision 1ac5595375130d45290090e82ed0f554ccd45405-dirty.

### Evidence Summary
- **Canary Run:** Laravel pattern fixture deployed on Ample; the public web service checks passed.

## Examples
- **Laravel pattern fixture:** Verified public web service basis for this blueprint. Source Reference: tests/deploy-canaries/laravel-patterns.
