SDOH Clinical Care
3.0.0-ballot - STU 3 Ballot United States of America flag

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-ballot 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

: SDOHCCHungerVitalSignMap

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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/StructureMap/SDOHCC-StructureMapHungerVitalSign> a fhir:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "SDOHCC-StructureMapHungerVitalSign"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "additional" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n         <pre>/// name = \"SDOHCCHungerVitalSignMap\"\n/// status = draft\n/// title = \"SDOHCC StructureMap HungerVitalSign\"\n/// description = \"A StructureMap instance that represents the resource that transforms a specific question and answer from the LOINC Hunger Vital Sign [HVS] questionnaire (LOINC code 88121-9) into a corresponding Observation (SDOHCC Observation response Hunger Vital Sign Q3 Example) and derived Condition (SDOHCC Condition Food Insecurity Example).\"\n\nmap \"http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapHungerVitalSign\" = \"SDOHCCHungerVitalSignMap\"\n\nuses \"http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse\" alias questionnaireResponse as source\nuses \"http://hl7.org/fhir/StructureDefinition/Bundle\" alias bundle as target\nuses \"http://hl7.org/fhir/StructureDefinition/Observation\" alias 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-BundleHungerVitalSignExample' \"bundleId\";\n  src -&gt; bundle.type = 'transaction' \"bundleType\";\n\n  //for each 'key' answer item in the questionnaireResponse, create an Observation\n  src.item as answerItem3 where linkId = '/88124-3' -&gt; bundle.entry as entry, entry.resource = create('Observation') as observation3 then \n    TransformObservation(src, answerItem3, observation3, entry); \n\n  //create condition if answer to third question is \"At Risk\"\n  src.item as answerItem4 where linkId = '/88124-3' and answer.value.code ='LA19952-3' -&gt; bundle.entry as entry, entry.resource = create('Condition') as condition then\n    TransformCondition(src, bundle, condition, entry);\n}\n\ngroup TransformObservation(source src: questionnaireResponse, source answerItem, target observation: Observation, target entry)\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  //temporarily set id to human-readable id as example\n  //src -&gt; observation.id = uuid() then\n  //  SetObservationFullUrl(observation, entry);\n  src -&gt; observation.id = 'SDOHCC-ObservationResponseHungerVitalSignQuestion3Example' then\n   	SetObservationFullUrl(observation, entry) \"obsn3Id\";\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  src -&gt; observation.status = 'final' \"obsnStatus\";\n\n  src -&gt; observation.category = cc('http://terminology.hl7.org/CodeSystem/observation-category', 'social-history', 'Social History') \"obsnCatSocialHist\";\n  src -&gt; observation.category = cc('http://terminology.hl7.org/CodeSystem/observation-category', 'survey', 'Survey') \"obsnCatSurvey\";\n  src -&gt; observation.category = cc('http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes', 'food-insecurity', 'Food Insecurity') \"obsnCatFoodInsecurity\";  \n\n  answerItem as i -&gt; observation.code = cc('http://loinc.org', '88124-3') as code \"obsn3Code\";\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\n  src.authored as authored -&gt; observation.effective = authored, observation.issued = authored;\n\n  answerItem.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  src -&gt; observation.derivedFrom = create('Reference') as newReference then {\n    src.id as id -&gt; newReference.reference = append('QuestionnaireResponse/', id);\n  } \"obsnDerivation\";\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: Bundle, target condition: Condition, target entry)\n{\n  //temporarily set id to human-readable id as example\n  //src -&gt; condition.id = uuid() then\n  src -&gt; condition.id = 'SDOHCC-ConditionFoodInsecurityExample' then\n    SetConditionFullUrl(condition, entry) \"conditionId\";\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') \"conditionVeriStatus\";\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' \"conditionCatCodingSystemHealthConcern\";\n        src -&gt; newCoding.code = 'health-concern' \"conditionCatCodingCodeHealthConcern\";\n        src -&gt; newCoding.display = 'Health Concern' \"conditionCatCodingDisplayHealthConcern\";\n    } \"conditionCatCodingHealthConcern\";\n  } \"conditionCatHealthConcern\";\n\n  //Add sdoh category\n  src -&gt; condition.category = cc('http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes', 'food-insecurity', 'Food Insecurity') \"conditionCatFoodInsecurity\";\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' \"conditionCodeCodingSystemFoodInsecurity\";\n        src -&gt; newCoding.code = '733423003' \"conditionCodeCodingCodeFoodInsecurity\";\n        src -&gt; newCoding.display = 'Food insecurity' \"conditionCodeCodingDisplayFoodInsecurity\";\n    } \"conditionCodeCodingFoodInsecurity\";\n    src -&gt; newCodeCC.coding = create('Coding') as newCoding2 then {\n        src -&gt; newCoding2.system = 'http://hl7.org/fhir/sid/icd-10-cm' \"conditionCodeCodingSystemLackOfFood\";\n        src -&gt; newCoding2.code = 'Z59.4' \"conditionCodeCodingCodeLackOfFood\";\n        src -&gt; newCoding2.display = 'Lack of adequate food' \"conditionCodeCodingDisplayLackOfFood\";\n    } \"conditionCodeCodingLackOfFood\";\n  } \"conditionCode\";\n      \n  src.authored as authored -&gt; condition.onset = create('Period') as period,\n    period.start = authored;\n\n  bundle.entry as entries -&gt; condition.evidence as evidence, evidence.detail = create('Reference') as detailReference then {\n  	entries.resource as obs3 where code.coding.code = '88124-3'-&gt; detailReference.reference = reference(obs3); \n  };\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 -&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: Condition, target entry)\n{\n  condition.id as id -&gt; entry.fullUrl = append('http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/', id);\n}</pre>\n      </div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index -1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:Extension.valueCode [ fhir:value "pc" ]
  ] ;
  fhir:StructureMap.url [ fhir:value "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureMap/SDOHCC-StructureMapHungerVitalSign"] ;
  fhir:StructureMap.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113762.1.4.1247.43.1" ]
  ] ;
  fhir:StructureMap.version [ fhir:value "3.0.0-ballot"] ;
  fhir:StructureMap.name [ fhir:value "SDOHCCHungerVitalSignMap"] ;
  fhir:StructureMap.status [ fhir:value "draft"] ;
  fhir:StructureMap.date [ fhir:value "2026-07-10T19:42:45+00:00"^^xsd:dateTime] ;
  fhir:StructureMap.publisher [ fhir:value "HL7 International / Patient Care"] ;
  fhir:StructureMap.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "HL7 International / Patient Care" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/patientcare" ]
     ], [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "patientcare@lists.hl7.org" ]
     ]
  ] ;
  fhir:StructureMap.description [ fhir:value "A StructureMap instance that represents the resource that transforms a specific question and answer from the LOINC Hunger Vital Sign [HVS] questionnaire (LOINC code 88121-9) into a corresponding Observation (SDOHCC Observation response Hunger Vital Sign Q3 Example) and derived Condition (SDOHCC Condition Food Insecurity Example)"] ;
  fhir:StructureMap.jurisdiction [
     fhir:index -1 ;
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "US" ] ;
       fhir:Coding.display [ fhir:value "United States of America" ]
     ]
  ] ;
  fhir:StructureMap.structure [
     fhir:index -1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "source" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "questionnaireResponse" ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Bundle" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Bundle>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "bundle" ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Observation" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "observation" ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Condition" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Condition>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "sdohccCondition" ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.structure.url [
       fhir:value "http://hl7.org/fhir/StructureDefinition/Observation" ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>
     ] ;
     fhir:StructureMap.structure.mode [ fhir:value "target" ] ;
     fhir:StructureMap.structure.alias [ fhir:value "sdohccObservation" ]
  ] ;
  fhir:StructureMap.group [
     fhir:index -1 ;
     fhir:StructureMap.group.name [ fhir:value "sdohMapping" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "src" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "questionnaireResponse" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "bundleId" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "SDOHCC-BundleHungerVitalSignExample" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "bundleType" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "type" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "transaction" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "item" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "answerItem3" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "linkId = '/88124-3'" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "entry" ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "observation3" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "TransformObservation" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "src" ;
           fhir:index -1
         ], [
           fhir:value "answerItem3" ;
           fhir:index -1
         ], [
           fhir:value "observation3" ;
           fhir:index -1
         ], [
           fhir:value "entry" ;
           fhir:index -1
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "item" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "item" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "answerItem4" ] ;
         fhir:StructureMap.group.rule.source.condition [ fhir:value "(linkId = '/88124-3') and (answer.value.code = 'LA19952-3')" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "entry" ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Condition" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "TransformCondition" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "src" ;
           fhir:index -1
         ], [
           fhir:value "bundle" ;
           fhir:index -1
         ], [
           fhir:value "condition" ;
           fhir:index -1
         ], [
           fhir:value "entry" ;
           fhir:index -1
         ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.group.name [ fhir:value "TransformObservation" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "src" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "questionnaireResponse" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "answerItem" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "observation" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Observation" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "entry" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "obsnEntryRequest" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "obsnRequestMethod" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "obsnRequestUrl" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Observation" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "obsn3Id" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "SDOHCC-ObservationResponseHungerVitalSignQuestion3Example" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "SetObservationFullUrl" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "observation" ;
           fhir:index -1
         ], [
           fhir:value "entry" ;
           fhir:index -1
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "obsnMeta" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "newMeta" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Meta" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "obsnMetaProfile" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newMeta" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "profile" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-ObservationScreeningResponse" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "obsnStatus" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "status" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "final" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "obsnCatSocialHist" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "category" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "cc" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "social-history" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Social History" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "obsnCatSurvey" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "category" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "cc" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/observation-category" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "survey" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Survey" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "obsnCatFoodInsecurity" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "category" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "cc" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "food-insecurity" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Food Insecurity" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "obsn3Code" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "answerItem" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "cc" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://loinc.org" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "88124-3" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "subject" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "qSubject" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "newReference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "qSubject" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newReference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "qReference" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "display" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "qSubject" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "display" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newReference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "qDisplay" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "authored" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "authored" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "effective" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "authored" ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "issued" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "authored" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "answer" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "answerItem" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "answer" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "answer" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "newCC" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "value" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "answer" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "value" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newCC" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "newCoding" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "coding" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "obsnDerivation" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "derivedFrom" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "newReference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newReference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "QuestionnaireResponse/" ]
           ], [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "id" ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.group.name [ fhir:value "SetObservationFullUrl" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "observation" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Observation" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "entry" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "observation" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/sdoh-clinicalcare/Observation/" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "id" ]
         ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.group.name [ fhir:value "TransformCondition" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "src" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "QuestionnaireResponse" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "bundle" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Bundle" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "condition" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Condition" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "entry" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "conditionId" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "SDOHCC-ConditionFoodInsecurityExample" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.dependent [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.dependent.name [ fhir:value "SetConditionFullUrl" ] ;
         fhir:StructureMap.group.rule.dependent.variable [
           fhir:value "condition" ;
           fhir:index -1
         ], [
           fhir:value "entry" ;
           fhir:index -1
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "conditionMeta" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "meta" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "newMeta" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Meta" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "conditionMetaProfile" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newMeta" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "profile" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/sdoh-clinicalcare/StructureDefinition/SDOHCC-Condition" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "conditionClinicalStatus" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "clinicalStatus" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "cc" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "active" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Active" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "conditionVeriStatus" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "verificationStatus" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "cc" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "unconfirmed" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Unconfirmed" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "conditionCatHealthConcern" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "category" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "newCC" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "conditionCatCodingHealthConcern" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newCC" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "newCoding" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "conditionCatCodingSystemHealthConcern" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "newCoding" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/core/CodeSystem/condition-category" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "conditionCatCodingCodeHealthConcern" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "newCoding" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "health-concern" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "conditionCatCodingDisplayHealthConcern" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "newCoding" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Health Concern" ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "conditionCatFoodInsecurity" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "category" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "cc" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/sdoh-clinicalcare/CodeSystem/SDOHCC-CodeSystemTemporaryCodes" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "food-insecurity" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Food Insecurity" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "conditionCode" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "newCodeCC" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "CodeableConcept" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "conditionCodeCodingFoodInsecurity" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newCodeCC" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "newCoding" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "conditionCodeCodingSystemFoodInsecurity" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "newCoding" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://snomed.info/sct" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "conditionCodeCodingCodeFoodInsecurity" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "newCoding" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "733423003" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "conditionCodeCodingDisplayFoodInsecurity" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "newCoding" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Food insecurity" ]
             ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "conditionCodeCodingLackOfFood" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newCodeCC" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "coding" ] ;
           fhir:StructureMap.group.rule.target.variable [ fhir:value "newCoding2" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Coding" ]
           ]
         ] ;
         fhir:StructureMap.group.rule.rule [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "conditionCodeCodingSystemLackOfFood" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "newCoding2" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "system" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/sid/icd-10-cm" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "conditionCodeCodingCodeLackOfFood" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "newCoding2" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "code" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Z59.4" ]
             ]
           ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.name [ fhir:value "conditionCodeCodingDisplayLackOfFood" ] ;
           fhir:StructureMap.group.rule.source [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
             fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
           ] ;
           fhir:StructureMap.group.rule.target [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.context [ fhir:value "newCoding2" ] ;
             fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
             fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
             fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
             fhir:StructureMap.group.rule.target.parameter [
               fhir:index -1 ;
               fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Lack of adequate food" ]
             ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "authored" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "authored" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "onset" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "period" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Period" ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "period" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "start" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "authored" ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "entry" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "bundle" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "entries" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "evidence" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "evidence" ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "evidence" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "detail" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "detailReference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "resource" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "entries" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "resource" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "obs3" ] ;
           fhir:StructureMap.group.rule.source.condition [ fhir:value "code.coding.code = '88124-3'" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "detailReference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "obs3" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "subject" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "qSubject" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "subject" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "newReference" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "create" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Reference" ]
         ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "reference" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "qSubject" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "qReference" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newReference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "reference" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "qReference" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "display" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "qSubject" ] ;
           fhir:StructureMap.group.rule.source.element [ fhir:value "display" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "qDisplay" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "newReference" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "display" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "qDisplay" ]
           ]
         ]
       ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "conditionEntryRequest" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "request" ] ;
         fhir:StructureMap.group.rule.target.variable [ fhir:value "request" ]
       ] ;
       fhir:StructureMap.group.rule.rule [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "conditionRequestMethod" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "method" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "POST" ]
           ]
         ]
       ], [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.name [ fhir:value "conditionRequestUrl" ] ;
         fhir:StructureMap.group.rule.source [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.source.context [ fhir:value "src" ] ;
           fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
         ] ;
         fhir:StructureMap.group.rule.target [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.context [ fhir:value "request" ] ;
           fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
           fhir:StructureMap.group.rule.target.element [ fhir:value "url" ] ;
           fhir:StructureMap.group.rule.target.transform [ fhir:value "copy" ] ;
           fhir:StructureMap.group.rule.target.parameter [
             fhir:index -1 ;
             fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "Condition" ]
           ]
         ]
       ]
     ]
  ], [
     fhir:index -1 ;
     fhir:StructureMap.group.name [ fhir:value "SetConditionFullUrl" ] ;
     fhir:StructureMap.group.typeMode [ fhir:value "none" ] ;
     fhir:StructureMap.group.input [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "condition" ] ;
       fhir:StructureMap.group.input.type [ fhir:value "Condition" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "source" ]
     ], [
       fhir:index -1 ;
       fhir:StructureMap.group.input.name [ fhir:value "entry" ] ;
       fhir:StructureMap.group.input.mode [ fhir:value "target" ]
     ] ;
     fhir:StructureMap.group.rule [
       fhir:index -1 ;
       fhir:StructureMap.group.rule.name [ fhir:value "id" ] ;
       fhir:StructureMap.group.rule.source [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.source.context [ fhir:value "condition" ] ;
         fhir:StructureMap.group.rule.source.element [ fhir:value "id" ] ;
         fhir:StructureMap.group.rule.source.variable [ fhir:value "src" ]
       ] ;
       fhir:StructureMap.group.rule.target [
         fhir:index -1 ;
         fhir:StructureMap.group.rule.target.context [ fhir:value "entry" ] ;
         fhir:StructureMap.group.rule.target.contextType [ fhir:value "variable" ] ;
         fhir:StructureMap.group.rule.target.element [ fhir:value "fullUrl" ] ;
         fhir:StructureMap.group.rule.target.transform [ fhir:value "append" ] ;
         fhir:StructureMap.group.rule.target.parameter [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueString [ fhir:value "http://hl7.org/fhir/us/sdoh-clinicalcare/Condition/" ]
         ], [
           fhir:index -1 ;
           fhir:StructureMap.group.rule.target.parameter.valueId [ fhir:value "id" ]
         ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/StructureMap/SDOHCC-StructureMapHungerVitalSign.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/StructureMap/SDOHCC-StructureMapHungerVitalSign.ttl> .