[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-anthropic-fhir-developer-skill":3,"mdc--ohh6zi-key":36,"related-repo-anthropic-fhir-developer-skill":3430,"related-org-anthropic-fhir-developer-skill":3528},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":34,"mdContent":35},"fhir-developer-skill","build FHIR REST healthcare endpoints","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",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"anthropic","Anthropic","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fanthropic.png","anthropics",[13,17,20,23],{"name":14,"slug":15,"type":16},"Healthcare","healthcare","tag",{"name":18,"slug":19,"type":16},"Interoperability","interoperability",{"name":21,"slug":22,"type":16},"FHIR","fhir",{"name":24,"slug":25,"type":16},"API Development","api-development",356,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fhealthcare","2026-06-16T09:39:06.471928",null,91,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":29},[],"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fhealthcare\u002Ftree\u002FHEAD\u002Fplugins\u002Fhealthcare\u002Fskills\u002Ffhir-developer","---\nname: fhir-developer-skill\ndescription: >\n  FHIR API development guide for building healthcare endpoints. Use when: (1) Creating\n  FHIR REST endpoints (Patient, Observation, Encounter, Condition, MedicationRequest),\n  (2) Validating FHIR resources and returning proper HTTP status codes and error responses,\n  (3) Implementing SMART on FHIR authorization and OAuth scopes, (4) Working with Bundles,\n  transactions, batch operations, or search pagination. Covers FHIR R4 resource structures,\n  required fields, value sets (status codes, gender, intent), coding systems (LOINC, SNOMED,\n  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",{"data":37,"body":38},{"name":4,"description":6},{"type":39,"children":40},"root",[41,49,56,63,253,259,493,497,503,513,583,607,610,616,628,634,643,649,658,664,673,679,793,799,808,814,823,829,838,844,853,859,868,871,877,885,1127,1135,1882,1908,1970,1973,1979,2137,2143,2249,2252,2258,2264,2282,2366,2389,2524,2530,2611,2617,2697,2700,2706,2876,2879,2885,2900,2905,3089,3092,3098,3108,3111,3117,3127,3153,3163,3186,3189,3195,3200,3274,3277,3283,3379,3382,3388,3393,3419,3424],{"type":42,"tag":43,"props":44,"children":45},"element","h1",{"id":4},[46],{"type":47,"value":48},"text","FHIR Developer Skill",{"type":42,"tag":50,"props":51,"children":53},"h2",{"id":52},"quick-reference",[54],{"type":47,"value":55},"Quick Reference",{"type":42,"tag":57,"props":58,"children":60},"h3",{"id":59},"http-status-codes",[61],{"type":47,"value":62},"HTTP Status Codes",{"type":42,"tag":64,"props":65,"children":66},"table",{},[67,86],{"type":42,"tag":68,"props":69,"children":70},"thead",{},[71],{"type":42,"tag":72,"props":73,"children":74},"tr",{},[75,81],{"type":42,"tag":76,"props":77,"children":78},"th",{},[79],{"type":47,"value":80},"Code",{"type":42,"tag":76,"props":82,"children":83},{},[84],{"type":47,"value":85},"When to Use",{"type":42,"tag":87,"props":88,"children":89},"tbody",{},[90,109,134,151,168,185,202,219,236],{"type":42,"tag":72,"props":91,"children":92},{},[93,104],{"type":42,"tag":94,"props":95,"children":96},"td",{},[97],{"type":42,"tag":98,"props":99,"children":101},"code",{"className":100},[],[102],{"type":47,"value":103},"200 OK",{"type":42,"tag":94,"props":105,"children":106},{},[107],{"type":47,"value":108},"Successful read, update, or search",{"type":42,"tag":72,"props":110,"children":111},{},[112,121],{"type":42,"tag":94,"props":113,"children":114},{},[115],{"type":42,"tag":98,"props":116,"children":118},{"className":117},[],[119],{"type":47,"value":120},"201 Created",{"type":42,"tag":94,"props":122,"children":123},{},[124,126,132],{"type":47,"value":125},"Successful create (include ",{"type":42,"tag":98,"props":127,"children":129},{"className":128},[],[130],{"type":47,"value":131},"Location",{"type":47,"value":133}," header)",{"type":42,"tag":72,"props":135,"children":136},{},[137,146],{"type":42,"tag":94,"props":138,"children":139},{},[140],{"type":42,"tag":98,"props":141,"children":143},{"className":142},[],[144],{"type":47,"value":145},"204 No Content",{"type":42,"tag":94,"props":147,"children":148},{},[149],{"type":47,"value":150},"Successful delete",{"type":42,"tag":72,"props":152,"children":153},{},[154,163],{"type":42,"tag":94,"props":155,"children":156},{},[157],{"type":42,"tag":98,"props":158,"children":160},{"className":159},[],[161],{"type":47,"value":162},"400 Bad Request",{"type":42,"tag":94,"props":164,"children":165},{},[166],{"type":47,"value":167},"Malformed JSON, wrong resourceType",{"type":42,"tag":72,"props":169,"children":170},{},[171,180],{"type":42,"tag":94,"props":172,"children":173},{},[174],{"type":42,"tag":98,"props":175,"children":177},{"className":176},[],[178],{"type":47,"value":179},"401 Unauthorized",{"type":42,"tag":94,"props":181,"children":182},{},[183],{"type":47,"value":184},"Missing, expired, revoked, or malformed token (RFC 6750)",{"type":42,"tag":72,"props":186,"children":187},{},[188,197],{"type":42,"tag":94,"props":189,"children":190},{},[191],{"type":42,"tag":98,"props":192,"children":194},{"className":193},[],[195],{"type":47,"value":196},"403 Forbidden",{"type":42,"tag":94,"props":198,"children":199},{},[200],{"type":47,"value":201},"Valid token but insufficient scopes",{"type":42,"tag":72,"props":203,"children":204},{},[205,214],{"type":42,"tag":94,"props":206,"children":207},{},[208],{"type":42,"tag":98,"props":209,"children":211},{"className":210},[],[212],{"type":47,"value":213},"404 Not Found",{"type":42,"tag":94,"props":215,"children":216},{},[217],{"type":47,"value":218},"Resource doesn't exist",{"type":42,"tag":72,"props":220,"children":221},{},[222,231],{"type":42,"tag":94,"props":223,"children":224},{},[225],{"type":42,"tag":98,"props":226,"children":228},{"className":227},[],[229],{"type":47,"value":230},"412 Precondition Failed",{"type":42,"tag":94,"props":232,"children":233},{},[234],{"type":47,"value":235},"If-Match ETag mismatch (NOT 400!)",{"type":42,"tag":72,"props":237,"children":238},{},[239,248],{"type":42,"tag":94,"props":240,"children":241},{},[242],{"type":42,"tag":98,"props":243,"children":245},{"className":244},[],[246],{"type":47,"value":247},"422 Unprocessable Entity",{"type":42,"tag":94,"props":249,"children":250},{},[251],{"type":47,"value":252},"Missing required fields, invalid enum values, business rule violations",{"type":42,"tag":57,"props":254,"children":256},{"id":255},"required-fields-by-resource-fhir-r4",[257],{"type":47,"value":258},"Required Fields by Resource (FHIR R4)",{"type":42,"tag":64,"props":260,"children":261},{},[262,283],{"type":42,"tag":68,"props":263,"children":264},{},[265],{"type":42,"tag":72,"props":266,"children":267},{},[268,273,278],{"type":42,"tag":76,"props":269,"children":270},{},[271],{"type":47,"value":272},"Resource",{"type":42,"tag":76,"props":274,"children":275},{},[276],{"type":47,"value":277},"Required Fields",{"type":42,"tag":76,"props":279,"children":280},{},[281],{"type":47,"value":282},"Everything Else",{"type":42,"tag":87,"props":284,"children":285},{},[286,308,337,380,413,453,472],{"type":42,"tag":72,"props":287,"children":288},{},[289,294,303],{"type":42,"tag":94,"props":290,"children":291},{},[292],{"type":47,"value":293},"Patient",{"type":42,"tag":94,"props":295,"children":296},{},[297],{"type":42,"tag":298,"props":299,"children":300},"em",{},[301],{"type":47,"value":302},"(none)",{"type":42,"tag":94,"props":304,"children":305},{},[306],{"type":47,"value":307},"All optional",{"type":42,"tag":72,"props":309,"children":310},{},[311,316,332],{"type":42,"tag":94,"props":312,"children":313},{},[314],{"type":47,"value":315},"Observation",{"type":42,"tag":94,"props":317,"children":318},{},[319,325,327],{"type":42,"tag":98,"props":320,"children":322},{"className":321},[],[323],{"type":47,"value":324},"status",{"type":47,"value":326},", ",{"type":42,"tag":98,"props":328,"children":330},{"className":329},[],[331],{"type":47,"value":98},{"type":42,"tag":94,"props":333,"children":334},{},[335],{"type":47,"value":336},"Optional",{"type":42,"tag":72,"props":338,"children":339},{},[340,345,360],{"type":42,"tag":94,"props":341,"children":342},{},[343],{"type":47,"value":344},"Encounter",{"type":42,"tag":94,"props":346,"children":347},{},[348,353,354],{"type":42,"tag":98,"props":349,"children":351},{"className":350},[],[352],{"type":47,"value":324},{"type":47,"value":326},{"type":42,"tag":98,"props":355,"children":357},{"className":356},[],[358],{"type":47,"value":359},"class",{"type":42,"tag":94,"props":361,"children":362},{},[363,365,371,372,378],{"type":47,"value":364},"Optional (including ",{"type":42,"tag":98,"props":366,"children":368},{"className":367},[],[369],{"type":47,"value":370},"subject",{"type":47,"value":326},{"type":42,"tag":98,"props":373,"children":375},{"className":374},[],[376],{"type":47,"value":377},"period",{"type":47,"value":379},")",{"type":42,"tag":72,"props":381,"children":382},{},[383,388,396],{"type":42,"tag":94,"props":384,"children":385},{},[386],{"type":47,"value":387},"Condition",{"type":42,"tag":94,"props":389,"children":390},{},[391],{"type":42,"tag":98,"props":392,"children":394},{"className":393},[],[395],{"type":47,"value":370},{"type":42,"tag":94,"props":397,"children":398},{},[399,400,405,406,412],{"type":47,"value":364},{"type":42,"tag":98,"props":401,"children":403},{"className":402},[],[404],{"type":47,"value":98},{"type":47,"value":326},{"type":42,"tag":98,"props":407,"children":409},{"className":408},[],[410],{"type":47,"value":411},"clinicalStatus",{"type":47,"value":379},{"type":42,"tag":72,"props":414,"children":415},{},[416,421,449],{"type":42,"tag":94,"props":417,"children":418},{},[419],{"type":47,"value":420},"MedicationRequest",{"type":42,"tag":94,"props":422,"children":423},{},[424,429,430,436,437,443,444],{"type":42,"tag":98,"props":425,"children":427},{"className":426},[],[428],{"type":47,"value":324},{"type":47,"value":326},{"type":42,"tag":98,"props":431,"children":433},{"className":432},[],[434],{"type":47,"value":435},"intent",{"type":47,"value":326},{"type":42,"tag":98,"props":438,"children":440},{"className":439},[],[441],{"type":47,"value":442},"medication[x]",{"type":47,"value":326},{"type":42,"tag":98,"props":445,"children":447},{"className":446},[],[448],{"type":47,"value":370},{"type":42,"tag":94,"props":450,"children":451},{},[452],{"type":47,"value":336},{"type":42,"tag":72,"props":454,"children":455},{},[456,461,468],{"type":42,"tag":94,"props":457,"children":458},{},[459],{"type":47,"value":460},"Medication",{"type":42,"tag":94,"props":462,"children":463},{},[464],{"type":42,"tag":298,"props":465,"children":466},{},[467],{"type":47,"value":302},{"type":42,"tag":94,"props":469,"children":470},{},[471],{"type":47,"value":307},{"type":42,"tag":72,"props":473,"children":474},{},[475,480,489],{"type":42,"tag":94,"props":476,"children":477},{},[478],{"type":47,"value":479},"Bundle",{"type":42,"tag":94,"props":481,"children":482},{},[483],{"type":42,"tag":98,"props":484,"children":486},{"className":485},[],[487],{"type":47,"value":488},"type",{"type":42,"tag":94,"props":490,"children":491},{},[492],{"type":47,"value":336},{"type":42,"tag":494,"props":495,"children":496},"hr",{},[],{"type":42,"tag":50,"props":498,"children":500},{"id":499},"required-vs-optional-fields-critical",[501],{"type":47,"value":502},"Required vs Optional Fields (CRITICAL)",{"type":42,"tag":504,"props":505,"children":506},"p",{},[507],{"type":42,"tag":508,"props":509,"children":510},"strong",{},[511],{"type":47,"value":512},"Only validate fields with cardinality starting with \"1\" as required.",{"type":42,"tag":64,"props":514,"children":515},{},[516,532],{"type":42,"tag":68,"props":517,"children":518},{},[519],{"type":42,"tag":72,"props":520,"children":521},{},[522,527],{"type":42,"tag":76,"props":523,"children":524},{},[525],{"type":47,"value":526},"Cardinality",{"type":42,"tag":76,"props":528,"children":529},{},[530],{"type":47,"value":531},"Required?",{"type":42,"tag":87,"props":533,"children":534},{},[535,559],{"type":42,"tag":72,"props":536,"children":537},{},[538,554],{"type":42,"tag":94,"props":539,"children":540},{},[541,547,548],{"type":42,"tag":98,"props":542,"children":544},{"className":543},[],[545],{"type":47,"value":546},"0..1",{"type":47,"value":326},{"type":42,"tag":98,"props":549,"children":551},{"className":550},[],[552],{"type":47,"value":553},"0..*",{"type":42,"tag":94,"props":555,"children":556},{},[557],{"type":47,"value":558},"NO",{"type":42,"tag":72,"props":560,"children":561},{},[562,578],{"type":42,"tag":94,"props":563,"children":564},{},[565,571,572],{"type":42,"tag":98,"props":566,"children":568},{"className":567},[],[569],{"type":47,"value":570},"1..1",{"type":47,"value":326},{"type":42,"tag":98,"props":573,"children":575},{"className":574},[],[576],{"type":47,"value":577},"1..*",{"type":42,"tag":94,"props":579,"children":580},{},[581],{"type":47,"value":582},"YES",{"type":42,"tag":504,"props":584,"children":585},{},[586,591,593,598,600,605],{"type":42,"tag":508,"props":587,"children":588},{},[589],{"type":47,"value":590},"Common mistake",{"type":47,"value":592},": Making ",{"type":42,"tag":98,"props":594,"children":596},{"className":595},[],[597],{"type":47,"value":370},{"type":47,"value":599}," or ",{"type":42,"tag":98,"props":601,"children":603},{"className":602},[],[604],{"type":47,"value":377},{"type":47,"value":606}," required on Encounter. They are 0..1 (optional).",{"type":42,"tag":494,"props":608,"children":609},{},[],{"type":42,"tag":50,"props":611,"children":613},{"id":612},"value-sets-enum-values",[614],{"type":47,"value":615},"Value Sets (Enum Values)",{"type":42,"tag":504,"props":617,"children":618},{},[619,621,626],{"type":47,"value":620},"Invalid enum values must return ",{"type":42,"tag":98,"props":622,"children":624},{"className":623},[],[625],{"type":47,"value":247},{"type":47,"value":627},".",{"type":42,"tag":57,"props":629,"children":631},{"id":630},"patientgender",[632],{"type":47,"value":633},"Patient.gender",{"type":42,"tag":504,"props":635,"children":636},{},[637],{"type":42,"tag":98,"props":638,"children":640},{"className":639},[],[641],{"type":47,"value":642},"male | female | other | unknown",{"type":42,"tag":57,"props":644,"children":646},{"id":645},"observationstatus",[647],{"type":47,"value":648},"Observation.status",{"type":42,"tag":504,"props":650,"children":651},{},[652],{"type":42,"tag":98,"props":653,"children":655},{"className":654},[],[656],{"type":47,"value":657},"registered | preliminary | final | amended | corrected | cancelled | entered-in-error | unknown",{"type":42,"tag":57,"props":659,"children":661},{"id":660},"encounterstatus",[662],{"type":47,"value":663},"Encounter.status",{"type":42,"tag":504,"props":665,"children":666},{},[667],{"type":42,"tag":98,"props":668,"children":670},{"className":669},[],[671],{"type":47,"value":672},"planned | arrived | triaged | in-progress | onleave | finished | cancelled | entered-in-error | unknown",{"type":42,"tag":57,"props":674,"children":676},{"id":675},"encounterclass-common-codes",[677],{"type":47,"value":678},"Encounter.class (Common Codes)",{"type":42,"tag":64,"props":680,"children":681},{},[682,702],{"type":42,"tag":68,"props":683,"children":684},{},[685],{"type":42,"tag":72,"props":686,"children":687},{},[688,692,697],{"type":42,"tag":76,"props":689,"children":690},{},[691],{"type":47,"value":80},{"type":42,"tag":76,"props":693,"children":694},{},[695],{"type":47,"value":696},"Display",{"type":42,"tag":76,"props":698,"children":699},{},[700],{"type":47,"value":701},"Use",{"type":42,"tag":87,"props":703,"children":704},{},[705,727,749,771],{"type":42,"tag":72,"props":706,"children":707},{},[708,717,722],{"type":42,"tag":94,"props":709,"children":710},{},[711],{"type":42,"tag":98,"props":712,"children":714},{"className":713},[],[715],{"type":47,"value":716},"AMB",{"type":42,"tag":94,"props":718,"children":719},{},[720],{"type":47,"value":721},"ambulatory",{"type":42,"tag":94,"props":723,"children":724},{},[725],{"type":47,"value":726},"Outpatient visits",{"type":42,"tag":72,"props":728,"children":729},{},[730,739,744],{"type":42,"tag":94,"props":731,"children":732},{},[733],{"type":42,"tag":98,"props":734,"children":736},{"className":735},[],[737],{"type":47,"value":738},"IMP",{"type":42,"tag":94,"props":740,"children":741},{},[742],{"type":47,"value":743},"inpatient encounter",{"type":42,"tag":94,"props":745,"children":746},{},[747],{"type":47,"value":748},"Hospital admissions",{"type":42,"tag":72,"props":750,"children":751},{},[752,761,766],{"type":42,"tag":94,"props":753,"children":754},{},[755],{"type":42,"tag":98,"props":756,"children":758},{"className":757},[],[759],{"type":47,"value":760},"EMER",{"type":42,"tag":94,"props":762,"children":763},{},[764],{"type":47,"value":765},"emergency",{"type":42,"tag":94,"props":767,"children":768},{},[769],{"type":47,"value":770},"Emergency department",{"type":42,"tag":72,"props":772,"children":773},{},[774,783,788],{"type":42,"tag":94,"props":775,"children":776},{},[777],{"type":42,"tag":98,"props":778,"children":780},{"className":779},[],[781],{"type":47,"value":782},"VR",{"type":42,"tag":94,"props":784,"children":785},{},[786],{"type":47,"value":787},"virtual",{"type":42,"tag":94,"props":789,"children":790},{},[791],{"type":47,"value":792},"Telehealth",{"type":42,"tag":57,"props":794,"children":796},{"id":795},"conditionclinicalstatus",[797],{"type":47,"value":798},"Condition.clinicalStatus",{"type":42,"tag":504,"props":800,"children":801},{},[802],{"type":42,"tag":98,"props":803,"children":805},{"className":804},[],[806],{"type":47,"value":807},"active | recurrence | relapse | inactive | remission | resolved",{"type":42,"tag":57,"props":809,"children":811},{"id":810},"conditionverificationstatus",[812],{"type":47,"value":813},"Condition.verificationStatus",{"type":42,"tag":504,"props":815,"children":816},{},[817],{"type":42,"tag":98,"props":818,"children":820},{"className":819},[],[821],{"type":47,"value":822},"unconfirmed | provisional | differential | confirmed | refuted | entered-in-error",{"type":42,"tag":57,"props":824,"children":826},{"id":825},"medicationrequeststatus",[827],{"type":47,"value":828},"MedicationRequest.status",{"type":42,"tag":504,"props":830,"children":831},{},[832],{"type":42,"tag":98,"props":833,"children":835},{"className":834},[],[836],{"type":47,"value":837},"active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown",{"type":42,"tag":57,"props":839,"children":841},{"id":840},"medicationrequestintent",[842],{"type":47,"value":843},"MedicationRequest.intent",{"type":42,"tag":504,"props":845,"children":846},{},[847],{"type":42,"tag":98,"props":848,"children":850},{"className":849},[],[851],{"type":47,"value":852},"proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option",{"type":42,"tag":57,"props":854,"children":856},{"id":855},"bundletype",[857],{"type":47,"value":858},"Bundle.type",{"type":42,"tag":504,"props":860,"children":861},{},[862],{"type":42,"tag":98,"props":863,"children":865},{"className":864},[],[866],{"type":47,"value":867},"document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection",{"type":42,"tag":494,"props":869,"children":870},{},[],{"type":42,"tag":50,"props":872,"children":874},{"id":873},"validation-pattern",[875],{"type":47,"value":876},"Validation Pattern",{"type":42,"tag":504,"props":878,"children":879},{},[880],{"type":42,"tag":508,"props":881,"children":882},{},[883],{"type":47,"value":884},"Python\u002FFastAPI:",{"type":42,"tag":886,"props":887,"children":892},"pre",{"className":888,"code":889,"language":890,"meta":891,"style":891},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from 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","python","",[893],{"type":42,"tag":98,"props":894,"children":895},{"__ignoreMap":891},[896,907,916,926,935,943,952,961,970,979,988,996,1005,1014,1022,1031,1040,1049,1058,1067,1076,1084,1093,1101,1110,1118],{"type":42,"tag":897,"props":898,"children":901},"span",{"class":899,"line":900},"line",1,[902],{"type":42,"tag":897,"props":903,"children":904},{},[905],{"type":47,"value":906},"from fastapi import FastAPI\n",{"type":42,"tag":897,"props":908,"children":910},{"class":899,"line":909},2,[911],{"type":42,"tag":897,"props":912,"children":913},{},[914],{"type":47,"value":915},"from fastapi.responses import JSONResponse\n",{"type":42,"tag":897,"props":917,"children":919},{"class":899,"line":918},3,[920],{"type":42,"tag":897,"props":921,"children":923},{"emptyLinePlaceholder":922},true,[924],{"type":47,"value":925},"\n",{"type":42,"tag":897,"props":927,"children":929},{"class":899,"line":928},4,[930],{"type":42,"tag":897,"props":931,"children":932},{},[933],{"type":47,"value":934},"app = FastAPI()\n",{"type":42,"tag":897,"props":936,"children":938},{"class":899,"line":937},5,[939],{"type":42,"tag":897,"props":940,"children":941},{"emptyLinePlaceholder":922},[942],{"type":47,"value":925},{"type":42,"tag":897,"props":944,"children":946},{"class":899,"line":945},6,[947],{"type":42,"tag":897,"props":948,"children":949},{},[950],{"type":47,"value":951},"def operation_outcome(severity: str, code: str, diagnostics: str):\n",{"type":42,"tag":897,"props":953,"children":955},{"class":899,"line":954},7,[956],{"type":42,"tag":897,"props":957,"children":958},{},[959],{"type":47,"value":960},"    return {\n",{"type":42,"tag":897,"props":962,"children":964},{"class":899,"line":963},8,[965],{"type":42,"tag":897,"props":966,"children":967},{},[968],{"type":47,"value":969},"        \"resourceType\": \"OperationOutcome\",\n",{"type":42,"tag":897,"props":971,"children":973},{"class":899,"line":972},9,[974],{"type":42,"tag":897,"props":975,"children":976},{},[977],{"type":47,"value":978},"        \"issue\": [{\"severity\": severity, \"code\": code, \"diagnostics\": diagnostics}]\n",{"type":42,"tag":897,"props":980,"children":982},{"class":899,"line":981},10,[983],{"type":42,"tag":897,"props":984,"children":985},{},[986],{"type":47,"value":987},"    }\n",{"type":42,"tag":897,"props":989,"children":991},{"class":899,"line":990},11,[992],{"type":42,"tag":897,"props":993,"children":994},{"emptyLinePlaceholder":922},[995],{"type":47,"value":925},{"type":42,"tag":897,"props":997,"children":999},{"class":899,"line":998},12,[1000],{"type":42,"tag":897,"props":1001,"children":1002},{},[1003],{"type":47,"value":1004},"VALID_OBS_STATUS = {\"registered\", \"preliminary\", \"final\", \"amended\",\n",{"type":42,"tag":897,"props":1006,"children":1008},{"class":899,"line":1007},13,[1009],{"type":42,"tag":897,"props":1010,"children":1011},{},[1012],{"type":47,"value":1013},"                    \"corrected\", \"cancelled\", \"entered-in-error\", \"unknown\"}\n",{"type":42,"tag":897,"props":1015,"children":1017},{"class":899,"line":1016},14,[1018],{"type":42,"tag":897,"props":1019,"children":1020},{"emptyLinePlaceholder":922},[1021],{"type":47,"value":925},{"type":42,"tag":897,"props":1023,"children":1025},{"class":899,"line":1024},15,[1026],{"type":42,"tag":897,"props":1027,"children":1028},{},[1029],{"type":47,"value":1030},"@app.post(\"\u002FObservation\", status_code=201)\n",{"type":42,"tag":897,"props":1032,"children":1034},{"class":899,"line":1033},16,[1035],{"type":42,"tag":897,"props":1036,"children":1037},{},[1038],{"type":47,"value":1039},"async def create_observation(data: dict):\n",{"type":42,"tag":897,"props":1041,"children":1043},{"class":899,"line":1042},17,[1044],{"type":42,"tag":897,"props":1045,"children":1046},{},[1047],{"type":47,"value":1048},"    if not data.get(\"status\"):\n",{"type":42,"tag":897,"props":1050,"children":1052},{"class":899,"line":1051},18,[1053],{"type":42,"tag":897,"props":1054,"children":1055},{},[1056],{"type":47,"value":1057},"        return JSONResponse(status_code=422, content=operation_outcome(\n",{"type":42,"tag":897,"props":1059,"children":1061},{"class":899,"line":1060},19,[1062],{"type":42,"tag":897,"props":1063,"children":1064},{},[1065],{"type":47,"value":1066},"            \"error\", \"required\", \"Observation.status is required\"\n",{"type":42,"tag":897,"props":1068,"children":1070},{"class":899,"line":1069},20,[1071],{"type":42,"tag":897,"props":1072,"children":1073},{},[1074],{"type":47,"value":1075},"        ), media_type=\"application\u002Ffhir+json\")\n",{"type":42,"tag":897,"props":1077,"children":1079},{"class":899,"line":1078},21,[1080],{"type":42,"tag":897,"props":1081,"children":1082},{"emptyLinePlaceholder":922},[1083],{"type":47,"value":925},{"type":42,"tag":897,"props":1085,"children":1087},{"class":899,"line":1086},22,[1088],{"type":42,"tag":897,"props":1089,"children":1090},{},[1091],{"type":47,"value":1092},"    if data[\"status\"] not in VALID_OBS_STATUS:\n",{"type":42,"tag":897,"props":1094,"children":1096},{"class":899,"line":1095},23,[1097],{"type":42,"tag":897,"props":1098,"children":1099},{},[1100],{"type":47,"value":1057},{"type":42,"tag":897,"props":1102,"children":1104},{"class":899,"line":1103},24,[1105],{"type":42,"tag":897,"props":1106,"children":1107},{},[1108],{"type":47,"value":1109},"            \"error\", \"value\", f\"Invalid status '{data['status']}'\"\n",{"type":42,"tag":897,"props":1111,"children":1113},{"class":899,"line":1112},25,[1114],{"type":42,"tag":897,"props":1115,"children":1116},{},[1117],{"type":47,"value":1075},{"type":42,"tag":897,"props":1119,"children":1121},{"class":899,"line":1120},26,[1122],{"type":42,"tag":897,"props":1123,"children":1124},{},[1125],{"type":47,"value":1126},"    # ... create resource\n",{"type":42,"tag":504,"props":1128,"children":1129},{},[1130],{"type":42,"tag":508,"props":1131,"children":1132},{},[1133],{"type":47,"value":1134},"TypeScript\u002FExpress:",{"type":42,"tag":886,"props":1136,"children":1140},{"className":1137,"code":1138,"language":1139,"meta":891,"style":891},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","const 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","typescript",[1141],{"type":42,"tag":98,"props":1142,"children":1143},{"__ignoreMap":891},[1144,1254,1332,1339,1412,1462,1527,1609,1617,1679,1738,1851,1858,1867],{"type":42,"tag":897,"props":1145,"children":1146},{"class":899,"line":900},[1147,1153,1159,1165,1170,1176,1181,1186,1192,1196,1201,1206,1211,1215,1219,1223,1228,1232,1236,1240,1245,1249],{"type":42,"tag":897,"props":1148,"children":1150},{"style":1149},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1151],{"type":47,"value":1152},"const",{"type":42,"tag":897,"props":1154,"children":1156},{"style":1155},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1157],{"type":47,"value":1158}," VALID_OBS_STATUS ",{"type":42,"tag":897,"props":1160,"children":1162},{"style":1161},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[1163],{"type":47,"value":1164},"=",{"type":42,"tag":897,"props":1166,"children":1167},{"style":1161},[1168],{"type":47,"value":1169}," new",{"type":42,"tag":897,"props":1171,"children":1173},{"style":1172},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[1174],{"type":47,"value":1175}," Set",{"type":42,"tag":897,"props":1177,"children":1178},{"style":1155},[1179],{"type":47,"value":1180},"([",{"type":42,"tag":897,"props":1182,"children":1183},{"style":1161},[1184],{"type":47,"value":1185},"'",{"type":42,"tag":897,"props":1187,"children":1189},{"style":1188},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[1190],{"type":47,"value":1191},"registered",{"type":42,"tag":897,"props":1193,"children":1194},{"style":1161},[1195],{"type":47,"value":1185},{"type":42,"tag":897,"props":1197,"children":1198},{"style":1161},[1199],{"type":47,"value":1200},",",{"type":42,"tag":897,"props":1202,"children":1203},{"style":1161},[1204],{"type":47,"value":1205}," '",{"type":42,"tag":897,"props":1207,"children":1208},{"style":1188},[1209],{"type":47,"value":1210},"preliminary",{"type":42,"tag":897,"props":1212,"children":1213},{"style":1161},[1214],{"type":47,"value":1185},{"type":42,"tag":897,"props":1216,"children":1217},{"style":1161},[1218],{"type":47,"value":1200},{"type":42,"tag":897,"props":1220,"children":1221},{"style":1161},[1222],{"type":47,"value":1205},{"type":42,"tag":897,"props":1224,"children":1225},{"style":1188},[1226],{"type":47,"value":1227},"final",{"type":42,"tag":897,"props":1229,"children":1230},{"style":1161},[1231],{"type":47,"value":1185},{"type":42,"tag":897,"props":1233,"children":1234},{"style":1161},[1235],{"type":47,"value":1200},{"type":42,"tag":897,"props":1237,"children":1238},{"style":1161},[1239],{"type":47,"value":1205},{"type":42,"tag":897,"props":1241,"children":1242},{"style":1188},[1243],{"type":47,"value":1244},"amended",{"type":42,"tag":897,"props":1246,"children":1247},{"style":1161},[1248],{"type":47,"value":1185},{"type":42,"tag":897,"props":1250,"children":1251},{"style":1161},[1252],{"type":47,"value":1253},",\n",{"type":42,"tag":897,"props":1255,"children":1256},{"class":899,"line":909},[1257,1262,1267,1271,1275,1279,1284,1288,1292,1296,1301,1305,1309,1313,1318,1322,1327],{"type":42,"tag":897,"props":1258,"children":1259},{"style":1161},[1260],{"type":47,"value":1261},"  '",{"type":42,"tag":897,"props":1263,"children":1264},{"style":1188},[1265],{"type":47,"value":1266},"corrected",{"type":42,"tag":897,"props":1268,"children":1269},{"style":1161},[1270],{"type":47,"value":1185},{"type":42,"tag":897,"props":1272,"children":1273},{"style":1161},[1274],{"type":47,"value":1200},{"type":42,"tag":897,"props":1276,"children":1277},{"style":1161},[1278],{"type":47,"value":1205},{"type":42,"tag":897,"props":1280,"children":1281},{"style":1188},[1282],{"type":47,"value":1283},"cancelled",{"type":42,"tag":897,"props":1285,"children":1286},{"style":1161},[1287],{"type":47,"value":1185},{"type":42,"tag":897,"props":1289,"children":1290},{"style":1161},[1291],{"type":47,"value":1200},{"type":42,"tag":897,"props":1293,"children":1294},{"style":1161},[1295],{"type":47,"value":1205},{"type":42,"tag":897,"props":1297,"children":1298},{"style":1188},[1299],{"type":47,"value":1300},"entered-in-error",{"type":42,"tag":897,"props":1302,"children":1303},{"style":1161},[1304],{"type":47,"value":1185},{"type":42,"tag":897,"props":1306,"children":1307},{"style":1161},[1308],{"type":47,"value":1200},{"type":42,"tag":897,"props":1310,"children":1311},{"style":1161},[1312],{"type":47,"value":1205},{"type":42,"tag":897,"props":1314,"children":1315},{"style":1188},[1316],{"type":47,"value":1317},"unknown",{"type":42,"tag":897,"props":1319,"children":1320},{"style":1161},[1321],{"type":47,"value":1185},{"type":42,"tag":897,"props":1323,"children":1324},{"style":1155},[1325],{"type":47,"value":1326},"])",{"type":42,"tag":897,"props":1328,"children":1329},{"style":1161},[1330],{"type":47,"value":1331},";\n",{"type":42,"tag":897,"props":1333,"children":1334},{"class":899,"line":918},[1335],{"type":42,"tag":897,"props":1336,"children":1337},{"emptyLinePlaceholder":922},[1338],{"type":47,"value":925},{"type":42,"tag":897,"props":1340,"children":1341},{"class":899,"line":928},[1342,1347,1351,1356,1361,1365,1370,1374,1378,1383,1389,1393,1398,1402,1407],{"type":42,"tag":897,"props":1343,"children":1344},{"style":1155},[1345],{"type":47,"value":1346},"app",{"type":42,"tag":897,"props":1348,"children":1349},{"style":1161},[1350],{"type":47,"value":627},{"type":42,"tag":897,"props":1352,"children":1353},{"style":1172},[1354],{"type":47,"value":1355},"post",{"type":42,"tag":897,"props":1357,"children":1358},{"style":1155},[1359],{"type":47,"value":1360},"(",{"type":42,"tag":897,"props":1362,"children":1363},{"style":1161},[1364],{"type":47,"value":1185},{"type":42,"tag":897,"props":1366,"children":1367},{"style":1188},[1368],{"type":47,"value":1369},"\u002FObservation",{"type":42,"tag":897,"props":1371,"children":1372},{"style":1161},[1373],{"type":47,"value":1185},{"type":42,"tag":897,"props":1375,"children":1376},{"style":1161},[1377],{"type":47,"value":1200},{"type":42,"tag":897,"props":1379,"children":1380},{"style":1161},[1381],{"type":47,"value":1382}," (",{"type":42,"tag":897,"props":1384,"children":1386},{"style":1385},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[1387],{"type":47,"value":1388},"req",{"type":42,"tag":897,"props":1390,"children":1391},{"style":1161},[1392],{"type":47,"value":1200},{"type":42,"tag":897,"props":1394,"children":1395},{"style":1385},[1396],{"type":47,"value":1397}," res",{"type":42,"tag":897,"props":1399,"children":1400},{"style":1161},[1401],{"type":47,"value":379},{"type":42,"tag":897,"props":1403,"children":1404},{"style":1149},[1405],{"type":47,"value":1406}," =>",{"type":42,"tag":897,"props":1408,"children":1409},{"style":1161},[1410],{"type":47,"value":1411}," {\n",{"type":42,"tag":897,"props":1413,"children":1414},{"class":899,"line":937},[1415,1421,1426,1431,1435,1439,1444,1448,1452,1457],{"type":42,"tag":897,"props":1416,"children":1418},{"style":1417},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1419],{"type":47,"value":1420},"  if",{"type":42,"tag":897,"props":1422,"children":1424},{"style":1423},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1425],{"type":47,"value":1382},{"type":42,"tag":897,"props":1427,"children":1428},{"style":1161},[1429],{"type":47,"value":1430},"!",{"type":42,"tag":897,"props":1432,"children":1433},{"style":1155},[1434],{"type":47,"value":1388},{"type":42,"tag":897,"props":1436,"children":1437},{"style":1161},[1438],{"type":47,"value":627},{"type":42,"tag":897,"props":1440,"children":1441},{"style":1155},[1442],{"type":47,"value":1443},"body",{"type":42,"tag":897,"props":1445,"children":1446},{"style":1161},[1447],{"type":47,"value":627},{"type":42,"tag":897,"props":1449,"children":1450},{"style":1155},[1451],{"type":47,"value":324},{"type":42,"tag":897,"props":1453,"children":1454},{"style":1423},[1455],{"type":47,"value":1456},") ",{"type":42,"tag":897,"props":1458,"children":1459},{"style":1161},[1460],{"type":47,"value":1461},"{\n",{"type":42,"tag":897,"props":1463,"children":1464},{"class":899,"line":945},[1465,1470,1474,1478,1482,1486,1492,1496,1500,1505,1509,1513,1518,1522],{"type":42,"tag":897,"props":1466,"children":1467},{"style":1417},[1468],{"type":47,"value":1469},"    return",{"type":42,"tag":897,"props":1471,"children":1472},{"style":1155},[1473],{"type":47,"value":1397},{"type":42,"tag":897,"props":1475,"children":1476},{"style":1161},[1477],{"type":47,"value":627},{"type":42,"tag":897,"props":1479,"children":1480},{"style":1172},[1481],{"type":47,"value":324},{"type":42,"tag":897,"props":1483,"children":1484},{"style":1423},[1485],{"type":47,"value":1360},{"type":42,"tag":897,"props":1487,"children":1489},{"style":1488},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1490],{"type":47,"value":1491},"422",{"type":42,"tag":897,"props":1493,"children":1494},{"style":1423},[1495],{"type":47,"value":379},{"type":42,"tag":897,"props":1497,"children":1498},{"style":1161},[1499],{"type":47,"value":627},{"type":42,"tag":897,"props":1501,"children":1502},{"style":1172},[1503],{"type":47,"value":1504},"contentType",{"type":42,"tag":897,"props":1506,"children":1507},{"style":1423},[1508],{"type":47,"value":1360},{"type":42,"tag":897,"props":1510,"children":1511},{"style":1161},[1512],{"type":47,"value":1185},{"type":42,"tag":897,"props":1514,"children":1515},{"style":1188},[1516],{"type":47,"value":1517},"application\u002Ffhir+json",{"type":42,"tag":897,"props":1519,"children":1520},{"style":1161},[1521],{"type":47,"value":1185},{"type":42,"tag":897,"props":1523,"children":1524},{"style":1423},[1525],{"type":47,"value":1526},")\n",{"type":42,"tag":897,"props":1528,"children":1529},{"class":899,"line":954},[1530,1535,1540,1544,1549,1553,1557,1562,1566,1570,1574,1579,1583,1587,1591,1596,1600,1605],{"type":42,"tag":897,"props":1531,"children":1532},{"style":1161},[1533],{"type":47,"value":1534},"      .",{"type":42,"tag":897,"props":1536,"children":1537},{"style":1172},[1538],{"type":47,"value":1539},"json",{"type":42,"tag":897,"props":1541,"children":1542},{"style":1423},[1543],{"type":47,"value":1360},{"type":42,"tag":897,"props":1545,"children":1546},{"style":1172},[1547],{"type":47,"value":1548},"operationOutcome",{"type":42,"tag":897,"props":1550,"children":1551},{"style":1423},[1552],{"type":47,"value":1360},{"type":42,"tag":897,"props":1554,"children":1555},{"style":1161},[1556],{"type":47,"value":1185},{"type":42,"tag":897,"props":1558,"children":1559},{"style":1188},[1560],{"type":47,"value":1561},"error",{"type":42,"tag":897,"props":1563,"children":1564},{"style":1161},[1565],{"type":47,"value":1185},{"type":42,"tag":897,"props":1567,"children":1568},{"style":1161},[1569],{"type":47,"value":1200},{"type":42,"tag":897,"props":1571,"children":1572},{"style":1161},[1573],{"type":47,"value":1205},{"type":42,"tag":897,"props":1575,"children":1576},{"style":1188},[1577],{"type":47,"value":1578},"required",{"type":42,"tag":897,"props":1580,"children":1581},{"style":1161},[1582],{"type":47,"value":1185},{"type":42,"tag":897,"props":1584,"children":1585},{"style":1161},[1586],{"type":47,"value":1200},{"type":42,"tag":897,"props":1588,"children":1589},{"style":1161},[1590],{"type":47,"value":1205},{"type":42,"tag":897,"props":1592,"children":1593},{"style":1188},[1594],{"type":47,"value":1595},"Observation.status is required",{"type":42,"tag":897,"props":1597,"children":1598},{"style":1161},[1599],{"type":47,"value":1185},{"type":42,"tag":897,"props":1601,"children":1602},{"style":1423},[1603],{"type":47,"value":1604},"))",{"type":42,"tag":897,"props":1606,"children":1607},{"style":1161},[1608],{"type":47,"value":1331},{"type":42,"tag":897,"props":1610,"children":1611},{"class":899,"line":963},[1612],{"type":42,"tag":897,"props":1613,"children":1614},{"style":1161},[1615],{"type":47,"value":1616},"  }\n",{"type":42,"tag":897,"props":1618,"children":1619},{"class":899,"line":972},[1620,1624,1628,1632,1637,1641,1646,1650,1654,1658,1662,1666,1670,1675],{"type":42,"tag":897,"props":1621,"children":1622},{"style":1417},[1623],{"type":47,"value":1420},{"type":42,"tag":897,"props":1625,"children":1626},{"style":1423},[1627],{"type":47,"value":1382},{"type":42,"tag":897,"props":1629,"children":1630},{"style":1161},[1631],{"type":47,"value":1430},{"type":42,"tag":897,"props":1633,"children":1634},{"style":1155},[1635],{"type":47,"value":1636},"VALID_OBS_STATUS",{"type":42,"tag":897,"props":1638,"children":1639},{"style":1161},[1640],{"type":47,"value":627},{"type":42,"tag":897,"props":1642,"children":1643},{"style":1172},[1644],{"type":47,"value":1645},"has",{"type":42,"tag":897,"props":1647,"children":1648},{"style":1423},[1649],{"type":47,"value":1360},{"type":42,"tag":897,"props":1651,"children":1652},{"style":1155},[1653],{"type":47,"value":1388},{"type":42,"tag":897,"props":1655,"children":1656},{"style":1161},[1657],{"type":47,"value":627},{"type":42,"tag":897,"props":1659,"children":1660},{"style":1155},[1661],{"type":47,"value":1443},{"type":42,"tag":897,"props":1663,"children":1664},{"style":1161},[1665],{"type":47,"value":627},{"type":42,"tag":897,"props":1667,"children":1668},{"style":1155},[1669],{"type":47,"value":324},{"type":42,"tag":897,"props":1671,"children":1672},{"style":1423},[1673],{"type":47,"value":1674},")) ",{"type":42,"tag":897,"props":1676,"children":1677},{"style":1161},[1678],{"type":47,"value":1461},{"type":42,"tag":897,"props":1680,"children":1681},{"class":899,"line":981},[1682,1686,1690,1694,1698,1702,1706,1710,1714,1718,1722,1726,1730,1734],{"type":42,"tag":897,"props":1683,"children":1684},{"style":1417},[1685],{"type":47,"value":1469},{"type":42,"tag":897,"props":1687,"children":1688},{"style":1155},[1689],{"type":47,"value":1397},{"type":42,"tag":897,"props":1691,"children":1692},{"style":1161},[1693],{"type":47,"value":627},{"type":42,"tag":897,"props":1695,"children":1696},{"style":1172},[1697],{"type":47,"value":324},{"type":42,"tag":897,"props":1699,"children":1700},{"style":1423},[1701],{"type":47,"value":1360},{"type":42,"tag":897,"props":1703,"children":1704},{"style":1488},[1705],{"type":47,"value":1491},{"type":42,"tag":897,"props":1707,"children":1708},{"style":1423},[1709],{"type":47,"value":379},{"type":42,"tag":897,"props":1711,"children":1712},{"style":1161},[1713],{"type":47,"value":627},{"type":42,"tag":897,"props":1715,"children":1716},{"style":1172},[1717],{"type":47,"value":1504},{"type":42,"tag":897,"props":1719,"children":1720},{"style":1423},[1721],{"type":47,"value":1360},{"type":42,"tag":897,"props":1723,"children":1724},{"style":1161},[1725],{"type":47,"value":1185},{"type":42,"tag":897,"props":1727,"children":1728},{"style":1188},[1729],{"type":47,"value":1517},{"type":42,"tag":897,"props":1731,"children":1732},{"style":1161},[1733],{"type":47,"value":1185},{"type":42,"tag":897,"props":1735,"children":1736},{"style":1423},[1737],{"type":47,"value":1526},{"type":42,"tag":897,"props":1739,"children":1740},{"class":899,"line":990},[1741,1745,1749,1753,1757,1761,1765,1769,1773,1777,1781,1786,1790,1794,1799,1804,1809,1813,1817,1821,1825,1829,1834,1838,1843,1847],{"type":42,"tag":897,"props":1742,"children":1743},{"style":1161},[1744],{"type":47,"value":1534},{"type":42,"tag":897,"props":1746,"children":1747},{"style":1172},[1748],{"type":47,"value":1539},{"type":42,"tag":897,"props":1750,"children":1751},{"style":1423},[1752],{"type":47,"value":1360},{"type":42,"tag":897,"props":1754,"children":1755},{"style":1172},[1756],{"type":47,"value":1548},{"type":42,"tag":897,"props":1758,"children":1759},{"style":1423},[1760],{"type":47,"value":1360},{"type":42,"tag":897,"props":1762,"children":1763},{"style":1161},[1764],{"type":47,"value":1185},{"type":42,"tag":897,"props":1766,"children":1767},{"style":1188},[1768],{"type":47,"value":1561},{"type":42,"tag":897,"props":1770,"children":1771},{"style":1161},[1772],{"type":47,"value":1185},{"type":42,"tag":897,"props":1774,"children":1775},{"style":1161},[1776],{"type":47,"value":1200},{"type":42,"tag":897,"props":1778,"children":1779},{"style":1161},[1780],{"type":47,"value":1205},{"type":42,"tag":897,"props":1782,"children":1783},{"style":1188},[1784],{"type":47,"value":1785},"value",{"type":42,"tag":897,"props":1787,"children":1788},{"style":1161},[1789],{"type":47,"value":1185},{"type":42,"tag":897,"props":1791,"children":1792},{"style":1161},[1793],{"type":47,"value":1200},{"type":42,"tag":897,"props":1795,"children":1796},{"style":1161},[1797],{"type":47,"value":1798}," `",{"type":42,"tag":897,"props":1800,"children":1801},{"style":1188},[1802],{"type":47,"value":1803},"Invalid status '",{"type":42,"tag":897,"props":1805,"children":1806},{"style":1161},[1807],{"type":47,"value":1808},"${",{"type":42,"tag":897,"props":1810,"children":1811},{"style":1155},[1812],{"type":47,"value":1388},{"type":42,"tag":897,"props":1814,"children":1815},{"style":1161},[1816],{"type":47,"value":627},{"type":42,"tag":897,"props":1818,"children":1819},{"style":1155},[1820],{"type":47,"value":1443},{"type":42,"tag":897,"props":1822,"children":1823},{"style":1161},[1824],{"type":47,"value":627},{"type":42,"tag":897,"props":1826,"children":1827},{"style":1155},[1828],{"type":47,"value":324},{"type":42,"tag":897,"props":1830,"children":1831},{"style":1161},[1832],{"type":47,"value":1833},"}",{"type":42,"tag":897,"props":1835,"children":1836},{"style":1188},[1837],{"type":47,"value":1185},{"type":42,"tag":897,"props":1839,"children":1840},{"style":1161},[1841],{"type":47,"value":1842},"`",{"type":42,"tag":897,"props":1844,"children":1845},{"style":1423},[1846],{"type":47,"value":1604},{"type":42,"tag":897,"props":1848,"children":1849},{"style":1161},[1850],{"type":47,"value":1331},{"type":42,"tag":897,"props":1852,"children":1853},{"class":899,"line":998},[1854],{"type":42,"tag":897,"props":1855,"children":1856},{"style":1161},[1857],{"type":47,"value":1616},{"type":42,"tag":897,"props":1859,"children":1860},{"class":899,"line":1007},[1861],{"type":42,"tag":897,"props":1862,"children":1864},{"style":1863},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1865],{"type":47,"value":1866},"  \u002F\u002F ... create resource\n",{"type":42,"tag":897,"props":1868,"children":1869},{"class":899,"line":1016},[1870,1874,1878],{"type":42,"tag":897,"props":1871,"children":1872},{"style":1161},[1873],{"type":47,"value":1833},{"type":42,"tag":897,"props":1875,"children":1876},{"style":1155},[1877],{"type":47,"value":379},{"type":42,"tag":897,"props":1879,"children":1880},{"style":1161},[1881],{"type":47,"value":1331},{"type":42,"tag":504,"props":1883,"children":1884},{},[1885,1890,1892,1898,1900,1906],{"type":42,"tag":508,"props":1886,"children":1887},{},[1888],{"type":47,"value":1889},"Pydantic v2 Models",{"type":47,"value":1891}," (use ",{"type":42,"tag":98,"props":1893,"children":1895},{"className":1894},[],[1896],{"type":47,"value":1897},"Literal",{"type":47,"value":1899},", not ",{"type":42,"tag":98,"props":1901,"children":1903},{"className":1902},[],[1904],{"type":47,"value":1905},"const=True",{"type":47,"value":1907},"):",{"type":42,"tag":886,"props":1909,"children":1911},{"className":888,"code":1910,"language":890,"meta":891,"style":891},"from 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",[1912],{"type":42,"tag":98,"props":1913,"children":1914},{"__ignoreMap":891},[1915,1923,1931,1938,1946,1954,1962],{"type":42,"tag":897,"props":1916,"children":1917},{"class":899,"line":900},[1918],{"type":42,"tag":897,"props":1919,"children":1920},{},[1921],{"type":47,"value":1922},"from typing import Literal\n",{"type":42,"tag":897,"props":1924,"children":1925},{"class":899,"line":909},[1926],{"type":42,"tag":897,"props":1927,"children":1928},{},[1929],{"type":47,"value":1930},"from pydantic import BaseModel\n",{"type":42,"tag":897,"props":1932,"children":1933},{"class":899,"line":918},[1934],{"type":42,"tag":897,"props":1935,"children":1936},{"emptyLinePlaceholder":922},[1937],{"type":47,"value":925},{"type":42,"tag":897,"props":1939,"children":1940},{"class":899,"line":928},[1941],{"type":42,"tag":897,"props":1942,"children":1943},{},[1944],{"type":47,"value":1945},"class Patient(BaseModel):\n",{"type":42,"tag":897,"props":1947,"children":1948},{"class":899,"line":937},[1949],{"type":42,"tag":897,"props":1950,"children":1951},{},[1952],{"type":47,"value":1953},"    resourceType: Literal[\"Patient\"] = \"Patient\"\n",{"type":42,"tag":897,"props":1955,"children":1956},{"class":899,"line":945},[1957],{"type":42,"tag":897,"props":1958,"children":1959},{},[1960],{"type":47,"value":1961},"    id: str | None = None\n",{"type":42,"tag":897,"props":1963,"children":1964},{"class":899,"line":954},[1965],{"type":42,"tag":897,"props":1966,"children":1967},{},[1968],{"type":47,"value":1969},"    gender: Literal[\"male\", \"female\", \"other\", \"unknown\"] | None = None\n",{"type":42,"tag":494,"props":1971,"children":1972},{},[],{"type":42,"tag":50,"props":1974,"children":1976},{"id":1975},"coding-systems-urls",[1977],{"type":47,"value":1978},"Coding Systems (URLs)",{"type":42,"tag":64,"props":1980,"children":1981},{},[1982,1998],{"type":42,"tag":68,"props":1983,"children":1984},{},[1985],{"type":42,"tag":72,"props":1986,"children":1987},{},[1988,1993],{"type":42,"tag":76,"props":1989,"children":1990},{},[1991],{"type":47,"value":1992},"System",{"type":42,"tag":76,"props":1994,"children":1995},{},[1996],{"type":47,"value":1997},"URL",{"type":42,"tag":87,"props":1999,"children":2000},{},[2001,2018,2035,2052,2069,2086,2103,2120],{"type":42,"tag":72,"props":2002,"children":2003},{},[2004,2009],{"type":42,"tag":94,"props":2005,"children":2006},{},[2007],{"type":47,"value":2008},"LOINC",{"type":42,"tag":94,"props":2010,"children":2011},{},[2012],{"type":42,"tag":98,"props":2013,"children":2015},{"className":2014},[],[2016],{"type":47,"value":2017},"http:\u002F\u002Floinc.org",{"type":42,"tag":72,"props":2019,"children":2020},{},[2021,2026],{"type":42,"tag":94,"props":2022,"children":2023},{},[2024],{"type":47,"value":2025},"SNOMED CT",{"type":42,"tag":94,"props":2027,"children":2028},{},[2029],{"type":42,"tag":98,"props":2030,"children":2032},{"className":2031},[],[2033],{"type":47,"value":2034},"http:\u002F\u002Fsnomed.info\u002Fsct",{"type":42,"tag":72,"props":2036,"children":2037},{},[2038,2043],{"type":42,"tag":94,"props":2039,"children":2040},{},[2041],{"type":47,"value":2042},"RxNorm",{"type":42,"tag":94,"props":2044,"children":2045},{},[2046],{"type":42,"tag":98,"props":2047,"children":2049},{"className":2048},[],[2050],{"type":47,"value":2051},"http:\u002F\u002Fwww.nlm.nih.gov\u002Fresearch\u002Fumls\u002Frxnorm",{"type":42,"tag":72,"props":2053,"children":2054},{},[2055,2060],{"type":42,"tag":94,"props":2056,"children":2057},{},[2058],{"type":47,"value":2059},"ICD-10",{"type":42,"tag":94,"props":2061,"children":2062},{},[2063],{"type":42,"tag":98,"props":2064,"children":2066},{"className":2065},[],[2067],{"type":47,"value":2068},"http:\u002F\u002Fhl7.org\u002Ffhir\u002Fsid\u002Ficd-10",{"type":42,"tag":72,"props":2070,"children":2071},{},[2072,2077],{"type":42,"tag":94,"props":2073,"children":2074},{},[2075],{"type":47,"value":2076},"v3-ActCode",{"type":42,"tag":94,"props":2078,"children":2079},{},[2080],{"type":42,"tag":98,"props":2081,"children":2083},{"className":2082},[],[2084],{"type":47,"value":2085},"http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fv3-ActCode",{"type":42,"tag":72,"props":2087,"children":2088},{},[2089,2094],{"type":42,"tag":94,"props":2090,"children":2091},{},[2092],{"type":47,"value":2093},"Observation Category",{"type":42,"tag":94,"props":2095,"children":2096},{},[2097],{"type":42,"tag":98,"props":2098,"children":2100},{"className":2099},[],[2101],{"type":47,"value":2102},"http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fobservation-category",{"type":42,"tag":72,"props":2104,"children":2105},{},[2106,2111],{"type":42,"tag":94,"props":2107,"children":2108},{},[2109],{"type":47,"value":2110},"Condition Clinical",{"type":42,"tag":94,"props":2112,"children":2113},{},[2114],{"type":42,"tag":98,"props":2115,"children":2117},{"className":2116},[],[2118],{"type":47,"value":2119},"http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fcondition-clinical",{"type":42,"tag":72,"props":2121,"children":2122},{},[2123,2128],{"type":42,"tag":94,"props":2124,"children":2125},{},[2126],{"type":47,"value":2127},"Condition Ver Status",{"type":42,"tag":94,"props":2129,"children":2130},{},[2131],{"type":42,"tag":98,"props":2132,"children":2134},{"className":2133},[],[2135],{"type":47,"value":2136},"http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fcondition-ver-status",{"type":42,"tag":57,"props":2138,"children":2140},{"id":2139},"common-loinc-codes-vital-signs",[2141],{"type":47,"value":2142},"Common LOINC Codes (Vital Signs)",{"type":42,"tag":64,"props":2144,"children":2145},{},[2146,2161],{"type":42,"tag":68,"props":2147,"children":2148},{},[2149],{"type":42,"tag":72,"props":2150,"children":2151},{},[2152,2156],{"type":42,"tag":76,"props":2153,"children":2154},{},[2155],{"type":47,"value":80},{"type":42,"tag":76,"props":2157,"children":2158},{},[2159],{"type":47,"value":2160},"Description",{"type":42,"tag":87,"props":2162,"children":2163},{},[2164,2181,2198,2215,2232],{"type":42,"tag":72,"props":2165,"children":2166},{},[2167,2176],{"type":42,"tag":94,"props":2168,"children":2169},{},[2170],{"type":42,"tag":98,"props":2171,"children":2173},{"className":2172},[],[2174],{"type":47,"value":2175},"8867-4",{"type":42,"tag":94,"props":2177,"children":2178},{},[2179],{"type":47,"value":2180},"Heart rate",{"type":42,"tag":72,"props":2182,"children":2183},{},[2184,2193],{"type":42,"tag":94,"props":2185,"children":2186},{},[2187],{"type":42,"tag":98,"props":2188,"children":2190},{"className":2189},[],[2191],{"type":47,"value":2192},"8480-6",{"type":42,"tag":94,"props":2194,"children":2195},{},[2196],{"type":47,"value":2197},"Systolic blood pressure",{"type":42,"tag":72,"props":2199,"children":2200},{},[2201,2210],{"type":42,"tag":94,"props":2202,"children":2203},{},[2204],{"type":42,"tag":98,"props":2205,"children":2207},{"className":2206},[],[2208],{"type":47,"value":2209},"8462-4",{"type":42,"tag":94,"props":2211,"children":2212},{},[2213],{"type":47,"value":2214},"Diastolic blood pressure",{"type":42,"tag":72,"props":2216,"children":2217},{},[2218,2227],{"type":42,"tag":94,"props":2219,"children":2220},{},[2221],{"type":42,"tag":98,"props":2222,"children":2224},{"className":2223},[],[2225],{"type":47,"value":2226},"8310-5",{"type":42,"tag":94,"props":2228,"children":2229},{},[2230],{"type":47,"value":2231},"Body temperature",{"type":42,"tag":72,"props":2233,"children":2234},{},[2235,2244],{"type":42,"tag":94,"props":2236,"children":2237},{},[2238],{"type":42,"tag":98,"props":2239,"children":2241},{"className":2240},[],[2242],{"type":47,"value":2243},"2708-6",{"type":42,"tag":94,"props":2245,"children":2246},{},[2247],{"type":47,"value":2248},"Oxygen saturation (SpO2)",{"type":42,"tag":494,"props":2250,"children":2251},{},[],{"type":42,"tag":50,"props":2253,"children":2255},{"id":2254},"data-type-patterns",[2256],{"type":47,"value":2257},"Data Type Patterns",{"type":42,"tag":57,"props":2259,"children":2261},{"id":2260},"coding-direct-vs-codeableconcept-wrapped",[2262],{"type":47,"value":2263},"Coding (direct) vs CodeableConcept (wrapped)",{"type":42,"tag":504,"props":2265,"children":2266},{},[2267,2272,2274,2280],{"type":42,"tag":508,"props":2268,"children":2269},{},[2270],{"type":47,"value":2271},"Coding",{"type":47,"value":2273}," - Used by ",{"type":42,"tag":98,"props":2275,"children":2277},{"className":2276},[],[2278],{"type":47,"value":2279},"Encounter.class",{"type":47,"value":2281},":",{"type":42,"tag":886,"props":2283,"children":2286},{"className":2284,"code":2285,"language":1539,"meta":891,"style":891},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\"system\": \"http:\u002F\u002Fterminology.hl7.org\u002FCodeSystem\u002Fv3-ActCode\", \"code\": \"AMB\"}\n",[2287],{"type":42,"tag":98,"props":2288,"children":2289},{"__ignoreMap":891},[2290],{"type":42,"tag":897,"props":2291,"children":2292},{"class":899,"line":900},[2293,2298,2303,2308,2312,2316,2321,2325,2329,2333,2337,2341,2345,2349,2353,2357,2361],{"type":42,"tag":897,"props":2294,"children":2295},{"style":1161},[2296],{"type":47,"value":2297},"{",{"type":42,"tag":897,"props":2299,"children":2300},{"style":1161},[2301],{"type":47,"value":2302},"\"",{"type":42,"tag":897,"props":2304,"children":2305},{"style":1149},[2306],{"type":47,"value":2307},"system",{"type":42,"tag":897,"props":2309,"children":2310},{"style":1161},[2311],{"type":47,"value":2302},{"type":42,"tag":897,"props":2313,"children":2314},{"style":1161},[2315],{"type":47,"value":2281},{"type":42,"tag":897,"props":2317,"children":2318},{"style":1161},[2319],{"type":47,"value":2320}," \"",{"type":42,"tag":897,"props":2322,"children":2323},{"style":1188},[2324],{"type":47,"value":2085},{"type":42,"tag":897,"props":2326,"children":2327},{"style":1161},[2328],{"type":47,"value":2302},{"type":42,"tag":897,"props":2330,"children":2331},{"style":1161},[2332],{"type":47,"value":1200},{"type":42,"tag":897,"props":2334,"children":2335},{"style":1161},[2336],{"type":47,"value":2320},{"type":42,"tag":897,"props":2338,"children":2339},{"style":1149},[2340],{"type":47,"value":98},{"type":42,"tag":897,"props":2342,"children":2343},{"style":1161},[2344],{"type":47,"value":2302},{"type":42,"tag":897,"props":2346,"children":2347},{"style":1161},[2348],{"type":47,"value":2281},{"type":42,"tag":897,"props":2350,"children":2351},{"style":1161},[2352],{"type":47,"value":2320},{"type":42,"tag":897,"props":2354,"children":2355},{"style":1188},[2356],{"type":47,"value":716},{"type":42,"tag":897,"props":2358,"children":2359},{"style":1161},[2360],{"type":47,"value":2302},{"type":42,"tag":897,"props":2362,"children":2363},{"style":1161},[2364],{"type":47,"value":2365},"}\n",{"type":42,"tag":504,"props":2367,"children":2368},{},[2369,2374,2375,2381,2382,2388],{"type":42,"tag":508,"props":2370,"children":2371},{},[2372],{"type":47,"value":2373},"CodeableConcept",{"type":47,"value":2273},{"type":42,"tag":98,"props":2376,"children":2378},{"className":2377},[],[2379],{"type":47,"value":2380},"Observation.code",{"type":47,"value":326},{"type":42,"tag":98,"props":2383,"children":2385},{"className":2384},[],[2386],{"type":47,"value":2387},"Condition.code",{"type":47,"value":2281},{"type":42,"tag":886,"props":2390,"children":2392},{"className":2284,"code":2391,"language":1539,"meta":891,"style":891},"{\"coding\": [{\"system\": \"http:\u002F\u002Floinc.org\", \"code\": \"8480-6\"}], \"text\": \"Systolic BP\"}\n",[2393],{"type":42,"tag":98,"props":2394,"children":2395},{"__ignoreMap":891},[2396],{"type":42,"tag":897,"props":2397,"children":2398},{"class":899,"line":900},[2399,2403,2407,2412,2416,2420,2425,2429,2434,2438,2442,2446,2450,2454,2458,2462,2466,2470,2474,2478,2482,2486,2491,2495,2499,2503,2507,2511,2516,2520],{"type":42,"tag":897,"props":2400,"children":2401},{"style":1161},[2402],{"type":47,"value":2297},{"type":42,"tag":897,"props":2404,"children":2405},{"style":1161},[2406],{"type":47,"value":2302},{"type":42,"tag":897,"props":2408,"children":2409},{"style":1149},[2410],{"type":47,"value":2411},"coding",{"type":42,"tag":897,"props":2413,"children":2414},{"style":1161},[2415],{"type":47,"value":2302},{"type":42,"tag":897,"props":2417,"children":2418},{"style":1161},[2419],{"type":47,"value":2281},{"type":42,"tag":897,"props":2421,"children":2422},{"style":1161},[2423],{"type":47,"value":2424}," [{",{"type":42,"tag":897,"props":2426,"children":2427},{"style":1161},[2428],{"type":47,"value":2302},{"type":42,"tag":897,"props":2430,"children":2432},{"style":2431},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[2433],{"type":47,"value":2307},{"type":42,"tag":897,"props":2435,"children":2436},{"style":1161},[2437],{"type":47,"value":2302},{"type":42,"tag":897,"props":2439,"children":2440},{"style":1161},[2441],{"type":47,"value":2281},{"type":42,"tag":897,"props":2443,"children":2444},{"style":1161},[2445],{"type":47,"value":2320},{"type":42,"tag":897,"props":2447,"children":2448},{"style":1188},[2449],{"type":47,"value":2017},{"type":42,"tag":897,"props":2451,"children":2452},{"style":1161},[2453],{"type":47,"value":2302},{"type":42,"tag":897,"props":2455,"children":2456},{"style":1161},[2457],{"type":47,"value":1200},{"type":42,"tag":897,"props":2459,"children":2460},{"style":1161},[2461],{"type":47,"value":2320},{"type":42,"tag":897,"props":2463,"children":2464},{"style":2431},[2465],{"type":47,"value":98},{"type":42,"tag":897,"props":2467,"children":2468},{"style":1161},[2469],{"type":47,"value":2302},{"type":42,"tag":897,"props":2471,"children":2472},{"style":1161},[2473],{"type":47,"value":2281},{"type":42,"tag":897,"props":2475,"children":2476},{"style":1161},[2477],{"type":47,"value":2320},{"type":42,"tag":897,"props":2479,"children":2480},{"style":1188},[2481],{"type":47,"value":2192},{"type":42,"tag":897,"props":2483,"children":2484},{"style":1161},[2485],{"type":47,"value":2302},{"type":42,"tag":897,"props":2487,"children":2488},{"style":1161},[2489],{"type":47,"value":2490},"}],",{"type":42,"tag":897,"props":2492,"children":2493},{"style":1161},[2494],{"type":47,"value":2320},{"type":42,"tag":897,"props":2496,"children":2497},{"style":1149},[2498],{"type":47,"value":47},{"type":42,"tag":897,"props":2500,"children":2501},{"style":1161},[2502],{"type":47,"value":2302},{"type":42,"tag":897,"props":2504,"children":2505},{"style":1161},[2506],{"type":47,"value":2281},{"type":42,"tag":897,"props":2508,"children":2509},{"style":1161},[2510],{"type":47,"value":2320},{"type":42,"tag":897,"props":2512,"children":2513},{"style":1188},[2514],{"type":47,"value":2515},"Systolic BP",{"type":42,"tag":897,"props":2517,"children":2518},{"style":1161},[2519],{"type":47,"value":2302},{"type":42,"tag":897,"props":2521,"children":2522},{"style":1161},[2523],{"type":47,"value":2365},{"type":42,"tag":57,"props":2525,"children":2527},{"id":2526},"reference",[2528],{"type":47,"value":2529},"Reference",{"type":42,"tag":886,"props":2531,"children":2533},{"className":2284,"code":2532,"language":1539,"meta":891,"style":891},"{\"reference\": \"Patient\u002F123\", \"display\": \"John Smith\"}\n",[2534],{"type":42,"tag":98,"props":2535,"children":2536},{"__ignoreMap":891},[2537],{"type":42,"tag":897,"props":2538,"children":2539},{"class":899,"line":900},[2540,2544,2548,2552,2556,2560,2564,2569,2573,2577,2581,2586,2590,2594,2598,2603,2607],{"type":42,"tag":897,"props":2541,"children":2542},{"style":1161},[2543],{"type":47,"value":2297},{"type":42,"tag":897,"props":2545,"children":2546},{"style":1161},[2547],{"type":47,"value":2302},{"type":42,"tag":897,"props":2549,"children":2550},{"style":1149},[2551],{"type":47,"value":2526},{"type":42,"tag":897,"props":2553,"children":2554},{"style":1161},[2555],{"type":47,"value":2302},{"type":42,"tag":897,"props":2557,"children":2558},{"style":1161},[2559],{"type":47,"value":2281},{"type":42,"tag":897,"props":2561,"children":2562},{"style":1161},[2563],{"type":47,"value":2320},{"type":42,"tag":897,"props":2565,"children":2566},{"style":1188},[2567],{"type":47,"value":2568},"Patient\u002F123",{"type":42,"tag":897,"props":2570,"children":2571},{"style":1161},[2572],{"type":47,"value":2302},{"type":42,"tag":897,"props":2574,"children":2575},{"style":1161},[2576],{"type":47,"value":1200},{"type":42,"tag":897,"props":2578,"children":2579},{"style":1161},[2580],{"type":47,"value":2320},{"type":42,"tag":897,"props":2582,"children":2583},{"style":1149},[2584],{"type":47,"value":2585},"display",{"type":42,"tag":897,"props":2587,"children":2588},{"style":1161},[2589],{"type":47,"value":2302},{"type":42,"tag":897,"props":2591,"children":2592},{"style":1161},[2593],{"type":47,"value":2281},{"type":42,"tag":897,"props":2595,"children":2596},{"style":1161},[2597],{"type":47,"value":2320},{"type":42,"tag":897,"props":2599,"children":2600},{"style":1188},[2601],{"type":47,"value":2602},"John Smith",{"type":42,"tag":897,"props":2604,"children":2605},{"style":1161},[2606],{"type":47,"value":2302},{"type":42,"tag":897,"props":2608,"children":2609},{"style":1161},[2610],{"type":47,"value":2365},{"type":42,"tag":57,"props":2612,"children":2614},{"id":2613},"identifier",[2615],{"type":47,"value":2616},"Identifier",{"type":42,"tag":886,"props":2618,"children":2620},{"className":2284,"code":2619,"language":1539,"meta":891,"style":891},"{\"system\": \"http:\u002F\u002Fhospital.example.org\u002Fmrn\", \"value\": \"12345\"}\n",[2621],{"type":42,"tag":98,"props":2622,"children":2623},{"__ignoreMap":891},[2624],{"type":42,"tag":897,"props":2625,"children":2626},{"class":899,"line":900},[2627,2631,2635,2639,2643,2647,2651,2656,2660,2664,2668,2672,2676,2680,2684,2689,2693],{"type":42,"tag":897,"props":2628,"children":2629},{"style":1161},[2630],{"type":47,"value":2297},{"type":42,"tag":897,"props":2632,"children":2633},{"style":1161},[2634],{"type":47,"value":2302},{"type":42,"tag":897,"props":2636,"children":2637},{"style":1149},[2638],{"type":47,"value":2307},{"type":42,"tag":897,"props":2640,"children":2641},{"style":1161},[2642],{"type":47,"value":2302},{"type":42,"tag":897,"props":2644,"children":2645},{"style":1161},[2646],{"type":47,"value":2281},{"type":42,"tag":897,"props":2648,"children":2649},{"style":1161},[2650],{"type":47,"value":2320},{"type":42,"tag":897,"props":2652,"children":2653},{"style":1188},[2654],{"type":47,"value":2655},"http:\u002F\u002Fhospital.example.org\u002Fmrn",{"type":42,"tag":897,"props":2657,"children":2658},{"style":1161},[2659],{"type":47,"value":2302},{"type":42,"tag":897,"props":2661,"children":2662},{"style":1161},[2663],{"type":47,"value":1200},{"type":42,"tag":897,"props":2665,"children":2666},{"style":1161},[2667],{"type":47,"value":2320},{"type":42,"tag":897,"props":2669,"children":2670},{"style":1149},[2671],{"type":47,"value":1785},{"type":42,"tag":897,"props":2673,"children":2674},{"style":1161},[2675],{"type":47,"value":2302},{"type":42,"tag":897,"props":2677,"children":2678},{"style":1161},[2679],{"type":47,"value":2281},{"type":42,"tag":897,"props":2681,"children":2682},{"style":1161},[2683],{"type":47,"value":2320},{"type":42,"tag":897,"props":2685,"children":2686},{"style":1188},[2687],{"type":47,"value":2688},"12345",{"type":42,"tag":897,"props":2690,"children":2691},{"style":1161},[2692],{"type":47,"value":2302},{"type":42,"tag":897,"props":2694,"children":2695},{"style":1161},[2696],{"type":47,"value":2365},{"type":42,"tag":494,"props":2698,"children":2699},{},[],{"type":42,"tag":50,"props":2701,"children":2703},{"id":2702},"common-mistakes",[2704],{"type":47,"value":2705},"Common Mistakes",{"type":42,"tag":64,"props":2707,"children":2708},{},[2709,2725],{"type":42,"tag":68,"props":2710,"children":2711},{},[2712],{"type":42,"tag":72,"props":2713,"children":2714},{},[2715,2720],{"type":42,"tag":76,"props":2716,"children":2717},{},[2718],{"type":47,"value":2719},"Mistake",{"type":42,"tag":76,"props":2721,"children":2722},{},[2723],{"type":47,"value":2724},"Correct Approach",{"type":42,"tag":87,"props":2726,"children":2727},{},[2728,2768,2797,2817,2836,2855],{"type":42,"tag":72,"props":2729,"children":2730},{},[2731,2749],{"type":42,"tag":94,"props":2732,"children":2733},{},[2734,2736,2741,2742,2747],{"type":47,"value":2735},"Making ",{"type":42,"tag":98,"props":2737,"children":2739},{"className":2738},[],[2740],{"type":47,"value":370},{"type":47,"value":599},{"type":42,"tag":98,"props":2743,"children":2745},{"className":2744},[],[2746],{"type":47,"value":377},{"type":47,"value":2748}," required on Encounter",{"type":42,"tag":94,"props":2750,"children":2751},{},[2752,2754,2759,2761,2766],{"type":47,"value":2753},"Both are 0..1 (optional). Only ",{"type":42,"tag":98,"props":2755,"children":2757},{"className":2756},[],[2758],{"type":47,"value":324},{"type":47,"value":2760}," and ",{"type":42,"tag":98,"props":2762,"children":2764},{"className":2763},[],[2765],{"type":47,"value":359},{"type":47,"value":2767}," are required",{"type":42,"tag":72,"props":2769,"children":2770},{},[2771,2781],{"type":42,"tag":94,"props":2772,"children":2773},{},[2774,2776],{"type":47,"value":2775},"Using CodeableConcept for ",{"type":42,"tag":98,"props":2777,"children":2779},{"className":2778},[],[2780],{"type":47,"value":2279},{"type":42,"tag":94,"props":2782,"children":2783},{},[2784,2789,2791],{"type":42,"tag":98,"props":2785,"children":2787},{"className":2786},[],[2788],{"type":47,"value":359},{"type":47,"value":2790}," uses Coding directly: ",{"type":42,"tag":98,"props":2792,"children":2794},{"className":2793},[],[2795],{"type":47,"value":2796},"{\"system\": \"...\", \"code\": \"AMB\"}",{"type":42,"tag":72,"props":2798,"children":2799},{},[2800,2805],{"type":42,"tag":94,"props":2801,"children":2802},{},[2803],{"type":47,"value":2804},"Returning 400 for ETag mismatch",{"type":42,"tag":94,"props":2806,"children":2807},{},[2808,2810,2815],{"type":47,"value":2809},"Use ",{"type":42,"tag":98,"props":2811,"children":2813},{"className":2812},[],[2814],{"type":47,"value":230},{"type":47,"value":2816}," for If-Match failures",{"type":42,"tag":72,"props":2818,"children":2819},{},[2820,2825],{"type":42,"tag":94,"props":2821,"children":2822},{},[2823],{"type":47,"value":2824},"Returning 400 for invalid enum values",{"type":42,"tag":94,"props":2826,"children":2827},{},[2828,2829,2834],{"type":47,"value":2809},{"type":42,"tag":98,"props":2830,"children":2832},{"className":2831},[],[2833],{"type":47,"value":247},{"type":47,"value":2835}," for validation errors",{"type":42,"tag":72,"props":2837,"children":2838},{},[2839,2844],{"type":42,"tag":94,"props":2840,"children":2841},{},[2842],{"type":47,"value":2843},"Forgetting Content-Type header",{"type":42,"tag":94,"props":2845,"children":2846},{},[2847,2849],{"type":47,"value":2848},"Always set ",{"type":42,"tag":98,"props":2850,"children":2852},{"className":2851},[],[2853],{"type":47,"value":2854},"Content-Type: application\u002Ffhir+json",{"type":42,"tag":72,"props":2856,"children":2857},{},[2858,2863],{"type":42,"tag":94,"props":2859,"children":2860},{},[2861],{"type":47,"value":2862},"Missing Location header on create",{"type":42,"tag":94,"props":2864,"children":2865},{},[2866,2868,2874],{"type":47,"value":2867},"Return ",{"type":42,"tag":98,"props":2869,"children":2871},{"className":2870},[],[2872],{"type":47,"value":2873},"Location: \u002FPatient\u002F{id}",{"type":47,"value":2875}," with 201 Created",{"type":42,"tag":494,"props":2877,"children":2878},{},[],{"type":42,"tag":50,"props":2880,"children":2882},{"id":2881},"resource-structures",[2883],{"type":47,"value":2884},"Resource Structures",{"type":42,"tag":504,"props":2886,"children":2887},{},[2888,2890,2899],{"type":47,"value":2889},"For complete JSON examples of all resources, see ",{"type":42,"tag":508,"props":2891,"children":2892},{},[2893],{"type":42,"tag":2894,"props":2895,"children":2897},"a",{"href":2896},"references\u002Fresource-examples.md",[2898],{"type":47,"value":2896},{"type":47,"value":627},{"type":42,"tag":504,"props":2901,"children":2902},{},[2903],{"type":47,"value":2904},"Quick reference for error responses:",{"type":42,"tag":886,"props":2906,"children":2908},{"className":2284,"code":2907,"language":1539,"meta":891,"style":891},"{\n  \"resourceType\": \"OperationOutcome\",\n  \"issue\": [{\"severity\": \"error\", \"code\": \"not-found\", \"diagnostics\": \"Patient\u002F123 not found\"}]\n}\n",[2909],{"type":42,"tag":98,"props":2910,"children":2911},{"__ignoreMap":891},[2912,2919,2957,3082],{"type":42,"tag":897,"props":2913,"children":2914},{"class":899,"line":900},[2915],{"type":42,"tag":897,"props":2916,"children":2917},{"style":1161},[2918],{"type":47,"value":1461},{"type":42,"tag":897,"props":2920,"children":2921},{"class":899,"line":909},[2922,2927,2932,2936,2940,2944,2949,2953],{"type":42,"tag":897,"props":2923,"children":2924},{"style":1161},[2925],{"type":47,"value":2926},"  \"",{"type":42,"tag":897,"props":2928,"children":2929},{"style":1149},[2930],{"type":47,"value":2931},"resourceType",{"type":42,"tag":897,"props":2933,"children":2934},{"style":1161},[2935],{"type":47,"value":2302},{"type":42,"tag":897,"props":2937,"children":2938},{"style":1161},[2939],{"type":47,"value":2281},{"type":42,"tag":897,"props":2941,"children":2942},{"style":1161},[2943],{"type":47,"value":2320},{"type":42,"tag":897,"props":2945,"children":2946},{"style":1188},[2947],{"type":47,"value":2948},"OperationOutcome",{"type":42,"tag":897,"props":2950,"children":2951},{"style":1161},[2952],{"type":47,"value":2302},{"type":42,"tag":897,"props":2954,"children":2955},{"style":1161},[2956],{"type":47,"value":1253},{"type":42,"tag":897,"props":2958,"children":2959},{"class":899,"line":918},[2960,2964,2969,2973,2977,2981,2985,2990,2994,2998,3002,3006,3010,3014,3018,3022,3026,3030,3034,3039,3043,3047,3051,3056,3060,3064,3068,3073,3077],{"type":42,"tag":897,"props":2961,"children":2962},{"style":1161},[2963],{"type":47,"value":2926},{"type":42,"tag":897,"props":2965,"children":2966},{"style":1149},[2967],{"type":47,"value":2968},"issue",{"type":42,"tag":897,"props":2970,"children":2971},{"style":1161},[2972],{"type":47,"value":2302},{"type":42,"tag":897,"props":2974,"children":2975},{"style":1161},[2976],{"type":47,"value":2281},{"type":42,"tag":897,"props":2978,"children":2979},{"style":1161},[2980],{"type":47,"value":2424},{"type":42,"tag":897,"props":2982,"children":2983},{"style":1161},[2984],{"type":47,"value":2302},{"type":42,"tag":897,"props":2986,"children":2987},{"style":2431},[2988],{"type":47,"value":2989},"severity",{"type":42,"tag":897,"props":2991,"children":2992},{"style":1161},[2993],{"type":47,"value":2302},{"type":42,"tag":897,"props":2995,"children":2996},{"style":1161},[2997],{"type":47,"value":2281},{"type":42,"tag":897,"props":2999,"children":3000},{"style":1161},[3001],{"type":47,"value":2320},{"type":42,"tag":897,"props":3003,"children":3004},{"style":1188},[3005],{"type":47,"value":1561},{"type":42,"tag":897,"props":3007,"children":3008},{"style":1161},[3009],{"type":47,"value":2302},{"type":42,"tag":897,"props":3011,"children":3012},{"style":1161},[3013],{"type":47,"value":1200},{"type":42,"tag":897,"props":3015,"children":3016},{"style":1161},[3017],{"type":47,"value":2320},{"type":42,"tag":897,"props":3019,"children":3020},{"style":2431},[3021],{"type":47,"value":98},{"type":42,"tag":897,"props":3023,"children":3024},{"style":1161},[3025],{"type":47,"value":2302},{"type":42,"tag":897,"props":3027,"children":3028},{"style":1161},[3029],{"type":47,"value":2281},{"type":42,"tag":897,"props":3031,"children":3032},{"style":1161},[3033],{"type":47,"value":2320},{"type":42,"tag":897,"props":3035,"children":3036},{"style":1188},[3037],{"type":47,"value":3038},"not-found",{"type":42,"tag":897,"props":3040,"children":3041},{"style":1161},[3042],{"type":47,"value":2302},{"type":42,"tag":897,"props":3044,"children":3045},{"style":1161},[3046],{"type":47,"value":1200},{"type":42,"tag":897,"props":3048,"children":3049},{"style":1161},[3050],{"type":47,"value":2320},{"type":42,"tag":897,"props":3052,"children":3053},{"style":2431},[3054],{"type":47,"value":3055},"diagnostics",{"type":42,"tag":897,"props":3057,"children":3058},{"style":1161},[3059],{"type":47,"value":2302},{"type":42,"tag":897,"props":3061,"children":3062},{"style":1161},[3063],{"type":47,"value":2281},{"type":42,"tag":897,"props":3065,"children":3066},{"style":1161},[3067],{"type":47,"value":2320},{"type":42,"tag":897,"props":3069,"children":3070},{"style":1188},[3071],{"type":47,"value":3072},"Patient\u002F123 not found",{"type":42,"tag":897,"props":3074,"children":3075},{"style":1161},[3076],{"type":47,"value":2302},{"type":42,"tag":897,"props":3078,"children":3079},{"style":1161},[3080],{"type":47,"value":3081},"}]\n",{"type":42,"tag":897,"props":3083,"children":3084},{"class":899,"line":928},[3085],{"type":42,"tag":897,"props":3086,"children":3087},{"style":1161},[3088],{"type":47,"value":2365},{"type":42,"tag":494,"props":3090,"children":3091},{},[],{"type":42,"tag":50,"props":3093,"children":3095},{"id":3094},"restful-endpoints",[3096],{"type":47,"value":3097},"RESTful Endpoints",{"type":42,"tag":886,"props":3099,"children":3103},{"className":3100,"code":3102,"language":47},[3101],"language-text","POST   \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",[3104],{"type":42,"tag":98,"props":3105,"children":3106},{"__ignoreMap":891},[3107],{"type":47,"value":3102},{"type":42,"tag":494,"props":3109,"children":3110},{},[],{"type":42,"tag":50,"props":3112,"children":3114},{"id":3113},"conditional-operations",[3115],{"type":47,"value":3116},"Conditional Operations",{"type":42,"tag":504,"props":3118,"children":3119},{},[3120,3125],{"type":42,"tag":508,"props":3121,"children":3122},{},[3123],{"type":47,"value":3124},"If-Match",{"type":47,"value":3126}," (optimistic locking):",{"type":42,"tag":3128,"props":3129,"children":3130},"ul",{},[3131,3143],{"type":42,"tag":3132,"props":3133,"children":3134},"li",{},[3135,3137],{"type":47,"value":3136},"Client sends: ",{"type":42,"tag":98,"props":3138,"children":3140},{"className":3139},[],[3141],{"type":47,"value":3142},"If-Match: W\u002F\"1\"",{"type":42,"tag":3132,"props":3144,"children":3145},{},[3146,3148],{"type":47,"value":3147},"Mismatch returns ",{"type":42,"tag":98,"props":3149,"children":3151},{"className":3150},[],[3152],{"type":47,"value":230},{"type":42,"tag":504,"props":3154,"children":3155},{},[3156,3161],{"type":42,"tag":508,"props":3157,"children":3158},{},[3159],{"type":47,"value":3160},"If-None-Exist",{"type":47,"value":3162}," (conditional create):",{"type":42,"tag":3128,"props":3164,"children":3165},{},[3166,3176,3181],{"type":42,"tag":3132,"props":3167,"children":3168},{},[3169,3170],{"type":47,"value":3136},{"type":42,"tag":98,"props":3171,"children":3173},{"className":3172},[],[3174],{"type":47,"value":3175},"If-None-Exist: identifier=http:\u002F\u002Fmrn|12345",{"type":42,"tag":3132,"props":3177,"children":3178},{},[3179],{"type":47,"value":3180},"Match exists: return existing (200)",{"type":42,"tag":3132,"props":3182,"children":3183},{},[3184],{"type":47,"value":3185},"No match: create new (201)",{"type":42,"tag":494,"props":3187,"children":3188},{},[],{"type":42,"tag":50,"props":3190,"children":3192},{"id":3191},"reference-files",[3193],{"type":47,"value":3194},"Reference Files",{"type":42,"tag":504,"props":3196,"children":3197},{},[3198],{"type":47,"value":3199},"For detailed guidance, see:",{"type":42,"tag":3128,"props":3201,"children":3202},{},[3203,3216,3230,3260],{"type":42,"tag":3132,"props":3204,"children":3205},{},[3206,3214],{"type":42,"tag":508,"props":3207,"children":3208},{},[3209],{"type":42,"tag":2894,"props":3210,"children":3211},{"href":2896},[3212],{"type":47,"value":3213},"Resource Examples",{"type":47,"value":3215},": Complete JSON structures for Patient, Observation, Encounter, Condition, MedicationRequest, OperationOutcome, CapabilityStatement",{"type":42,"tag":3132,"props":3217,"children":3218},{},[3219,3228],{"type":42,"tag":508,"props":3220,"children":3221},{},[3222],{"type":42,"tag":2894,"props":3223,"children":3225},{"href":3224},"references\u002Fsmart-auth.md",[3226],{"type":47,"value":3227},"SMART on FHIR Authorization",{"type":47,"value":3229},": OAuth flows, scope syntax (v1\u002Fv2), backend services, scope enforcement",{"type":42,"tag":3132,"props":3231,"children":3232},{},[3233,3242,3244,3250,3252,3258],{"type":42,"tag":508,"props":3234,"children":3235},{},[3236],{"type":42,"tag":2894,"props":3237,"children":3239},{"href":3238},"references\u002Fpagination.md",[3240],{"type":47,"value":3241},"Pagination",{"type":47,"value":3243},": Search result pagination, ",{"type":42,"tag":98,"props":3245,"children":3247},{"className":3246},[],[3248],{"type":47,"value":3249},"_count",{"type":47,"value":3251},"\u002F",{"type":42,"tag":98,"props":3253,"children":3255},{"className":3254},[],[3256],{"type":47,"value":3257},"_offset",{"type":47,"value":3259}," parameters, link relations",{"type":42,"tag":3132,"props":3261,"children":3262},{},[3263,3272],{"type":42,"tag":508,"props":3264,"children":3265},{},[3266],{"type":42,"tag":2894,"props":3267,"children":3269},{"href":3268},"references\u002Fbundles.md",[3270],{"type":47,"value":3271},"Bundle Operations",{"type":47,"value":3273},": Transaction vs batch semantics, atomicity, processing order",{"type":42,"tag":494,"props":3275,"children":3276},{},[],{"type":42,"tag":50,"props":3278,"children":3280},{"id":3279},"implementation-checklist",[3281],{"type":47,"value":3282},"Implementation Checklist",{"type":42,"tag":3284,"props":3285,"children":3286},"ol",{},[3287,3299,3318,3335,3353,3358,3363,3368],{"type":42,"tag":3132,"props":3288,"children":3289},{},[3290,3292,3297],{"type":47,"value":3291},"Set ",{"type":42,"tag":98,"props":3293,"children":3295},{"className":3294},[],[3296],{"type":47,"value":2854},{"type":47,"value":3298}," on all responses",{"type":42,"tag":3132,"props":3300,"children":3301},{},[3302,3303,3309,3310,3316],{"type":47,"value":2867},{"type":42,"tag":98,"props":3304,"children":3306},{"className":3305},[],[3307],{"type":47,"value":3308},"meta.versionId",{"type":47,"value":2760},{"type":42,"tag":98,"props":3311,"children":3313},{"className":3312},[],[3314],{"type":47,"value":3315},"meta.lastUpdated",{"type":47,"value":3317}," on resources",{"type":42,"tag":3132,"props":3319,"children":3320},{},[3321,3322,3327,3329],{"type":47,"value":2867},{"type":42,"tag":98,"props":3323,"children":3325},{"className":3324},[],[3326],{"type":47,"value":131},{"type":47,"value":3328}," header on create: ",{"type":42,"tag":98,"props":3330,"children":3332},{"className":3331},[],[3333],{"type":47,"value":3334},"\u002FPatient\u002F{id}",{"type":42,"tag":3132,"props":3336,"children":3337},{},[3338,3339,3345,3347],{"type":47,"value":2867},{"type":42,"tag":98,"props":3340,"children":3342},{"className":3341},[],[3343],{"type":47,"value":3344},"ETag",{"type":47,"value":3346}," header: ",{"type":42,"tag":98,"props":3348,"children":3350},{"className":3349},[],[3351],{"type":47,"value":3352},"W\u002F\"{versionId}\"",{"type":42,"tag":3132,"props":3354,"children":3355},{},[3356],{"type":47,"value":3357},"Use OperationOutcome for all error responses",{"type":42,"tag":3132,"props":3359,"children":3360},{},[3361],{"type":47,"value":3362},"Validate required fields → 422 for missing",{"type":42,"tag":3132,"props":3364,"children":3365},{},[3366],{"type":47,"value":3367},"Validate enum values → 422 for invalid",{"type":42,"tag":3132,"props":3369,"children":3370},{},[3371,3373],{"type":47,"value":3372},"Search returns Bundle with ",{"type":42,"tag":98,"props":3374,"children":3376},{"className":3375},[],[3377],{"type":47,"value":3378},"type: \"searchset\"",{"type":42,"tag":494,"props":3380,"children":3381},{},[],{"type":42,"tag":50,"props":3383,"children":3385},{"id":3384},"quick-start-script",[3386],{"type":47,"value":3387},"Quick Start Script",{"type":42,"tag":504,"props":3389,"children":3390},{},[3391],{"type":47,"value":3392},"To scaffold a new FHIR API project with correct Pydantic v2 patterns:",{"type":42,"tag":886,"props":3394,"children":3398},{"className":3395,"code":3396,"language":3397,"meta":891,"style":891},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","python scripts\u002Fsetup_fhir_project.py my_fhir_api\n","bash",[3399],{"type":42,"tag":98,"props":3400,"children":3401},{"__ignoreMap":891},[3402],{"type":42,"tag":897,"props":3403,"children":3404},{"class":899,"line":900},[3405,3409,3414],{"type":42,"tag":897,"props":3406,"children":3407},{"style":2431},[3408],{"type":47,"value":890},{"type":42,"tag":897,"props":3410,"children":3411},{"style":1188},[3412],{"type":47,"value":3413}," scripts\u002Fsetup_fhir_project.py",{"type":42,"tag":897,"props":3415,"children":3416},{"style":1188},[3417],{"type":47,"value":3418}," my_fhir_api\n",{"type":42,"tag":504,"props":3420,"children":3421},{},[3422],{"type":47,"value":3423},"Creates a FastAPI project with correct models, OperationOutcome helpers, and Patient CRUD endpoints.",{"type":42,"tag":3425,"props":3426,"children":3427},"style",{},[3428],{"type":47,"value":3429},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":3431,"total":972},[3432,3443,3461,3481,3491,3498,3515],{"slug":3433,"name":3433,"fn":3434,"description":3435,"org":3436,"tags":3437,"stars":26,"repoUrl":27,"updatedAt":3442},"clinical-note-extract-skill","extract structured data from clinical notes","Extract structured data from clinical notes with span-level provenance and null-safety. Use when users say \"extract [variables] from this note\", \"abstract this chart\", \"pull structured data from these notes\", \"what does this note say about [field]\", or when building a chart-abstraction, registry, or cohort dataset from unstructured clinical text.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3438,3441],{"name":3439,"slug":3440,"type":16},"Data Analysis","data-analysis",{"name":14,"slug":15,"type":16},"2026-06-28T07:57:18.332447",{"slug":3444,"name":3444,"fn":3445,"description":3446,"org":3447,"tags":3448,"stars":26,"repoUrl":27,"updatedAt":3460},"contracts","analyze contract documents with citations","Answer a question across a corpus of contract documents with verified citations. Use when the user asks what a contract says, which contracts have a clause, what changed between amendments, or any question that needs reading and citing across a set of contract files. The corpus must be on the local filesystem (see README).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3449,3451,3454,3457],{"name":3450,"slug":3444,"type":16},"Contracts",{"name":3452,"slug":3453,"type":16},"Documents","documents",{"name":3455,"slug":3456,"type":16},"Legal","legal",{"name":3458,"slug":3459,"type":16},"Research","research","2026-07-18T05:15:17.073689",{"slug":3462,"name":3462,"fn":3463,"description":3464,"org":3465,"tags":3466,"stars":26,"repoUrl":27,"updatedAt":3480},"doc-extract","extract text from documents","Extract plain text from a document file - PDF, DOCX, XLSX, PPTX, RTF, or plain text\u002Fmarkdown\u002FHTML. Use when a binary document needs to be turned into text, for example a contract PDF or an EHR DocumentReference attachment. Other skills (fhir) invoke scripts\u002Fextract.ts directly; the contracts MCP server bundles its own copy (servers\u002Fdocuments\u002Fsrc\u002Fextract.mjs) so its bundle stays self-contained — port fixes to both.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3467,3470,3471,3474,3477],{"name":3468,"slug":3469,"type":16},"Data Cleaning","data-cleaning",{"name":3452,"slug":3453,"type":16},{"name":3472,"slug":3473,"type":16},"DOCX","docx",{"name":3475,"slug":3476,"type":16},"PDF","pdf",{"name":3478,"slug":3479,"type":16},"Spreadsheets","spreadsheets","2026-07-18T05:15:15.766116",{"slug":22,"name":22,"fn":3482,"description":3483,"org":3484,"tags":3485,"stars":26,"repoUrl":27,"updatedAt":3490},"extract clinical data from FHIR servers","Connect to a hospital's FHIR R4 server (Epic, Oracle Health\u002FCerner, MEDITECH, athenahealth, or any SMART-on-FHIR endpoint), pull a patient's clinical data and notes, and extract structured findings. Use when users say \"connect to the EHR\", \"connect to Epic\u002FCerner\", \"pull notes for patient X\", \"what do the last 6 months of notes say about Y\", or any task that starts from a live EHR rather than pasted text.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3486,3487,3488,3489],{"name":24,"slug":25,"type":16},{"name":21,"slug":22,"type":16},{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},"2026-07-03T16:28:01.476883",{"slug":4,"name":4,"fn":5,"description":6,"org":3492,"tags":3493,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3494,3495,3496,3497],{"name":24,"slug":25,"type":16},{"name":21,"slug":22,"type":16},{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},{"slug":3499,"name":3499,"fn":3500,"description":3501,"org":3502,"tags":3503,"stars":26,"repoUrl":27,"updatedAt":3514},"fraud-detection","detect fraud in healthcare claims","Screen a Medicare\u002FMedicaid claims corpus for fraud, waste, and abuse and produce ranked, fully-cited investigation referrals for an SIU \u002F program-integrity team. Use when asked to run a fraud sweep, screen claims for FWA, find billing anomalies, or generate investigation referrals over a claims dataset.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3504,3507,3510,3511],{"name":3505,"slug":3506,"type":16},"Audit","audit",{"name":3508,"slug":3509,"type":16},"Compliance","compliance",{"name":14,"slug":15,"type":16},{"name":3512,"slug":3513,"type":16},"Insurance","insurance","2026-06-26T07:50:49.129616",{"slug":3516,"name":3516,"fn":3517,"description":3518,"org":3519,"tags":3520,"stars":26,"repoUrl":27,"updatedAt":3527},"icd10-cm-skill","extract ICD-10-CM diagnosis codes","Extract billable ICD-10-CM diagnosis codes from a clinical note the way a professional coder builds the claim. Use when users say \"code this encounter\", \"assign ICD-10 codes\", \"what diagnosis codes apply\", \"code this chart\", or when turning clinical documentation into claim-ready diagnosis codes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3521,3522,3523,3524],{"name":2271,"slug":2411,"type":16},{"name":14,"slug":15,"type":16},{"name":3512,"slug":3513,"type":16},{"name":3525,"slug":3526,"type":16},"Medical Necessity","medical-necessity","2026-06-19T09:34:31.578353",{"items":3529,"total":3708},[3530,3551,3565,3575,3594,3607,3624,3644,3658,3671,3679,3692],{"slug":3531,"name":3531,"fn":3532,"description":3533,"org":3534,"tags":3535,"stars":3548,"repoUrl":3549,"updatedAt":3550},"algorithmic-art","create algorithmic art with p5.js","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3536,3539,3542,3545],{"name":3537,"slug":3538,"type":16},"Creative","creative",{"name":3540,"slug":3541,"type":16},"Design","design",{"name":3543,"slug":3544,"type":16},"Generative Art","generative-art",{"name":3546,"slug":3547,"type":16},"JavaScript","javascript",161831,"https:\u002F\u002Fgithub.com\u002Fanthropics\u002Fskills","2026-04-06T17:56:15.455818",{"slug":3552,"name":3552,"fn":3553,"description":3554,"org":3555,"tags":3556,"stars":3548,"repoUrl":3549,"updatedAt":3564},"brand-guidelines","apply Anthropic brand colors and typography","Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3557,3560,3561],{"name":3558,"slug":3559,"type":16},"Branding","branding",{"name":3540,"slug":3541,"type":16},{"name":3562,"slug":3563,"type":16},"Typography","typography","2026-04-06T17:56:05.042852",{"slug":3566,"name":3566,"fn":3567,"description":3568,"org":3569,"tags":3570,"stars":3548,"repoUrl":3549,"updatedAt":3574},"canvas-design","create posters and visual art as PNG or PDF","Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3571,3572,3573],{"name":3537,"slug":3538,"type":16},{"name":3540,"slug":3541,"type":16},{"name":3475,"slug":3476,"type":16},"2026-04-06T17:56:03.794732",{"slug":3576,"name":3576,"fn":3577,"description":3578,"org":3579,"tags":3580,"stars":3548,"repoUrl":3549,"updatedAt":3593},"claude-api","build apps with the Claude API","Reference for the Claude API \u002F Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration.\nTRIGGER — read BEFORE opening the target file; don't skip because it \"looks like a one-liner\" — whenever: the prompt names Claude\u002FAnthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing\u002Fmodel choice\u002Flimits\u002Fcaching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent\u002FMCP\u002Ftool-definition\u002Fmulti-agent\u002FRAG\u002FLLM-judge\u002Fcomputer-use; generate\u002Fsummarize\u002Fextract\u002Fclassify\u002Frewrite\u002Fconverse over NL; debugging refusals\u002Fcutoffs\u002Fstreaming\u002Ftool-calls\u002Ftokens).\nSKIP only when another provider is being worked on (overrides all triggers): OpenAI\u002FGPT\u002FGemini\u002FLlama\u002FMistral\u002FCohere\u002FOllama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3581,3584,3585,3588,3590],{"name":3582,"slug":3583,"type":16},"Agents","agents",{"name":9,"slug":8,"type":16},{"name":3586,"slug":3587,"type":16},"Anthropic SDK","anthropic-sdk",{"name":3589,"slug":3576,"type":16},"Claude API",{"name":3591,"slug":3592,"type":16},"LLM","llm","2026-07-28T05:36:08.213335",{"slug":3595,"name":3595,"fn":3596,"description":3597,"org":3598,"tags":3599,"stars":3548,"repoUrl":3549,"updatedAt":3606},"doc-coauthoring","co-author documentation and technical specs","Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3600,3603],{"name":3601,"slug":3602,"type":16},"Documentation","documentation",{"name":3604,"slug":3605,"type":16},"Technical Writing","technical-writing","2026-04-06T17:56:14.18897",{"slug":3473,"name":3473,"fn":3608,"description":3609,"org":3610,"tags":3611,"stars":3548,"repoUrl":3549,"updatedAt":3623},"create and edit Word documents","Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3612,3613,3614,3617,3620],{"name":3452,"slug":3453,"type":16},{"name":3472,"slug":3473,"type":16},{"name":3615,"slug":3616,"type":16},"Office","office",{"name":3618,"slug":3619,"type":16},"Templates","templates",{"name":3621,"slug":3622,"type":16},"Word","word","2026-07-18T05:16:23.136271",{"slug":3625,"name":3625,"fn":3626,"description":3627,"org":3628,"tags":3629,"stars":3548,"repoUrl":3549,"updatedAt":3643},"frontend-design","design production-grade frontend interfaces","Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3630,3631,3634,3637,3640],{"name":3540,"slug":3541,"type":16},{"name":3632,"slug":3633,"type":16},"Frontend","frontend",{"name":3635,"slug":3636,"type":16},"React","react",{"name":3638,"slug":3639,"type":16},"Tailwind CSS","tailwind-css",{"name":3641,"slug":3642,"type":16},"UI Components","ui-components","2026-04-06T17:56:16.723469",{"slug":3645,"name":3645,"fn":3646,"description":3647,"org":3648,"tags":3649,"stars":3548,"repoUrl":3549,"updatedAt":3657},"internal-comms","write internal company communications","A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3650,3653,3654],{"name":3651,"slug":3652,"type":16},"Communications","communications",{"name":3618,"slug":3619,"type":16},{"name":3655,"slug":3656,"type":16},"Writing","writing","2026-04-06T17:56:20.695522",{"slug":3659,"name":3659,"fn":3660,"description":3661,"org":3662,"tags":3663,"stars":3548,"repoUrl":3549,"updatedAt":3670},"mcp-builder","build MCP servers","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node\u002FTypeScript (MCP SDK).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3664,3665,3666,3667],{"name":3582,"slug":3583,"type":16},{"name":24,"slug":25,"type":16},{"name":3591,"slug":3592,"type":16},{"name":3668,"slug":3669,"type":16},"MCP","mcp","2026-04-06T17:56:10.357665",{"slug":3476,"name":3476,"fn":3672,"description":3673,"org":3674,"tags":3675,"stars":3548,"repoUrl":3549,"updatedAt":3678},"read edit and manipulate PDF files","Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text\u002Ftables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting\u002Fdecrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3676,3677],{"name":3452,"slug":3453,"type":16},{"name":3475,"slug":3476,"type":16},"2026-04-06T17:56:02.483316",{"slug":3680,"name":3680,"fn":3681,"description":3682,"org":3683,"tags":3684,"stars":3548,"repoUrl":3549,"updatedAt":3691},"pptx","create and edit PowerPoint presentations","Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3685,3688],{"name":3686,"slug":3687,"type":16},"PowerPoint","powerpoint",{"name":3689,"slug":3690,"type":16},"Presentations","presentations","2026-07-18T05:16:24.1471",{"slug":3693,"name":3693,"fn":3694,"description":3695,"org":3696,"tags":3697,"stars":3548,"repoUrl":3549,"updatedAt":3707},"skill-creator","create and optimize agent skills","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[3698,3699,3700,3703,3706],{"name":3582,"slug":3583,"type":16},{"name":3601,"slug":3602,"type":16},{"name":3701,"slug":3702,"type":16},"Evals","evals",{"name":3704,"slug":3705,"type":16},"Performance","performance",{"name":3604,"slug":3605,"type":16},"2026-04-19T06:45:40.804",490]