-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert FSH to FHIR and back using right click context menu in the explorer view #97
Open
hvamstel
wants to merge
18
commits into
FHIR:master
Choose a base branch
from
hvamstel:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,288
−116
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ec35c44
Added functionality to convert to and from FSH to an dfrom JSON
hvamstel fa56e33
Added some documenttion
hvamstel 01f1f4b
Merge branch 'FHIR:master' into master
hvamstel 30850a4
fix lint
hvamstel ede01cc
fixed string
hvamstel 62eedcf
npm prettier fixes
hvamstel 3fb9230
Added autoFormat and focus.
hvamstel 738894f
added readonly view
hvamstel 05a31d5
Merge branch 'master' into master
hvamstel 5990f86
fix lint errors
hvamstel a6f1b10
Refactor to use the sushi-configuration and support multiple resource…
hvamstel e3c6a2a
Fix: typos in README, moved new feature to correct place, improved ou…
hvamstel 174549d
Add running FSH to JSON conversion in project context is available
hvamstel 5726a02
Refactor FshConversionProvider to ensure that the correct path used
hvamstel 035908f
Added canonical to the sushiconfig reader
hvamstel 56ef610
Add context awareness for json to fsh
hvamstel c15fcba
fix imports of gofsh and sushi
hvamstel 7bfae16
Partly reworked review comments.
hvamstel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -92,6 +92,12 @@ To run the SUSHI Build task, use VS Code's Run Task feature. The "Run Task" feat | |||||||
|
||||||||
Note that you must have SUSHI installed locally in order for the task to run successfully. See [SUSHI Installation instructions](https://fshschool.org/docs/sushi/installation/) for help installing. | ||||||||
|
||||||||
## Conversion from FHIR Json to FSH and from FSH to FHIR Json | ||||||||
|
||||||||
Right-clicking on a `.fsh` file and then selecting the option "FSH to FHIR JSON" from the context menu will convert this FSH file to a FHIR JSON file. The FHIR JSON file will be created in memory in a separate file tab. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
Right-clicking on a `.json` file that contains a FHIR resource and then selecting the option "FHIR to FSH" from the context menu will convert this JSON FHIR file to a FSH file. The FSH file will be created in memory in a separate file tab. | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
|
||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
## Instructions for Developers | ||||||||
|
||||||||
### Intro to FSH VS Code Extension Development | ||||||||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.