Skip to content

Commit

Permalink
Merge pull request #335 from hl7ch/sct-swiss-extension-#334
Browse files Browse the repository at this point in the history
Sct swiss extension #334
  • Loading branch information
lpg-tech authored Feb 3, 2025
2 parents 527847b + 4c72dcf commit ce34427
Show file tree
Hide file tree
Showing 70 changed files with 993 additions and 91 deletions.
10 changes: 10 additions & 0 deletions expansion-params.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"resourceType": "Parameters",
"id": "expansion-params",
"parameter": [
{
"name": "system-version",
"valueUri": "http://snomed.info/sct|http://snomed.info/sct/2011000195101"
}
]
}
6 changes: 5 additions & 1 deletion input/fsh/ALIASES.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ Alias: $v3-ActCode = http://terminology.hl7.org/CodeSystem/v
Alias: $v3-Confidentiality = http://terminology.hl7.org/CodeSystem/v3-Confidentiality
Alias: $v3-MediaType = http://terminology.hl7.org/CodeSystem/v3-mediaType
Alias: $handling-condition = http://terminology.hl7.org/CodeSystem/handling-condition
Alias: $catalogType = http://terminology.hl7.org/CodeSystem/catalogType
Alias: $condition-clinical = http://terminology.hl7.org/CodeSystem/condition-clinical
Alias: $condition-category = http://terminology.hl7.org/CodeSystem/condition-category
Alias: $condition-ver-status = http://terminology.hl7.org/CodeSystem/condition-ver-status
Alias: $laboratory-service-definition-type = http://hl7.org/fhir/uv/order-catalog/CodeSystem/laboratory-service-definition-type
Alias: $observation-category = http://terminology.hl7.org/CodeSystem/observation-category
Alias: $usage-context-type = http://terminology.hl7.org/CodeSystem/usage-context-type

Alias: $container-cap = http://terminology.hl7.org/CodeSystem/container-cap
Alias: $rejection-criteria = http://terminology.hl7.org/CodeSystem/rejection-criteria
Alias: $condition-category = http://terminology.hl7.org/CodeSystem/condition-category
// Alias: $condition-category = http://terminology.hl7.org/CodeSystem/condition-category
Alias: $substance-category = http://terminology.hl7.org/CodeSystem/substance-category
Alias: $report-codes = http://hl7.org/fhir/ValueSet/report-codes
Alias: $coverage-type = http://fhir.ch/ig/ch-orf/CodeSystem/ch-orf-cs-coveragetype // must by a CS!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ Description: "Problem list of Birgit Blum Heart Disorder"
Usage: #example
* clinicalStatus = $condition-clinical#active
* verificationStatus = $condition-ver-status#confirmed
* category.coding[+] = $condition-category#problemlist-item
* category = $sct#439401001 "diagnosis"
* category = $condition-category#problem-list-item
// * category = $sct#439401001 "diagnosis"
* severity = $sct#6736007 "Moderate (severity modifier)"
* code = $sct#368009 "Heart valve disorder"
* bodySite = $sct#40768004 "Left thorax"
Expand All @@ -335,8 +335,8 @@ Description: "Problem list of Birgit Blum Tibia Fracture"
Usage: #example
* clinicalStatus = $condition-clinical#active
* verificationStatus = $condition-ver-status#confirmed
* category.coding[+] = $condition-category#problemlist-item
* category = $sct#439401001 "diagnosis"
* category = $condition-category#problem-list-item
// * category = $sct#439401001 "diagnosis"
* severity = $sct#24484000 "Severe (severity modifier) (qualifier value)"
* code = $sct#446980008 "Open fracture of tibial plateau (disorder)"
* bodySite = $sct#719496004
Expand All @@ -354,8 +354,8 @@ Description: "Problem list of Birgit Blum Tibia Fracture"
Usage: #example
* clinicalStatus = $condition-clinical#active
* verificationStatus = $condition-ver-status#confirmed
* category.coding[+] = $condition-category#problemlist-item
* category = $sct#71388002 "Procedure (procedure)"
* category = $condition-category#problem-list-item
// * category = $sct#71388002 "Procedure (procedure)"
* code = $sct#122621000119109 "Prophylactic anticoagulation given (situation)"
* subject = Reference(Patient/BirgitBlum) "Birgit Blum"
* encounter = Reference(Encounter/FirstEncounter)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ InstanceOf: ChLabOrderCompositionWithSR
Title: "CH LAB-Composition 1-tvt with ServiceRequest"
Description: "Composition: Storyboard for suspected deep Vein Thrombosis"
Usage: #example
* id = "1-tvt"
* id = "1-tvt-composition-with-sr" // has been: 1-tvt
* meta.versionId = "1"
* meta.lastUpdated = "2022-10-20T17:04:38.520+00:00"
* text.status = #additional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Usage: #example
* type = #document
* timestamp = "2019-04-01T20:18:41.341+00:00"

