Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Kodjin FHIR ProfilerNew to Visual Studio Code? Get it now.

Kodjin FHIR Profiler

edenlab.io

|
154 installs
| (1) | Free
Tool for creating and visualizing FHIR profiles
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Kodjin FHIR Profiler

A FHIR profiling tool developed by Edenlab's software engineers for healthcare business analysts and IT specialists to create FHIR profiles faster, following an agile approach and using an intuitive graphical IDE.

It supports classic JSON notation for Structure Definition, resource validation, snapshot creation, and the resource tree render for visualization.

Getting started

  • Step 1. Create and save a new file with extension *.fhir.json

  • Step 2. Place { } brackets for JSON structure

  • Step 3. Start typing "res" then select "resourceType": "StructureDefinition" from the drop-down list.

    You should receive the code:

      {
        "resourceType": "StructureDefinition",
        "id": "",
        "url": "",
        "version": "0.01",
        "name": "",
        "title": "",
        "status": "draft",
        "experimental": true,
        "date": "",
        "publisher": "",
        "fhirVersion": "",
        "kind": "resource",
        "abstract": false,
        "derivation": "specialization",
        "type": "",
        "baseDefinition": ""
      }
    
    
  • Step 4. Tab through the fields and use the up and down keys for different values from the FHIR JSON scheme.


(Filling out the snippet)

Settings

FHIR Profiling Tool: Snapshot URL

Specifies FHIR server snapshot generation endpoint. To pass FHIR resource type to URL, use the ${resourceType} template variable.

https://kodjin-staging.edenlab.dev/fhir/${resourceType}/$snapshot

FHIR Profiling Tool: Validation URL

Specifies FHIR server validation endpoint. To pass FHIR resource type to URL, use the ${resourceType} template variable.

https://kodjin-staging.edenlab.dev/fhir/${resourceType}/$validate

Functions

The Kodjin FHIR Profiling tool supports three main functions by context menu:

  1. FHIR create/refresh tree
  2. FHIR validate resource
  3. FHIR create snapshot


(Extension context menu)

Create snapshot

For this function, the resource should have a valid syntax structure and a differential section. If this function is selected, the plugin will send the data to the server, which is identified as the Snapshot URL in the settings. If the snapshot creation from the differential is successful, then the current code will be replaced by a full resource with both snapshot and differential sections.

Validate resource

For this function, the resource will be sent to the server, which is identified as a Validation URL in the settings. The validation server should check the structure, data types, etc. If any errors are found, they will appear at the bottom window in the PROBLEMS tab.

Create/refresh the resource tree

This is the most beautiful advantage of the plugin. When you have a full profile with the snapshot section, you could build the whole tree of the resource. This function will create a new window and render an FHIR-resource tree.


(FHIR-resource view)

Errors

Any syntax errors or validation errors retrieved from the operation outcome will be displayed at the bottom section in a PROBLEMS tab. Pointing the cursor to the problem will navigate to the corresponding line in the code.


(Profile validation example)

Feedback and further updates

If you have any questions or suggestions about Kodjin FHIR Profiler improvement - contact us via welcome@edenlab.io.

  • Profiler web-site
  • Terms of use
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft