MeaslesQuestionnaireToResources
type: StructureMap
node role: treeRoot
id:
  v: MeaslesQuestionnaireToResources
text:
  status:
    v: generated
  div: map "http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesQuestionnaireToResources" = "MeaslesQuestionnaireToResources" uses "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" alias QuestionnaireResponse as source uses "http://hl7.org/fhir/StructureDefinition/Bundle" alias MeaslesCIFBundle as target imports "http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesLogicalModelToResources" imports "http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesQuestionnaireToLogicalModel" group MeaslesQuestionnaireToResources(source qr : QuestionnaireResponse, target bundleCif : MeaslesCIFBundle) { qr -> create('http://worldhealthorganization.github.io/smart-ot/StructureDefinition/SOTMeasles') as model then { qr -> model then MeaslesQuestionnaireToLogicalModel(qr, model) "QRtoLM"; qr -> bundleCif then MeaslesLogicalModelToResources(model, bundleCif) "LMtoBundle"; } "QRtoBundle"; }
url:
  v: http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesQuestionnaireToResources
version:
  v: 0.2.1
name:
  v: MeaslesQuestionnaireToResources
status:
  v: draft
date:
  v: 2023-11-07T05:59:29+00:00
publisher:
  v: WHO
contact:
  name:
    v: WHO
  telecom:
    system:
      v: url
    value:
      v: http://who.int
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 001
structure:
  url:
    v: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
    link: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
  mode:
    v: source
  alias:
    v: QuestionnaireResponse
structure:
  url:
    v: http://hl7.org/fhir/StructureDefinition/Bundle
    link: http://hl7.org/fhir/StructureDefinition/Bundle
  mode:
    v: target
  alias:
    v: MeaslesCIFBundle
import:
  v: http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesLogicalModelToResources
  link: http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesLogicalModelToResources
import:
  v: http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesQuestionnaireToLogicalModel
  link: http://worldhealthorganization.github.io/smart-ot/StructureMap/MeaslesQuestionnaireToLogicalModel
group:
  name:
    v: MeaslesQuestionnaireToResources
  type mode:
    v: none
  input:
    name:
      v: qr
    type:
      v: QuestionnaireResponse
    mode:
      v: source
  input:
    name:
      v: bundleCif
    type:
      v: MeaslesCIFBundle
    mode:
      v: target
  rule:
    name:
      v: QRtoBundle
    source:
      context:
        v: qr
    target:
      context type:
        v: variable
      variable:
        v: model
      transform:
        v: create
    rule:
      name:
        v: QRtoLM
    rule:
      name:
        v: LMtoBundle

v: qr

v: variable

v: copy

value:
  v: model

v: MeaslesQuestionnaireToLogicalModel

v: qr

v: model

v: qr

v: variable

v: copy

value:
  v: bundleCif

v: MeaslesLogicalModelToResources

v: model

v: bundleCif