CH EKM (R4)
0.0.1 - ci-build Switzerland flag

CH EKM (R4), published by Federal Office of Public Health FOPH. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/ahdis/ch-ekm/ and changes regularly. See the Directory of published versions

: CH EKM $extract template: Gonorrhoea document Bundle - JSON Representation

Raw json | Download

{
  "resourceType" : "Bundle",
  "id" : "ChEkmDocumentGonorrhoeaTemplate",
  "identifier" : {
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:uuid:c376a38a-61b9-4a79-8722-12c75bacf927"
  },
  "type" : "document",
  "_timestamp" : {
    "extension" : [
      {
        "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
        "valueString" : "%resource.authored"
      }
    ]
  },
  "entry" : [
    {
      "fullUrl" : "http://test.fhir.ch/r4/Composition/GonExtractComposition",
      "resource" : {
        "resourceType" : "Composition",
        "id" : "GonExtractComposition",
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Composition_GonExtractComposition\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Composition GonExtractComposition</b></p><a name=\"GonExtractComposition\"> </a><a name=\"hcGonExtractComposition\"> </a><p><b>status</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://snomed.info/sct 722143004}\">Infectious disease diagnostic study note</span></p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 423876004}\">Clinical report</span></p><p><b>date</b>: <code>Extract Template - Extract value: </code>%resource.authored</p><p><b>author</b>: <a href=\"PractitionerRole-ChEkmPractitionerRoleBrokerExample.html\">PractitionerRole</a></p><p><b>title</b>: Meldung zum klinischen Befund Infektionskrankheit</p></div>"
        },
        "status" : "final",
        "type" : {
          "coding" : [
            {
              "system" : "http://snomed.info/sct",
              "code" : "722143004",
              "display" : "Infectious disease diagnostic study note"
            }
          ]
        },
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://snomed.info/sct",
                "code" : "423876004",
                "display" : "Clinical report"
              }
            ]
          }
        ],
        "subject" : {
          "reference" : "Patient/GonExtractPatient"
        },
        "_date" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
              "valueString" : "%resource.authored"
            }
          ]
        },
        "author" : [
          {
            🔗 "reference" : "PractitionerRole/ChEkmPractitionerRoleBrokerExample"
          }
        ],
        "title" : "Meldung zum klinischen Befund Infektionskrankheit",
        "section" : [
          {
            "title" : "Diagnosis section",
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "29308-4"
                }
              ]
            },
            "entry" : [
              {
                "reference" : "Condition/GonExtractCondition"
              }
            ]
          },
          {
            "title" : "Social history section",
            "code" : {
              "coding" : [
                {
                  "system" : "http://loinc.org",
                  "code" : "29762-2"
                }
              ]
            },
            "entry" : [
              {
                "reference" : "Observation/GonExtractExposure"
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "http://test.fhir.ch/r4/Patient/GonExtractPatient",
      "resource" : {
        "resourceType" : "Patient",
        "id" : "GonExtractPatient",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_GonExtractPatient\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient GonExtractPatient</b></p><a name=\"GonExtractPatient\"> </a><a name=\"hcGonExtractPatient\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">null null  null, DoB:  ( urn:oid:2.16.756.5.32#AHVN13#?ngen-9?)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\">null null null (home)</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"An individual's personal sense of being a man, woman, boy, girl, nonbinary, or something else. This represents an individual’s identity, ascertained by asking them what that identity is. \n In the case where the gender identity is communicated by a third party, for example, if a spouse indicates the gender identity of their partner on an intake form, a Provenance resource can be used with a Provenance.target referring to the Patient, with a targetElement extension identifying the gender identity extension as the target element within the Patient resource.  When exchanging this concept, refer to the guidance in the [Gender Harmony Implementation Guide](http://hl7.org/xprod/ig/uv/gender-harmony/).\">Individual Gender Identity:</td><td colspan=\"3\"><ul><li>value: <span title=\"Codes:\"/></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The patient's legal status as citizen of a country.\">Patient Citizenship:</td><td colspan=\"3\"><ul><li>code: <span title=\"Codes:\"/></li></ul></td></tr></table></div>"
        },
        "extension" : [
          {
            "extension" : [
              {
                "url" : "code",
                "valueCodeableConcept" : {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                      "valueString" : "%resource.descendants().where(linkId='nationality').answer.value"
                    }
                  ],
                  "coding" : [
                    {
                      "extension" : [
                        {
                          "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                          "valueString" : "ofType(Coding)"
                        }
                      ]
                    }
                  ]
                }
              }
            ],
            "url" : "http://hl7.org/fhir/StructureDefinition/patient-citizenship"
          },
          {
            "extension" : [
              {
                "url" : "value",
                "valueCodeableConcept" : {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                      "valueString" : "%resource.descendants().where(linkId='genderIdentity').answer.value"
                    }
                  ],
                  "coding" : [
                    {
                      "extension" : [
                        {
                          "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                          "valueString" : "ofType(Coding)"
                        }
                      ]
                    }
                  ]
                }
              }
            ],
            "url" : "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity"
          }
        ],
        "identifier" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                "valueString" : "%resource.descendants().where(linkId='ahvn13').answer.value"
              }
            ],
            "system" : "urn:oid:2.16.756.5.32",
            "_value" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                  "valueString" : "$this"
                }
              ]
            }
          }
        ],
        "name" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                "valueString" : "%resource.descendants().where(linkId='person')"
              }
            ],
            "_family" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                  "valueString" : "item.where(linkId='surnameInitial').answer.value.first()"
                }
              ]
            },
            "_given" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                    "valueString" : "item.where(linkId='givennameInitial').answer.value"
                  }
                ]
              }
            ]
          }
        ],
        "_gender" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
              "valueString" : "%resource.descendants().where(linkId='administrativeGender').answer.value.code.first()"
            }
          ]
        },
        "_birthDate" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
              "valueString" : "%resource.descendants().where(linkId='dateOfBirth').answer.value.first()"
            }
          ]
        },
        "address" : [
          {
            "use" : "home",
            "_city" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                  "valueString" : "%resource.descendants().where(linkId='city').answer.value.first()"
                }
              ]
            },
            "_state" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                  "valueString" : "iif(%resource.descendants().where(linkId='canton').answer.value.first() is Coding, %resource.descendants().where(linkId='canton').answer.value.first().code, %resource.descendants().where(linkId='canton').answer.value.first())"
                }
              ]
            },
            "_postalCode" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                  "valueString" : "%resource.descendants().where(linkId='zipCode').answer.value.first()"
                }
              ]
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "http://test.fhir.ch/r4/PractitionerRole/ChEkmPractitionerRoleBrokerExample",
      "resource" : {
        "resourceType" : "PractitionerRole",
        "id" : "ChEkmPractitionerRoleBrokerExample",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"PractitionerRole_ChEkmPractitionerRoleBrokerExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole ChEkmPractitionerRoleBrokerExample</b></p><a name=\"ChEkmPractitionerRoleBrokerExample\"> </a><a name=\"hcChEkmPractitionerRoleBrokerExample\"> </a><p><b>practitioner</b>: <a href=\"Practitioner-ChEkmPractitionerBrokerExample.html\">Practitioner Monika Giacometti </a></p><p><b>organization</b>: <a href=\"Organization-ChEkmOrganizationBrokerExample.html\">Organization DataSan AG</a></p></div>"
        },
        "practitioner" : {
          🔗 "reference" : "Practitioner/ChEkmPractitionerBrokerExample"
        },
        "organization" : {
          🔗 "reference" : "Organization/ChEkmOrganizationBrokerExample"
        }
      }
    },
    {
      "fullUrl" : "http://test.fhir.ch/r4/Practitioner/ChEkmPractitionerBrokerExample",
      "resource" : {
        "resourceType" : "Practitioner",
        "id" : "ChEkmPractitionerBrokerExample",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_ChEkmPractitionerBrokerExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner ChEkmPractitionerBrokerExample</b></p><a name=\"ChEkmPractitionerBrokerExample\"> </a><a name=\"hcChEkmPractitionerBrokerExample\"> </a><p><b>name</b>: Monika Giacometti </p><p><b>telecom</b>: <a href=\"mailto:input@output.org\">input@output.org</a></p></div>"
        },
        "name" : [
          {
            "family" : "Giacometti",
            "given" : [
              "Monika"
            ]
          }
        ],
        "telecom" : [
          {
            "system" : "email",
            "value" : "input@output.org"
          }
        ]
      }
    },
    {
      "fullUrl" : "http://test.fhir.ch/r4/Organization/ChEkmOrganizationBrokerExample",
      "resource" : {
        "resourceType" : "Organization",
        "id" : "ChEkmOrganizationBrokerExample",
        "text" : {
          "status" : "generated",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_ChEkmOrganizationBrokerExample\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization ChEkmOrganizationBrokerExample</b></p><a name=\"ChEkmOrganizationBrokerExample\"> </a><a name=\"hcChEkmOrganizationBrokerExample\"> </a><p><b>identifier</b>: <a href=\"http://fhir.ch/ig/ch-term/3.4.0/NamingSystem-gln.html\" title=\"Each healthcare partner (natural or legal person) is referenced with a unique code of type GLN (former name: EAN code) of the [GS1](https://www.gs1.ch/de/home) system, see [refdata](https://www.refdata.ch/).\">GLN</a>/7601000435333, <a href=\"http://fhir.ch/ig/ch-term/3.4.0/NamingSystem-ber.html\" title=\"The Business and Enterprise Register (BER) contains all enterprises and business in private and public law which are domiciled and exercise an economic activity in Switzerland.                       French: (REE) Registre des entreprises et des établissements.                        German: (BUR) Betriebs- und Unternehmensregister,                       Italian: (RIS) Registro delle imprese e degli stabilimenti.\">BER</a>/A99085500</p><p><b>name</b>: DataSan AG</p><p><b>telecom</b>: <a href=\"tel:+35436544332\">+35 43 654 43 32</a>, <a href=\"mailto:input@output.org\">input@output.org</a></p><p><b>address</b>: Bitstrasse 128 Gatiburg 1010 </p></div>"
        },
        "identifier" : [
          {
            "system" : "urn:oid:2.51.1.3",
            "value" : "7601000435333"
          },
          {
            "system" : "urn:oid:2.16.756.5.45",
            "value" : "A99085500"
          }
        ],
        "name" : "DataSan AG",
        "telecom" : [
          {
            "system" : "phone",
            "value" : "+35 43 654 43 32"
          },
          {
            "system" : "email",
            "value" : "input@output.org"
          }
        ],
        "address" : [
          {
            "line" : [
              "Bitstrasse 128"
            ],
            "city" : "Gatiburg",
            "postalCode" : "1010"
          }
        ]
      }
    },
    {
      "fullUrl" : "http://test.fhir.ch/r4/Condition/GonExtractCondition",
      "resource" : {
        "resourceType" : "Condition",
        "id" : "GonExtractCondition",
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_GonExtractCondition\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Condition GonExtractCondition</b></p><a name=\"GonExtractCondition\"> </a><a name=\"hcGonExtractCondition\"> </a><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-category encounter-diagnosis}\">Encounter Diagnosis</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 15628003}\">Gonorrhea (disorder)</span></p><p><b>subject</b>: <a href=\"Bundle-ChEkmDocumentGonorrhoeaTemplate.html#Patient_GonExtractPatient\">null null  null, DoB:  ( urn:oid:2.16.756.5.32#AHVN13#?ngen-9?)</a></p><p><b>onset</b>: Absent because : , <code>Extract Template - Extract value: </code>iif(%resource.descendants().where(linkId='manifestationBeginUnknown').answer.value.first() = true, {}, %resource.descendants().where(linkId='manifestationBeginDate').answer.value.first())</p><h3>Evidences</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:\"/></td></tr></table></div>"
        },
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/condition-category",
                "code" : "encounter-diagnosis"
              }
            ]
          }
        ],
        "code" : {
          "coding" : [
            {
              "system" : "http://snomed.info/sct",
              "code" : "15628003",
              "display" : "Gonorrhea (disorder)"
            }
          ]
        },
        "subject" : {
          "reference" : "Patient/GonExtractPatient"
        },
        "_onsetDateTime" : {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                  "valueString" : "%resource.descendants().where(linkId='manifestationBeginUnknown').answer.value.where($this = true)"
                }
              ],
              "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
              "_valueCode" : {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                    "valueString" : "'asked-unknown'"
                  }
                ]
              }
            },
            {
              "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
              "valueString" : "iif(%resource.descendants().where(linkId='manifestationBeginUnknown').answer.value.first() = true, {}, %resource.descendants().where(linkId='manifestationBeginDate').answer.value.first())"
            }
          ]
        },
        "evidence" : [
          {
            "code" : [
              {
                "extension" : [
                  {
                    "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                    "valueString" : "%resource.descendants().where(linkId='manifestation').answer.value"
                  }
                ],
                "coding" : [
                  {
                    "extension" : [
                      {
                        "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                        "valueString" : "ofType(Coding)"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "http://test.fhir.ch/r4/Observation/GonExtractExposure",
      "resource" : {
        "resourceType" : "Observation",
        "id" : "GonExtractExposure",
        "text" : {
          "status" : "extensions",
          "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Observation_GonExtractExposure\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Observation GonExtractExposure</b></p><a name=\"GonExtractExposure\"> </a><a name=\"hcGonExtractExposure\"> </a><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActClass AEXPOS}\">acquisition exposure</span></p><p><b>code</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType EXPAGNT}\">Exposure Agent</span></p><p><b>subject</b>: <a href=\"Bundle-ChEkmDocumentGonorrhoeaTemplate.html#Patient_GonExtractPatient\">null null  null, DoB:  ( urn:oid:2.16.756.5.32#AHVN13#?ngen-9?)</a></p><blockquote><p><b>component</b></p><p><b>Extract Template - Context</b>: %resource.descendants().where(linkId='sexualContactPartner').answer.value</p><p><b>code</b>: <span title=\"Codes:{http://fhir.ch/ig/ch-ekm/CodeSystem/ch-ekm-exposure-component sexual-contact-partner}\">Sexual contact partner</span></p><p><b>value</b>: <span title=\"Codes:\"/></p></blockquote><blockquote><p><b>component</b></p><p><b>Extract Template - Context</b>: %resource.descendants().where(linkId='relationshipType').answer.value</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 228465009}\">Sexual relationship details (observable entity)</span></p><p><b>value</b>: <span title=\"Codes:\"/></p></blockquote><blockquote><p><b>component</b></p><p><b>Extract Template - Context</b>: %resource.descendants().where(linkId='otherTransmission').answer.value</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 74964007}\">Other (qualifier value)</span></p><p><b>value</b>: <code>Extract Template - Extract value: </code>$this</p></blockquote><blockquote><p><b>component</b></p><p><b>Extract Template - Context</b>: %resource.descendants().where(linkId='unknown').answer.value.where($this = true)</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 409496000}\">Mode of transmission (observable entity)</span></p><p><b>value</b>: <span title=\"Codes:\"/></p></blockquote><blockquote><p><b>component</b></p><p><b>Extract Template - Context</b>: iif(%resource.descendants().where(linkId='unknown').answer.value = true, {}, %resource.descendants().where(linkId='otherTransmission').answer.value)</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 409496000}\">Mode of transmission (observable entity)</span></p><p><b>value</b>: <span title=\"Codes:\"/></p></blockquote><blockquote><p><b>component</b></p><p><b>Extract Template - Context</b>: iif(%resource.descendants().where(linkId='unknown').answer.value = true, {}, iif(%resource.descendants().where(linkId='otherTransmission').answer.value.exists(), {}, %resource.descendants().where(linkId='sexualContactPartner').answer.value))</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 409496000}\">Mode of transmission (observable entity)</span></p><p><b>value</b>: <span title=\"Codes:\"/></p></blockquote></div>"
        },
        "status" : "final",
        "category" : [
          {
            "coding" : [
              {
                "system" : "http://terminology.hl7.org/CodeSystem/v3-ActClass",
                "code" : "AEXPOS",
                "display" : "acquisition exposure"
              }
            ]
          }
        ],
        "code" : {
          "coding" : [
            {
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
              "code" : "EXPAGNT",
              "display" : "Exposure Agent"
            }
          ]
        },
        "subject" : {
          "reference" : "Patient/GonExtractPatient"
        },
        "component" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                "valueString" : "%resource.descendants().where(linkId='sexualContactPartner').answer.value"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://fhir.ch/ig/ch-ekm/CodeSystem/ch-ekm-exposure-component",
                  "code" : "sexual-contact-partner"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                      "valueString" : "ofType(Coding)"
                    }
                  ]
                }
              ]
            }
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                "valueString" : "%resource.descendants().where(linkId='relationshipType').answer.value"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "228465009",
                  "display" : "Sexual relationship details (observable entity)"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                      "valueString" : "ofType(Coding)"
                    }
                  ]
                }
              ]
            }
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                "valueString" : "%resource.descendants().where(linkId='otherTransmission').answer.value"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "74964007",
                  "display" : "Other (qualifier value)"
                }
              ]
            },
            "_valueString" : {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                  "valueString" : "$this"
                }
              ]
            }
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                "valueString" : "%resource.descendants().where(linkId='unknown').answer.value.where($this = true)"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "409496000",
                  "display" : "Mode of transmission (observable entity)"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                      "valueString" : "%factory.Coding('http://snomed.info/sct', '261665006', 'Unknown (qualifier value)')"
                    }
                  ]
                }
              ]
            }
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                "valueString" : "iif(%resource.descendants().where(linkId='unknown').answer.value = true, {}, %resource.descendants().where(linkId='otherTransmission').answer.value)"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "409496000",
                  "display" : "Mode of transmission (observable entity)"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                      "valueString" : "%factory.Coding('http://snomed.info/sct', '74964007', 'Other (qualifier value)')"
                    }
                  ]
                }
              ]
            }
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractContext",
                "valueString" : "iif(%resource.descendants().where(linkId='unknown').answer.value = true, {}, iif(%resource.descendants().where(linkId='otherTransmission').answer.value.exists(), {}, %resource.descendants().where(linkId='sexualContactPartner').answer.value))"
              }
            ],
            "code" : {
              "coding" : [
                {
                  "system" : "http://snomed.info/sct",
                  "code" : "409496000",
                  "display" : "Mode of transmission (observable entity)"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "extension" : [
                    {
                      "url" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue",
                      "valueString" : "%factory.Coding('http://snomed.info/sct', '417564009', 'Sexual transmission (qualifier value)')"
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    }
  ]
}