From 99348e4a36e8884500b8f393ca89dc9a3b61f139 Mon Sep 17 00:00:00 2001 From: Carl Leitner Date: Thu, 25 Apr 2024 07:20:22 -0400 Subject: [PATCH] added SG Actor and SG Transaction profiles. bumped version to 5.0.0 --- input/fsh/SGActor.fsh | 13 +++++++++++++ input/fsh/SGPersona.fsh5 | 8 +------- input/fsh/SGTransaction.fsh | 33 +++++++++++++++++++++++++++++++++ sushi-config.yaml | 3 ++- 4 files changed, 49 insertions(+), 8 deletions(-) create mode 100644 input/fsh/SGActor.fsh create mode 100644 input/fsh/SGTransaction.fsh diff --git a/input/fsh/SGActor.fsh b/input/fsh/SGActor.fsh new file mode 100644 index 00000000..a0a25825 --- /dev/null +++ b/input/fsh/SGActor.fsh @@ -0,0 +1,13 @@ +Profile: SGActor +Parent: ActorDefinition +Description: "Smart Guidelines Actor" + +* identifier 1..* +* status MS +* name 1..1 +* title 1..1 +* experimental 1..1 +* description 1..1 +* type MS + + diff --git a/input/fsh/SGPersona.fsh5 b/input/fsh/SGPersona.fsh5 index 7c04c36f..d1d93fbf 100644 --- a/input/fsh/SGPersona.fsh5 +++ b/input/fsh/SGPersona.fsh5 @@ -1,10 +1,4 @@ Profile: SGPersona -Parent: ActorDefinition +Parent: SGActor -* identifier 1..* -* status MS -* name 1..1 -* title 1..1 * type = #person -* experimental 1..1 -* description 1..1 diff --git a/input/fsh/SGTransaction.fsh b/input/fsh/SGTransaction.fsh new file mode 100644 index 00000000..c705eb69 --- /dev/null +++ b/input/fsh/SGTransaction.fsh @@ -0,0 +1,33 @@ +Extension: Sgactorext +Description: "Smart Guidelines Actor extension" +* value[x] only Reference(SGActor) +* valueReference 1..1 MS + +Extension: Markdown +Description: "Markdown extension" +* value[x] only markdown +* valueMarkdown 1..1 MS + +Profile: SGTransaction +Parent: OperationDefinition +Description: "Smart Guidelines Transaction: see https://profiles.ihe.net/ITI/TF/Volume2/ch-2.html for conventions on transactions" + +* status MS +* name 1..1 +* title 1..1 +* kind MS +* experimental 1..1 +* description 1..1 +* system MS +* type MS +* code MS +* instance MS + +* extension contains + Sgactorext named sourceActor 1..1 MS and + Sgactorext named targetActor 1..1 MS and + Markdown named triggerEvent 1.. MS and + Markdown named messageSemantics 1.. MS and + Markdown named expectedActions 1.. MS + + diff --git a/sushi-config.yaml b/sushi-config.yaml index d08c9470..fa32dcfe 100644 --- a/sushi-config.yaml +++ b/sushi-config.yaml @@ -5,7 +5,8 @@ title: SMART Base description: An empty Implementation Guide to be used as a starting point for building SMART Guidelines Implementation Guides status: draft # draft | active | retired | unknown version: 0.1.0 -fhirVersion: 4.0.1 # https://www.hl7.org/fhir/valueset-FHIR-version.html +fhirVersion: 5.0.0 # https://www.hl7.org/fhir/valueset-FHIR-version.html +# fhirVersion: 4.0.1 # https://www.hl7.org/fhir/valueset-FHIR-version.html copyrightYear: 2023+ releaseLabel: ci-build # ci-build | draft | qa-preview | ballot | trial-use | release | update | normative+trial-use # license: CC0-1.0 # https://www.hl7.org/fhir/valueset-spdx-license.html