Skip to content

Commit

Permalink
separated SGTransaction into two models: SGGraphDefinition and a prof…
Browse files Browse the repository at this point in the history
…ile of that SGTransaction which says there is exactly one link (and one to two nodes)
  • Loading branch information
litlfred committed Apr 25, 2024
1 parent 895e561 commit f550850
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 19 deletions.
26 changes: 26 additions & 0 deletions input/fsh/profiles/SGGraphDefinition.fsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

Profile: SGGraphDefinition
Parent: GraphDefinition
Description: "SMART Guidelines Transaction Definition"




* status MS
* name MS
* title 1..1
* experimental 1..1
* description 1..1
* node 1..
* node.extension contains
Sgactorext named actor 1.. MS

* link 1..
* link.extension contains
Sgcode named code 1..1 MS and
Markdown named triggerEvents 1..1 MS and
Markdown named messageSemantics 1..1 MS and
Markdown named expectedActions 1..1 MS



22 changes: 3 additions & 19 deletions input/fsh/profiles/SGTransactionDefinition.fsh
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@

Profile: SGTransactionDefinition
Parent: GraphDefinition
Parent: SGGraphDefinition
Description: "SMART Guidelines Transaction Definition"




* status MS
* name MS
* title 1..1
* experimental 1..1
* description 1..1
* node 1..
* node.extension contains
Sgactorext named actor 1.. MS

* link 1..
* link.extension contains
Sgcode named code 1..1 MS and
Markdown named triggerEvents 1..1 MS and
Markdown named messageSemantics 1..1 MS and
Markdown named expectedActions 1..1 MS
* node 1..2
* link 1..1



0 comments on commit f550850

Please sign in to comment.