Skip to content

Commit

Permalink
[25563] OrganizationResourceProvider support LastUpdate header
Browse files Browse the repository at this point in the history
  • Loading branch information
col-panic committed Aug 30, 2023
1 parent c74c764 commit 01261e5
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ public void elexisToFhir(IOrganization source, Organization target, SummaryEnum
Set<Include> includes) {

target.setId(new IdDt(Organization.class.getSimpleName(), source.getId()));

mapMetaData(source, target);
if (SummaryEnum.DATA != summaryEnum) {
mapNarrative(source, target);
}
if (SummaryEnum.TEXT == summaryEnum || SummaryEnum.COUNT == summaryEnum) {
return;
}

List<Identifier> identifiers = contactHelper.getIdentifiers(source, xidService);
identifiers.add(getElexisObjectIdentifier(source));
target.setIdentifier(identifiers);
Expand Down

0 comments on commit 01261e5

Please sign in to comment.