SDOH Clinical Care
3.0.0 - STU 3

SDOH Clinical Care, published by HL7 International / Patient Care. This guide is not an authorized publication; it is the continuous build for version 3.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-sdoh-clinicalcare/ and changes regularly. See the Directory of published versions

## : SDOHCCPRAPAREMap - TTL Representation

Page standards status: Trial-use | Maturity Level: 2

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureMap ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "SDOHCC-StructureMapPRAPARE"] ; #
      fhir:text [
    fhir:status [ fhir:v "additional" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n         <pre>/// name = \"SDOHCCPRAPAREMap\"\n/// status = draft\n/// title = \"SDOHCC StructureMap PRAPARE\"\n/// description = \"A StructureMap instance that represents the resource that transforms specific questions and answers from the PRAPARE questionnaire represented in LOINC (code 93025-5) into their corresponding Observations and derived Conditions (health concerns).\"\n\n\n// This is a more complex example where the author has chosen to extract *all* answers to Observations and to create a grouping Observation\n\nmap \"http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapPRAPARE\" = \"SDOHCCPRAPAREMap\"\n\nuses \"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse\" alias questionnaireResponse as source\nuses \"http://hl7.org/fhir/StructureDefinition/Bundle\" as target\nuses \"http://hl7.org/fhir/StructureDefinition/Observation\" as target\nuses \"http://hl7.org/fhir/StructureDefinition/Condition\" alias sdohccCondition as target\nuses \"http://hl7.org/fhir/StructureDefinition/Observation\" alias sdohccObservation as target\n\ngroup sdohMapping(source src : questionnaireResponse, target bundle : Bundle) {\n  //temporarily set id to human-readable id as example\n  //src -&gt; bundle.id = uuid();\n  src -&gt; bundle.id = 'SDOHCC-BundlePRAPAREExample' \"bundleId\";\n  src -&gt; bundle.type = 'transaction' \"bundleType\";\n    \n  //for each answer item in the questionnaireResponse, create an Observation and add it to the groupObservation\n  src.item as rootItem then \n    rootContent(src, rootItem, bundle);\n\n  //create group observation containing all observations as hasMember\n  src -&gt; bundle.entry as entry, entry.resource = create('sdohccObservation') as groupObservation then \n    TransformGroupObservation(src, bundle, groupObservation, entry) \"bundleGroupObsn\";  \n}\n\ngroup rootContent(source qResponse: questionnaireResponse, source rootItem, target bundle) {\n  rootItem.item as groupItem then \n    groupContent(qResponse, groupItem, bundle);\n}\n\ngroup groupContent(source qResponse: questionnaireResponse, source groupItem, target bundle) {\n  groupItem.item as answerItem then\n    itemContent(qResponse, answerItem, bundle);\n}\n\ngroup itemContent(source qResponse: questionnaireResponse, source answerItem, target bundle) {\n  //create a single Observation for questions that can only have one answer\n  answerItem where answerItem.linkId != '/93043-8/32624-9' and answerItem.linkId != '/93041-2/93031-3' and answerItem.linkId != '/93041-2/93030-5'-&gt; bundle.entry as entry, entry.resource = create('sdohccObservation') as observation then \n    TransformObservation(qResponse, answerItem, bundle, observation, entry, bundle) \"obsn\";\n\n  //create multiple Observations for each answer on questions that can have multiple answers (Question 2, 14 and 15)\n  answerItem.answer as answer where answerItem.linkId = '/93043-8/32624-9' or answerItem.linkId = '/93041-2/93031-3' or answerItem.linkId = '/93041-2/93030-5' -&gt; bundle.entry as entry, entry.resource = create('sdohccObservation') as observation then \n    TransformObservation(qResponse, answerItem, bundle, observation, entry, bundle),\n    SetValueCodeableConceptFromAnswer(answer, observation);\n}\n\ngroup SetValueCodeableConceptFromAnswer(source answer, target observation) {\n  answer -&gt; observation.value = create('CodeableConcept') as newCC then {\n    answer.value as coding -&gt; newCC.coding = coding as newCoding;\n  } \"obsnValue\";\n}\n\ngroup TransformObservation(source src: questionnaireResponse, source answerItem, source srcBundle: Bundle, target observation: sdohccObservation, target entry, target bundle: Bundle)\n{\n  src -&gt; observation.id = uuid() then\n  	SetObservationFullUrl(observation, entry) \"obsnFullUrl\";\n  src -&gt; observation.status = 'final' \"obsnStatus\";\n  src -&gt; observation.category = cc('http://terminology.hl7.org/CodeSystem/observation-category', 'social-history', 'Social History') \"obsnCatSocialHistory\";\n  src -&gt; observation.category = cc('http://terminology.hl7.org/CodeSystem/observation-category', 'survey', 'Survey') \"obsnCatSurvey\";\n \n  src -&gt; observation.meta = create('Meta') as newMeta then {\n    src -&gt; newMeta.profile = 'http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse' \"obsnMetaProfile\";\n  } \"obsnMeta\";\n\n  //set dates\n  src.authored as authored -&gt; observation.issued = authored, observation.effective = authored;\n  \n  src.subject as qSubject -&gt; observation.subject = create('Reference') as newReference then {\n    qSubject.reference as qReference -&gt; newReference.reference = qReference;\n    qSubject.display as qDisplay -&gt; newReference.display = qDisplay;\n  };\n  src.subject as qSubject -&gt; observation.performer = create('Reference') as newReference then {\n    qSubject.reference as qReference -&gt; newReference.reference = qReference;\n    qSubject.display as qDisplay -&gt; newReference.display = qDisplay;\n  };  \n\n  src.id as id -&gt; observation.derivedFrom = create('Reference') as newReference then {\n    id -&gt; newReference.reference = append('QuestionnaireResponse/', id) \"obsnDerivedFromReference\";\n  } \"obsnDerivedFrom\";\n\n  //answerItem.answer as answer -&gt; observation.id = uuid() then\n  //	SetValue(answer, observation);\n\n  //Set observation.code mapping for each corresponding answer\n\n  // 1. Ethnicity\n  answerItem where linkId = '/93043-8/56051-6' -&gt; observation.code = cc('http://loinc.org', '56051-6') as code then \n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeEthnicity\";\n  answerItem where linkId = '/93043-8/56051-6' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'sdoh-category-unspecified' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'SDOH Category Unspecified' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 2. Race\n  //TBD: How to handle \"Others\" text?\n  answerItem where linkId = '/93043-8/32624-9' -&gt; observation.code = cc('http://loinc.org', '32624-9') as code \"obsCodeRace\";\n  answerItem where linkId = '/93043-8/32624-9' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'sdoh-category-unspecified' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'SDOH Category Unspecified' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 3. Farm Worker Status\n  answerItem where linkId = '/93043-8/93035-4' -&gt; observation.code = cc('http://loinc.org', '93035-4') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeFarmWorkerStatus\";\n  answerItem where linkId = '/93043-8/93035-4' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'sdoh-category-unspecified' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'SDOH Category Unspecified' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 4. Veteran Status\n  answerItem where linkId = '/93043-8/93034-7' -&gt; observation.code = cc('http://loinc.org', '93034-7') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeVetStatus\";\n  answerItem where linkId = '/93043-8/93034-7' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'veteran-status' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Veteran Status' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";  \n  \n  // 5. English Proficiency\n  answerItem where linkId = '/93043-8/54899-0' -&gt; observation.code = cc('http://loinc.org', '54899-0') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeEngProf\";\n  answerItem where linkId = '/93043-8/54899-0' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'sdoh-category-unspecified' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'SDOH Category Unspecified' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 6. Household Size\n  answerItem where linkId = '/93042-0/63512-8' -&gt; observation.code = cc('http://loinc.org', '63512-8') as code then {\n    answerItem.answer as answer -&gt; observation.value = create('Quantity') as newQty then {\n      answer.value as vs -&gt; newQty.value = vs \"obsnQtyValue\";\n      src -&gt; newQty.unit = '{#}' \"obsnQtyUnit\";\n      src -&gt; newQty.system = 'http://unitsofmeasure.org' \"obsnQtySystem\";\n      src -&gt; newQty.code = '{#}' \"obsnQtyCode\";\n    } \"obsnValue\";\n  } \"obsnCodeHouseholdSize\";\n  answerItem where linkId = '/93042-0/63512-8' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'sdoh-category-unspecified' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'SDOH Category Unspecified' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 7. Housing\n  answerItem where linkId = '/93042-0/71802-3' -&gt; observation.code = cc('http://loinc.org', '71802-3') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeHousing\";\n  answerItem where linkId = '/93042-0/71802-3' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'homelessness' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Homelessness' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 8. Housing Status\n  answerItem where linkId = '/93042-0/93033-9' -&gt; observation.code = cc('http://loinc.org', '93033-9') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeHousingStatus\";\n  answerItem where linkId = '/93042-0/93033-9' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'housing-instability' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Housing Instability' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 9. Neighborhood\n  answerItem where linkId = '/93042-0/56799-0' -&gt; observation.code = cc('http://loinc.org', '56799-0') as code then\n    SetValue(answerItem, observation) \"obsnCodeNeighborhood\";\n  answerItem where linkId = '/93042-0/56799-0' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'sdoh-category-unspecified' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'SDOH Category Unspecified' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 10. Education\n  answerItem where linkId = '/93041-2/82589-3' -&gt; observation.code = cc('http://loinc.org', '82589-3') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeEducation\";\n  answerItem where linkId = '/93041-2/82589-3' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'educational-attainment' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Educational Attainment' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 11. Employment\n  answerItem where linkId = '/93041-2/67875-5' -&gt; observation.code = cc('http://loinc.org', '67875-5') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeEmployment\";\n  answerItem where linkId = '/93041-2/67875-5' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'employment-status' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Employment Status' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 12. Insurance\n  answerItem where linkId = '/93041-2/76437-3' -&gt; observation.code = cc('http://loinc.org', '76437-3') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeInsurance\";\n  answerItem where linkId = '/93041-2/76437-3' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'health-insurance-coverage-status' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Health Insurance Coverage Status' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 13. Household Income\n  answerItem where linkId = '/93041-2/63586-2' -&gt; observation.code = cc('http://loinc.org', '63586-2') as code then {\n    answerItem.answer as answer -&gt; observation.value = create('Quantity') as newQty then {\n      answer.value as vs -&gt; newQty.value = vs \"obsnQtyValue\";\n      src -&gt; newQty.unit = '/a' \"obsnQtyUnit\";\n      src -&gt; newQty.system = 'http://unitsofmeasure.org' \"obsnQtySystem\";\n      src -&gt; newQty.code = '/a' \"obsnQtyCode\";\n    } \"obsnBalue\";\n  } \"obsnCodeHouseholdIncome\";\n  answerItem where linkId = '/93041-2/63586-2' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'sdoh-category-unspecified' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'SDOH Category Unspecified' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";  \n\n  // 14. Material Security\n  answerItem where linkId = '/93041-2/93031-3' -&gt; observation.code = cc('http://loinc.org', '93031-3') as code \"obsnCodeMaterialSecurity\";\n  // answer: Food\n  answerItem where linkId = '/93041-2/93031-3' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'material-hardship' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Material Hardship' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n  \n  // 15. Transportation\n  answerItem where linkId = '/93041-2/93030-5' -&gt; observation.code = cc('http://loinc.org', '93030-5') as code \"obsnCodeTransportation\";\n  answerItem where linkId = '/93041-2/93030-5' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'transportation-insecurity' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Transportation Insecurity' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 16. Social Integration\n  answerItem where linkId = '/93040-4/93029-7' -&gt; observation.code = cc('http://loinc.org', '93029-7') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeSocInteg\";\n  answerItem where linkId = '/93040-4/93029-7' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'social-connection' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Social Connection' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 17. Stress\n  answerItem where linkId = '/93040-4/93038-8' -&gt; observation.code = cc('http://loinc.org', '93038-8') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeStress\";\n  answerItem where linkId = '/93040-4/93038-8' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'stress' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Stress' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 18. Incarceration\n  answerItem where linkId = '/93039-6/93028-9' -&gt; observation.code = cc('http://loinc.org', '93028-9') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeIncarceration\";\n  answerItem where linkId = '/93039-6/93028-9' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'sdoh-category-unspecified' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'SDOH Category Unspecified' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 19. Refugee\n  answerItem where linkId = '/93039-6/93027-1' -&gt; observation.code = cc('http://loinc.org', '93027-1') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeRefugee\";\n  answerItem where linkId = '/93039-6/93027-1' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'sdoh-category-unspecified' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'SDOH Category Unspecified' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 20. Safety\n  answerItem where linkId = '/93039-6/93026-3' -&gt; observation.code = cc('http://loinc.org', '93026-3') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeSafety\";\n  answerItem where linkId = '/93039-6/93026-3' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'sdoh-category-unspecified' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'SDOH Category Unspecified' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  // 21. Domestic Violence\n  answerItem where linkId = '/93039-6/76501-6' -&gt; observation.code = cc('http://loinc.org', '76501-6') as code then\n    SetValueCodeableConcept(answerItem, observation) \"obsnCodeDomViolence\";\n  answerItem where linkId = '/93039-6/76501-6' -&gt; observation.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"obsnCatCodingSystem\";\n      src -&gt; newCoding.code = 'intimate-partner-violence' \"obsnCatCodingCode\";\n      src -&gt; newCoding.display = 'Intimate Partner Violence' \"obsnCatCodingDisplay\";\n    } \"obsnCatCoding\";\n  } \"obsnCat\";\n\n  //create a Condition if homeless\n  answerItem where linkId = '/93042-0/71802-3' and answer.value.code ='LA30190-5' -&gt; bundle.entry as entry, entry.resource = create('sdohccCondition') as condition then\n    TransformCondition(src, bundle, condition, entry), SetConditionCodeAndEvidence1(src, srcBundle, condition) \"conditionHomeless\";\n\n  //create a Condition if unemployed\n  answerItem where linkId = '/93041-2/67875-5' and answer.value.code ='LA17956-6' -&gt; bundle.entry as entry, entry.resource = create('sdohccCondition') as condition then\n    TransformCondition(src, bundle, condition, entry), SetConditionCodeAndEvidence2(src, srcBundle, condition) \"conditionUnemployed\";\n\n  src -&gt; entry.request as request then {\n    src -&gt; request.method = 'POST' \"obsnRequestMethod\";\n    src -&gt; request.url = 'Observation' \"obsnRequestUrl\";\n  } \"obsnEntryRequest\";\n}\n\ngroup SetValue(source answerItem, target observation) {\n  answerItem.answer as answer -&gt; observation.id as id then {\n    answer.value as vs -&gt; observation.value = vs;\n  };\n}\n\ngroup SetValueCodeableConcept(source src, target observation) {\n  src.answer as answer -&gt; observation.value = create('CodeableConcept') as newCC then {\n    answer.value as coding -&gt; newCC.coding = coding as newCoding;\n  };\n}\n\ngroup SetObservationFullUrl(source observation: Observation, target entry)\n{\n  observation.id as id -&gt; entry.fullUrl = append('http://hl7.org/fhir/us/sdoh-clinicalcare/Observation/', id);\n}\n\ngroup TransformCondition(source src: questionnaireResponse, source bundle, target condition: sdohccCondition, target entry)\n{\n  src -&gt; condition.id = uuid() then\n    SetConditionFullUrl(condition, entry) \"conditionFullUrl\";\n\n  src -&gt; condition.meta = create('Meta') as newMeta then {\n    src -&gt; newMeta.profile = 'http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Condition' \"conditionMetaProfile\";\n  } \"conditionMeta\";\n\n  src -&gt; condition.clinicalStatus = cc('http://terminology.hl7.org/CodeSystem/condition-clinical', 'active', 'Active') \"conditionClinicalStatus\";\n  src -&gt; condition.verificationStatus = cc('http://terminology.hl7.org/CodeSystem/condition-ver-status', 'unconfirmed', 'Unconfirmed') \"conditionVerificationStatus\";\n\n  src -&gt; condition.category = create('CodeableConcept') as newCC then {\n    src -&gt; newCC.coding = create('Coding') as newCoding then {\n      src -&gt; newCoding.system = 'http://hl7.org/fhir/us/core/CodeSystem/condition-category' \"conditionCatCodingSystem\";\n      src -&gt; newCoding.code = 'health-concern' \"conditionCatCodingCode\";\n      src -&gt; newCoding.display = 'Health Concern' \"conditionCatCodingDisplay\";\n    } \"conditionCatCoding\";\n  } \"conditionCat\";\n    \n  src.authored as authored -&gt; condition.onset = create('Period') as period,\n    period.start = authored \"conditionOnset\";\n\n  src.subject as qSubject -&gt; condition.subject = create('Reference') as newReference then {\n    qSubject.reference as qReference -&gt; newReference.reference = qReference;\n    qSubject.display as qDisplay -&gt; newReference.display = qDisplay;\n  };\n\n  src.subject as qSubject -&gt; condition.asserter = create('Reference') as newReference then {\n    qSubject.reference as qReference -&gt; newReference.reference = qReference;\n    qSubject.display as qDisplay -&gt; newReference.display = qDisplay;\n  };\n\n  src -&gt; entry.request as request then {\n    src -&gt; request.method = 'POST' \"conditionRequestMethod\";\n    src -&gt; request.url = 'Condition' \"conditionRequestUrl\";\n  } \"conditionEntryRequest\";    \n}\n\ngroup SetConditionFullUrl(source condition: sdohccCondition, target entry)\n{\n  condition.id as id -&gt; entry.fullUrl = append('http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/', id);\n}\n\ngroup SetConditionCodeAndEvidence1(source src: questionnaireResponse, source bundle, target condition)\n{\n  src -&gt; condition.code = create('CodeableConcept') as newCodeCC then {\n      src -&gt; newCodeCC.coding = create('Coding') as newCoding then {\n        src -&gt; newCoding.system = 'http://snomed.info/sct' \"conditionCodeCodingSystem\";\n        src -&gt; newCoding.code = '32911000' \"conditionCodeCodingCode\";\n        src -&gt; newCoding.display = 'Homeless' \"conditionCodeCodingDisplay\";\n    } \"conditionCoding\";\n    src -&gt; newCodeCC.coding = create('Coding') as newCoding2 then {\n        src -&gt; newCoding2.system = 'http://hl7.org/fhir/sid/icd-10-cm' \"conditionCodeCodingSystem\";\n        src -&gt; newCoding2.code = 'Z59.0' \"conditionCodeCodingCode\";\n        src -&gt; newCoding2.display = 'Homelessness' \"conditionCodeCodingDisplay\";\n    } \"conditionCoding\";\n  } \"conditionCode\";\n  \n  //Add sdoh category\n  src -&gt; condition.category = create('CodeableConcept') as newCC then {\n      src -&gt; newCC.coding = create('Coding') as newCoding then {\n        src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"conditionCatCodingSystem\";\n        src -&gt; newCoding.code = 'homelessness' \"conditionCatCodingCode\";\n        src -&gt; newCoding.display = 'Homelessness' \"conditionCatCodingDisplay\";\n    } \"conditionCatCoding\";\n  } \"conditionCat\";\n\n  bundle.entry as entries -&gt; condition.evidence as evidence, evidence.detail = create('Reference') as detailReference then {\n  	entries.resource as obs where code.coding.code = '71802-3'-&gt; detailReference.reference = reference(obs) \"conditionEvidence\";\n  };\n}\n\ngroup SetConditionCodeAndEvidence2(source src: questionnaireResponse, source bundle, target condition)\n{\n  src -&gt; condition.code = create('CodeableConcept') as newCodeCC then {\n      src -&gt; newCodeCC.coding = create('Coding') as newCoding then {\n        src -&gt; newCoding.system = 'http://snomed.info/sct' \"conditionCodeCodingSystem\";\n        src -&gt; newCoding.code = '73438004' \"conditionCodeCodingCode\";\n        src -&gt; newCoding.display = 'Unemployed' \"conditionCodeCodingDisplay\";\n    } \"conditionCoding\";\n    src -&gt; newCodeCC.coding = create('Coding') as newCoding2 then {\n        src -&gt; newCoding2.system = 'http://hl7.org/fhir/sid/icd-10-cm' \"conditionCodeCodingSystem\";\n        src -&gt; newCoding2.code = 'Z56.0' \"conditionCodeCodingCode\";\n        src -&gt; newCoding2.display = 'Unemployment, unspecified' \"conditionCodeCodingDisplay\";\n    } \"conditionCoding\";\n  } \"conditionCode\"; \n  //Add sdoh category\n  src -&gt; condition.category = create('CodeableConcept') as newCC then {\n      src -&gt; newCC.coding = create('Coding') as newCoding then {\n        src -&gt; newCoding.system = 'http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes' \"conditionCatCodingSystem\";\n        src -&gt; newCoding.code = 'employment-status' \"conditionCatCodingCode\";\n        src -&gt; newCoding.display = 'Employment Status' \"conditionCatCodingDisplay\";\n    } \"conditionCatCoding\";\n  }\"conditionCat\";  \n  bundle.entry as entries -&gt; condition.evidence as evidence, evidence.detail = create('Reference') as detailReference then {\n  	entries.resource as obs where code.coding.code = '67875-5'-&gt; detailReference.reference = reference(obs)  \"conditionEvidence\"; \n  };\n}\n\ngroup TransformGroupObservation(source src: questionnaireResponse, source bundle:Bundle, target groupObservation: Observation, target entry)\n{\n  src -&gt; groupObservation.id = uuid() then\n    SetObservationFullUrl(groupObservation, entry) \"grpObsnFullUrl\"; \n  src -&gt; groupObservation.status = 'final' \"grpObsnStatus\"; \n  src -&gt; groupObservation.category = cc('http://terminology.hl7.org/CodeSystem/observation-category', 'social-history', 'Social History') \"grpObsnCatSocialHistory\";\n  src -&gt; groupObservation.category = cc('http://terminology.hl7.org/CodeSystem/observation-category', 'survey', 'Survey') \"grpObsnCatSurvey\";\n\n  src -&gt; groupObservation.meta = create('Meta') as newMeta then {\n    src -&gt; newMeta.profile = 'http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse' \"grpObsnMetaProfile\";\n  } \"grpObsMeta\"; \n\n  src.authored as authored -&gt; groupObservation.effective = authored;\n  src.subject as qSubject -&gt; groupObservation.subject = create('Reference') as newReference then {\n    qSubject.reference as qReference -&gt; newReference.reference = qReference \"grpObsnSubjRef\";\n    qSubject.display as qDisplay -&gt; newReference.display = qDisplay \"grpObsnSubjDisplay\";\n  } \"grpObsnSubject\";  \n\n  src -&gt; groupObservation.code = cc('http://loinc.org', '93025-5') \"grpObsnCode\";   \n\n  //only add observations that are derived from the answers\n  bundle.entry as entries -&gt; groupObservation.hasMember = create('Reference') as df then {\n    entries.resource as obs where status.exists() and hasMember.exists().not() -&gt; df.reference = reference(obs) \"grpObsnHasMemberReference\"; \n  } \"grpObsnHasMember\";\n\n  src.id as id -&gt; groupObservation.derivedFrom = create('Reference') as newReference then {\n    id -&gt; newReference.reference = append('QuestionnaireResponse/', id) \"grpObsnDerivedFromReference\";\n  } \"grpObsnDerivedFrom\";\n\n  src -&gt; entry.request as request then {\n    src -&gt; request.method = 'POST' \"obsnRequestMethod\";\n    src -&gt; request.url = 'Observation' \"obsnRequestUrl\";\n  } \"obsnEntryRequest\";    \n}</pre>\n      </div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "pc"     ]
      ] ) ; #
      fhir:url [ fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapPRAPARE"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "3.0.0"] ; #
      fhir:name [ fhir:v "SDOHCCPRAPAREMap"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:date [ fhir:v "2025-09-26T13:12:57+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "HL7 International / Patient Care"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "HL7 International / Patient Care" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://www.hl7.org/Special/committees/patientcare" ]     ] [
    fhir:system [ fhir:v "email" ] ;
    fhir:value [ fhir:v "patientcare@lists.hl7.org" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "A StructureMap instance that represents the resource that transforms specific questions and answers from the PRAPARE questionnaire represented in LOINC (code 93025-5) into their corresponding Observations and derived Conditions (health concerns)"] ; #
      fhir:jurisdiction ( [
        ( fhir:coding [
    fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "US" ] ;
    fhir:display [ fhir:v "United States of America" ]     ] )
      ] ) ; #
      fhir:structure ( [
    fhir:url [
    fhir:v "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse>     ] ;
    fhir:mode [ fhir:v "source" ] ;
    fhir:alias [ fhir:v "questionnaireResponse" ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Bundle"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>     ] ;
    fhir:mode [ fhir:v "target" ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>     ] ;
    fhir:mode [ fhir:v "target" ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Condition"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Condition>     ] ;
    fhir:mode [ fhir:v "target" ] ;
    fhir:alias [ fhir:v "sdohccCondition" ]
      ] [
    fhir:url [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Observation"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>     ] ;
    fhir:mode [ fhir:v "target" ] ;
    fhir:alias [ fhir:v "sdohccObservation" ]
      ] ) ; #
      fhir:group ( [
    fhir:name [ fhir:v "sdohMapping" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:type [ fhir:v "questionnaireResponse" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "bundle" ] ;
    fhir:type [ fhir:v "Bundle" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "bundleId" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOHCC-BundlePRAPAREExample"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "bundleType" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "type" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "transaction"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "item" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "rootItem" ]       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "rootContent" ] ;
            ( fhir:variable [ fhir:v "src" ] [ fhir:v "rootItem" ] [ fhir:v "bundle" ] )       ] )     ] [
    fhir:name [ fhir:v "bundleGroupObsn" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]       ] [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "groupObservation" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdohccObservation"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "TransformGroupObservation" ] ;
            ( fhir:variable [ fhir:v "src" ] [ fhir:v "bundle" ] [ fhir:v "groupObservation" ] [ fhir:v "entry" ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "rootContent" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "qResponse" ] ;
    fhir:type [ fhir:v "questionnaireResponse" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "rootItem" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "bundle" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "item" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "rootItem" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "groupItem" ]       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "groupContent" ] ;
            ( fhir:variable [ fhir:v "qResponse" ] [ fhir:v "groupItem" ] [ fhir:v "bundle" ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "groupContent" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "qResponse" ] ;
    fhir:type [ fhir:v "questionnaireResponse" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "groupItem" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "bundle" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "item" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "groupItem" ] ;
    fhir:element [ fhir:v "item" ] ;
    fhir:variable [ fhir:v "answerItem" ]       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "itemContent" ] ;
            ( fhir:variable [ fhir:v "qResponse" ] [ fhir:v "answerItem" ] [ fhir:v "bundle" ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "itemContent" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "qResponse" ] ;
    fhir:type [ fhir:v "questionnaireResponse" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "answerItem" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "bundle" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "obsn" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "(answerItem.linkId != '/93043-8/32624-9') and (answerItem.linkId != '/93041-2/93031-3') and (answerItem.linkId != '/93041-2/93030-5')" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]       ] [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "observation" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdohccObservation"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "TransformObservation" ] ;
            ( fhir:variable [ fhir:v "qResponse" ] [ fhir:v "answerItem" ] [ fhir:v "bundle" ] [ fhir:v "observation" ] [ fhir:v "entry" ] [ fhir:v "bundle" ] )       ] )     ] [
    fhir:name [ fhir:v "answer" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:variable [ fhir:v "answer" ] ;
    fhir:condition [ fhir:v "(answerItem.linkId = '/93043-8/32624-9') or (answerItem.linkId = '/93041-2/93031-3') or (answerItem.linkId = '/93041-2/93030-5')" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]       ] [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "observation" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdohccObservation"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "TransformObservation" ] ;
            ( fhir:variable [ fhir:v "qResponse" ] [ fhir:v "answerItem" ] [ fhir:v "bundle" ] [ fhir:v "observation" ] [ fhir:v "entry" ] [ fhir:v "bundle" ] )       ] [
    fhir:name [ fhir:v "SetValueCodeableConceptFromAnswer" ] ;
            ( fhir:variable [ fhir:v "answer" ] [ fhir:v "observation" ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "SetValueCodeableConceptFromAnswer" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "answer" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "observation" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "obsnValue" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answer" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "value" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "answer" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "coding" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "coding"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "TransformObservation" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:type [ fhir:v "questionnaireResponse" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "answerItem" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "srcBundle" ] ;
    fhir:type [ fhir:v "Bundle" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "observation" ] ;
    fhir:type [ fhir:v "sdohccObservation" ] ;
    fhir:mode [ fhir:v "target" ]     ] [
    fhir:name [ fhir:v "entry" ] ;
    fhir:mode [ fhir:v "target" ]     ] [
    fhir:name [ fhir:v "bundle" ] ;
    fhir:type [ fhir:v "Bundle" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "obsnFullUrl" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetObservationFullUrl" ] ;
            ( fhir:variable [ fhir:v "observation" ] [ fhir:v "entry" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnStatus" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "final"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCatSocialHistory" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "social-history"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "Social History"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCatSurvey" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "survey"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "Survey"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnMeta" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Meta"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnMetaProfile" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "authored" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "authored" ] ;
    fhir:variable [ fhir:v "authored" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "issued" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "authored"           ]         ] )       ] [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "effective" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "authored"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "subject" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "qSubject" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "newReference" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Reference"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "reference" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "qSubject" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:variable [ fhir:v "qReference" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "qReference"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "display" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "qSubject" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:variable [ fhir:v "qDisplay" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "qDisplay"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "subject" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "qSubject" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "performer" ] ;
    fhir:variable [ fhir:v "newReference" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Reference"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "reference" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "qSubject" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:variable [ fhir:v "qReference" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "qReference"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "display" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "qSubject" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:variable [ fhir:v "qDisplay" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "qDisplay"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnDerivedFrom" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:variable [ fhir:v "id" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "derivedFrom" ] ;
    fhir:variable [ fhir:v "newReference" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Reference"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnDerivedFromReference" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "id" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "append" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "QuestionnaireResponse/"             ]           ] [
    fhir:value [
    a fhir:id ;
    fhir:v "id"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeEthnicity" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93043-8/56051-6'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "56051-6"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93043-8/56051-6'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdoh-category-unspecified"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOH Category Unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsCodeRace" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93043-8/32624-9'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "32624-9"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93043-8/32624-9'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdoh-category-unspecified"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOH Category Unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeFarmWorkerStatus" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93043-8/93035-4'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93035-4"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93043-8/93035-4'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdoh-category-unspecified"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOH Category Unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeVetStatus" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93043-8/93034-7'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93034-7"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93043-8/93034-7'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "veteran-status"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Veteran Status"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeEngProf" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93043-8/54899-0'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "54899-0"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93043-8/54899-0'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdoh-category-unspecified"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOH Category Unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeHouseholdSize" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93042-0/63512-8'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "63512-8"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnValue" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:variable [ fhir:v "answer" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "newQty" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Quantity"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnQtyValue" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "answer" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "vs" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newQty" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "vs"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnQtyUnit" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newQty" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "unit" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "{#}"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnQtySystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newQty" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://unitsofmeasure.org"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnQtyCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newQty" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "{#}"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93042-0/63512-8'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdoh-category-unspecified"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOH Category Unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeHousing" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93042-0/71802-3'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "71802-3"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93042-0/71802-3'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "homelessness"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Homelessness"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeHousingStatus" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93042-0/93033-9'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93033-9"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93042-0/93033-9'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "housing-instability"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Housing Instability"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeNeighborhood" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93042-0/56799-0'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "56799-0"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValue" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93042-0/56799-0'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdoh-category-unspecified"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOH Category Unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeEducation" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/82589-3'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "82589-3"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/82589-3'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "educational-attainment"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Educational Attainment"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeEmployment" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/67875-5'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "67875-5"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/67875-5'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "employment-status"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Employment Status"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeInsurance" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/76437-3'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "76437-3"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/76437-3'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "health-insurance-coverage-status"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Health Insurance Coverage Status"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeHouseholdIncome" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/63586-2'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "63586-2"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnBalue" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:variable [ fhir:v "answer" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "newQty" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Quantity"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnQtyValue" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "answer" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "vs" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newQty" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "vs"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnQtyUnit" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newQty" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "unit" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "/a"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnQtySystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newQty" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://unitsofmeasure.org"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnQtyCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newQty" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "/a"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/63586-2'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdoh-category-unspecified"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOH Category Unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeMaterialSecurity" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/93031-3'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93031-3"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/93031-3'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "material-hardship"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Material Hardship"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeTransportation" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/93030-5'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93030-5"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93041-2/93030-5'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "transportation-insecurity"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Transportation Insecurity"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeSocInteg" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93040-4/93029-7'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93029-7"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93040-4/93029-7'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "social-connection"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Social Connection"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeStress" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93040-4/93038-8'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93038-8"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93040-4/93038-8'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "stress"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Stress"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeIncarceration" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93039-6/93028-9'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93028-9"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93039-6/93028-9'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdoh-category-unspecified"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOH Category Unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeRefugee" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93039-6/93027-1'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93027-1"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93039-6/93027-1'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdoh-category-unspecified"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOH Category Unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeSafety" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93039-6/93026-3'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93026-3"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93039-6/93026-3'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdoh-category-unspecified"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "SDOH Category Unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCodeDomViolence" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93039-6/76501-6'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "76501-6"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
            ( fhir:variable [ fhir:v "answerItem" ] [ fhir:v "observation" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "linkId = '/93039-6/76501-6'" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "obsnCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "intimate-partner-violence"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "obsnCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Intimate Partner Violence"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "conditionHomeless" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "(linkId = '/93042-0/71802-3') and (answer.value.code = 'LA30190-5')" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]       ] [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "condition" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdohccCondition"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "TransformCondition" ] ;
            ( fhir:variable [ fhir:v "src" ] [ fhir:v "bundle" ] [ fhir:v "condition" ] [ fhir:v "entry" ] )       ] [
    fhir:name [ fhir:v "SetConditionCodeAndEvidence1" ] ;
            ( fhir:variable [ fhir:v "src" ] [ fhir:v "srcBundle" ] [ fhir:v "condition" ] )       ] )     ] [
    fhir:name [ fhir:v "conditionUnemployed" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:variable [ fhir:v "variable" ] ;
    fhir:condition [ fhir:v "(linkId = '/93041-2/67875-5') and (answer.value.code = 'LA17956-6')" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entry" ]       ] [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "condition" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "sdohccCondition"           ]         ] )       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "TransformCondition" ] ;
            ( fhir:variable [ fhir:v "src" ] [ fhir:v "bundle" ] [ fhir:v "condition" ] [ fhir:v "entry" ] )       ] [
    fhir:name [ fhir:v "SetConditionCodeAndEvidence2" ] ;
            ( fhir:variable [ fhir:v "src" ] [ fhir:v "srcBundle" ] [ fhir:v "condition" ] )       ] )     ] [
    fhir:name [ fhir:v "obsnEntryRequest" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnRequestMethod" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "POST"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "obsnRequestUrl" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Observation"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "SetValue" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "answerItem" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "observation" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "answer" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "answerItem" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:variable [ fhir:v "answer" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:variable [ fhir:v "id" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "value" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "answer" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "vs" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "vs"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "SetValueCodeableConcept" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "observation" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "answer" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "answer" ] ;
    fhir:variable [ fhir:v "answer" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "observation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "value" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "answer" ] ;
    fhir:element [ fhir:v "value" ] ;
    fhir:variable [ fhir:v "coding" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "coding"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "SetObservationFullUrl" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "observation" ] ;
    fhir:type [ fhir:v "Observation" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "entry" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "observation" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:variable [ fhir:v "id" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "fullUrl" ] ;
    fhir:transform [ fhir:v "append" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/Observation/"           ]         ] [
    fhir:value [
    a fhir:id ;
    fhir:v "id"           ]         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "TransformCondition" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:type [ fhir:v "questionnaireResponse" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "bundle" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "condition" ] ;
    fhir:type [ fhir:v "sdohccCondition" ] ;
    fhir:mode [ fhir:v "target" ]     ] [
    fhir:name [ fhir:v "entry" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "conditionFullUrl" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetConditionFullUrl" ] ;
            ( fhir:variable [ fhir:v "condition" ] [ fhir:v "entry" ] )       ] )     ] [
    fhir:name [ fhir:v "conditionMeta" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Meta"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "conditionMetaProfile" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Condition"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "conditionClinicalStatus" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "clinicalStatus" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "active"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "Active"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "conditionVerificationStatus" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "verificationStatus" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://terminology.hl7.org/CodeSystem/condition-ver-status"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "unconfirmed"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "Unconfirmed"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "conditionCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "conditionCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "conditionCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/core/CodeSystem/condition-category"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "health-concern"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Health Concern"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "conditionOnset" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "authored" ] ;
    fhir:variable [ fhir:v "authored" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "onset" ] ;
    fhir:variable [ fhir:v "period" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Period"           ]         ] )       ] [
    fhir:context [ fhir:v "period" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "start" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "authored"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "subject" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "qSubject" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "newReference" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Reference"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "reference" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "qSubject" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:variable [ fhir:v "qReference" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "qReference"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "display" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "qSubject" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:variable [ fhir:v "qDisplay" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "qDisplay"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "subject" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "qSubject" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "asserter" ] ;
    fhir:variable [ fhir:v "newReference" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Reference"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "reference" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "qSubject" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:variable [ fhir:v "qReference" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "qReference"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "display" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "qSubject" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:variable [ fhir:v "qDisplay" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "qDisplay"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "conditionEntryRequest" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "conditionRequestMethod" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "POST"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "conditionRequestUrl" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Condition"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "SetConditionFullUrl" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "condition" ] ;
    fhir:type [ fhir:v "sdohccCondition" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "entry" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "id" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "condition" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:variable [ fhir:v "id" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "fullUrl" ] ;
    fhir:transform [ fhir:v "append" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/"           ]         ] [
    fhir:value [
    a fhir:id ;
    fhir:v "id"           ]         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "SetConditionCodeAndEvidence1" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:type [ fhir:v "questionnaireResponse" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "bundle" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "condition" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "conditionCode" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "newCodeCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "conditionCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCodeCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "conditionCodeCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://snomed.info/sct"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCodeCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "32911000"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCodeCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Homeless"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "conditionCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCodeCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding2" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "conditionCodeCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding2" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/sid/icd-10-cm"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCodeCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding2" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Z59.0"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCodeCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding2" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Homelessness"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "conditionCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "conditionCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "conditionCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "homelessness"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Homelessness"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "entry" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entries" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "evidence" ] ;
    fhir:variable [ fhir:v "evidence" ]       ] [
    fhir:context [ fhir:v "evidence" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "detail" ] ;
    fhir:variable [ fhir:v "detailReference" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Reference"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "conditionEvidence" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "entries" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "obs" ] ;
    fhir:condition [ fhir:v "code.coding.code = '71802-3'" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "detailReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "reference" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "obs"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "SetConditionCodeAndEvidence2" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:type [ fhir:v "questionnaireResponse" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "bundle" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "condition" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "conditionCode" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:variable [ fhir:v "newCodeCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "conditionCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCodeCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "conditionCodeCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://snomed.info/sct"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCodeCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "73438004"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCodeCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Unemployed"               ]             ] )           ] )         ] )       ] [
    fhir:name [ fhir:v "conditionCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCodeCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding2" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "conditionCodeCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding2" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/sid/icd-10-cm"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCodeCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding2" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Z56.0"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCodeCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding2" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Unemployment, unspecified"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "conditionCat" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:variable [ fhir:v "newCC" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "CodeableConcept"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "conditionCatCoding" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newCC" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "coding" ] ;
    fhir:variable [ fhir:v "newCoding" ] ;
    fhir:transform [ fhir:v "create" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Coding"             ]           ] )         ] ) ;
            ( fhir:rule [
    fhir:name [ fhir:v "conditionCatCodingSystem" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "system" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCatCodingCode" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "employment-status"               ]             ] )           ] )         ] [
    fhir:name [ fhir:v "conditionCatCodingDisplay" ] ;
              ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]           ] ) ;
              ( fhir:target [
    fhir:context [ fhir:v "newCoding" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
                ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Employment Status"               ]             ] )           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "entry" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entries" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "condition" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "evidence" ] ;
    fhir:variable [ fhir:v "evidence" ]       ] [
    fhir:context [ fhir:v "evidence" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "detail" ] ;
    fhir:variable [ fhir:v "detailReference" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Reference"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "conditionEvidence" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "entries" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "obs" ] ;
    fhir:condition [ fhir:v "code.coding.code = '67875-5'" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "detailReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "reference" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "obs"             ]           ] )         ] )       ] )     ] )
      ] [
    fhir:name [ fhir:v "TransformGroupObservation" ] ;
    fhir:typeMode [ fhir:v "none" ] ;
        ( fhir:input [
    fhir:name [ fhir:v "src" ] ;
    fhir:type [ fhir:v "questionnaireResponse" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "bundle" ] ;
    fhir:type [ fhir:v "Bundle" ] ;
    fhir:mode [ fhir:v "source" ]     ] [
    fhir:name [ fhir:v "groupObservation" ] ;
    fhir:type [ fhir:v "Observation" ] ;
    fhir:mode [ fhir:v "target" ]     ] [
    fhir:name [ fhir:v "entry" ] ;
    fhir:mode [ fhir:v "target" ]     ] ) ;
        ( fhir:rule [
    fhir:name [ fhir:v "grpObsnFullUrl" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "groupObservation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:transform [ fhir:v "uuid" ]       ] ) ;
          ( fhir:dependent [
    fhir:name [ fhir:v "SetObservationFullUrl" ] ;
            ( fhir:variable [ fhir:v "groupObservation" ] [ fhir:v "entry" ] )       ] )     ] [
    fhir:name [ fhir:v "grpObsnStatus" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "groupObservation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "status" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "final"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "grpObsnCatSocialHistory" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "groupObservation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "social-history"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "Social History"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "grpObsnCatSurvey" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "groupObservation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "category" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "survey"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "Survey"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "grpObsMeta" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "groupObservation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "meta" ] ;
    fhir:variable [ fhir:v "newMeta" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Meta"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "grpObsnMetaProfile" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newMeta" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "profile" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "authored" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "authored" ] ;
    fhir:variable [ fhir:v "authored" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "groupObservation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "effective" ] ;
    fhir:transform [ fhir:v "copy" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "authored"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "grpObsnSubject" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "qSubject" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "groupObservation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "subject" ] ;
    fhir:variable [ fhir:v "newReference" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Reference"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "grpObsnSubjRef" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "qSubject" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:variable [ fhir:v "qReference" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "qReference"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "grpObsnSubjDisplay" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "qSubject" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:variable [ fhir:v "qDisplay" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "display" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "qDisplay"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "grpObsnCode" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "groupObservation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "code" ] ;
    fhir:transform [ fhir:v "cc" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "http://loinc.org"           ]         ] [
    fhir:value [
    a fhir:string ;
    fhir:v "93025-5"           ]         ] )       ] )     ] [
    fhir:name [ fhir:v "grpObsnHasMember" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "bundle" ] ;
    fhir:element [ fhir:v "entry" ] ;
    fhir:variable [ fhir:v "entries" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "groupObservation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "hasMember" ] ;
    fhir:variable [ fhir:v "df" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Reference"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "grpObsnHasMemberReference" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "entries" ] ;
    fhir:element [ fhir:v "resource" ] ;
    fhir:variable [ fhir:v "obs" ] ;
    fhir:condition [ fhir:v "status.exists() and hasMember.exists().not()" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "df" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "reference" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:id ;
    fhir:v "obs"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "grpObsnDerivedFrom" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:element [ fhir:v "id" ] ;
    fhir:variable [ fhir:v "id" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "groupObservation" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "derivedFrom" ] ;
    fhir:variable [ fhir:v "newReference" ] ;
    fhir:transform [ fhir:v "create" ] ;
            ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Reference"           ]         ] )       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "grpObsnDerivedFromReference" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "id" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "newReference" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "reference" ] ;
    fhir:transform [ fhir:v "append" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "QuestionnaireResponse/"             ]           ] [
    fhir:value [
    a fhir:id ;
    fhir:v "id"             ]           ] )         ] )       ] )     ] [
    fhir:name [ fhir:v "obsnEntryRequest" ] ;
          ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]       ] ) ;
          ( fhir:target [
    fhir:context [ fhir:v "entry" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "request" ] ;
    fhir:variable [ fhir:v "request" ]       ] ) ;
          ( fhir:rule [
    fhir:name [ fhir:v "obsnRequestMethod" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "method" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "POST"             ]           ] )         ] )       ] [
    fhir:name [ fhir:v "obsnRequestUrl" ] ;
            ( fhir:source [
    fhir:context [ fhir:v "src" ] ;
    fhir:variable [ fhir:v "src" ]         ] ) ;
            ( fhir:target [
    fhir:context [ fhir:v "request" ] ;
    fhir:contextType [ fhir:v "variable" ] ;
    fhir:element [ fhir:v "url" ] ;
    fhir:transform [ fhir:v "copy" ] ;
              ( fhir:parameter [
    fhir:value [
    a fhir:string ;
    fhir:v "Observation"             ]           ] )         ] )       ] )     ] )
      ] ) . #