Skip to content

Instantly share code, notes, and snippets.

Reporting/removing artifacts from the patient record. False diagnosis are billed and on your record for good without easily being able to have them removed

Wearables and personal devices are better. No change in hospitals and drs sharing information.

The vast heterogeniety in apps and lack of a consumer friendly one stop shop.

Coordination between payer and hospital systems are still severely lacking and billing is usually not explained for us mere mortals, just codes added

It's not linked between primary and secondary care settings very well

@bkaney
bkaney / 01-ActAsTerminologist.hbs
Created May 10, 2025 10:32
Concept of a prompt library in FHIR
[System Instructions]
I want you to act as a terminologist. Your task is to identify both lexical and
semantic mappings from {{source-codesystem}} to {{target-codesystem}}
[Context]
- Domain: Clinical Termiology
- Constraints: Use only {{source-codesystem}} to {{target-codesystem}} CodeSystems
@bkaney
bkaney / 1_index.md
Last active February 26, 2025 15:57 — forked from niquola/1_index.md
Semver based Canonical Resolution and Package management

FHIR Canonical Resources and Packages (AI Draft)

1. Introduction

This specification defines how FHIR canonical resources and packages are:

  1. Authored (i.e., created and maintained in Implementation Guides (IGs))
  2. Assembled (Configured) ready for distribution for final systems by users
  3. Executed (Runtime) to provide functionality
{
"name": "fhir-package-loader",
"version": "0.7.0",
"description": "JavaScript package for downloading and accessing FHIR definitions",
"scripts": {
"build": "tsc",
"build:watch": "tsc -w",
"test": "jest --coverage",
"test:watch": "npm run test -- --watchAll",
"coverage": "opener coverage/lcov-report/index.html",
Logical: ViewDefinition
Title: "View Definition"
* select 0..* BackboneElement "The select stanza defines the actual content of the view itself"
* name 1..1 string "Name of field produced in the output."
* expression 1..1 string "FHIRPath expression, can include %constant"
* forEach 0..1 BackboneElement "Expression unnest a new row for each item in the specified FHIRPath expression."
* expression 1..1 string "FHIRPath expression for the parent path to select values from"
* select 0..* contentReference #ViewDefinition.select "See select" "Nested select"
Instance: PatientAddresses

Internal

  • Convert back to use sushi (the longer we wait, the more difficult it will be)
    • Create a branch off master where FSH was removed (e.g. master-fsh)
    • Work on parity with IG Publisher in this branch
    • Promote master-fsh to master

Issues

  • Add support to definitional resource types that are not currently canonical in R4:
    • In the definitional resource:
  • Add extensions: canonical-url, canonical-version (these already exist as: valueUri, valueString)

Background, this configuration --

- http://artifacts.org
  server-a-1
  
- http://artifacts.org
  server-a-2
  
- http://artifacts.org/ValueSet
{
"resourceType": "ValueSet",
"id": "VSPHQ9",
"meta": {
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-valueset"
]
},
"url": "http://hl7.org/fhir/uv/sdc/ValueSet/VSPHQ9",
"name": "VSPHQ9",
<!-- see: https://validator.w3.org/feed/docs/atom.html -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:hl7="http://hl7.org/fhir/uv/crmi/syndication">
<title>HL7 CRMI Knowledge Artifact Server Feed</title>
<link rel="self" type="application/atom+xml" href="https://crmi-server/syndication/v1/feed.xml" />
<id>urn:uuid:e39958d4-380e-4252-8707-6afeff8b7911</id>
<updated>2023-01-01T01:00:00Z</updated>
<entry>
<id>urn:uuid:2c466218-337c-3367-95d9-57f65cd1a572</id>
<title>SomeMeasure Package</title>
<updated>2020-08-23T23:37:17Z</updated>
@bkaney
bkaney / debug.shell
Last active February 18, 2023 18:33
[~/projects/fhir-dts-generator/fhir-codegen] git reset --hard origin/main
HEAD is now at 25dd68566 Merge pull request #126 from FirelyTeam/main
[~/projects/fhir-dts-generator/fhir-codegen] dotnet clean
MSBuild version 17.3.2+561848881 for .NET
Build started 2/18/2023 1:21:16 PM.
1>Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/fhir-codegen.sln" on node 1 (Clean target(s)).
1>ValidateSolutionConfiguration:
Building solution configuration "Debug|Any CPU".
1>Project "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/fhir-codegen.sln" (1) is building "/Users/bkaney/projects/fhir-dts-generator/fhir-codegen/src/fhir-codegen-cli/fhir-codegen-cli.csproj.metaproj" (2) on node 1 (Clean target(s)).