Skip to content

Commit

Permalink
Fix URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
costateixeira committed Oct 10, 2023
1 parent b756d90 commit f662593
Show file tree
Hide file tree
Showing 14 changed files with 50 additions and 28 deletions.
22 changes: 11 additions & 11 deletions input/cql/IMMZConcepts.cql
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@ codesystem "Extended Codes CodeSystem codes": 'http://fhir.org/guides/who/anc-cd
valueset "WHO ATC": 'http://hl7.org/fhir/uv/ips/ValueSet/whoatc-uv-ips'

// General use ValueSets
valueset "Negative Result": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/Negativetestresult-values'
valueset "Positive Result": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/PositiveTestResult-values'
valueset "Immunocompromised": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/Immunocompromised-values'
valueset "Patient birth weight observation value": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/Birthweight-values'
valueset "PretermBirth": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/Preterm-values'
valueset "Live Attenuated": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/LiveAttenduatedVaccines'
valueset "Negative Result": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/Negativetestresult-values'
valueset "Positive Result": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/PositiveTestResult-values'
valueset "Immunocompromised": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/Immunocompromised-values'
valueset "Patient birth weight observation value": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/Birthweight-values'
valueset "PretermBirth": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/Preterm-values'
valueset "Live Attenuated": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/LiveAttenduatedVaccines'

//valueset "Target Disease": 'http://hl7.org/fhir/ValueSet/immunization-target-disease'

valueset "HIV status": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/HIVstatus-values'
valueset "HIV status": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/HIVstatus-values'
valueset "HIV status - HIV positive Choices": 'http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de46'
valueset "HIV status - HIV negative Choices": 'http://fhir.org/guides/who/anc-cds/ValueSet/anc-b9-de47'

valueset "ARV Drugs": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/ARVDrugs-values'
valueset "ARV Drugs": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/ARVDrugs-values'

// Vaccine Value Sets

valueset "MCV Vaccine": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/IMMZ.A1.DE9'
valueset "MCV Vaccine": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/IMMZ.A1.DE9'

// Plugin is complaining about not finding these so that should be resolved, but here until it can be fixed
valueset "BCG Vaccine": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/IMMZ.A1.DE1'
valueset "Cholera Vaccine": 'http://worldhealthorganization.github.io/smart-immunizations-measles/ValueSet/IMMZ.A1.DE2'
valueset "BCG Vaccine": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/IMMZ.A1.DE1'
valueset "Cholera Vaccine": 'http://smart.who.int/ig/smart-immunizations-measles/ValueSet/IMMZ.A1.DE2'



Expand Down
2 changes: 1 addition & 1 deletion input/fsh/conceptmaps/IMMZ_C_SexToAdministrativeGender.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ InstanceOf: ConceptMap
Description: "Mapping to and from IMMZ.C sex coding to FHIR Administrative Gender."
Usage: #definition

* url = "http://worldhealthorganization.github.io/smart-immunizations-measles/ConceptMap/IMMZCSexToAdministrativeGender"
* url = "http://smart.who.int/ig/smart-immunizations-measles/ConceptMap/IMMZCSexToAdministrativeGender"

* name = "IMMZCSexToAdministrativeGender"
* title = "ConceptMap to and From IMMZ.C sex to administrative gender"
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/examples/IMMZCQuestionnaireResponse1.fsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Alias: $IMMZ-C = http://worldhealthorganization.github.io/smart-immunizations-measles/CodeSystem/IMMZ-C
Alias: $IMMZ-C = http://smart.who.int/ig/smart-immunizations-measles/CodeSystem/IMMZ-C

Instance: IMMZCQuestionnaireResponse1
InstanceOf: QuestionnaireResponse
Expand Down
4 changes: 2 additions & 2 deletions input/fsh/questionnaires/IMMZ-C.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Usage: #definition
//* contained[+] = YesNoUnknown

* extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap"
//* extension[=].valueCanonical = "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureMap/IMMZ-C-QRToPatient"
* extension[=].valueCanonical = "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureMap/IMMZ-C-QRToLM"
//* extension[=].valueCanonical = "http://smart.who.int/ig/smart-immunizations-measles/StructureMap/IMMZ-C-QRToPatient"
* extension[=].valueCanonical = "http://smart.who.int/ig/smart-immunizations-measles/StructureMap/IMMZ-C-QRToLM"

//Header
//* insert Question(header,Client Registration form: to fill in by ....,display,true,false)
Expand Down
2 changes: 1 addition & 1 deletion input/fsh/questionnaires/IMMZ-D1.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Usage: #definition
* contained[+] = IMMZ-D1.DE10

* extension[+].url = "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-targetStructureMap"
* extension[=].valueCanonical = "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureMap/IMMZCQRToPatient"
* extension[=].valueCanonical = "http://smart.who.int/ig/smart-immunizations-measles/StructureMap/IMMZCQRToPatient"


* insert Question(dose0, Indicates if the client has received a birth dose and/or supplementary dose, boolean, false, false)
Expand Down
6 changes: 3 additions & 3 deletions input/maps/IMMZCLMToPatient.fml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// /// status = draft
// /// title = "IMMZ.C Logical Model to Patient"

map "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureMap/IMMZCLMToPatient" = "IMMZCLMToPatient"
map "http://smart.who.int/ig/smart-immunizations-measles/StructureMap/IMMZCLMToPatient" = "IMMZCLMToPatient"

