Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/feedback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "📢 Feedback"
description: Provide feedback about specific sections of the implementation guide.
title: "[Feedback]: "
labels: ["feedback"]
body:
- type: input
id: page
attributes:
label: Page URL
description: "Link to the page you're giving feedback on (auto-filled)."
placeholder: "e.g., https://your-ig.org/medication/page.html#section"
validations:
required: true

- type: input
id: section
attributes:
label: Section
description: "Name of the section your feedback relates to."
placeholder: "e.g., Medication Dispensing"
validations:
required: true

- type: textarea
id: feedback
attributes:
label: Feedback Description
description: "Please describe your feedback in detail."
placeholder: "Describe the issue, suggestion, or improvement clearly..."
validations:
required: true
23 changes: 23 additions & 0 deletions .github/workflows/fhirbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This workflow reuses the openHIE GitHub action for building IGs
# Initial idea by Carl Leitner, developed by Elliot Silver, available from: https://www.argentixinfo.com/archives/156
# Change log:
# v0.1.0
# 2021-06-18: publish default branches to / , other branches branches/<branch>
# 2021-11-26: reusable workflow

name: FHIR CI Build

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events for any main branch
push:
branches-ignore:
- 'gh-pages'
pull_request:

workflow_dispatch:

jobs:
# This workflow contains a single job called "build"
call_build:
uses: WorldHealthOrganization/smart-base/.github/workflows/fhirbuild.yml@main
23 changes: 23 additions & 0 deletions .github/workflows/ghbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# This workflow reuses the openHIE GitHub action for building IGs
# Initial idea by Carl Leitner, developed by Elliot Silver, available from: https://www.argentixinfo.com/archives/156
# Change log:
# v0.1.0
# 2021-06-18: publish default branches to / , other branches branches/<branch>
# 2021-11-26: reusable workflow

name: GitHub Pages build

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events for any main branch
push:
branches-ignore:
- 'gh-pages'
pull_request:

workflow_dispatch:

jobs:
# This workflow contains a single job called "build"
call_build:
uses: WorldHealthOrganization/smart-base/.github/workflows/ghbuild.yml@main
61 changes: 0 additions & 61 deletions .github/workflows/main.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow calls a remote workflow for setting up a release publication,
# This workflow is triggered by the creation of a GitHub release and requires a file called publication-request.json in the branch.

name: Release build

on:
release:
types: [created]
workflow_dispatch:

jobs:
check:
runs-on: ubuntu-latest
outputs:
file_exists: ${{ steps.checkfile.outputs.exists }}
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: ${{ github.event.release.tag_name }}

- name: Check for publication-request.json
id: checkfile
run: |
if [[ -f "publication-request.json" ]]; then
echo "::set-output name=exists::true"
else
echo "::set-output name=exists::false"
fi

trigger:
needs: check
if: needs.check.outputs.file_exists == 'true'
uses: WorldHealthOrganization/smart-html/.github/workflows/release.yml@main

19 changes: 19 additions & 0 deletions dak.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"resourceType": "DAK",
"resourceDefinition": "http://smart.who.int/base/StructureDefinition/DAK",
"id": "smart.who.int.ccc",
"name": "Clinical care in crisis",
"title": "WHO FHIR Implementation Guide (IG): Integrated Management of Childhood Illness (IMCI) in emergencies",
"description": "This implementation guide provides implementation resources and guidance in support of applying the WHO recommendations on emergency care.<br/>This implementation guide is part of the WHO Smart Guidelines approach to support countries to integrate WHO global data and health recommendations into digital systems accurately and consistently.",
"version": "0.1.0",
"status": "draft",
"publicationUrl": "https://smart.who.int/ccc",
"previewUrl": "https://worldhealthorganization.github.io/smart-ccc",
"canonicalUrl": "http://smart.who.int/ccc",
"license": "CC0-1.0",
"copyrightYear": "2023+",
"publisher": {
"name": "WHO",
"url": "http://who.int"
}
}
50 changes: 0 additions & 50 deletions ig-publisher-base/Dockerfile

This file was deleted.

6 changes: 0 additions & 6 deletions ig-publisher-base/action.yml

This file was deleted.

23 changes: 0 additions & 23 deletions ig-publisher-base/docker-entrypoint.sh

This file was deleted.

7 changes: 4 additions & 3 deletions ig.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[IG]
ig = input/emc-cds.xml
template = who.fhir.template#current
ig = fsh-generated/resources/ImplementationGuide-smart.who.int.ccc.json

