Skip to content

Commit

Permalink
Merge pull request #53 from hl7-eu/bindings
Browse files Browse the repository at this point in the history
Added stronger bindings across extension and libraries
  • Loading branch information
joofio authored Sep 10, 2024
2 parents 10a58d3 + 19c2cb1 commit a8ede0f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions input/fsh/extensions.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Context: CompositionUvEpi
concept 1..1
* extension[concept] ^short = "Codes from different code systems"
* extension[concept].value[x] only CodeableReference
* extension[elementClass].value[x] from LensCategories
* extension[elementClass].value[x] only string


Expand Down
7 changes: 7 additions & 0 deletions input/fsh/profiles/lens.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ Description: "Lens Profile"

* version 1..1 MS //version
* identifier 1..* MS
* ^slicing.discriminator.type = #value
* ^slicing.discriminator.path = "system"
* ^slicing.rules = #open
* identifier contains
gravitateIdentifier 0..1
* identifier[gravitateIdentifier].system = "http://gravitate-health.lst.tfo.upm.es"
* identifier[gravitateIdentifier].value from LensCategories
* name 1..1 MS //name
* type = #logical-library
* content 1..* MS //code
Expand Down
17 changes: 16 additions & 1 deletion input/fsh/terminology.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -306,4 +306,19 @@ ValueSet: ASMCategoryVS
Id: asm-category-vs


* include codes from system asm-category-cs
* include codes from system asm-category-cs


CodeSystem: LensCategoriesCodes
* ^experimental = true
* ^caseSensitive = false
* #pregnancyCategory
* #conditionCategory
* #interaction
* #allergy
* #condition
* #summary


ValueSet: LensCategories
* include codes from system LensCategoriesCodes

0 comments on commit a8ede0f

Please sign in to comment.