uses "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureDefinition/IMMZCRegisterClient" alias IMMZC as source
uses "http://smart.who.int/ig/smart-immunizations-measles/StructureDefinition/IMMZCRegisterClient" alias IMMZC as source
uses "http://hl7.org/fhir/StructureDefinition/Patient" alias Patient as target

group IMMZCToPatient (source immzc : IMMZC, target patient: Patient) {
Expand All @@ -14,7 +14,7 @@ group IMMZCToPatient (source immzc : IMMZC, target patient: Patient) {

immzc -> patient.name as pname then NameToHumanName( immzc, pname ) "SetName";

immzc.sex as sex -> patient.gender = translate(sex, 'http://worldhealthorganization.github.io/smart-immunizations-measles/ConceptMap/IMMZCSexToAdministrativeGender', 'code') "SetGender";
immzc.sex as sex -> patient.gender = translate(sex, 'http://smart.who.int/ig/smart-immunizations-measles/ConceptMap/IMMZCSexToAdministrativeGender', 'code') "SetGender";

immzc.birthDate as birthDate -> patient.birthDate = birthDate "SetBirthDate";

Expand Down
4 changes: 2 additions & 2 deletions input/maps/IMMZCQRToLM.fml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
// /// title = "IMMZ.C QuestionnaireResponse to Logical model"


map "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureMap/IMMZCQRToLM" = "IMMZCQRToLM"
map "http://smart.who.int/ig/smart-immunizations-measles/StructureMap/IMMZCQRToLM" = "IMMZCQRToLM"

uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QResp as source
uses "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureDefinition/IMMZCRegisterClient" alias IMMZC as target
uses "http://smart.who.int/ig/smart-immunizations-measles/StructureDefinition/IMMZCRegisterClient" alias IMMZC as target

group QRespToIMMZC ( source qr : QResp, target immzc : IMMZC) {
qr.item as item then {
Expand Down
12 changes: 6 additions & 6 deletions input/maps/IMMZCQRToPatient.fml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
// /// status = draft
// /// title = "IMMZ.C QuestionnaireResponse to Patient"

map "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureMap/IMMZCQRToPatient" = "IMMZCQRToPatient"
map "http://smart.who.int/ig/smart-immunizations-measles/StructureMap/IMMZCQRToPatient" = "IMMZCQRToPatient"

uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QResp as source
uses "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureDefinition/IMMZCRegisterClient" alias IMMZC as source
uses "http://smart.who.int/ig/smart-immunizations-measles/StructureDefinition/IMMZCRegisterClient" alias IMMZC as source
uses "http://hl7.org/fhir/StructureDefinition/Patient" alias Patient as target

imports "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureMap/IMMZCQRToLM"
imports "http://worldhealthorganization.github.io/smart-immunizations-measles/StructureMap/IMMZCLMToPatient"
imports "http://smart.who.int/ig/smart-immunizations-measles/StructureMap/IMMZCQRToLM"
imports "http://smart.who.int/ig/smart-immunizations-measles/StructureMap/IMMZCLMToPatient"

group QRestToIMMZC (
source qr : QResp,
target patient: Patient
) {
qr -> create("http://worldhealthorganization.github.io/smart-immunizations-measles/StructureDefinition/IMMZCRegisterClient") as model
qr -> create("http://smart.who.int/ig/smart-immunizations-measles/StructureDefinition/IMMZCRegisterClient") as model
then{
qr -> model then QRespToIMMZC( qr, model) "QRtoLM";
qr -> patient then IMMZCToPatient( model, patient ) "LMtoPatient";
Expand All @@ -38,7 +38,7 @@ group QRespToIMMZC (
item.answer first as answer where item.linkId = 'sex' then {
answer.valueCoding as coding then {
coding.code as content -> patient.gender = translate(content,
'http://worldhealthorganization.github.io/smart-immunizations-measles/ConceptMap/IMMZCSexToAdministrativeGender',
'http://smart.who.int/ig/smart-immunizations-measles/ConceptMap/IMMZCSexToAdministrativeGender',
'code') "setSex";
} "processCoding";
} "firstAnswerForIdentifier2";
Expand Down
Binary file added local-template/package/.index.db
Binary file not shown.
4 changes: 4 additions & 0 deletions local-template/package/.index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"index-version" : 2,
"files" : []
}
Binary file added local-template/package/includes/.index.db
Binary file not shown.
4 changes: 4 additions & 0 deletions local-template/package/includes/.index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"index-version" : 2,
"files" : []
}
14 changes: 14 additions & 0 deletions publication-request.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"package-id" : "who.fhir.smart-immunizations-measles",
"title" : " Immunization - Measles",
"category" : "base",
"introduction" : "SMART Guidelines Measles Implementation Guide",
"version" : "0.1.0",
"desc" : "First stable release",
"mode" : "milestone",
"path" : "http://smart.who.int/ig/smart-immunizations-measles/0.1.0",
"ci-build": "http://worldhealthorganization.github.io/smart-immunizations-measles",
"first": true,
"status" : "release",
"sequence" : "Releases"
}
2 changes: 1 addition & 1 deletion sushi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# │ see: https://fshschool.org/docs/sushi/configuration/. │
# ╰────────────────────────────────────────────────────────────────────────────────────────────────╯
id: who.fhir.smart-immunizations-measles
canonical: http://worldhealthorganization.github.io/smart-immunizations-measles
canonical: http://smart.who.int/ig/smart-immunizations-measles
name: SMART
# title: Example Title
# description: Example Implementation Guide for getting started with SUSHI
Expand Down

0 comments on commit f662593

Please sign in to comment.