* entry[0].fullUrl = "http://example.com/fhir/Composition/1-tvt"
* entry[0].fullUrl = "http://example.com/fhir/Composition/1-tvt-composition-with-sr"
* entry[=].resource = 1-tvt-CompositionWithSR

* entry[+].fullUrl = "http://example.com/fhir/Patient/TobiasTimmermann"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Usage: #example
* clinicalStatus = $condition-clinical#active
* verificationStatus = $condition-ver-status#confirmed
* category = $sct#439401001 "diagnosis"
* severity = $sct#371923003 "Mild to moderate (qualifier value)"
* severity = $sct#255604002 "Mild (qualifier value)"
* code = $sct#723190009 "Chronic renal insufficiency (disorder)"
* subject = Reference(Patient/TobiasTimmermann) "Tobias Timmermann"
// * encounter = Reference(Encounter/f001)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Instance: procedure-chloride-serum
InstanceOf: ActivityDefinition
Title: "ActivityDefinition Chloride"
Title: "CH LAB-Order ActivityDefinition Chloride"
Description: "Procedure Chloride [Moles/volume] in Serum or Plasma"
Usage: #example
* meta.profile = "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabProcedureDefinition"
Expand All @@ -15,7 +15,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "Chloride measurement procedure on in-vitro serum specimen"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and observations needed to perform chloride level test on serum, and the output observation. It is referenced by any _PlanDefinition_ representing a lab service focusing on this test."

* effectivePeriod.start = "2020-04-01"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
Instance: procedure-creatinine-serum
InstanceOf: ActivityDefinition
Title: "ActivityDefinition Serum Creatinine"
Title: "CH LAB-Order ActivityDefinition Serum Creatinine"
Description: "Procedure Creatinine [Mass/volume] in Serum or Plasma"
Usage: #example
* meta.profile = "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabProcedureDefinition"
* language = #en-US
* url = "http://fhir.ch/ig/ch-lab-order/lab-compendium/ActivityDefinition/procedure-creatinine-serum"
* version = "0.1.0"
* name = "UrineCreatinineProcedure"
* name = "SerumCreatinineProcedure"
* title = "Procedure - serum creatinine - venous blood"
* status = #active
* experimental = true
* date = "2020-02-13T12:00:00+01:00"
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "creatinine measurements on serum specimen obtained from venous or capillary blood"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input serum specimen and the output observation for serum creatinine. It is referenced by any _PlanDefinition_ representing a lab service incorporating this procedure."

