Skip to content

/AWS1/IF_HLL=>CREATEFHIRDATASTORE()

About CreateFHIRDatastore

Create a FHIR-enabled data store.

Method Signature

IMPORTING

Required arguments:

iv_datastoretypeversion TYPE /AWS1/HLLFHIRVERSION /AWS1/HLLFHIRVERSION

The FHIR release version supported by the data store. Current support is for version R4.

Optional arguments:

iv_datastorename TYPE /AWS1/HLLDATASTORENAME /AWS1/HLLDATASTORENAME

The data store name (user-generated).

io_sseconfiguration TYPE REF TO /AWS1/CL_HLLSSECONFIGURATION /AWS1/CL_HLLSSECONFIGURATION

The server-side encryption key configuration for a customer-provided encryption key specified for creating a data store.

io_preloaddataconfig TYPE REF TO /AWS1/CL_HLLPRELOADDATACONFIG /AWS1/CL_HLLPRELOADDATACONFIG

An optional parameter to preload (import) open source Synthea FHIR data upon creation of the data store.

iv_clienttoken TYPE /AWS1/HLLCLIENTTOKENSTRING /AWS1/HLLCLIENTTOKENSTRING

An optional user-provided token to ensure API idempotency.

it_tags TYPE /AWS1/CL_HLLTAG=>TT_TAGLIST TT_TAGLIST

The resource tags applied to a data store when it is created.

io_identityproviderconf TYPE REF TO /AWS1/CL_HLLIDENTITYPVDRCONF /AWS1/CL_HLLIDENTITYPVDRCONF

The identity provider configuration to use for the data store.

RETURNING

oo_output TYPE REF TO /aws1/cl_hllcrefhirdatastore01 /AWS1/CL_HLLCREFHIRDATASTORE01

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

DATA(lo_result) = lo_client->/aws1/if_hll~createfhirdatastore(
  io_identityproviderconf = new /aws1/cl_hllidentitypvdrconf(
    iv_authorizationstrategy = |string|
    iv_finegrainedauthenabled = ABAP_TRUE
    iv_idplambdaarn = |string|
    iv_metadata = |string|
  )
  io_preloaddataconfig = new /aws1/cl_hllpreloaddataconfig( |string| )
  io_sseconfiguration = new /aws1/cl_hllsseconfiguration(
    io_kmsencryptionconfig = new /aws1/cl_hllkmsencconfig(
      iv_cmktype = |string|
      iv_kmskeyid = |string|
    )
  )
  it_tags = VALUE /aws1/cl_hlltag=>tt_taglist(
    (
      new /aws1/cl_hlltag(
        iv_key = |string|
        iv_value = |string|
      )
    )
  )
  iv_clienttoken = |string|
  iv_datastorename = |string|
  iv_datastoretypeversion = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_datastoreid = lo_result->get_datastoreid( ).
  lv_datastorearn = lo_result->get_datastorearn( ).
  lv_datastorestatus = lo_result->get_datastorestatus( ).
  lv_boundedlengthstring = lo_result->get_datastoreendpoint( ).
ENDIF.