Skip to content

Promotes the current DRAFT version of a data transformation profile to a new immutable published version

Description

Promotes the current DRAFT version of a data transformation profile to a new immutable published version. Also supports rollback by publishing from a previously published version.

Usage

healthlake_publish_data_transformation_profile(ProfileId, SourceFormat,
  FromExistingVersion, ChangeDescription)

Arguments

  • ProfileId

[required] The unique identifier of the profile to publish.

  • SourceFormat

[required] The source data format of the profile.

  • FromExistingVersion

The version number of a previously published version to republish as the new latest version. Use this parameter for rollback scenarios. If you omit this parameter, the service publishes the current DRAFT version.

  • ChangeDescription

A description of what changed or why this version is being published.

Value

A list with the following syntax:

list(
  ProfileId = "string",
  Version = 123,
  SourceFormat = "CCDA"|"CSV",
  TargetFormat = "FHIR_R4",
  ProfileName = "string",
  LastUpdatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$publish_data_transformation_profile(
  ProfileId = "string",
  SourceFormat = "CCDA"|"CSV",
  FromExistingVersion = 123,
  ChangeDescription = "string"
)