Skip to content

Commit

Permalink
Fixed package id, updated name and description, added dependencies on…
Browse files Browse the repository at this point in the history
… CPG and CRMI, added GroupDefinition profile
  • Loading branch information
brynrhodes committed Sep 7, 2023
1 parent a488628 commit ab9ce9f
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ig.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[IG]
ig = fsh-generated/resources/ImplementationGuide-fhir.who.smart-base.json
ig = fsh-generated/resources/ImplementationGuide-who.fhir.smart-base.json

#template = #local-template
template = who.fhir.template#current
60 changes: 60 additions & 0 deletions input/profiles/structuredefinition-sg-groupdefinition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"resourceType": "StructureDefinition",
"id": "sg-groupdefinition",
"url": "http://worldhealthorganization.github.io/smart-base/StructureDefinition/sg-groupdefinition",
"name": "SGGroupDefinition",
"title": "WHO SMART Guidelines Group Definition",
"status": "draft",
"experimental": false,
"description": "WHO SMART Guidelines Group Definition",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "Group",
"baseDefinition": "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-groupdefinition",
"derivation": "constraint",
"differential" : {
"element" : [
{
"id" : "Group",
"path" : "Group",
"mustSupport" : false
},
{
"id" : "Group.identifier",
"path" : "Group.identifier",
"min" : 1,
"max" : "*",
"mustSupport" : true
},
{
"id" : "Group.identifier.use",
"path" : "Group.identifier.use",
"min" : 1,
"max" : "1",
"mustSupport" : true
},
{
"id" : "Group.identifier.system",
"path" : "Group.identifier.system",
"min" : 1,
"max" : "1",
"mustSupport" : true
},
{
"id" : "Group.identifier.value",
"path" : "Group.identifier.value",
"min" : 1,
"max" : "1",
"mustSupport" : true
},
{
"id" : "Group.active",
"path": "Group.active",
"min": 1,
"max": "1",
"mustSupport" : true
}
]
}
}
25 changes: 20 additions & 5 deletions sushi-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
id: fhir.who.smart-base
canonical: http://worldhealthorganization.github.io/smart
name: SMART
title: SMART Empty IG
description: An empty Implementation Guide to be used as a starting point for building SMART Guidelines Implementation Guides
id: who.fhir.smart-base
canonical: http://worldhealthorganization.github.io/smart-base
name: SMARTBase
title: SMART Base IG
description: This implementation guide defines conformance requirements and expectations for WHO SMART Guideline computable guidelines
status: draft # draft | active | retired | unknown
version: 0.1.0
fhirVersion: 4.0.1 # https://www.hl7.org/fhir/valueset-FHIR-version.html
Expand All @@ -15,6 +15,21 @@ publisher:
url: http://who.int
# email: [email protected]

dependencies:
# hl7.fhir.core:
# id: r4b
# version: 4.6.0
# reason: |
# This IG leverages subscription constructs pre-adopted from R4B. Importing this IG makes the relevant terminologies available.
hl7.fhir.uv.crmi:
id: crmi
version: 1.0.0-ballot
reason: This IG uses content management profiles and capabilities provided by CRMI
hl7.fhir.uv.cpg:
id: cpg
version: 1.0.0
reason: This IG uses computable guideline profiles and capabilities provided by CPG

pages:
index.md:
title: Home
Expand Down

0 comments on commit ab9ce9f

Please sign in to comment.