Execute one of the extension commands by using the Command Palette ("View/Command Palette..." or Ctrl+Shift+P).
"fhir-resource-diagram-viewer-vscode: View the resource content as a diagram" (for viewing all attributes).
"fhir-resource-diagram-viewer-vscode: View resource references as a diagram" (for viewing the "resourceType" attribute, the "id" attribute, and attributes with references).
"fhir-resource-diagram-viewer-vscode: Analyze the resource content using an LLM" (for analyzing the resource content using an LLM via GitHub Copilot).
View the PlantUML code and diagram generated from the original content or the resulting analysis from the LLM.
The resource content analysis using an LLM
The analysis of the resource content is structured as follows.
Identify the FHIR® release the resource conforms to.
If the resource lacks a narrative, generate one based on the attributes marked as "summary".
For terminology bindings, try to identify the meaning (i.e., "text" and/or "display") for attributes where this information is missing based on "system", "version", and "code".
Classify and count references by resource type.
If the resource whose content is being analyzed is a bundle, classify and count component resources by resource type.
If the resource whose content is being analyzed is a bundle, classify and count references by reference type.
Release Notes
1.1.0
Refactored the diagram generation.
Added command for analyzing resource contents using an LLM.