--- type: "codesystem" title: "Structure Map Source List Mode" codesystem: "map-source-list-mode" --- # Structure Map Source List Mode - **Official URL**: http://hl7.org/fhir/map-source-list-mode - **Version**: 6.0.0 - **Status**: active - **Name**: StructureMapSourceListMode - **Title**: Structure Map Source List Mode - **Publisher**: HL7 (FHIR Project) - **Description**: If field is a list, how to manage the source. - **Case Sensitive**: true - **Content**: complete ## Concepts | Code | Display | Definition | | --- | --- | --- | | first | First | Only process this rule for the first in the list. | | not_first | All but the first | Process this rule for all but the first. | | last | Last | Only process this rule for the last in the list. | | not_last | All but the last | Process this rule for all but the last. | | only_one | Enforce only one | Only process this rule is there is only item. | ## CodeSystem XML ```xml <status value="active"/> <experimental value="false"/> <date value="2021-01-05T10:01:24+11:00"/> <publisher value="HL7 (FHIR Project)"/> <contact> <telecom> <system value="url"/> <value value="http://hl7.org/fhir"/> </telecom> <telecom> <system value="email"/> <value value="fhir@lists.hl7.org"/> </telecom> </contact> <description value="If field is a list, how to manage the source."/> <caseSensitive value="true"/> <valueSet value="http://hl7.org/fhir/ValueSet/map-source-list-mode"/> <content value="complete"/> <concept> <code value="first"/> <display value="First"/> <definition value="Only process this rule for the first in the list."/> </concept> <concept> <code value="not_first"/> <display value="All but the first"/> <definition value="Process this rule for all but the first."/> </concept> <concept> <code value="last"/> <display value="Last"/> <definition value="Only process this rule for the last in the list."/> </concept> <concept> <code value="not_last"/> <display value="All but the last"/> <definition value="Process this rule for all but the last."/> </concept> <concept> <code value="only_one"/> <display value="Enforce only one"/> <definition value="Only process this rule is there is only item."/> </concept> </CodeSystem> ```