Skip to content

Commit

Permalink
Added an example for split dosage medication statement and fixed prof…
Browse files Browse the repository at this point in the history
…ile for PMLC medication statement instances.
  • Loading branch information
dvribeira committed Mar 25, 2024
1 parent 33a2bde commit c63d501
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 8 deletions.
37 changes: 35 additions & 2 deletions input/fsh/instance/medication_statement.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Usage: #example
* dosage[baseEntry].doseAndRate.doseQuantity = 1 $sct#732936001 "comprimé"

Instance: MedicationStatementParacetamolAxapharmPmlc
InstanceOf: CHEMEDMedicationStatementCard
InstanceOf: CHEMEDEPRMedicationStatementCard
Title: "MedicationStatement: Paracetamol Axapharm (PMLC)"
Description: "The example of a medication statement for a medication card with a single Axapharm paracetamol treatment"
Usage: #example
Expand Down Expand Up @@ -107,7 +107,7 @@ Usage: #example
* dosage[baseEntry].doseAndRate.doseQuantity = 2 $sct#732936001 "comprimé"

Instance: MedicationStatementParacetamolDafalganEffPmlc
InstanceOf: CHEMEDMedicationStatementCard
InstanceOf: CHEMEDEPRMedicationStatementCard
Title: "MedicationStatement: Paracetamol Dafalgan Effervescent (PMLC)"
Description: "The example of a medication statement for a medication card with a single Dafalgan effervescent paracetamol treatment."
Usage: #example
Expand Down Expand Up @@ -141,3 +141,36 @@ Usage: #example
* dosage[baseEntry].route = $edqm#20053000 "Oral use"
* dosage[baseEntry].route.text = "À avaler"
* dosage[baseEntry].doseAndRate.doseQuantity = 2 $sct#732936001 "comprimé"

Instance: MedicationStatementDafalganEffSplitDose
// this entry is not part of any document / use case
InstanceOf: CHEMEDEPRMedicationStatement
Title: "MedicationStatement: Paracetamol Dafalgan Effervescent (MTP) with split dose"
Description: "The example for a medication statement with split dose."
Usage: #example
* contained[+] = MedicationParacetamolDafalganEff
* contained[+] = OrganizationHug
* contained[+] = PractitionerCox
* contained[+] = PractitionerRoleCoxAtHug
* contained[=].practitioner = Reference(PractitionerCox)
* contained[=].organization = Reference(OrganizationHug)
* language = #fr-CH
* identifier.system = "urn:ietf:rfc:3986"
* identifier.value = "urn:uuid:0564998f-b3b2-4e70-8daf-52d7c5d50eb3"
* status = #active
* medicationReference = Reference(MedicationParacetamolDafalganEff)
* subject = Reference(urn:uuid:9b00e81e-1165-4039-9d60-698ef838ae1a)
* dateAsserted = "2023-11-05T12:00:00+02:00"
* informationSource = Reference(PractitionerRoleCoxAtHug)
* reasonCode.text = "Dafalgan pour des douleurs regulières."
* dosage[baseEntry].timing.repeat.boundsPeriod.start = "2023-11-05"
* dosage[baseEntry].timing.repeat.boundsPeriod.end = "2024-02-10"
* dosage[baseEntry].timing.repeat.when[+] = #MORN
* dosage[baseEntry].route = $edqm#20053000 "Oral use"
* dosage[baseEntry].route.text = "À avaler"
* dosage[baseEntry].doseAndRate.doseQuantity = 2 $sct#732936001 "comprimé"
* dosage[baseEntry].text = "Dafalgan: 2 comprimés à avaler le matin et 1 comprimé à avaler le soir."
* dosage[baseEntry].sequence = 1
* dosage[additionalEntry].sequence = 2
* dosage[additionalEntry].timing.repeat.when[+] = #EVE
* dosage[additionalEntry].doseAndRate.doseQuantity = 1 $sct#732936001 "comprimé"
11 changes: 8 additions & 3 deletions input/pagecontent/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### [Unreleased]

- Updated dates on DocumentPadv2 so that it can be published after the sequence DocumentMtp1, DocumentPadv1, DocumentPre1, DocumentDis1 when testing.
- Added Bq, kBq, MBq and GBq units to the CHEMEDEPRAmountQuantityUnitCode value set, added in CH EMED 4.0.1 to the parent UnitCode value set.
- Moved cardinality 1..1 on route.text and route.id from common-dosage-ruleset to main-dosage-ruleset (since split dosage cardinality in CH EMED is forced to 0).
- Updated dates on `DocumentPadv2` so that it can be published after the sequence `DocumentMtp1`, `DocumentPadv1`, `DocumentPre1`, `DocumentDis1` when testing.
- Added `Bq`, `kBq`, `MBq` and `GBq` units to the `CHEMEDEPRAmountQuantityUnitCode` value set, added in CH EMED 4.0.1 to the parent `UnitCode` value set.
- Moved cardinality `1..1` on `route.text` and `route.id` from `common-dosage-ruleset` to `main-dosage-ruleset` (since split dosage cardinality in CH EMED is forced to 0).
- Fixed profile for examples `MedicationStatementParacetamolAxapharmPmlc` and `MedicationStatementParacetamolDafalganEffPmlc` to be `CHEMEDEPRMedicationStatementCard` instead of `CHEMEMedicationStatementCard`.
- Added an example for a medication statement with split dosage: `MedicationStatementDafalganEffSplitDose`.
- Updated dependencies to:
- CH EMED 5.0.0
- CH Core 5.0.0

### [1.0.0] - 2024-01-24

Expand Down
6 changes: 3 additions & 3 deletions sushi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ publisher:
# use cases, the value can be an object with keys for id, uri, and version.
#
dependencies:
ch.fhir.ig.ch-core: 4.0.1
ch.fhir.ig.ch-emed: 4.0.1
hl7.terminology: 5.4.0
ch.fhir.ig.ch-core: current
ch.fhir.ig.ch-emed: current
hl7.terminology: 5.5.0
# dependencies:
# hl7.fhir.us.core: 3.1.0
# hl7.fhir.us.mcode:
Expand Down

0 comments on commit c63d501

Please sign in to comment.