This repository contains two interconnected projects:
- vscode-extension – A Visual Studio Code (VS Code) extension written in TypeScript.
- fhir-mapbuilder-validation – A Java Spring Boot REST API that provides backend validation.
The VS Code extension relies on the JAR file generated by the Spring Boot application.
fhir-mapbuilder/
│── vscode-extension/ # VS Code extension (TypeScript)
│ ├── src/
│ ├── package.json
│ ├── tsconfig.json
│ ├── ...
│ ├── target/ # This is where the JAR file should be placed
│── fhir-mapbuilder-validation/ # Spring Boot REST API (Java)
│ ├── src/
│ ├── pom.xml
│ ├── ...
│── README.md
git clone https://github.com/aphp/fhir-mapbuilder.git
cd fhir-mapbuilder
cd fhir-mapbuilder-validation
mvn clean package
After running this command, the JAR file fhir-mapbuilder-validation.jar
will be generated in the target/
folder.
mv fhir-mapbuilder-validation/target/fhir-mapbuilder-validation.jar vscode-extension/target
cd vscode-extension
npm install
vsce package --baseContentUrl https://github.com/aphp/fhir-mapbuilder.git
This command will generate a .vsix
file, which can be installed in VS Code.
cd fhir-mapbuilder-validation
mvn spring-boot:run
- Open
vscode-extension
in VS Code. - Press
F5
to start a new Extension Development Host.
This project is licensed under the MIT License.