feat: Adding FMK Medication to DK Core#216
Draft
jkiddo wants to merge 9 commits into
Draft
Conversation
There was a problem hiding this comment.
Pull request overview
Adds DK Core medication artifacts to support Danish Shared Medication Record (FMK) mappings while aiming for compatibility with HL7 Europe Base (EU Core) medication profiles.
Changes:
- Introduces new DK Core profiles + examples for
Medication,MedicationRequest, andMedicationStatementaligned to FMK identifiers/codes and R5 backport extensions. - Adds new FSH aliases for FMK identifiers, R5 backport extensions, and EU Core profile canonicals.
- Adds introductory documentation pages describing scope, FMK mapping, and EU Core relationship.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| input/pagecontent/StructureDefinition-dk-core-medication-intro.md | New intro documentation for DkCoreMedication and FMK mapping guidance |
| input/pagecontent/StructureDefinition-dk-core-medicationrequest-intro.md | New intro documentation for DkCoreMedicationRequest incl. FMK mapping + extension guidance |
| input/pagecontent/StructureDefinition-dk-core-medicationstatement-intro.md | New intro documentation for DkCoreMedicationStatement incl. FMK mapping + adherence guidance |
| input/fsh/aliases.fsh | Adds aliases for ATC, FMK identifiers, R5 backport extensions, and EU Core profile canonicals |
| input/fsh/DkCoreMedication.fsh | New DkCoreMedication profile + example instance |
| input/fsh/DkCoreMedicationRequest.fsh | New DkCoreMedicationRequest profile + multiple example instances |
| input/fsh/DkCoreMedicationStatement.fsh | New DkCoreMedicationStatement profile + multiple example instances |
Comment on lines
+43
to
+45
| Alias: $eu-medicationRequest = http://hl7.eu/fhir/base/StructureDefinition/medicationRequest-eu-core | ||
| Alias: $eu-medicationStatement = http://hl7.eu/fhir/base/StructureDefinition/medicationStatement-eu-core | ||
| Alias: $eu-medication = http://hl7.eu/fhir/base/StructureDefinition/medication-eu-core |
# Conflicts: # sushi-config.yaml
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request introduces three new Danish Core FHIR profiles for medication data, aligning them with the Danish Shared Medication Record (FMK) and HL7 Europe Base profiles. It also adds supporting aliases and comprehensive documentation to facilitate mapping and usage. The main focus is on enabling structured, interoperable medication data exchange in Denmark.
Key changes:
New Danish Core Medication Profiles
DkCoreMedication,DkCoreMedicationRequest, andDkCoreMedicationStatementprofiles, each tailored to FMK data structures and requirements, including detailed slicing on codes and identifiers, FMK-specific extensions, and multiple example instances. [1] [2] [3]FMK and HL7 Europe Compatibility
imposeProfileextensions) and provide explicit mappings from FMK fields to FHIR elements, ensuring easy transformation and EU-wide interoperability. [1] [2] [3] [4]New Aliases for Danish and EU Medication Concepts
$atc,$FmkOrdinationId,$eu-medicationRequest, etc.), simplifying profile authoring and maintenance.Documentation and Implementation Guidance
DkCoreMedicationandDkCoreMedicationRequest, explaining scope, FMK mapping, relationship to HL7 Europe Base, and implementation advice for Danish systems. [1] [2]Example Instances