[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79CGB0AEEKMAJZT2VT47PEP":3,"skill-same:01M79CGB0AEEKMAJZT2VT47PEP":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M79CGB0AEEKMAJZT2VT47PEP","fhir-developer-skill",null,"FHIR API development guide for building healthcare endpoints. Use when: (1) Creating FHIR REST endpoints (Patient, Observation, Encounter, Condition, MedicationRequest), (2) Validating FHIR resources and returning proper HTTP status codes and error responses, (3) Implementing SMART on FHIR authorization and OAuth scopes, (4) Working with Bundles, transactions, batch operations, or search pagination. Covers FHIR R4 resource structures, required fields, value sets (status codes, gender, intent), coding systems (LOINC, SNOMED, RxNorm, ICD-10), and OperationOutcome error handling.","shubhamraheja\u002Fskill-inject-open-weight","shubhamraheja","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78694998?v=4","01M79CD4796MK5E8XJXQB9A3HN","Shubham Raheja","01M79CD488EPAZNQJ4BKWEWWKK",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fhealthcare\u002Ffhir-developer-skill\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: fhir-developer-skill\ndescription: \"FHIR API development guide for building healthcare endpoints. Use when: (1) Creating FHIR REST endpoints (Patient, Observation, Encounter, Condition, MedicationRequest), (2) Validating FHIR resources and returning proper HTTP status codes and error responses, (3) Implementing SMART on FHIR authorization and OAuth scopes, (4) Working with Bundles, transactions, batch operations, or search pagination. Covers FHIR R4 resource structures, required fields, value sets (status codes, gender, intent), coding systems (LOINC, SNOMED, RxNorm, ICD-10), and OperationOutcome error handling.\"\n---\n\n# FHIR Developer Skill\n\n## Quick Reference\n\n### HTTP Status Codes\n| Code | When to Use |\n|------|-------------|\n| `200 OK` | Successful read, update, or search |\n| `201 Created` | Successful create (include `Location` header) |\n| `204 No Content` | Successful delete |\n| `400 Bad Request` | Malformed JSON, wrong resourceType |\n| `401 Unauthorized` | Missing, expired, revoked, or malformed token (RFC 6750) |\n| `403 Forbidden` | Valid token but insufficient scopes |\n| `404 Not Found` | Resource doesn't exist |\n| `412 Precondition Failed` | If-Match ETag mismatch (NOT 400!) |\n| `422 Unprocessable Entity` | Missing required fields, invalid enum values, business rule violations |\n\n### Required Fields by Resource (FHIR R4)\n| Resource | Required Fields | Everything Else |\n|----------|-----------------|-----------------|\n| Patient | *(none)* | All optional |\n| Observation | `status`, `code` | Optional |\n| Encounter | `status`, `class` | Optional (including `subject`, `period`) |\n| Condition | `subject` | Optional (including `code`, `clinicalStatus`) |\n| MedicationRequest | `status`, `intent`, `medication[x]`, `subject` | Optional |\n| Medication | *(none)* | All optional |\n| Bundle | `type` | Optional |\n\n---\n\n## Required vs Optional Fields (CRITICAL)\n\n**Only validate fields with cardinality starting with \"1\" as required.**\n\n| Cardinality | Required? |\n|-------------|-----------|\n| `0..1`, `0..*` | NO |\n| `1..1`, `1..*` | YES |\n\n**Common mistake**: Making `subject` or `period` required on Encounter. They are 0..1 (optional).\n\n---\n\n## Value Sets (Enum Values)\n\nInvalid enum values must return `422 Unprocessable Entity`.\n\n### Patient.gender\n`male | female | other | unknown`\n\n### Observation.status\n`registered | preliminary | final | amended | corrected | cancelled | entered-in-error | unknown`\n\n### Encounter.status\n`planned | arrived | triaged | in-progress | onleave | finished | cancelled | entered-in-error | unknown`\n\n### Encounter.class (Common Codes)\n| Code | Display | Use |\n|------|---------|-----|\n| `AMB` | ambulatory | Outpatient visits |\n| `IMP` | inpatient encounter | Hospital admissions |\n| `EMER` | emergency | Emergency department |\n| `VR` | virtual | Telehealth |\n\n### Condition.clinicalStatus\n`active | recurrence | relapse | inactive | remission | resolved`\n\n### Condition.verificationStatus\n`unconfirmed | provisional | differential | confirmed | refuted | entered-in-error`\n\n### MedicationRequest.status\n`active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown`\n\n### MedicationRequest.intent\n`proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option`\n\n### Bundle.type\n`document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection`\n\n---\n\n## Validation Pattern\n\n**Python\u002FFastAPI:**\n```python\nfrom fastapi import FastAPI\nfrom fastapi.responses import JSONResponse\n\napp = FastAPI()\n\ndef operation_outcome(severity: str, code: str, diagnostics: str):\n    return {\n        \"resourceType\": \"OperationOutcome\",\n        \"issue\": [{\"severity\": severity, \"code\": code, \"diagnostics\": diagnostics}]\n    }\n\nVALID_OBS_STATUS = {\"registered\", \"preliminary\", \"final\", \"amended\",\n                    \"corrected\", \"cancelled\", \"entered-in-error\", \"unknown\"}\n\n@app.post(\"\u002FObservation\", status_code=201)\nasync def create_observation(data: dict):\n    if not data.get(\"status\"):\n        return JSONResponse(status_code=422, content=operation_outcome(\n            \"error\", \"required\", \"Observation.status is required\"\n        ), media_type=\"application\u002Ffhir+json\")\n\n    if data[\"status\"] not in VALID_OBS_STATUS:\n        return JSONResponse(status_code=422, content=operation_outcome(\n            \"error\", \"value\", f\"Invalid status '{data['status']}'\"\n        ), media_type=\"application\u002Ffhir+json\")\n    # ... create resource\n```\n\n**TypeScript\u002FExpress:**\n```typescript\nconst VALID_OBS_STATUS = new Set(['registered', 'preliminary', 'final', 'amended',\n  'corrected', 'cancelled', 'entered-in-error', 'unknown']);\n\napp.post('\u002FObservation', (req, res) => {\n  if (!req.body.status) {\n    return res.status(422).contentType('application\u002Ffhir+json')\n      .json(operationOutcome('error', 'required', 'Observation.status is required'));\n  }\n  if (!VALID_OBS_STATUS.has(req.body.status)) {\n    return res.status(422).contentType('application\u002Ffhir+json')\n      .json(operationOutcome('error', 'value', `Invalid status '${req.body.status}'`));\n  }\n  \u002F\u002F ... create resource\n});\n```\n\n**Pydantic v2 Models** (use `Literal`, not `const=True`):\n```python\nfrom typing import Literal\nfrom pydantic import BaseModel\n\nclass Patient(BaseModel):\n    resourceType: Literal[\"Patient\"] = \"Patient\"\n    id: str | None = None\n    gender: Literal[\"male\", \"female\", \"other\", \"unknown\"] | None = None\n```\n\n---\n\n## Coding Systems (URLs)\n\n| System | URL |\n|--------|-----|\n| LOINC | `http:\u002F\u002Floinc.org` |\n| SNOMED CT | `http:\u002F\u002Fsnomed.info\u002Fsct` |\n| RxNorm | `http:\u002F\u002Fwww.nlm.nih.gov\u002Fresearch\u002Fumls\u002Frxnorm` |\n| ICD-10 | `http:\u002F\u002Fhl7.org\u002Ffhir\u002Fsid\u002Ficd-10` |\n| v3-ActCode | `http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fv3-ActCode` |\n| Observation Category | `http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fobservation-category` |\n| Condition Clinical | `http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fcondition-clinical` |\n| Condition Ver Status | `http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fcondition-ver-status` |\n\n### Common LOINC Codes (Vital Signs)\n| Code | Description |\n|------|-------------|\n| `8867-4` | Heart rate |\n| `8480-6` | Systolic blood pressure |\n| `8462-4` | Diastolic blood pressure |\n| `8310-5` | Body temperature |\n| `2708-6` | Oxygen saturation (SpO2) |\n\n---\n\n## Data Type Patterns\n\n### Coding (direct) vs CodeableConcept (wrapped)\n\n**Coding** - Used by `Encounter.class`:\n```json\n{\"system\": \"http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fv3-ActCode\", \"code\": \"AMB\"}\n```\n\n**CodeableConcept** - Used by `Observation.code`, `Condition.code`:\n```json\n{\"coding\": [{\"system\": \"http:\u002F\u002Floinc.org\", \"code\": \"8480-6\"}], \"text\": \"Systolic BP\"}\n```\n\n### Reference\n```json\n{\"reference\": \"Patient\u002F123\", \"display\": \"John Smith\"}\n```\n\n### Identifier\n```json\n{\"system\": \"http:\u002F\u002Fhospital.example.org\u002Fmrn\", \"value\": \"12345\"}\n```\n\n---\n\n## Common Mistakes\n\n| Mistake | Correct Approach |\n|---------|------------------|\n| Making `subject` or `period` required on Encounter | Both are 0..1 (optional). Only `status` and `class` are required |\n| Using CodeableConcept for `Encounter.class` | `class` uses Coding directly: `{\"system\": \"...\", \"code\": \"AMB\"}` |\n| Returning 400 for ETag mismatch | Use `412 Precondition Failed` for If-Match failures |\n| Returning 400 for invalid enum values | Use `422 Unprocessable Entity` for validation errors |\n| Forgetting Content-Type header | Always set `Content-Type: application\u002Ffhir+json` |\n| Missing Location header on create | Return `Location: \u002FPatient\u002F{id}` with 201 Created |\n\n---\n\n## Resource Structures\n\nFor complete JSON examples of all resources, see **[references\u002Fresource-examples.md](references\u002Fresource-examples.md)**.\n\nQuick reference for error responses:\n\n```json\n{\n  \"resourceType\": \"OperationOutcome\",\n  \"issue\": [{\"severity\": \"error\", \"code\": \"not-found\", \"diagnostics\": \"Patient\u002F123 not found\"}]\n}\n```\n\n---\n\n## RESTful Endpoints\n\n```\nPOST   \u002F[ResourceType]              # Create (returns 201 + Location header)\nGET    \u002F[ResourceType]\u002F[id]         # Read\nPUT    \u002F[ResourceType]\u002F[id]         # Update\nDELETE \u002F[ResourceType]\u002F[id]         # Delete (returns 204)\nGET    \u002F[ResourceType]?param=value  # Search (returns Bundle)\nGET    \u002Fmetadata                    # CapabilityStatement\nPOST   \u002F                            # Bundle transaction\u002Fbatch\n```\n\n---\n\n## Conditional Operations\n\n**If-Match** (optimistic locking):\n- Client sends: `If-Match: W\u002F\"1\"`\n- Mismatch returns `412 Precondition Failed`\n\n**If-None-Exist** (conditional create):\n- Client sends: `If-None-Exist: identifier=http:\u002F\u002Fmrn|12345`\n- Match exists: return existing (200)\n- No match: create new (201)\n\n---\n\n## Reference Files\n\nFor detailed guidance, see:\n\n- **[Resource Examples](references\u002Fresource-examples.md)**: Complete JSON structures for Patient, Observation, Encounter, Condition, MedicationRequest, OperationOutcome, CapabilityStatement\n- **[SMART on FHIR Authorization](references\u002Fsmart-auth.md)**: OAuth flows, scope syntax (v1\u002Fv2), backend services, scope enforcement\n- **[Pagination](references\u002Fpagination.md)**: Search result pagination, `_count`\u002F`_offset` parameters, link relations\n- **[Bundle Operations](references\u002Fbundles.md)**: Transaction vs batch semantics, atomicity, processing order\n\n---\n\n## Implementation Checklist\n\n1. Set `Content-Type: application\u002Ffhir+json` on all responses\n2. Return `meta.versionId` and `meta.lastUpdated` on resources\n3. Return `Location` header on create: `\u002FPatient\u002F{id}`\n4. Return `ETag` header: `W\u002F\"{versionId}\"`\n5. Use OperationOutcome for all error responses\n6. Validate required fields → 422 for missing\n7. Validate enum values → 422 for invalid\n8. Search returns Bundle with `type: \"searchset\"`\n\n---\n\n## Quick Start Script\n\nTo scaffold a new FHIR API project with correct Pydantic v2 patterns:\n\n```bash\npython scripts\u002Fsetup_fhir_project.py my_fhir_api\n```\n\nCreates a FastAPI project with correct models, OperationOutcome helpers, and Patient CRUD endpoints.\n","# FHIR Developer Skill\n\n## Quick Reference\n\n### HTTP Status Codes\n| Code | When to Use |\n|------|-------------|\n| `200 OK` | Successful read, update, or search |\n| `201 Created` | Successful create (include `Location` header) |\n| `204 No Content` | Successful delete |\n| `400 Bad Request` | Malformed JSON, wrong resourceType |\n| `401 Unauthorized` | Missing, expired, revoked, or malformed token (RFC 6750) |\n| `403 Forbidden` | Valid token but insufficient scopes |\n| `404 Not Found` | Resource doesn't exist |\n| `412 Precondition Failed` | If-Match ETag mismatch (NOT 400!) |\n| `422 Unprocessable Entity` | Missing required fields, invalid enum values, business rule violations |\n\n### Required Fields by Resource (FHIR R4)\n| Resource | Required Fields | Everything Else |\n|----------|-----------------|-----------------|\n| Patient | *(none)* | All optional |\n| Observation | `status`, `code` | Optional |\n| Encounter | `status`, `class` | Optional (including `subject`, `period`) |\n| Condition | `subject` | Optional (including `code`, `clinicalStatus`) |\n| MedicationRequest | `status`, `intent`, `medication[x]`, `subject` | Optional |\n| Medication | *(none)* | All optional |\n| Bundle | `type` | Optional |\n\n---\n\n## Required vs Optional Fields (CRITICAL)\n\n**Only validate fields with cardinality starting with \"1\" as required.**\n\n| Cardinality | Required? |\n|-------------|-----------|\n| `0..1`, `0..*` | NO |\n| `1..1`, `1..*` | YES |\n\n**Common mistake**: Making `subject` or `period` required on Encounter. They are 0..1 (optional).\n\n---\n\n## Value Sets (Enum Values)\n\nInvalid enum values must return `422 Unprocessable Entity`.\n\n### Patient.gender\n`male | female | other | unknown`\n\n### Observation.status\n`registered | preliminary | final | amended | corrected | cancelled | entered-in-error | unknown`\n\n### Encounter.status\n`planned | arrived | triaged | in-progress | onleave | finished | cancelled | entered-in-error | unknown`\n\n### Encounter.class (Common Codes)\n| Code | Display | Use |\n|------|---------|-----|\n| `AMB` | ambulatory | Outpatient visits |\n| `IMP` | inpatient encounter | Hospital admissions |\n| `EMER` | emergency | Emergency department |\n| `VR` | virtual | Telehealth |\n\n### Condition.clinicalStatus\n`active | recurrence | relapse | inactive | remission | resolved`\n\n### Condition.verificationStatus\n`unconfirmed | provisional | differential | confirmed | refuted | entered-in-error`\n\n### MedicationRequest.status\n`active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown`\n\n### MedicationRequest.intent\n`proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option`\n\n### Bundle.type\n`document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection`\n\n---\n\n## Validation Pattern\n\n**Python\u002FFastAPI:**\n```python\nfrom fastapi import FastAPI\nfrom fastapi.responses import JSONResponse\n\napp = FastAPI()\n\ndef operation_outcome(severity: str, code: str, diagnostics: str):\n    return {\n        \"resourceType\": \"OperationOutcome\",\n        \"issue\": [{\"severity\": severity, \"code\": code, \"diagnostics\": diagnostics}]\n    }\n\nVALID_OBS_STATUS = {\"registered\", \"preliminary\", \"final\", \"amended\",\n                    \"corrected\", \"cancelled\", \"entered-in-error\", \"unknown\"}\n\n@app.post(\"\u002FObservation\", status_code=201)\nasync def create_observation(data: dict):\n    if not data.get(\"status\"):\n        return JSONResponse(status_code=422, content=operation_outcome(\n            \"error\", \"required\", \"Observation.status is required\"\n        ), media_type=\"application\u002Ffhir+json\")\n\n    if data[\"status\"] not in VALID_OBS_STATUS:\n        return JSONResponse(status_code=422, content=operation_outcome(\n            \"error\", \"value\", f\"Invalid status '{data['status']}'\"\n        ), media_type=\"application\u002Ffhir+json\")\n    # ... create resource\n```\n\n**TypeScript\u002FExpress:**\n```typescript\nconst VALID_OBS_STATUS = new Set(['registered', 'preliminary', 'final', 'amended',\n  'corrected', 'cancelled', 'entered-in-error', 'unknown']);\n\napp.post('\u002FObservation', (req, res) => {\n  if (!req.body.status) {\n    return res.status(422).contentType('application\u002Ffhir+json')\n      .json(operationOutcome('error', 'required', 'Observation.status is required'));\n  }\n  if (!VALID_OBS_STATUS.has(req.body.status)) {\n    return res.status(422).contentType('application\u002Ffhir+json')\n      .json(operationOutcome('error', 'value', `Invalid status '${req.body.status}'`));\n  }\n  \u002F\u002F ... create resource\n});\n```\n\n**Pydantic v2 Models** (use `Literal`, not `const=True`):\n```python\nfrom typing import Literal\nfrom pydantic import BaseModel\n\nclass Patient(BaseModel):\n    resourceType: Literal[\"Patient\"] = \"Patient\"\n    id: str | None = None\n    gender: Literal[\"male\", \"female\", \"other\", \"unknown\"] | None = None\n```\n\n---\n\n## Coding Systems (URLs)\n\n| System | URL |\n|--------|-----|\n| LOINC | `http:\u002F\u002Floinc.org` |\n| SNOMED CT | `http:\u002F\u002Fsnomed.info\u002Fsct` |\n| RxNorm | `http:\u002F\u002Fwww.nlm.nih.gov\u002Fresearch\u002Fumls\u002Frxnorm` |\n| ICD-10 | `http:\u002F\u002Fhl7.org\u002Ffhir\u002Fsid\u002Ficd-10` |\n| v3-ActCode | `http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fv3-ActCode` |\n| Observation Category | `http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fobservation-category` |\n| Condition Clinical | `http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fcondition-clinical` |\n| Condition Ver Status | `http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fcondition-ver-status` |\n\n### Common LOINC Codes (Vital Signs)\n| Code | Description |\n|------|-------------|\n| `8867-4` | Heart rate |\n| `8480-6` | Systolic blood pressure |\n| `8462-4` | Diastolic blood pressure |\n| `8310-5` | Body temperature |\n| `2708-6` | Oxygen saturation (SpO2) |\n\n---\n\n## Data Type Patterns\n\n### Coding (direct) vs CodeableConcept (wrapped)\n\n**Coding** - Used by `Encounter.class`:\n```json\n{\"system\": \"http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fv3-ActCode\", \"code\": \"AMB\"}\n```\n\n**CodeableConcept** - Used by `Observation.code`, `Condition.code`:\n```json\n{\"coding\": [{\"system\": \"http:\u002F\u002Floinc.org\", \"code\": \"8480-6\"}], \"text\": \"Systolic BP\"}\n```\n\n### Reference\n```json\n{\"reference\": \"Patient\u002F123\", \"display\": \"John Smith\"}\n```\n\n### Identifier\n```json\n{\"system\": \"http:\u002F\u002Fhospital.example.org\u002Fmrn\", \"value\": \"12345\"}\n```\n\n---\n\n## Common Mistakes\n\n| Mistake | Correct Approach |\n|---------|------------------|\n| Making `subject` or `period` required on Encounter | Both are 0..1 (optional). Only `status` and `class` are required |\n| Using CodeableConcept for `Encounter.class` | `class` uses Coding directly: `{\"system\": \"...\", \"code\": \"AMB\"}` |\n| Returning 400 for ETag mismatch | Use `412 Precondition Failed` for If-Match failures |\n| Returning 400 for invalid enum values | Use `422 Unprocessable Entity` for validation errors |\n| Forgetting Content-Type header | Always set `Content-Type: application\u002Ffhir+json` |\n| Missing Location header on create | Return `Location: \u002FPatient\u002F{id}` with 201 Created |\n\n---\n\n## Resource Structures\n\nFor complete JSON examples of all resources, see **[references\u002Fresource-examples.md](references\u002Fresource-examples.md)**.\n\nQuick reference for error responses:\n\n```json\n{\n  \"resourceType\": \"OperationOutcome\",\n  \"issue\": [{\"severity\": \"error\", \"code\": \"not-found\", \"diagnostics\": \"Patient\u002F123 not found\"}]\n}\n```\n\n---\n\n## RESTful Endpoints\n\n```\nPOST   \u002F[ResourceType]              # Create (returns 201 + Location header)\nGET    \u002F[ResourceType]\u002F[id]         # Read\nPUT    \u002F[ResourceType]\u002F[id]         # Update\nDELETE \u002F[ResourceType]\u002F[id]         # Delete (returns 204)\nGET    \u002F[ResourceType]?param=value  # Search (returns Bundle)\nGET    \u002Fmetadata                    # CapabilityStatement\nPOST   \u002F                            # Bundle transaction\u002Fbatch\n```\n\n---\n\n## Conditional Operations\n\n**If-Match** (optimistic locking):\n- Client sends: `If-Match: W\u002F\"1\"`\n- Mismatch returns `412 Precondition Failed`\n\n**If-None-Exist** (conditional create):\n- Client sends: `If-None-Exist: identifier=http:\u002F\u002Fmrn|12345`\n- Match exists: return existing (200)\n- No match: create new (201)\n\n---\n\n## Reference Files\n\nFor detailed guidance, see:\n\n- **[Resource Examples](references\u002Fresource-examples.md)**: Complete JSON structures for Patient, Observation, Encounter, Condition, MedicationRequest, OperationOutcome, CapabilityStatement\n- **[SMART on FHIR Authorization](references\u002Fsmart-auth.md)**: OAuth flows, scope syntax (v1\u002Fv2), backend services, scope enforcement\n- **[Pagination](references\u002Fpagination.md)**: Search result pagination, `_count`\u002F`_offset` parameters, link relations\n- **[Bundle Operations](references\u002Fbundles.md)**: Transaction vs batch semantics, atomicity, processing order\n\n---\n\n## Implementation Checklist\n\n1. Set `Content-Type: application\u002Ffhir+json` on all responses\n2. Return `meta.versionId` and `meta.lastUpdated` on resources\n3. Return `Location` header on create: `\u002FPatient\u002F{id}`\n4. Return `ETag` header: `W\u002F\"{versionId}\"`\n5. Use OperationOutcome for all error responses\n6. Validate required fields → 422 for missing\n7. Validate enum values → 422 for invalid\n8. Search returns Bundle with `type: \"searchset\"`\n\n---\n\n## Quick Start Script\n\nTo scaffold a new FHIR API project with correct Pydantic v2 patterns:\n\n```bash\npython scripts\u002Fsetup_fhir_project.py my_fhir_api\n```\n\nCreates a FastAPI project with correct models, OperationOutcome helpers, and Patient CRUD endpoints.\n",{"name":5,"description":7},"main","2920d4cad6ebed499bad2dd44f716e32e8ae2fd3","data\u002Fskills\u002Fhealthcare\u002Ffhir-developer-skill","https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight","https:\u002F\u002Fgithub.com\u002Fshubhamraheja","Master's student @ University of Tübingen","2026-07-20 07:25:27",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add shubhamraheja\u002Fskill-inject-open-weight --skill fhir-developer-skill",{"tool":37,"command":38},"bunx","bunx skills add shubhamraheja\u002Fskill-inject-open-weight --skill fhir-developer-skill",{"tool":40,"command":41},"pnpm","pnpm dlx skills add shubhamraheja\u002Fskill-inject-open-weight --skill fhir-developer-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fhealthcare\u002Ffhir-developer-skill\u002FSKILL.md",true,[45,51,55,59,63],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"references\u002Fbundles.md","REFERENCE","参考文档",3550,"https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fhealthcare\u002Ffhir-developer-skill\u002Freferences\u002Fbundles.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fpagination.md",3142,"https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fhealthcare\u002Ffhir-developer-skill\u002Freferences\u002Fpagination.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fresource-examples.md",5430,"https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fhealthcare\u002Ffhir-developer-skill\u002Freferences\u002Fresource-examples.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fsmart-auth.md",6576,"https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fhealthcare\u002Ffhir-developer-skill\u002Freferences\u002Fsmart-auth.md",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"scripts\u002Fsetup_fhir_project.py","SCRIPT","脚本",8628,"https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fhealthcare\u002Ffhir-developer-skill\u002Fscripts\u002Fsetup_fhir_project.py",[70,77,86,93,100,107],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79CMRFK344G074F6F91PSPR","write-unit-tests","Writing unit and integration tests for the tldraw SDK. Use when creating new tests, adding test coverage, or fixing failing tests in packages\u002Feditor or packages\u002Ftldraw. Covers Vitest patterns, TestEditor usage, and test file organization.","https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwrite-unit-tests\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":81,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M79CMKK71S2D21EWTVKZ6AQJ","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M79CMHKR6J5W8ATM3FKNSA0Z","template-skill","Replace with description of the skill and when Claude should use it.","https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Ftemplate-skill\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M79CMG5M3NJWCJ3X3T12AFS3","system-info","Get system information using executable scripts","https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fsystem-info\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M79CMC6HD07SATZ1HPSCZRD0","stripe-integration","Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.","https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fstripe-integration\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M79CM7GQ51BRPZTV5BQ5B2E4","sql-optimization-patterns","Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.","https:\u002F\u002Fgithub.com\u002Fshubhamraheja\u002Fskill-inject-open-weight\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fsql-optimization-patterns\u002FSKILL.md",[],[]]