Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions ips/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.12.2"
distribution-version = "2201.12.8"

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -53,7 +53,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "data.jsondata"
version = "1.1.0"
version = "1.1.1"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.object"}
Expand Down Expand Up @@ -84,7 +84,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.14.2"
version = "2.14.5"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -229,7 +229,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "log"
version = "2.12.0"
version = "2.13.0"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -254,7 +254,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "oauth2"
version = "2.14.0"
version = "2.14.1"
dependencies = [
{org = "ballerina", name = "cache"},
{org = "ballerina", name = "crypto"},
Expand Down Expand Up @@ -386,7 +386,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "health.fhir.r4"
version = "6.1.0"
version = "6.2.2"
dependencies = [
{org = "ballerina", name = "constraint"},
{org = "ballerina", name = "http"},
Expand Down
27 changes: 20 additions & 7 deletions ips/datatypes.bal
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ import ballerinax/health.fhir.r4;
isArray: false,
description: "A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. This profile imposes that the code system for units be UCUM.",
path: "Ratio.denominator"
} },
}

},
serializers: {
'xml: r4:complexDataTypeXMLSerializer,
'json: r4:complexDataTypeJsonSerializer
Expand Down Expand Up @@ -108,7 +110,9 @@ public type RatioUvIps record {|
isArray: false,
description: "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
path: "Quantity.value"
} },
}

},
serializers: {
'xml: r4:complexDataTypeXMLSerializer,
'json: r4:complexDataTypeJsonSerializer
Expand Down Expand Up @@ -157,7 +161,9 @@ public enum SimpleQuantityUvIpsComparator {
isArray: false,
description: "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
path: "CodeableConcept.text"
} },
}

},
serializers: {
'xml: r4:complexDataTypeXMLSerializer,
'json: r4:complexDataTypeJsonSerializer
Expand Down Expand Up @@ -233,7 +239,9 @@ public type CodeableConceptUvIps record {|
isArray: false,
description: "The actual value",
path: "Coding.display.value"
} },
}

},
serializers: {
'xml: r4:complexDataTypeXMLSerializer,
'json: r4:complexDataTypeJsonSerializer
Expand Down Expand Up @@ -277,7 +285,9 @@ public type CodingUvIps record {|
isArray: false,
description: "A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies. This profile imposes that the code system for units be UCUM.",
path: "Range.low"
} },
}

},
serializers: {
'xml: r4:complexDataTypeXMLSerializer,
'json: r4:complexDataTypeJsonSerializer
Expand Down Expand Up @@ -344,7 +354,9 @@ public type RangeUvIps record {|
isArray: false,
description: "The value of the measured amount. The value includes an implicit precision in the presentation of the value.",
path: "Quantity.value"
} },
}

},
serializers: {
'xml: r4:complexDataTypeXMLSerializer,
'json: r4:complexDataTypeJsonSerializer
Expand All @@ -357,7 +369,8 @@ public type QuantityUvIps record {|
string id?;
r4:Extension[] extension?;
//Inherited child element from "Element" (Redefining to maintain order when serialize) (END)
r4:QuantityComparatorCode comparator?;

QuantityUvIpsComparator comparator?;
string unit?;
r4:uri system;
r4:code code;
Expand Down
66 changes: 66 additions & 0 deletions ips/extensions.bal
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// Copyright (c) 2025, WSO2 LLC. (http://www.wso2.com).

// WSO2 LLC. licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file except
// in compliance with the License.
// You may obtain a copy of the License at

// http://www.apache.org/licenses/LICENSE-2.0

// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.

// AUTO-GENERATED FILE.
// This file is auto-generated by Ballerina.

import ballerinax/health.fhir.r4;

public type AbatementDateTimeUvIpsExtensions (AbatementDateTimeUvIpsValueDateTime);

@r4:DataTypeDefinition {
name: "AbatementDateTimeUvIpsValueDateTime",
baseType: (),
elements: {
},
serializers: {
'xml: r4:complexDataTypeXMLSerializer,
'json: r4:complexDataTypeJsonSerializer
}
}

public type AbatementDateTimeUvIpsValueDateTime record {|
*r4:ExtensionExtension;

|};

@r4:DataTypeDefinition {
name: "AbatementDateTimeUvIps",
baseType: (),
elements: {
"url": {
name: "url",
dataType: string,
min: 1,
max: 1,
isArray: false,
description: "Source of the definition for the extension code - a logical name or a URL.",
path: "Extension.url"
}

},
serializers: {
'xml: r4:complexDataTypeXMLSerializer,
'json: r4:complexDataTypeJsonSerializer
}
}

public type AbatementDateTimeUvIps record {|
*r4:ExtensionExtension;

"http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips" url = "http://hl7.org/fhir/uv/ips/StructureDefinition/abatement-dateTime-uv-ips";
|};

4 changes: 3 additions & 1 deletion ips/resource_allergy_intolerance_uv_ips.bal
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.

//
// AUTO-GENERATED FILE.
// This file is auto-generated by Ballerina.

Expand All @@ -23,6 +23,8 @@ import ballerinax/health.fhir.r4;
public const string PROFILE_BASE_ALLERGYINTOLERANCEUVIPS = "http://hl7.org/fhir/uv/ips/StructureDefinition/AllergyIntolerance-uv-ips";
public const RESOURCE_NAME_ALLERGYINTOLERANCEUVIPS = "AllergyIntolerance";

public type AllergyIntoleranceUvIpsExtensions (AbatementDateTimeUvIps|r4:Extension);

# FHIR AllergyIntoleranceUvIps resource record.
#
# + resourceType - The type of the resource describes
Expand Down
Loading
Loading