Skip to content

Commit

Permalink
Add create/update of reimbursement grants (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
maratrifork authored Sep 10, 2024
1 parent 48602e5 commit f56ed1a
Show file tree
Hide file tree
Showing 6 changed files with 161 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>dk.lmst.ctr</groupId>
<artifactId>ctr-schemas</artifactId>
<version>1.1.13</version>
<version>1.1.14</version>
<name>ctr-schemas</name>
<description>CTR schemas</description>
<packaging>pom</packaging>
Expand Down
22 changes: 22 additions & 0 deletions src/schemas/2022/12/01/CreateReimbursementGrantRequest.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:ctr="http://lmst.dk/ctr/xml.schema/2022/12/01"
targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01"
elementFormDefault="qualified">

<include schemaLocation="PersonIdentifier.xsd"/>
<include schemaLocation="ReimbursementGrant.xsd"/>

<element name="CreateReimbursementGrantRequest">
<annotation>
<documentation xml:lang="en-GB">Element for creating a CTR reimbursement grant</documentation>
<documentation xml:lang="da-DK">Element for at oprette en CTR bevilling</documentation>
</annotation>
<complexType>
<sequence>
<element name="PersonIdentifier" type="ctr:PersonIdentifierType"/>
<element name="ReimbursementGrant" type="ctr:ReimbursementGrantType"/>
</sequence>
</complexType>
</element>
</schema>
20 changes: 20 additions & 0 deletions src/schemas/2022/12/01/CreateReimbursementGrantResponse.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:ctr="http://lmst.dk/ctr/xml.schema/2022/12/01"
targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01"
elementFormDefault="qualified">

<include schemaLocation="PersonIdentifier.xsd"/>

<element name="CreateReimbursementGrantResponse">
<annotation>
<documentation xml:lang="en-GB">Outer container element for a response from creating a CTR reimbursement grant</documentation>
<documentation xml:lang="da-DK">Ydre container-element for et svar ved oprettelse af en CTR bevilling</documentation>
</annotation>
<complexType>
<sequence>
<element name="PersonIdentifier" type="ctr:PersonIdentifierType"/>
</sequence>
</complexType>
</element>
</schema>
22 changes: 22 additions & 0 deletions src/schemas/2022/12/01/UpdateReimbursementGrantRequest.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:ctr="http://lmst.dk/ctr/xml.schema/2022/12/01"
targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01"
elementFormDefault="qualified">

<include schemaLocation="PersonIdentifier.xsd"/>
<include schemaLocation="ReimbursementGrant.xsd"/>

<element name="UpdateReimbursementGrantRequest">
<annotation>
<documentation xml:lang="en-GB">Element for updating a CTR reimbursement grant</documentation>
<documentation xml:lang="da-DK">Element for at opdatere en CTR bevilling</documentation>
</annotation>
<complexType>
<sequence>
<element name="PersonIdentifier" type="ctr:PersonIdentifierType"/>
<element name="ReimbursementGrant" type="ctr:ReimbursementGrantType"/>
</sequence>
</complexType>
</element>
</schema>
20 changes: 20 additions & 0 deletions src/schemas/2022/12/01/UpdateReimbursementGrantResponse.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:ctr="http://lmst.dk/ctr/xml.schema/2022/12/01"
targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01"
elementFormDefault="qualified">

<include schemaLocation="PersonIdentifier.xsd"/>

<element name="UpdateReimbursementGrantResponse">
<annotation>
<documentation xml:lang="en-GB">Outer container element for a response from updating a CTR reimbursement grant</documentation>
<documentation xml:lang="da-DK">Ydre container-element for et svar ved opdatering af en CTR bevilling</documentation>
</annotation>
<complexType>
<sequence>
<element name="PersonIdentifier" type="ctr:PersonIdentifierType"/>
</sequence>
</complexType>
</element>
</schema>
76 changes: 76 additions & 0 deletions src/wsdl/Ctr2_v1_0_0.wsdl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@
<xs:schema targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01" elementFormDefault="qualified">
<xs:include schemaLocation="../schemas/2022/12/01/GetReimbursementGrantsRequest.xsd"/>
</xs:schema>
<xs:schema targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01" elementFormDefault="qualified">
<xs:include schemaLocation="../schemas/2022/12/01/CreateReimbursementGrantRequest.xsd"/>
</xs:schema>
<xs:schema targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01" elementFormDefault="qualified">
<xs:include schemaLocation="../schemas/2022/12/01/CreateReimbursementGrantResponse.xsd"/>
</xs:schema>
<xs:schema targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01" elementFormDefault="qualified">
<xs:include schemaLocation="../schemas/2022/12/01/UpdateReimbursementGrantRequest.xsd"/>
</xs:schema>
<xs:schema targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01" elementFormDefault="qualified">
<xs:include schemaLocation="../schemas/2022/12/01/UpdateReimbursementGrantResponse.xsd"/>
</xs:schema>
<xs:schema targetNamespace="http://lmst.dk/ctr/xml.schema/2022/12/01" elementFormDefault="qualified">
<xs:include schemaLocation="../schemas/2022/12/01/GetReimbursementGrantsResponse.xsd"/>
</xs:schema>
Expand Down Expand Up @@ -156,6 +168,18 @@
<wsdl:message name="GetReimbursementGrantsResponse">
<wsdl:part name="GetReimbursementGrantsResponse" element="ctr100:GetReimbursementGrantsResponse"/>
</wsdl:message>
<wsdl:message name="CreateReimbursementGrantRequest">
<wsdl:part name="CreateReimbursementGrantRequest" element="ctr100:CreateReimbursementGrantRequest"/>
</wsdl:message>
<wsdl:message name="CreateReimbursementGrantResponse">
<wsdl:part name="CreateReimbursementGrantResponse" element="ctr100:CreateReimbursementGrantResponse"/>
</wsdl:message>
<wsdl:message name="UpdateReimbursementGrantRequest">
<wsdl:part name="UpdateReimbursementGrantRequest" element="ctr100:UpdateReimbursementGrantRequest"/>
</wsdl:message>
<wsdl:message name="UpdateReimbursementGrantResponse">
<wsdl:part name="UpdateReimbursementGrantResponse" element="ctr100:UpdateReimbursementGrantResponse"/>
</wsdl:message>
<wsdl:message name="GetHealthAllowancesRequest">
<wsdl:part name="GetHealthAllowancesRequest" element="ctr100:GetHealthAllowancesRequest"/>
</wsdl:message>
Expand Down Expand Up @@ -268,6 +292,22 @@
message="tns:GetReimbursementGrantsResponse"/>
<wsdl:fault name='CTRFault' message='tns:CTRFault'/>
</wsdl:operation>
<wsdl:operation name="CreateReimbursementGrant">
<soap:operation soapAction="http://lmst.dk/ctr/xml.schema/2022/12/01#CreateReimbursementGrant" style="document"/>
<wsdl:input name="CreateReimbursementGrantRequest"
message="tns:CreateReimbursementGrantRequest"/>
<wsdl:output name="CreateReimbursementGrantResponse"
message="tns:CreateReimbursementGrantResponse"/>
<wsdl:fault name='CTRFault' message='tns:CTRFault'/>
</wsdl:operation>
<wsdl:operation name="UpdateReimbursementGrant">
<soap:operation soapAction="http://lmst.dk/ctr/xml.schema/2022/12/01#UpdateReimbursementGrant" style="document"/>
<wsdl:input name="UpdateReimbursementGrantRequest"
message="tns:UpdateReimbursementGrantRequest"/>
<wsdl:output name="UpdateReimbursementGrantResponse"
message="tns:UpdateReimbursementGrantResponse"/>
<wsdl:fault name='CTRFault' message='tns:CTRFault'/>
</wsdl:operation>
<wsdl:operation name="GetHealthAllowances">
<soap:operation soapAction="http://lmst.dk/ctr/xml.schema/2022/12/01#GetHealthAllowances" style="document"/>
<wsdl:input name="GetHealthAllowancesRequest"
Expand Down Expand Up @@ -429,6 +469,42 @@
</wsdl:fault>
</wsdl:operation>

<wsdl:operation name="CreateReimbursementGrant">
<soap:operation soapAction="http://lmst.dk/ctr/xml.schema/2022/12/01#CreateReimbursementGrant"
style="document"/>
<wsdl:input name="CreateReimbursementGrantRequest">
<soap:header use='literal' part='SecurityHeader' message='tns:SecurityHeader' />
<soap:header use='literal' part='MedcomHeader' message='tns:MedComHeader' />
<soap:header use='literal' part='RequestHeader' message='tns:RequestHeader' />
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="CreateReimbursementGrantResponse">
<soap:header use='literal' part='CTRResponseHeader' message='tns:CTRResponseHeader'/>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name='CTRFault'>
<soap:fault name='CTRFault' use='literal'/>
</wsdl:fault>
</wsdl:operation>

<wsdl:operation name="UpdateReimbursementGrant">
<soap:operation soapAction="http://lmst.dk/ctr/xml.schema/2022/12/01#UpdateReimbursementGrant"
style="document"/>
<wsdl:input name="UpdateReimbursementGrantRequest">
<soap:header use='literal' part='SecurityHeader' message='tns:SecurityHeader' />
<soap:header use='literal' part='MedcomHeader' message='tns:MedComHeader' />
<soap:header use='literal' part='RequestHeader' message='tns:RequestHeader' />
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="UpdateReimbursementGrantResponse">
<soap:header use='literal' part='CTRResponseHeader' message='tns:CTRResponseHeader'/>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name='CTRFault'>
<soap:fault name='CTRFault' use='literal'/>
</wsdl:fault>
</wsdl:operation>

<wsdl:operation name="GetHealthAllowances">
<soap:operation soapAction="http://lmst.dk/ctr/xml.schema/2022/12/01#GetHealthAllowances"
style="document"/>
Expand Down

0 comments on commit f56ed1a

Please sign in to comment.