Skip to content

Commit

Permalink
added missing serach parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
margaux.gatrio committed Oct 25, 2024
1 parent 65ba445 commit 9e0085f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 143 deletions.
6 changes: 3 additions & 3 deletions input/fsh/capability-statement.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,12 @@ Usage: #definition
* insert SupportSearchParam(_id, http://hl7.org/fhir/SearchParameter/Resource-id, #token, #SHALL)
* insert SupportSearchParam(_lastUpdated, http://hl7.org/fhir/SearchParameter/Resource-lastUpdated, #date, #SHALL)
* insert SupportSearchParam(_profile, http://hl7.org/fhir/SearchParameter/Resource-profile, #uri, #SHALL)
* insert SupportSearchParam(based-on, https://www.medizininformatik-initiative.de/fhir/, #reference, #SHALL) // fromm mii
* insert SupportSearchParam(part-of, https://www.medizininformatik-initiative.de/fhir/, #reference, #SHALL) // from mii
* insert SupportSearchParam(based-on, https://www.medizininformatik-initiative.de/fhir/modul-meta/SearchParameter/mii-sp-meta-medicationstatement-based-on, #reference, #SHALL)
* insert SupportSearchParam(part-of, http://hl7.org/fhir/SearchParameter/MedicationStatement-part-of, #reference, #SHALL)
* insert SupportSearchParam(medication, http://hl7.org/fhir/SearchParameter/medications-medication, #reference, #SHALL)
* insert SupportSearchParam(subject, http://hl7.org/fhir/SearchParameter/MedicationStatement-subject, #reference, #SHALL)
* insert SupportSearchParam(date, http://hl7.org/fhir/SearchParameter/clinical-date, #date, #SHALL)
* insert SupportSearchParam(note, https://www.medizininformatik-initiative.de/fhir/, #token, #SHALL) // from mii
* insert SupportSearchParam(note, https://www.medizininformatik-initiative.de/fhir/modul-meta/SearchParameter/mii-sp-meta-medicationstatement-note, #token, #SHALL)

// CarePlan requirements
* insert SupportResource(CarePlan, #SHALL)
Expand Down
141 changes: 1 addition & 140 deletions input/fsh/searchParameter.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ Usage: #definition
* type = #token
* expression = "Procedure.extension.where(url='https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-ex-onko-intention').value"



//----------------------------------------
// SearchParameters for Strahlentherapie
//----------------------------------------
Instance: mii-sp-onko-ext-strahlentherapie-stellungzurop
InstanceOf: SearchParameter
Usage: #definition
Expand Down Expand Up @@ -154,138 +149,4 @@ Usage: #definition
* code = #bestrahlung-boost
* base = #Procedure
* type = #token
* expression = "Procedure.extension.where(url='https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-ex-onko-strahlentherapie-bestrahlung').extension.where(url='Boost').value"



//----------------------------------------
// SearchParameters for Nebenwirkung
//----------------------------------------
Instance: mii-sp-onko-nebenwirkung-suspectEntity
InstanceOf: SearchParameter
Usage: #definition
* insert SP_Publisher
* insert Version
* name = "MII_SP_Nebenwirkung_SuspectEntity_instance"
* description = "SearchParameter for AdverseEvent.suspectEntity.instance"
* status = #active
* code = #instance
* base = #AdverseEvent
* type = #reference
* expression = "AdverseEvent.suspectEntity.instance"

//----------------------------------------
// SearchParameters for Systemische Therapie
//----------------------------------------

Instance: mii-sp-onko-systemischetherapie-ext-stellungzurop
InstanceOf: SearchParameter
Usage: #definition
* insert SP_Publisher
* insert Version
* name = "MII_SP_Extension_StellungZurOp"
* description = "SearchParameter for Procedure.extension[StellungZurOp]"
* status = #active
* code = #systemischetherapie-stellungzurop
* base = #Procedure
* type = #token
* expression = "Procedure.extension.where(url='https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-ex-onko-systemische-therapie-stellungzurop').value"


//----------------------------------------
// SearchParameters for Verlauf
//----------------------------------------

// No search parameters to cover


//----------------------------------------
// SearchParameters for Tumorkonferenz
//----------------------------------------
Instance: mii-sp-onko-tumorkonferenz-created
InstanceOf: SearchParameter
Usage: #definition
* insert SP_Publisher
* insert Version
* name = "MII_SP_Tumorkonferenz_Created"
* description = "SearchParameter for CarePlan.created"
* status = #active
* code = #created
* base = #CarePlan
* type = #date
* expression = "CarePlan.created"

Instance: mii-sp-onko-tumorkonferenz-contributor
InstanceOf: SearchParameter
Usage: #definition
* insert SP_Publisher
* insert Version
* name = "MII_SP_Tumorkonferenz_Contributor"
* description = "SearchParameter for CarePlan.contributor"
* status = #active
* code = #contributor
* base = #CarePlan
* type = #reference
* expression = "CarePlan.contributor"

Instance: mii-sp-onko-tumorkonferenz-addresses
InstanceOf: SearchParameter
Usage: #definition
* insert SP_Publisher
* insert Version
* name = "MII_SP_Tumorkonferenz_Addresses"
* description = "SearchParameter for CarePlan.addresses"
* status = #active
* code = #addresses
* base = #CarePlan
* type = #reference
* expression = "CarePlan.addresses"

//----------------------------------------
// SearchParameters for Tod
//----------------------------------------
Instance: mii-sp-onko-tod-interpretation
InstanceOf: SearchParameter
Usage: #definition
* insert SP_Publisher
* insert Version
* name = "MII_SP_Onko_Tod_Interpreation"
* description = "SearchParameter for Observation.interpretation"
* status = #active
* code = #interpretation
* base = #Observation
* type = #token
* expression = "Observation.interpretation"

Instance: mii-sp-onko-tod-focus
InstanceOf: SearchParameter
Usage: #definition
* insert SP_Publisher
* insert Version
* name = "MII_SP_Onko_Tod_Focus"
* description = "SearchParameter for Observation.focus"
* status = #active
* code = #focus
* base = #Observation
* type = #reference
* expression = "Observation.focus"

Instance: mii-sp-onko-tod-encounter
InstanceOf: SearchParameter
Usage: #definition
* insert SP_Publisher
* insert Version
* name = "MII_SP_Onko_Tod_Encounter"
* description = "SearchParameter for Observation.encounter"
* status = #active
* code = #encounter
* base = #Observation
* type = #reference
* expression = "Observation.encounter"


//----------------------------------------
// SearchParameters for Genetische Variante
//----------------------------------------

// No search parameters to cover
* expression = "Procedure.extension.where(url='https://www.medizininformatik-initiative.de/fhir/ext/modul-onko/StructureDefinition/mii-ex-onko-strahlentherapie-bestrahlung').extension.where(url='Boost').value"

0 comments on commit 9e0085f

Please sign in to comment.