# Correct way to use the local WHO template you downloaded
template = who.template.root#current
usage-stats-opt-out = false
fhir-version = 4.0.1
16 changes: 8 additions & 8 deletions input/cql/emcarebase.cql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include FHIRHelpers version '4.0.1'

parameter "encounterid" String
//parameter "Encounter" Encounter$
codesystem "RoleCodeSystem" : 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes'
codesystem "RoleCodeSystem" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes'
code "Mother": 'MTH' from "RoleCodeSystem"

context Patient
Expand Down Expand Up @@ -47,7 +47,7 @@ define getEncounter:

define function EmCareExtensions(element Patient, id String):
element.extension E
where E.url = ('https://fhir.dk.swisstph-mis.ch/matchbox/fhir//StructureDefinition/' + id)
where E.url = ('https://smart.who.int/ccc/StructureDefinition/' + id)
return E

define function EmCareExtension(element Patient, id String):
Expand Down Expand Up @@ -90,7 +90,7 @@ define "Person accompanying child today's Relationship to Client":
define function getValue(O Observation):
case
when O is null then null
when O.value is CodeableConcept then Coalesce(First(O.value.coding C where C.system = 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes'), First(O.value.coding))
when O.value is CodeableConcept then Coalesce(First(O.value.coding C where C.system = 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes'), First(O.value.coding))
else O.value
end

Expand Down Expand Up @@ -176,16 +176,16 @@ define function GetObsValue(id System.String, codesystem System.String):
getValue(GetObservationDuringEncounter(coding(id, codesystem)))

define function GetObsValue(id System.String):
getValue(GetObservationDuringEncounter(coding(id, 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes')))
getValue(GetObservationDuringEncounter(coding(id, 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes')))

define function HasObsValueCode(id System.String, value System.Code):
HasObservationCodeDuringEncounterDone(coding(id, 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes') , value )
HasObservationCodeDuringEncounterDone(coding(id, 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes') , value )

define function HasObsValueCode(id System.String, value System.String):
HasObservationCodeDuringEncounterDone(coding(id, 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes') , coding(value, 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes') )
HasObservationCodeDuringEncounterDone(coding(id, 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes') , coding(value, 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes') )

define function HasObsValueCode(id System.Code, value System.String):
HasObservationCodeDuringEncounterDone(id , coding(value, 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes') )
HasObservationCodeDuringEncounterDone(id , coding(value, 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes') )

// ************************ HasObs ************************/
/*
Expand Down Expand Up @@ -278,7 +278,7 @@ define function coding(s FHIR.code, url System.String):
define function coding(s System.String):
System.Code {
code: s ,
system: 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes'
system: 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes'
}


Expand Down
2 changes: 1 addition & 1 deletion input/cql/emcarecondition.cql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include FHIRHelpers version '4.0.1' called FHIRHelpers



codesystem "EmCare" : 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes'
codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes'


code "possible serious bacterial infection or very severe disease": 'EmCare.B23.DE83' from "EmCare" display 'possible serious bacterial infection or very severe disease'
Expand Down
2 changes: 1 addition & 1 deletion input/cql/emcareobservation-valueset.cql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include FHIRHelpers version '4.0.1' called FHIRHelpers



codesystem "EmCare" : 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes'
codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes'


code "generalised skin problem": 'EmCare.B14S2.DE07' from "EmCare" display 'generalised skin problem'
Expand Down
2 changes: 1 addition & 1 deletion input/cql/emcareobservation.cql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include FHIRHelpers version '4.0.1' called FHIRHelpers



codesystem "EmCare" : 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes'
codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes'


code "is the child sick today?": 'EmCare.B3.DE05' from "EmCare" display 'is the child sick today?'
Expand Down
2 changes: 1 addition & 1 deletion input/cql/emcareobservationValueset.cql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include FHIRHelpers version '4.0.1' called FHIRHelpers



codesystem "EmCare" : 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes'
codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes'


code "generalised skin problem": 'EmCare.B14S2.DE07' from "EmCare" display 'generalised skin problem'
Expand Down
2 changes: 1 addition & 1 deletion input/cql/emcareobservation_valueset.cql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include FHIRHelpers version '4.0.1' called FHIRHelpers



codesystem "EmCare" : 'https://fhir.dk.swisstph-mis.ch/matchbox/fhir/CodeSystem/emcare-custom-codes'
codesystem "EmCare" : 'https://smart.who.int/ccc/CodeSystem/emcare-custom-codes'


code "generalised skin problem": 'EmCare.B14S2.DE07' from "EmCare" display 'generalised skin problem'
Expand Down
Loading
Loading