{"_id":"@aehrc/fsh-language-server","_rev":"2-7555514d115bcef414115dcfe6532d0b","name":"@aehrc/fsh-language-server","dist-tags":{"latest":"0.8.6"},"versions":{"0.8.5":{"name":"@aehrc/fsh-language-server","version":"0.8.5","keywords":["fhir","fsh","fhir-shorthand","healthcare","hl7"],"author":{"name":"Australian e-Health Research Centre"},"license":"Apache-2.0","_id":"@aehrc/fsh-language-server@0.8.5","maintainers":[{"name":"johngrimes","email":"John.Grimes@csiro.au"},{"name":"dionmcm","email":"dion.mcmurtrie@csiro.au"},{"name":"jgsuess","email":"jgsuess@gmail.com"}],"homepage":"https://gitlab.com/australian-e-health-research-centre/fsh-lsp/vscode-extension#readme","bugs":{"url":"https://gitlab.com/australian-e-health-research-centre/fsh-lsp/-/issues"},"dist":{"shasum":"41f631a2f5b26780f6764793374bfdb758dbf81c","tarball":"https://registry.npmjs.org/@aehrc/fsh-language-server/-/fsh-language-server-0.8.5.tgz","fileCount":8,"integrity":"sha512-3sFvCz6l3YRMpFtD+4pm1DLJgIK1uo6vbTYNZotlXqs4sBNf4Yd7hdYeURIPhSmYUrggET6XD2NF+QAJxsCzzg==","signatures":[{"sig":"MEQCIAhsJ2lhOqdyF7TqIKNhocTKXx51TRSNiVcjFfUYWGnOAiBJbyvQbSAiW1xg9AdS5ilxd6zWYNHBpmC5+bcyuBv79A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32842},"icon":"images/icon.png","main":"./out/extension.js","engines":{"vscode":"^1.75.0"},"gitHead":"f923b91bab3f840a51e67e0047d362a6dd397867","scripts":{"lint":"eslint src --ext ts","test":"echo 'No tests in vscode-extension workspace'","build":"tsc -p ./","watch":"tsc -watch -p ./","compile":"tsc -p ./","vscode:prepublish":"npm run compile"},"_npmUser":{"name":"jgsuess","email":"jgsuess@gmail.com"},"publisher":"aehrc","categories":["Programming Languages","Linters","Formatters"],"repository":{"url":"git+https://gitlab.com/australian-e-health-research-centre/fsh-lsp/vscode-extension.git","type":"git"},"_npmVersion":"11.6.2","contributes":{"menus":{"commandPalette":[{"when":"editorLangId == fsh","command":"fsh.restartServer"},{"when":"editorLangId == fsh","command":"fsh.showOutputChannel"}]},"commands":[{"title":"FSH: Restart Language Server","command":"fsh.restartServer","category":"FSH"},{"title":"FSH: Show Output Channel","command":"fsh.showOutputChannel","category":"FSH"},{"title":"FSH: Open Documentation","command":"fsh.openDocumentation","category":"FSH"}],"grammars":[{"path":"./syntaxes/fsh.tmLanguage.json","language":"fsh","scopeName":"source.fsh"}],"languages":[{"id":"fsh","icon":{"dark":"./images/fsh-icon.svg","light":"./images/fsh-icon.svg"},"aliases":["FSH","FHIR Shorthand"],"extensions":[".fsh"],"configuration":"./language-configuration.json"}],"configuration":{"title":"FSH Language Server","properties":{"fsh.fhirVersion":{"enum":["4.0.1","4.3.0","5.0.0"],"type":"string","default":"4.0.1","description":"FHIR version to use for validation and IntelliSense."},"fsh.trace.server":{"enum":["off","messages","verbose"],"type":"string","default":"off","description":"Traces the communication between VS Code and the language server."},"fsh.id.useKebabCase":{"type":"boolean","default":false,"description":"Suggest kebab-case for IDs."},"fsh.id.addTypeSuffix":{"type":"boolean","default":false,"description":"Add type suffix to suggested IDs (e.g., -profile, -extension)."},"fsh.format.indentSize":{"type":"number","default":2,"description":"Number of spaces for indentation."},"fsh.completion.enabled":{"type":"boolean","default":true,"description":"Enable/disable auto-completion."},"fsh.packageName.prefix":{"type":"string","default":"au.csiro","description":"Required prefix for package names (empty to disable validation)."},"fsh.validation.enabled":{"type":"boolean","default":true,"description":"Enable/disable FSH validation."},"fsh.terminology.servers":{"type":"array","items":{"type":"string"},"default":["https://tx.fhir.org/r4"],"description":"FHIR terminology servers for code system lookups."},"fsh.format.maxLineLength":{"type":"number","default":120,"description":"Maximum line length before wrapping."},"fsh.packageName.severity":{"enum":["error","warning"],"type":"string","default":"warning","description":"Severity level for package name validation."},"fsh.hover.showElementInfo":{"type":"boolean","default":true,"description":"Show element type and cardinality information on hover."},"fsh.format.alignCaretPaths":{"type":"boolean","default":false,"description":"Align caret paths (rules) vertically."},"fsh.diagnostics.maxProblems":{"type":"number","default":100,"description":"Maximum number of problems to report per file."},"fsh.terminology.enableCache":{"type":"boolean","default":true,"description":"Cache terminology server responses."},"fsh.hover.showDocumentationLinks":{"type":"boolean","default":true,"description":"Show links to FHIR documentation on hover."}}}},"description":"Language support for FHIR Shorthand (FSH) with IntelliSense, validation, and documentation","directories":{},"displayName":"FSH Language Server","_nodeVersion":"24.13.0","dependencies":{"@aehrc/fsh-lsp":"^0.8.5","vscode-languageclient":"^9.0.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.0.0","@types/node":"^18.0.0","@types/vscode":"^1.75.0"},"activationEvents":["onLanguage:fsh"],"_npmOperationalInternal":{"tmp":"tmp/fsh-language-server_0.8.5_1774569979068_0.20905786828309814","host":"s3://npm-registry-packages-npm-production"}},"0.8.6":{"name":"@aehrc/fsh-language-server","displayName":"FSH Language Server","description":"Language support for FHIR Shorthand (FSH) with IntelliSense, validation, and documentation","version":"0.8.6","publisher":"aehrc","author":{"name":"Australian e-Health Research Centre"},"license":"Apache-2.0","icon":"images/icon.png","repository":{"type":"git","url":"git+https://gitlab.com/australian-e-health-research-centre/fsh-lsp/vscode-extension.git"},"bugs":{"url":"https://gitlab.com/australian-e-health-research-centre/fsh-lsp/-/issues"},"engines":{"vscode":"^1.75.0"},"categories":["Programming Languages","Linters","Formatters"],"keywords":["fhir","fsh","fhir-shorthand","healthcare","hl7"],"activationEvents":["onLanguage:fsh"],"publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"main":"./out/extension.js","contributes":{"languages":[{"id":"fsh","aliases":["FSH","FHIR Shorthand"],"extensions":[".fsh"],"configuration":"./language-configuration.json","icon":{"light":"./images/fsh-icon.svg","dark":"./images/fsh-icon.svg"}}],"grammars":[{"language":"fsh","scopeName":"source.fsh","path":"./syntaxes/fsh.tmLanguage.json"}],"configuration":{"title":"FSH Language Server","properties":{"fsh.trace.server":{"type":"string","enum":["off","messages","verbose"],"default":"off","description":"Traces the communication between VS Code and the language server."},"fsh.validation.enabled":{"type":"boolean","default":true,"description":"Enable/disable FSH validation."},"fsh.fhirVersion":{"type":"string","enum":["4.0.1","4.3.0","5.0.0"],"default":"4.0.1","description":"FHIR version to use for validation and IntelliSense."},"fsh.hover.showElementInfo":{"type":"boolean","default":true,"description":"Show element type and cardinality information on hover."},"fsh.hover.showDocumentationLinks":{"type":"boolean","default":true,"description":"Show links to FHIR documentation on hover."},"fsh.completion.enabled":{"type":"boolean","default":true,"description":"Enable/disable auto-completion."},"fsh.terminology.servers":{"type":"array","items":{"type":"string"},"default":["https://tx.fhir.org/r4"],"description":"FHIR terminology servers for code system lookups."},"fsh.terminology.enableCache":{"type":"boolean","default":true,"description":"Cache terminology server responses."},"fsh.format.indentSize":{"type":"number","default":2,"description":"Number of spaces for indentation."},"fsh.format.maxLineLength":{"type":"number","default":120,"description":"Maximum line length before wrapping."},"fsh.format.alignCaretPaths":{"type":"boolean","default":false,"description":"Align caret paths (rules) vertically."},"fsh.diagnostics.maxProblems":{"type":"number","default":100,"description":"Maximum number of problems to report per file."},"fsh.id.useKebabCase":{"type":"boolean","default":false,"description":"Suggest kebab-case for IDs."},"fsh.id.addTypeSuffix":{"type":"boolean","default":false,"description":"Add type suffix to suggested IDs (e.g., -profile, -extension)."},"fsh.packageName.prefix":{"type":"string","default":"au.csiro","description":"Required prefix for package names (empty to disable validation)."},"fsh.packageName.severity":{"type":"string","enum":["error","warning"],"default":"warning","description":"Severity level for package name validation."}}},"commands":[{"command":"fsh.restartServer","title":"FSH: Restart Language Server","category":"FSH"},{"command":"fsh.showOutputChannel","title":"FSH: Show Output Channel","category":"FSH"},{"command":"fsh.openDocumentation","title":"FSH: Open Documentation","category":"FSH"}],"menus":{"commandPalette":[{"command":"fsh.restartServer","when":"editorLangId == fsh"},{"command":"fsh.showOutputChannel","when":"editorLangId == fsh"}]}},"scripts":{"vscode:prepublish":"npm run compile","build":"tsc -p ./","compile":"tsc -p ./","watch":"tsc -watch -p ./","lint":"eslint src --ext ts","test":"echo 'No tests in vscode-extension workspace'"},"dependencies":{"@aehrc/fsh-lsp":"^0.8.5","vscode-languageclient":"^9.0.1"},"devDependencies":{"@types/node":"^18.0.0","@types/vscode":"^1.75.0","typescript":"^5.0.0"},"gitHead":"62bcfc475fc1a502ec61eedeb914208285359eca","_id":"@aehrc/fsh-language-server@0.8.6","homepage":"https://gitlab.com/australian-e-health-research-centre/fsh-lsp/vscode-extension#readme","_nodeVersion":"20.20.2","_npmVersion":"11.12.1","dist":{"integrity":"sha512-66ioVkIky7a6t4P0PQU6QrjQatMIFGdqSMwdRns2NRvJYUWQfmhzgSUZAdryfMyyk7ql/cvKzKHI0QTEWFSOCw==","shasum":"93ef406b816a16322a4503bb94bab3a3c85f0073","tarball":"https://registry.npmjs.org/@aehrc/fsh-language-server/-/fsh-language-server-0.8.6.tgz","fileCount":8,"unpackedSize":32938,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDurxA+3Q1GyvJBA27QJaxGUDwzQjUkaN5C8Qfc7CKONgIgUrTqfkVwaWqhPEs9NqtG8NcpdUcopb/9hjWkhQN1AB0="}]},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:2936517f-a3da-4951-8ea0-1659e3762952"}},"directories":{},"maintainers":[{"name":"johngrimes","email":"John.Grimes@csiro.au"},{"name":"dionmcm","email":"dion.mcmurtrie@csiro.au"},{"name":"jgsuess","email":"jgsuess@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fsh-language-server_0.8.6_1774574433997_0.057588721632763074"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-27T00:06:18.958Z","modified":"2026-03-27T01:20:34.315Z","0.8.5":"2026-03-27T00:06:19.234Z","0.8.6":"2026-03-27T01:20:34.152Z"},"bugs":{"url":"https://gitlab.com/australian-e-health-research-centre/fsh-lsp/-/issues"},"author":{"name":"Australian e-Health Research Centre"},"license":"Apache-2.0","homepage":"https://gitlab.com/australian-e-health-research-centre/fsh-lsp/vscode-extension#readme","keywords":["fhir","fsh","fhir-shorthand","healthcare","hl7"],"repository":{"type":"git","url":"git+https://gitlab.com/australian-e-health-research-centre/fsh-lsp/vscode-extension.git"},"description":"Language support for FHIR Shorthand (FSH) with IntelliSense, validation, and documentation","maintainers":[{"name":"johngrimes","email":"John.Grimes@csiro.au"},{"name":"dionmcm","email":"dion.mcmurtrie@csiro.au"},{"name":"jgsuess","email":"jgsuess@gmail.com"}],"readme":"# FSH Language Server for VS Code\n\nLanguage support for FHIR Shorthand (FSH) with IntelliSense, validation, and documentation.\n\nThis extension uses the [FSH Language Server](https://gitlab.com/australian-e-health-research-centre/fsh-lsp/core) to provide language features.\n\n## Features\n\n### 🎯 IntelliSense & Auto-completion\n- **FHIR Resources**: Auto-complete FHIR resource types (Patient, Observation, etc.)\n- **Element Paths**: Smart completion for resource elements with dot notation\n- **FSH Keywords**: Complete FSH entity types (Profile, Extension, Instance, etc.)\n- **Context-Aware**: Suggestions based on your current position in the file\n\n### ✅ Validation & Diagnostics\n- **Real-time Validation**: Instant feedback on FSH syntax errors\n- **FHIR Compliance**: Validates against FHIR specifications\n- **Package Name Validation**: Ensures consistent package naming conventions\n- **Configurable Severity**: Adjust error/warning levels to your needs\n\n### 📖 Documentation on Hover\n- **Element Information**: View FHIR element types, cardinality, and descriptions\n- **ValueSet Bindings**: See bound value sets and their strength\n- **Quick Links**: Direct links to FHIR documentation\n- **Code System Info**: Lookup code definitions from terminology servers\n\n### 🔍 Navigation\n- **Go to Definition**: Jump to profile, extension, or instance definitions (F12)\n- **Find References**: Find all usages of a definition\n- **Document Symbols**: Outline view of all entities in your file\n- **Workspace Symbols**: Search across all FSH files in your project\n\n### 🎨 Code Actions & Formatting\n- **Auto-formatting**: Format FSH files with consistent style\n- **Quick Fixes**: Suggested fixes for common issues\n- **Rename Refactoring**: Safely rename entities across files\n\n## Getting Started\n\n1. **Install the Extension**\n   - Search for \"FSH Language Server\" in VS Code Extensions\n   - Click Install\n\n2. **Open a FSH Project**\n   - Open a folder containing `.fsh` files\n   - The extension activates automatically\n\n3. **Configure Settings** (Optional)\n   - Open Settings (Ctrl+,)\n   - Search for \"FSH\"\n   - Customize to your preferences\n\n## Configuration\n\n### Validation\n\n```json\n{\n  \"fsh.validation.enabled\": true,\n  \"fsh.fhirVersion\": \"4.0.1\"\n}\n```\n\n### Hover & IntelliSense\n\n```json\n{\n  \"fsh.hover.showElementInfo\": true,\n  \"fsh.hover.showDocumentationLinks\": true,\n  \"fsh.completion.enabled\": true\n}\n```\n\n### Formatting\n\n```json\n{\n  \"fsh.format.indentSize\": 2,\n  \"fsh.format.maxLineLength\": 120,\n  \"fsh.format.alignCaretPaths\": false\n}\n```\n\n### Terminology Servers\n\n```json\n{\n  \"fsh.terminology.servers\": [\n    \"https://tx.fhir.org/r4\"\n  ],\n  \"fsh.terminology.enableCache\": true\n}\n```\n\n### Package Naming\n\n```json\n{\n  \"fsh.packageName.prefix\": \"au.csiro\",\n  \"fsh.packageName.severity\": \"warning\"\n}\n```\n\n## Commands\n\n- **FSH: Restart Language Server** - Restart the language server\n- **FSH: Show Output Channel** - View language server logs\n- **FSH: Open Documentation** - Open FSH specification\n\nAccess commands via Command Palette (Ctrl+Shift+P)\n\n## Keyboard Shortcuts\n\n- **F12** - Go to Definition\n- **Shift+F12** - Find References\n- **F2** - Rename Symbol\n- **Ctrl+Space** - Trigger Completion\n- **Ctrl+Shift+O** - Go to Symbol in File\n\n## Troubleshooting\n\n### Language Server Not Starting\n\n1. Check the Output panel: View → Output → \"FSH Language Server\"\n2. Try restarting: Command Palette → \"FSH: Restart Language Server\"\n3. Reload VS Code: Command Palette → \"Developer: Reload Window\"\n\n### No Auto-completion\n\n- Ensure `fsh.completion.enabled` is `true`\n- Check that your file has `.fsh` extension\n- Try triggering manually with Ctrl+Space\n\n### Validation Issues\n\n- Verify `fsh.validation.enabled` is `true`\n- Check `fsh.fhirVersion` matches your project\n- Review diagnostics in the Problems panel\n\n## Requirements\n\n- VS Code 1.75.0 or higher\n- Node.js 16.0.0 or higher (for development)\n\n## Development\n\n### Setup\n\n1. Clone the repository\n2. Install dependencies: `npm install`\n3. Build: `npm run build`\n\n### Using GitLab NPM Registry\n\nThe extension depends on `@aehrc/fsh-lsp` from the GitLab NPM registry. For local development:\n\n1. Create a GitLab personal access token with `read_api` and `read_registry` scopes\n2. Add to `~/.npmrc`:\n```\n@aehrc:registry=https://gitlab.com/api/v4/projects/79617133/packages/npm/\n//gitlab.com/api/v4/projects/79617133/packages/npm/:_authToken=YOUR_TOKEN\n```\n\n## Support\n\n- **Issues**: [GitLab Issues](https://gitlab.com/australian-e-health-research-centre/fsh-lsp/-/issues)\n- **Core Server**: [FSH Language Server](https://gitlab.com/australian-e-health-research-centre/fsh-lsp/core)\n- **Documentation**: [FSH Specification](https://build.fhir.org/ig/HL7/fhir-shorthand/)\n- **FHIR**: [FHIR Documentation](https://www.hl7.org/fhir/)\n\n## License\n\nApache-2.0\n\n## Credits\n\nDeveloped by CSIRO's Australian e-Health Research Centre (AEHRC)\n","readmeFilename":"README.md"}