fhir-questionnaire
elmariachi111 제작
Coding Agents & IDEs요약
Helps creating FHIR conforming questionnaire definitions from plain requirement ideation docs.
설명
이 스킬이 하는 일
Converts plain-language clinical requirement documents into FHIR-conformant questionnaire definitions. Uses scripts to query official LOINC and SNOMED CT terminology APIs for validated clinical codes. Supports standardized instruments like PHQ-9 and GAD-7 as well as custom organizational questionnaires.
Queries live official terminology APIs instead of relying on model memory, which eliminates the risk of hallucinated LOINC or SNOMED CT codes in clinical documentation.
사용 시점
- Converting intake form specs into FHIR Questionnaire JSON
- Implementing PHQ-9 or GAD-7 screening instruments with correct LOINC codes
- Looking up SNOMED CT codes for conditions, procedures, and clinical findings
- Adding conditional display logic and repeating groups to clinical forms
- Validating FHIR questionnaire structure before EHR integration
예시 워크플로
User asks: Create a FHIR questionnaire for PHQ-9 depression screening
- 1
Run search_loinc.py 'PHQ-9 panel' to find the panel LOINC code
- 2
Run query_valueset.py with the returned code to retrieve standardized answer options
- 3
Copy assets/templates/advanced.json as the base structure
- 4
Populate questionnaire items with retrieved LOINC codes and answer value sets
- 5
Run validate_questionnaire.py to confirm structure before finalizing
A validated FHIR Questionnaire JSON file with correct LOINC codes and standardized answer lists for all nine PHQ-9 items
설치
clawhub install elmariachi111/fhir-questionnaireCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.