Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Currently, the import strategy and the dry run checkbox are taken into account only for XML files. Their value will be ignored for any other type of upload, even if the strategy is required.

File structure

The following table provides the import/export file structure, along with an example of item values.

male_cat

female_cat

adult_cat

minor_cat

delete

code

name

type

package

price

quantity

care_type

frequencyExample

1

0

1

1

TEST_I

Test Item

D

Package

5.22

4

B

1

...

Currently, the import strategy and the dry run checkbox are taken into account only for XML files. Their value will be ignored for any other type of upload, even if the strategy is required.

File structure

The following table provides the import/export file structure, along with an example of service values.

male_cat

female_cat

adult_cat

minor_cat

delete

category

code

name

type

level

price

care_type

frequency

Example

0

1

0

0

TEST_S

Test Service

P

D

42

O

2

...

Field Name

Possible values

Optional / Mandatory

Explanation

male_cat

  • 0

  • 1

Mandatory

  • 0 = this item service cannot be given provided to males

  • 1 = this item service can be given provided to males

female_cat

  • 0

  • 1

Mandatory

  • 0 = this item service cannot be given provided to females

  • 1 = this item service can be given provided to females

adult_cat

  • 0

  • 1

Mandatory

  • 0 = this item service cannot be given provided to adults

  • 1 = this item service can be given provided to adults

minor_cat

  • 0

  • 1

Mandatory

  • 0 = this item service cannot be given provided to children

  • 1 = this item service can be given provided to children

delete

  • 0

  • 1

  • Nothing

Optional

  • 1 = this item service will be deleted

  • Otherwise, this item service will not be deleted

category

  • S

  • D

  • A

  • H

  • C

  • O

  • V

  • Nothing

Optional

  • S = surgery

  • D = delivery

  • A = antenatal

  • H = hospitalization

  • C = consultation

  • O = other

  • V = visit

code

Any code, from 1 to 6 characters

Mandatory

Codes must be unique

name

Any name, from 1 to 100 characters

Mandatory

type

  • C

  • P

Mandatory

  • C = curative

  • P = preventative

level

  • S

  • V

  • D

  • H

Mandatory

  • S = simple service

  • V = visit

  • D = day hospital

  • H = hospital care

price

Any price, formatted such as 123.45

Mandatory

  • No currency label

  • With a . for decimals (optional if the price is an integer, such as 420)

  • No , for thousands separator (e.g. 1234567.89)

care_type

  • I

  • O

  • B

Mandatory

  • I = for in patients

  • O = for out patients

  • B = for both

frequency

  • Any integer up to 32767

  • Nothing

Optional

...