Skip to content

Commit

Permalink
Rename remaining elements/types and minor type description
Browse files Browse the repository at this point in the history
  • Loading branch information
joratrifork committed Sep 16, 2024
1 parent c02dcd0 commit 58fd273
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/schemas/2022/12/01/GetAggregatedStatusResponse.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<element name="IsChild" type="ctr:IsChildType"/>
<element name="PatientStatus" type="ctr:PatientStatusType"/>
<element name="AccountStatus" type="ctr:AccountStatusType" minOccurs="0" maxOccurs="100"/>
<element name="HealthAllowance" type="ctr:MunicipalAllowanceType" minOccurs="0" maxOccurs="100"/>
<element name="MunicipalAllowance" type="ctr:MunicipalAllowanceType" minOccurs="0" maxOccurs="100"/>
<element name="ReimbursementGrant" type="ctr:ReimbursementGrantType" minOccurs="0" maxOccurs="100"/>
<element name="Deferment" type="ctr:DefermentType" minOccurs="0" maxOccurs="100"/>
</sequence>
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/2022/12/01/MunicipalAllowance.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<sequence>
<element name="ValidFromDate" type="ctr:ValidFromDateType"/>
<element name="ValidToDate" type="ctr:ValidToDateType" minOccurs="0"/>
<element name="Type" type="ctr:HealthAllowanceTypeType"/>
<element name="Type" type="ctr:MunicipalAllowanceTypeType"/>
<element name="MunicipalityNumber" type="ctr:OrganisationIdentifierType"/>
<element name="MunicipalityName" type="ctr:OrganisationNameType" minOccurs="0"/>
<element name="InvoicingMunicipalityNumber" type="ctr:InvoiceNumberType" minOccurs="0"/>
Expand Down
37 changes: 26 additions & 11 deletions src/schemas/2022/12/01/MunicipalAllowanceType.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,39 @@
targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01"
elementFormDefault="qualified">

<element name="HealthAllowanceType" type="ctr:HealthAllowanceTypeType">
<element name="MunicipalAllowanceType" type="ctr:MunicipalAllowanceTypeType">
<annotation>
<documentation xml:lang="en-GB">Health Allowance type</documentation>
<documentation xml:lang="da-DK">Helbredstillæg type</documentation>
<documentation xml:lang="en-GB">Municipal Allowance type</documentation>
<documentation xml:lang="da-DK">Kommunalttillægstype</documentation>
</annotation>
</element>

<simpleType name="HealthAllowanceTypeType">
<union memberTypes="ctr:PredefinedHealthAllowanceTypeType ctr:UndefinedHealthAllowanceTypeType"/>
<simpleType name="MunicipalAllowanceTypeType">
<union memberTypes="ctr:PredefinedMunicipalAllowanceTypeType ctr:UndefinedMunicipalAllowanceTypeType"/>
</simpleType>
<simpleType name="PredefinedHealthAllowanceTypeType">
<restriction base="ctr:UndefinedHealthAllowanceTypeType">
<enumeration value="Helbredstillæg"/>
<enumeration value="Kontanthjælpsmodtager"/>
<enumeration value="Barn af Kontanthjælpsmodtager"/>
<simpleType name="PredefinedMunicipalAllowanceTypeType">
<restriction base="ctr:UndefinedMunicipalAllowanceTypeType">
<enumeration value="Helbredstillæg">
<annotation>
<documentation xml:lang="en-GB">Health allowance</documentation>
<documentation xml:lang="da-DK">Helbredstillæg</documentation>
</annotation>
</enumeration>
<enumeration value="Kontanthjælpsmodtager">
<annotation>
<documentation xml:lang="en-GB">Municipal allowance for a cash beneficiary</documentation>
<documentation xml:lang="en-GB">Kommunalt tillæg til kontanthjælpsmodtager</documentation>
</annotation>
</enumeration>
<enumeration value="Barn af Kontanthjælpsmodtager">
<annotation>
<documentation xml:lang="en-GB">Municipal allowance for a child of a cash beneficiary</documentation>
<documentation xml:lang="en-GB">Kommunalt tillæg til barn af kontanthjælpsmodtager</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="UndefinedHealthAllowanceTypeType">
<simpleType name="UndefinedMunicipalAllowanceTypeType">
<restriction base="string">
<minLength value="1"/>
<maxLength value="100"/>
Expand Down
4 changes: 2 additions & 2 deletions src/wsdl/Ctr2_v1_0_0.wsdl
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@
</wsdl:operation>
<wsdl:operation name="GetMunicipalAllowances">
<soap:operation soapAction="http://lmst.dk/ctr/xml.schema/2022/12/01#GetMunicipalAllowances" style="document"/>
<wsdl:input name="GetHealthAllowancesRequest"
<wsdl:input name="GetMunicipalAllowancesRequest"
message="tns:GetMunicipalAllowancesRequest"/>
<wsdl:output name="GetHealthAllowancesResponse"
<wsdl:output name="GetMunicipalAllowancesResponse"
message="tns:GetMunicipalAllowancesResponse"/>
<wsdl:fault name='CTRFault' message='tns:CTRFault'/>
</wsdl:operation>
Expand Down

0 comments on commit 58fd273

Please sign in to comment.