StructureMapTargetListMode

If field is a list, how to manage the production.

This code system http://hl7.org/fhir/map-target-list-mode defines the following codes:

Code Display Definition
first First when the target list is being assembled, the items for this rule go first. If more than one rule defines a first item (for a given instance of mapping) then this is an error.
share Share the target instance is shared with the target instances generated by another rule (up to the first common n items, then create new ones).
last Last when the target list is being assembled, the items for this rule go last. If more than one rule defines a last item (for a given instance of mapping) then this is an error.
collate Collate re-use the first item in the list, and keep adding content to it.
<status value="draft"/> <experimental value="false"/> <date value="2019-11-01T09:29:23+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 production."/> <caseSensitive value="true"/> <valueSet value="http://hl7.org/fhir/ValueSet/map-target-list-mode"/> <content value="complete"/> <concept> <code value="first"/> <display value="First"/> <definition value="when the target list is being assembled, the items for this rule go first. If more than one rule defines a first item (for a given instance of mapping) then this is an error."/> </concept> <concept> <code value="share"/> <display value="Share"/> <definition value="the target instance is shared with the target instances generated by another rule (up to the first common n items, then create new ones)."/> </concept> <concept> <code value="last"/> <display value="Last"/> <definition value="when the target list is being assembled, the items for this rule go last. If more than one rule defines a last item (for a given instance of mapping) then this is an error."/> </concept> <concept> <code value="collate"/> <display value="Collate"/> <definition value="re-use the first item in the list, and keep adding content to it."/> </concept> </CodeSystem>