* effectivePeriod.start = "2020-04-01"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "Potassium measurement procedure on in-vitro serum specimen"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and observations needed to perform potassium level test on serum, and the output observation. It is referenced by any _PlanDefinition_ representing a lab service focusing on this test."
* effectivePeriod.start = "2020-04-01"
* effectivePeriod.end = "2020-12-25"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Instance: procedure-crp-highsens-SI
InstanceOf: ActivityDefinition
Title: "ActivityDefinition CRP highsens SI"
Title: "CH LAB-Order ActivityDefinition CRP highsens SI"
Description: "Procedure C reactive protein [Moles/volume] in Serum or Plasma by High sensitivity method"
Usage: #example
* meta.profile = "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabProcedureDefinition"
Expand All @@ -17,7 +17,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "C reactive protein [Moles/volume] in Serum or Plasma by High sensitivity method"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and observations needed to perform potassium level test on serum, and the output observation. It is referenced by any _PlanDefinition_ representing a lab service focusing on this test."
* effectivePeriod.start = "2022-04-01"
* effectivePeriod.end = "2023-12-25"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "C reactive protein [Mass/volume] in Serum or Plasma by High sensitivity method"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and observations needed to perform potassium level test on serum, and the output observation. It is referenced by any _PlanDefinition_ representing a lab service focusing on this test."
* effectivePeriod.start = "2020-04-01"
* effectivePeriod.end = "2020-12-25"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "CRP measurement procedure on in-vitro serum specimen"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and observations needed to perform potassium level test on serum, and the output observation. It is referenced by any _PlanDefinition_ representing a lab service focusing on this test."
* effectivePeriod.start = "2020-04-01"
* effectivePeriod.end = "2020-12-25"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "Chloride measurement procedure on in-vitro serum specimen"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and observations needed to perform chloride level test on serum, and the output observation. It is referenced by any _PlanDefinition_ representing a lab service focusing on this test."

* effectivePeriod.start = "2020-04-01"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "Hemoglobin-Hematocrit measurement procedure on in-vitro blood specimen"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and observations needed to perform potassium level test on serum, and the output observation. It is referenced by any _PlanDefinition_ representing a lab service focusing on this test."
* effectivePeriod.start = "2020-04-01"
* effectivePeriod.end = "2020-12-25"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "Hemoglobin measurement procedure on in-vitro blood specimen"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and observations needed to perform potassium level test on serum, and the output observation. It is referenced by any _PlanDefinition_ representing a lab service focusing on this test."
* effectivePeriod.start = "2020-04-01"
* effectivePeriod.end = "2020-12-25"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Instance: procedure-lab-eGFR-ckd-epi
InstanceOf: ActivityDefinition
Title: "CH LAB-Order ActivityDefinition eGFK CKD-EPI"
Description: "Procedure to get the estimated GFR [Moles/volume] using CKD-EPI 2021 calculator, and mesurement of serum creatinine"
Usage: #example
* url = "http://fhir.ch/ig/ch-lab-order/lab-compendium/ActivityDefinition/procedure-lab-eGFR-ckd-epi"
* identifier.system = "urn:ietf:rfc:3986"
* identifier.value = "urn:oid:2.16.840.1.113883.4.642.19.7.101"
* status = #draft
* description = "Order eGFK CKD-EPI 2021"
* relatedArtifact.type = #documentation
* relatedArtifact.display = "Explanation of diagnostic tests for estimated GFR by CKD-EPI 2021 formula"
* library = "https://www.zkidney.com/mdrd-main"
* kind = #ServiceRequest

// codes from SNOMED CT and from LOINC
* code.coding[+].system = $sct
* code.coding[=].code = #444275009
* code.coding[=].display = "Measurement of creatinine concentration in serum or plasma specimen with calculation of glomerular filtration rate (procedure)"
* code.coding[+].system = $loinc
* code.coding[=].code = #98979-8
* code.coding[=].display = "Glomerular filtration rate/1.73 sq M.predicted [Volume Rate/Area] in Serum, Plasma or Blood by Creatinine-based formula (CKD-EPI 2021)"

* code.text = "eGFR by CKD-EPI 2021"
* timingTiming.event.extension.url = "http://hl7.org/fhir/StructureDefinition/cqf-expression"
* timingTiming.event.extension.valueExpression.language = #text/cql
* timingTiming.event.extension.valueExpression.expression = "Now()"
* participant.type = #practitioner

