StructureMapTargetListMode

public enum StructureMapTargetListMode: String

If field is a list, how to manage the production

URL: http://hl7.org/fhir/map-target-list-mode ValueSet: http://hl7.org/fhir/ValueSet/map-target-list-mode

  • when the target list is being assembled, the items for this rule go first. If more that one rule defines a first item (for a given instance of mapping) then this is an error

    Declaration

    Swift

    case first = "first"
  • the target instance is shared with the target instances generated by another rule (up to the first common n items, then create new ones)

    Declaration

    Swift

    case share = "share"
  • when the target list is being assembled, the items for this rule go last. If more that one rule defines a last item (for a given instance of mapping) then this is an error

    Declaration

    Swift

    case last = "last"
  • re-use the first item in the list, and keep adding content to it

    Declaration

    Swift

    case collate = "collate"