Skip to content

Commit

Permalink
fix(extension): add assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Klochette authored and Klochette committed Aug 31, 2022
1 parent 51b135b commit bdf97aa
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# sqltofhir

Visual Studio Code extension for writing FHIR resources with SQL.
Visual Studio Code extension for writing FHIR resources with SQL.

## sqltofhir

Provides snippets for easily writing FHIR resources with SQL queries.
Each snippet corresponds to a FHIR datatype.
Each snippet corresponds to a FHIR datatype.

## How to use

In a SQL file, every command starts with the prefix `fhir`.

<https://user-images.githubusercontent.com/82094638/187693918-b46a7dea-381b-48d8-85b7-39dca83a3f2a.mp4>
![how to use](./assets/videopresentation.gif)

`fhirbuildobject`:

```sql
json_build_object()
```

`fhirbuildarray`:

```sql
json_build_array()
```

`fhirselect`:

```sql
Expand All @@ -33,7 +33,7 @@ SELECT
AS fhir
FROM
```

`fhir{datatype}` to create a datatype. For exemple, with `fhiridentifier`:

```sql
Expand Down
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/videopresentation.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"engines": {
"vscode": "^1.67.0"
},
"icon": "assets/icon.png",
"categories": [
"Snippets"
],
Expand Down
Binary file added sqltofhir-vscode-1.0.0.vsix
Binary file not shown.

0 comments on commit bdf97aa

Please sign in to comment.