* observationRequirement[0] = Reference(ObservationDefinition/observation-creatinine-serum)
* observationResultRequirement[0] = Reference(ObservationDefinition/observation-creatinine-serum)
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Instance: procedure-lab-panel-renal-insufficiency
InstanceOf: ActivityDefinition
Title: "CH LAB-Order Panel for Renal Insufficiency Assessment"
Description: "Procedure for estimated Glomerual Filtration Rate and and Urine Albumine-Creatinine Ratio"
Usage: #example
* url = "http://fhir.ch/ig/ch-lab-order/lab-compendium/ActivityDefinition/procedure-lab-panel-renal-insufficiency"
* identifier.system = "urn:ietf:rfc:3986"
* identifier.value = "urn:oid:2.16.840.1.113883.4.642.19.7.100"
* status = #draft
* description = "Order Panel for stable renal insufficiency"
* relatedArtifact.type = #documentation
* relatedArtifact.display = "Explanation of diagnostic tests used for assessment of stable renal insufficiency"
* kind = #ServiceRequest
* code.text = "test for assessment of renal insufficiency"
* timingTiming.event.extension.url = "http://hl7.org/fhir/StructureDefinition/cqf-expression"
* timingTiming.event.extension.valueExpression.language = #text/cql
* timingTiming.event.extension.valueExpression.expression = "Now()"
* participant.type = #practitioner
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "Potassium measurement procedure on in-vitro serum specimen"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and observations needed to perform potassium level test on serum, and the output observation. It is referenced by any _PlanDefinition_ representing a lab service focusing on this test."

* effectivePeriod.start = "2020-04-01"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "Na, K, Cl level measurements on serum or plasma"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and input and output observations for blood electrolyte. It is referenced by any _PlanDefinition_ representing a lab service incorporating this procedure."
* effectivePeriod.start = "2020-04-01"
* effectivePeriod.end = "2020-12-25"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Usage: #example
* contact.telecom.system = #url
* contact.telecom.value = "http://hl7.org/Special/committees/orders"
* description = "Sodium measurement procedure on in-vitro serum specimen"
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#001
* jurisdiction = http://unstats.un.org/unsd/methods/m49/m49.htm#756
* purpose = "This _ActivityDefinition_ specifies the input specimens and observations needed to perform sodium level test on serum, and the output observation. It is referenced by any _PlanDefinition_ representing a lab service focusing on this test."

* effectivePeriod.start = "2020-04-01"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Instance: procedure-urine-albumin
InstanceOf: ActivityDefinition
Title: "CH LAB-Order ActivityDefinition Urine Albumin"
Description: "Activity Definition for Albumin [Moles/volume] in Urine Procedure"
Usage: #example
* url = "http://fhir.ch/ig/ch-lab-order/lab-compendium/ActivityDefinition/procedure-urine-albumin"
* identifier.system = "urn:ietf:rfc:3986"
* identifier.value = "urn:oid:2.16.840.1.113883.4.642.19.7.104"
* status = #draft
* description = "Order Albumin/Creatinine Ratio in Urine"
* relatedArtifact.type = #documentation
* relatedArtifact.display = "Explanation of diagnostic tests to determine level of albumin in urine"
* kind = #ServiceRequest
* code = $loinc#1754-1 "Albumin [Mass/volume] in Urine"
* code.text = "Albumin (U) [Mass/Vol]" // LOINC Display name
* timingTiming.event.extension.url = "http://hl7.org/fhir/StructureDefinition/cqf-expression"
* timingTiming.event.extension.valueExpression.language = #text/cql
* timingTiming.event.extension.valueExpression.expression = "Now()"
* participant.type = #practitioner
* kind = #ServiceRequest

* observationRequirement[0] = Reference(ObservationDefinition/observation-urine-albumin)
* observationResultRequirement[0] = Reference(ObservationDefinition/observation-urine-albumin)
Loading

0 comments on commit ce34427

Please sign in to comment.