Skip to content

Commit

Permalink
thalidomide-melphalan-prednisone
Browse files Browse the repository at this point in the history
  • Loading branch information
rlindstrm committed Oct 2, 2024
1 parent 317a08e commit 5427754
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions input/fsh/aliases.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Alias: $snomed = http://snomed.info/sct // SNOMED CT
Alias: $bcp47 = urn:ietf:bcp:47 // BCP47
Alias: $sms = https://spor.ema.europa.eu/v2/SubstanceDefinition // EMA SPOR Substance Management System
Alias: $ingredient-role = http://hl7.org/fhir/ingredient-role // Codes are from EMA SPOR
Alias: $timing = http://hl7.org/fhir/event-timing // FHIR Event Timing
70 changes: 70 additions & 0 deletions input/fsh/examples/prescriptions/multiitem-requests.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
// How to say "start all three on the same day without specifying the date?"
// How to distinguish if all three need to be dispensed at the same time or administered at the same time or started at the same time?

Instance: 100-3-medication-prescription-request1
InstanceOf: IHEMedicationPrescription
Usage: #example
Description: "A prescription item (MedicationRequest) that is a part of a three-item-prescription (42-day treatment cycle). Generic. Thalidomide 50mgx4 once a day before bed for 42 days."

* identifier.value = "100-1/3"
//* identifier.system = ""
* groupIdentifier.value = "100"
* status = #active
* intent = #order
* authoredOn = "2024-10-03"
* requester = Reference(Doctor1)
* medication.concept = $snomed#376255008 "Thalidomide 50 mg oral capsule"
* subject = Reference(Patient1)
* reason.concept = $snomed#109989006 "Multiple myeloma"
* dosageInstruction[0].doseAndRate.doseQuantity = 4 $snomed#732936001 "Tablet"
* dosageInstruction[=].timing.repeat.frequency = 1
* dosageInstruction[=].timing.repeat.period = 1
* dosageInstruction[=].timing.repeat.periodUnit = $ucum#d "day"
* dosageInstruction[=].timing.repeat.when = $timing#EVE.late "Late Evening"
* dosageInstruction[=].timing.repeat.boundsDuration = 42 $ucum#d "day"


Instance: 100-3-medication-prescription-request2
InstanceOf: IHEMedicationPrescription
Usage: #example
Description: "A prescription item (MedicationRequest) that is a part of a three-item-prescription (42-day treatment cycle). Generic. Melphalan 2mgx4 once a day for 4 days in the beginning of cycle."

* identifier.value = "100-2/3"
//* identifier.system = ""
* groupIdentifier.value = "100"
* status = #active
* intent = #order
* authoredOn = "2024-10-03"
* requester = Reference(Doctor1)
* medication.concept = $snomed#326766003 "Melphalan 2 mg oral tablet"
* subject = Reference(Patient1)
* reason.concept = $snomed#109989006 "Multiple myeloma"
* dosageInstruction[0].doseAndRate.doseQuantity = 4 $snomed#732936001 "Tablet"
* dosageInstruction[=].timing.repeat.frequency = 1
* dosageInstruction[=].timing.repeat.period = 1
* dosageInstruction[=].timing.repeat.periodUnit = $ucum#d "day"
//* dosageInstruction[=].timing.repeat.when = $timing#EVE.late "Late Evening"
* dosageInstruction[=].timing.repeat.boundsDuration = 4 $ucum#d "day"


Instance: 100-3-medication-prescription-request3
InstanceOf: IHEMedicationPrescription
Usage: #example
Description: "A prescription item (MedicationRequest) that is a part of a three-item-prescription (42-day treatment cycle). Generic. Prednisone 50mgx3 once a day for 4 days in the beginning of cycle."

* identifier.value = "100-3/3"
//* identifier.system = ""
* groupIdentifier.value = "100"
* status = #active
* intent = #order
* authoredOn = "2024-10-03"
* requester = Reference(Doctor1)
* medication.concept = $snomed#374072009 "Prednisone 50 mg oral tablet"
* subject = Reference(Patient1)
* reason.concept = $snomed#109989006 "Multiple myeloma"
* dosageInstruction[0].doseAndRate.doseQuantity = 3 $snomed#732936001 "Tablet"
* dosageInstruction[=].timing.repeat.frequency = 1
* dosageInstruction[=].timing.repeat.period = 1
* dosageInstruction[=].timing.repeat.periodUnit = $ucum#d "day"
//* dosageInstruction[=].timing.repeat.when = $timing#EVE.late "Late Evening"
* dosageInstruction[=].timing.repeat.boundsDuration = 4 $ucum#d "day"

0 comments on commit 5427754

Please sign in to comment.