Skip to content

[Ballerina Health Tool ] Parsing Error for tool generated UDSPlusDeIdentifyDataUrlsParameterParameter #8054

Open
@anjuchamantha

Description

@anjuchamantha

Description

There are some issues with the generated Ballerina resources for FHIR IG: UDS Plus DeIdentify Data Urls Parameter [1].

Issue 1:
part is missing in UDSPlusDeIdentifyDataUrlsParameterParameter. Had to add international401:ParametersParameter[] part?; manually.

Issue 2:
UDSPlusDeIdentifyDataUrlsParameter.'parameter has a constraint for maxLength with value 1. There should not be a maxLegth constraint.

[1] https://www.fhir.org/guides/hrsa/uds-plus/StructureDefinition-uds-plus-deidentify-operation-data-urls-parameter.html

Steps to Reproduce

  1. Generate resources for UDS Plus DeIdentify Data Urls Parameter [1].
  2. Try to parse the provided example [2] to the ballerina record: UDSPlusDeIdentifyDataUrlsParameter

[1] https://www.fhir.org/guides/hrsa/uds-plus/StructureDefinition-uds-plus-deidentify-operation-data-urls-parameter.html
[2] https://www.fhir.org/guides/hrsa/uds-plus/Parameters-de-identify-data-operation-urls-example.json.html

Version

Ballerina 2201.12.3 (Swan Lake Update 12)

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions