Skip to content

Commit

Permalink
add note with build optimize flag
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruh15 committed Nov 7, 2024
1 parent 6e4c76a commit 3ace326
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 2 deletions.
16 changes: 15 additions & 1 deletion commons/Module.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
HL7v2 commons implementation module with common capabilities for HL7 versions

# HL7v2 Commons Module
## HL7v2 Commons Module

## Overview
This Module holds the common implementations accross all the HL7 v2 versions from 2.3 to 2.8.

### Note:
From Ballerina Swan Lake Update 10 upwards, `--optimize-dependency-compilation` flag is
introduced to optimize the memory usage during the compilation time.
Use the flag in the build command as follows,

`bal build --optimize-dependency-compilation`

or add as a config in the `Ballerina.toml` file.

```
[build-options]
optimizeDependencyCompilation = true
```
15 changes: 15 additions & 0 deletions commons/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,18 @@ Package containing core HL7v2 common implementations accross HL7 versions to imp

## Package Overview
This Package holds the common implementations accross all the HL7 v2 versions from 2.3 to 2.8.

### Note:
From Ballerina Swan Lake Update 10 upwards, `--optimize-dependency-compilation` flag is
introduced to optimize the memory usage during the compilation time.
Use the flag in the build command as follows,

`bal build --optimize-dependency-compilation`

or add as a config in the `Ballerina.toml` file.

```
[build-options]
optimizeDependencyCompilation = true
```

16 changes: 15 additions & 1 deletion utils/v2tofhirr4/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,18 @@ public function main() returns error? {
io:println("HL7v23 PID Patient Name: ", patientName[0].toString());
}
}
```
```

### Note:
From Ballerina Swan Lake Update 10 upwards, `--optimize-dependency-compilation` flag is
introduced to optimize the memory usage during the compilation time.
Use the flag in the build command as follows,

`bal build --optimize-dependency-compilation`

or add as a config in the `Ballerina.toml` file.

```
[build-options]
optimizeDependencyCompilation = true
```
14 changes: 14 additions & 0 deletions utils/v2tofhirr4/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,17 @@ Package containing HL7v2.x to FHIR pre-built mapping functionalities.
## Package Overview

This package implements the HL7 version 2 to FHIR implementation guide (https://build.fhir.org/ig/HL7/v2-to-fhir/branches/master/datatype_maps.html).

### Note:
From Ballerina Swan Lake Update 10 upwards, `--optimize-dependency-compilation` flag is
introduced to optimize the memory usage during the compilation time.
Use the flag in the build command as follows,

`bal build --optimize-dependency-compilation`

or add as a config in the `Ballerina.toml` file.

```
[build-options]
optimizeDependencyCompilation = true
```

0 comments on commit 3ace326

Please sign in to comment.