Schema EconomyWS.xsd


schema location ..\..\EconomyWS.xsd
attributeFormDefault unqualified
elementFormDefault qualified
 
Elements  Complex types  Simple types 
DeleteGiroRequest  AdditionalIdListEconomy  EconommyRowStatus 
DeleteGiroResponse  AdditionalIdTypeEconomy 
GetCashBoxBalanceReportRequest  CashBoxBalanceReportItemType 
GetCashBoxBalanceReportResponse  CodeTextTypeEconomy 
GetEconomyTransactionsRequest  EconomyTransactionDetailType 
GetEconomyTransactionsResponse  EconomyTransactionType 
GetGiroRequest  GiroType 
GetGiroResponse  IdCodeNameTypeEconomy 
SaveEconomyTransactionRequest  InsertedChangedByType 
SaveEconomyTransactionResponse  OrganizationTypeEconomy 
SaveGiroRequest  OrganizationTypeExtEconomy 
SaveGiroResponse  PatientIdTypeEconmy 
ResourceTypeEconomy 


element DeleteGiroRequest
diagram EconomyWS_p1.png
properties
content complex
children KID
source <xs:element name="DeleteGiroRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="KID" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>KID number</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element DeleteGiroRequest/KID
diagram EconomyWS_p2.png
type xs:string
properties
content simple
annotation
documentation
KID number
source <xs:element name="KID" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>KID number</xs:documentation>
 
</xs:annotation>
</xs:element>

element DeleteGiroResponse
diagram EconomyWS_p3.png
properties
content complex
source <xs:element name="DeleteGiroResponse">
 
<xs:complexType>
   
<xs:sequence/>
 
</xs:complexType>
</xs:element>

element GetCashBoxBalanceReportRequest
diagram EconomyWS_p4.png
properties
content complex
children CashBoxCode RegistrationDate Organization PaymentMethodFilter
source <xs:element name="GetCashBoxBalanceReportRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="CashBoxCode" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Cash box point code.
Valid CashBox codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= CashCode
HIS90: PAQCOST.CASHBOX_CODE
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="RegistrationDate" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Datoer for registration of economy/cash box data.
Dersom dato er utelatt vil en hente kun på dagens dato.
HIS90: Registreringsdato.
PAQCOST.INSERTED_DATE
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="FromDate" type="xs:date">
             
<xs:annotation>
               
<xs:documentation>Fra dato</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="ToDate" type="xs:date">
             
<xs:annotation>
               
<xs:documentation>Til dato</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="Organization" type="OrganizationTypeEconomy" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Organization unit where the service was carried out.
If not used then list all units on the selectd cash box.
HIS90: PAQCOST.UNIT_NO
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="PaymentMethodFilter" type="xs:string" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>Filter for Paymentmethod.
0 to maun codes can be given.
If Null/no codes given then listing for all payment methods.
Valid PaymentMehod codes can be found byusing CommonCodesWS.ListCommonCodes with CommonCodeType= PaymentMethodCode
HIS90: PAQCOST.PAYMENT_METHOD
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetCashBoxBalanceReportRequest/CashBoxCode
diagram EconomyWS_p5.png
type xs:string
properties
content simple
annotation
documentation
Cash box point code.
Valid CashBox codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= CashCode
HIS90: PAQCOST.CASHBOX_CODE
source <xs:element name="CashBoxCode" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Cash box point code.
Valid CashBox codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= CashCode
HIS90: PAQCOST.CASHBOX_CODE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetCashBoxBalanceReportRequest/RegistrationDate
diagram EconomyWS_p6.png
properties
minOcc 0
maxOcc 1
content complex
children FromDate ToDate
annotation
documentation
Datoer for registration of economy/cash box data.
Dersom dato er utelatt vil en hente kun på dagens dato.
HIS90: Registreringsdato.
PAQCOST.INSERTED_DATE
source <xs:element name="RegistrationDate" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Datoer for registration of economy/cash box data.
Dersom dato er utelatt vil en hente kun på dagens dato.
HIS90: Registreringsdato.
PAQCOST.INSERTED_DATE
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="FromDate" type="xs:date">
       
<xs:annotation>
         
<xs:documentation>Fra dato</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ToDate" type="xs:date">
       
<xs:annotation>
         
<xs:documentation>Til dato</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetCashBoxBalanceReportRequest/RegistrationDate/FromDate
diagram EconomyWS_p7.png
type xs:date
properties
content simple
annotation
documentation
Fra dato
source <xs:element name="FromDate" type="xs:date">
 
<xs:annotation>
   
<xs:documentation>Fra dato</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetCashBoxBalanceReportRequest/RegistrationDate/ToDate
diagram EconomyWS_p8.png
type xs:date
properties
content simple
annotation
documentation
Til dato
source <xs:element name="ToDate" type="xs:date">
 
<xs:annotation>
   
<xs:documentation>Til dato</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetCashBoxBalanceReportRequest/Organization
diagram EconomyWS_p9.png
type OrganizationTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organization unit where the service was carried out.
If not used then list all units on the selectd cash box.
HIS90: PAQCOST.UNIT_NO
source <xs:element name="Organization" type="OrganizationTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization unit where the service was carried out.
If not used then list all units on the selectd cash box.
HIS90: PAQCOST.UNIT_NO
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetCashBoxBalanceReportRequest/PaymentMethodFilter
diagram EconomyWS_p10.png
type xs:string
properties
minOcc 0
maxOcc unbounded
content simple
annotation
documentation
Filter for Paymentmethod.
0 to maun codes can be given.
If Null/no codes given then listing for all payment methods.
Valid PaymentMehod codes can be found byusing CommonCodesWS.ListCommonCodes with CommonCodeType= PaymentMethodCode
HIS90: PAQCOST.PAYMENT_METHOD
source <xs:element name="PaymentMethodFilter" type="xs:string" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Filter for Paymentmethod.
0 to maun codes can be given.
If Null/no codes given then listing for all payment methods.
Valid PaymentMehod codes can be found byusing CommonCodesWS.ListCommonCodes with CommonCodeType= PaymentMethodCode
HIS90: PAQCOST.PAYMENT_METHOD
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetCashBoxBalanceReportResponse
diagram EconomyWS_p11.png
properties
content complex
children CashBoxBalancingReports
source <xs:element name="GetCashBoxBalanceReportResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="CashBoxBalancingReports" type="CashBoxBalanceReportItemType" minOccurs="0"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetCashBoxBalanceReportResponse/CashBoxBalancingReports
diagram EconomyWS_p12.png
type CashBoxBalanceReportItemType
properties
minOcc 0
maxOcc 1
content complex
children CashBox ReportGeneratedDate ExecutingUser ReportDates OrganizationUnits TotalAmount
source <xs:element name="CashBoxBalancingReports" type="CashBoxBalanceReportItemType" minOccurs="0"/>

element GetEconomyTransactionsRequest
diagram EconomyWS_p13.png
properties
content complex
children ContactId BillNumberId
source <xs:element name="GetEconomyTransactionsRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:annotation>
       
<xs:documentation>If both ContactId and BillNumber is given, then BillNumber is used.</xs:documentation>
     
</xs:annotation>
     
<xs:element name="ContactId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>ContactId.
HIS90: PatientId|SourceOfServ|SerialNoMeca|SerialNoStay
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="BillNumberId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Unique bill number id for patient.
HIS90: Combined id
PAQCOST.BILL_NUMBER_PATIENT|PAQCOST.SOURCE_OF_SERV|USERS_PRINTER_DEPT_NO|USERS_PRINTER_CODE
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetEconomyTransactionsRequest/ContactId
diagram EconomyWS_p14.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
ContactId.
HIS90: PatientId|SourceOfServ|SerialNoMeca|SerialNoStay
source <xs:element name="ContactId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>ContactId.
HIS90: PatientId|SourceOfServ|SerialNoMeca|SerialNoStay
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetEconomyTransactionsRequest/BillNumberId
diagram EconomyWS_p15.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Unique bill number id for patient.
HIS90: Combined id
PAQCOST.BILL_NUMBER_PATIENT|PAQCOST.SOURCE_OF_SERV|USERS_PRINTER_DEPT_NO|USERS_PRINTER_CODE
source <xs:element name="BillNumberId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Unique bill number id for patient.
HIS90: Combined id
PAQCOST.BILL_NUMBER_PATIENT|PAQCOST.SOURCE_OF_SERV|USERS_PRINTER_DEPT_NO|USERS_PRINTER_CODE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetEconomyTransactionsResponse
diagram EconomyWS_p16.png
properties
content complex
children EconomyRows PrinterId
source <xs:element name="GetEconomyTransactionsResponse">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="EconomyRows" type="EconomyTransactionType" minOccurs="0" maxOccurs="unbounded"/>
     
<xs:element name="PrinterId" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>The default giro printer id/code in PAS belonging to the user that initiated/saved the bill.
HIS90:
PrinterId is an combinded id of printers deptno and printers code making it unique with the PAS system.
Format: PRINTER_DEPT_NO|PRINTER_CODE
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetEconomyTransactionsResponse/EconomyRows
diagram EconomyWS_p17.png
type EconomyTransactionType
properties
minOcc 0
maxOcc unbounded
content complex
children EconomyTransaction Registration Update
source <xs:element name="EconomyRows" type="EconomyTransactionType" minOccurs="0" maxOccurs="unbounded"/>

element GetEconomyTransactionsResponse/PrinterId
diagram EconomyWS_p18.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
The default giro printer id/code in PAS belonging to the user that initiated/saved the bill.
HIS90:
PrinterId is an combinded id of printers deptno and printers code making it unique with the PAS system.
Format: PRINTER_DEPT_NO|PRINTER_CODE
source <xs:element name="PrinterId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The default giro printer id/code in PAS belonging to the user that initiated/saved the bill.
HIS90:
PrinterId is an combinded id of printers deptno and printers code making it unique with the PAS system.
Format: PRINTER_DEPT_NO|PRINTER_CODE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetGiroRequest
diagram EconomyWS_p19.png
properties
content complex
children KID
source <xs:element name="GetGiroRequest">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="KID" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>KID number</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element GetGiroRequest/KID
diagram EconomyWS_p20.png
type xs:string
properties
content simple
annotation
documentation
KID number
source <xs:element name="KID" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>KID number</xs:documentation>
 
</xs:annotation>
</xs:element>

element GetGiroResponse
diagram EconomyWS_p21.png
type GiroType
properties
content complex
children Patient KID VisitDateTime Organization PaymentMethod Amount Update
source <xs:element name="GetGiroResponse" type="GiroType"/>

element SaveEconomyTransactionRequest
diagram EconomyWS_p22.png
type EconomyTransactionType
properties
content complex
children EconomyTransaction Registration Update
annotation
documentation
Request for saving economy transactions to PAS
source <xs:element name="SaveEconomyTransactionRequest" type="EconomyTransactionType">
 
<xs:annotation>
   
<xs:documentation>Request for saving economy transactions to PAS</xs:documentation>
 
</xs:annotation>
</xs:element>

element SaveEconomyTransactionResponse
diagram EconomyWS_p23.png
type EconomyTransactionType
properties
content complex
children EconomyTransaction Registration Update
annotation
documentation
Response for saving economy transactions to PAS
source <xs:element name="SaveEconomyTransactionResponse" type="EconomyTransactionType">
 
<xs:annotation>
   
<xs:documentation>Response for saving economy transactions to PAS</xs:documentation>
 
</xs:annotation>
</xs:element>

element SaveGiroRequest
diagram EconomyWS_p24.png
type GiroType
properties
content complex
children Patient KID VisitDateTime Organization PaymentMethod Amount Update
source <xs:element name="SaveGiroRequest" type="GiroType"/>

element SaveGiroResponse
diagram EconomyWS_p25.png
type GiroType
properties
content complex
children Patient KID VisitDateTime Organization PaymentMethod Amount Update
source <xs:element name="SaveGiroResponse" type="GiroType"/>

complexType AdditionalIdListEconomy
diagram EconomyWS_p26.png
children AdditionalId
used by
elements EconomyTransactionDetailType/Organization/AdditionalIds OrganizationTypeExtEconomy/AdditionalIds
annotation
documentation
Type for list of additional id for organiszation, requester, contact, patientids etc
source <xs:complexType name="AdditionalIdListEconomy">
 
<xs:annotation>
   
<xs:documentation>Type for list of additional id for organiszation, requester, contact, patientids etc</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="AdditionalId" type="AdditionalIdTypeEconomy" maxOccurs="unbounded"/>
 
</xs:sequence>
</xs:complexType>

element AdditionalIdListEconomy/AdditionalId
diagram EconomyWS_p27.png
type AdditionalIdTypeEconomy
properties
minOcc 1
maxOcc unbounded
content complex
children Id TypeOfId Description
source <xs:element name="AdditionalId" type="AdditionalIdTypeEconomy" maxOccurs="unbounded"/>

complexType AdditionalIdTypeEconomy
diagram EconomyWS_p28.png
children Id TypeOfId Description
used by
element AdditionalIdListEconomy/AdditionalId
annotation
documentation
Type for additional id for organiszation, requester, contact, patientids etc
source <xs:complexType name="AdditionalIdTypeEconomy">
 
<xs:annotation>
   
<xs:documentation>Type for additional id for organiszation, requester, contact, patientids etc</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string"/>
   
<xs:element name="TypeOfId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>KITH code standard  8268 Some of the types are:        ENH=Off. org.no in Br.sund HER=HER-id                RSH=RESH-id                 NPR= NPR nr               LOK= Lokal id           XXX=Annet                  
Other Tieto codes are:
For HIS90:
LUI=UniqueId   
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Description" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Description of the TypeOfId, if any.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element AdditionalIdTypeEconomy/Id
diagram EconomyWS_p29.png
type xs:string
properties
content simple
source <xs:element name="Id" type="xs:string"/>

element AdditionalIdTypeEconomy/TypeOfId
diagram EconomyWS_p30.png
type xs:string
properties
content simple
annotation
documentation
KITH code standard  8268 Some of the types are:        ENH=Off. org.no in Br.sund HER=HER-id                RSH=RESH-id                 NPR= NPR nr               LOK= Lokal id           XXX=Annet                  
Other Tieto codes are:
For HIS90:
LUI=UniqueId   
source <xs:element name="TypeOfId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>KITH code standard  8268 Some of the types are:        ENH=Off. org.no in Br.sund HER=HER-id                RSH=RESH-id                 NPR= NPR nr               LOK= Lokal id           XXX=Annet                  
Other Tieto codes are:
For HIS90:
LUI=UniqueId   
</xs:documentation>
 
</xs:annotation>
</xs:element>

element AdditionalIdTypeEconomy/Description
diagram EconomyWS_p31.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Description of the TypeOfId, if any.
source <xs:element name="Description" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Description of the TypeOfId, if any.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CashBoxBalanceReportItemType
diagram EconomyWS_p32.png
children CashBox ReportGeneratedDate ExecutingUser ReportDates OrganizationUnits TotalAmount
used by
element GetCashBoxBalanceReportResponse/CashBoxBalancingReports
source <xs:complexType name="CashBoxBalanceReportItemType">
 
<xs:sequence>
   
<xs:element name="CashBox" type="CodeTextTypeEconomy">
     
<xs:annotation>
       
<xs:documentation>Cah box.
Valid CashBox codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= CashCode
Extraced from the request in WS
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ReportGeneratedDate" type="xs:date">
     
<xs:annotation>
       
<xs:documentation>Report generated date
Date and Time when WS is executed and cash box balance report is generated.
Set by WS to now.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ExecutingUser" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>User that generated the report.
Extracted from the ticket in WS
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ReportDates">
     
<xs:annotation>
       
<xs:documentation>Fra/til dato for når betalinger/registreinger har foregått.
Extracted from the RegistrationDate in request to  WS
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="FromDate" type="xs:date">
           
<xs:annotation>
             
<xs:documentation>Fra dato</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="ToDate" type="xs:date">
           
<xs:annotation>
             
<xs:documentation>Til dato</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="OrganizationUnits" minOccurs="0" maxOccurs="unbounded">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="MedicalUnit" type="OrganizationTypeExtEconomy">
           
<xs:annotation>
             
<xs:documentation>Organization medicval unit/department where the service was carried out.

PAQCOST.UNIT_NO
>PAQUNTE.DEPT_NO
PAQDEPT.++
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="CareUnit" type="OrganizationTypeExtEconomy">
           
<xs:annotation>
             
<xs:documentation>Organization unit where the service was carried out.

PAQCOST.UNIT_NO
PAQUNTE.++
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="PaymentMethods" minOccurs="0" maxOccurs="unbounded">
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="PaymentMethod" type="CodeTextTypeEconomy" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Paymentmethod.
Valid PaymentMehod codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= PaymentMethodCode
HIS90: PAQCOST.PAYMENT_METHOD
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="NumberOfTransactions" type="xs:int">
                 
<xs:annotation>
                   
<xs:documentation>Antall transaksjoner/forekomster av betalingen.
Count of PAQCOST.AMOUNT_PATIENT_PAY per PAQCOST.PAYMENT_METHOD per UNIT_NO
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="Amount" type="xs:decimal">
                 
<xs:annotation>
                   
<xs:documentation>Totalt betalt av pasienter pr enhet og betalingsmåte
Sum of PAQCOST.AMOUNT_PATIENT_PAY per PAQCOST.PAYMENT_METHOD per UNIT_NO
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="TotalAmountCareUnit" type="xs:decimal">
           
<xs:annotation>
             
<xs:documentation>Total sum på enhet betalt av pasient
Sum of PAQCOST.AMOUNT_PATIENT_PAY per UNIT_NO
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="TotalAmount" type="xs:decimal">
     
<xs:annotation>
       
<xs:documentation>Totalsum betalt av pasienter
SSummeres i WS basert på alle TotalAmountCareUnit
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element CashBoxBalanceReportItemType/CashBox
diagram EconomyWS_p33.png
type CodeTextTypeEconomy
properties
content complex
children Code Text
annotation
documentation
Cah box.
Valid CashBox codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= CashCode
Extraced from the request in WS
source <xs:element name="CashBox" type="CodeTextTypeEconomy">
 
<xs:annotation>
   
<xs:documentation>Cah box.
Valid CashBox codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= CashCode
Extraced from the request in WS
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/ReportGeneratedDate
diagram EconomyWS_p34.png
type xs:date
properties
content simple
annotation
documentation
Report generated date
Date and Time when WS is executed and cash box balance report is generated.
Set by WS to now.
source <xs:element name="ReportGeneratedDate" type="xs:date">
 
<xs:annotation>
   
<xs:documentation>Report generated date
Date and Time when WS is executed and cash box balance report is generated.
Set by WS to now.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/ExecutingUser
diagram EconomyWS_p35.png
type xs:string
properties
content simple
annotation
documentation
User that generated the report.
Extracted from the ticket in WS
source <xs:element name="ExecutingUser" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>User that generated the report.
Extracted from the ticket in WS
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/ReportDates
diagram EconomyWS_p36.png
properties
content complex
children FromDate ToDate
annotation
documentation
Fra/til dato for når betalinger/registreinger har foregått.
Extracted from the RegistrationDate in request to  WS
source <xs:element name="ReportDates">
 
<xs:annotation>
   
<xs:documentation>Fra/til dato for når betalinger/registreinger har foregått.
Extracted from the RegistrationDate in request to  WS
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="FromDate" type="xs:date">
       
<xs:annotation>
         
<xs:documentation>Fra dato</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="ToDate" type="xs:date">
       
<xs:annotation>
         
<xs:documentation>Til dato</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element CashBoxBalanceReportItemType/ReportDates/FromDate
diagram EconomyWS_p37.png
type xs:date
properties
content simple
annotation
documentation
Fra dato
source <xs:element name="FromDate" type="xs:date">
 
<xs:annotation>
   
<xs:documentation>Fra dato</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/ReportDates/ToDate
diagram EconomyWS_p38.png
type xs:date
properties
content simple
annotation
documentation
Til dato
source <xs:element name="ToDate" type="xs:date">
 
<xs:annotation>
   
<xs:documentation>Til dato</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/OrganizationUnits
diagram EconomyWS_p39.png
properties
minOcc 0
maxOcc unbounded
content complex
children MedicalUnit CareUnit PaymentMethods TotalAmountCareUnit
source <xs:element name="OrganizationUnits" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="MedicalUnit" type="OrganizationTypeExtEconomy">
       
<xs:annotation>
         
<xs:documentation>Organization medicval unit/department where the service was carried out.

PAQCOST.UNIT_NO
>PAQUNTE.DEPT_NO
PAQDEPT.++
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="CareUnit" type="OrganizationTypeExtEconomy">
       
<xs:annotation>
         
<xs:documentation>Organization unit where the service was carried out.

PAQCOST.UNIT_NO
PAQUNTE.++
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="PaymentMethods" minOccurs="0" maxOccurs="unbounded">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="PaymentMethod" type="CodeTextTypeEconomy" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation>Paymentmethod.
Valid PaymentMehod codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= PaymentMethodCode
HIS90: PAQCOST.PAYMENT_METHOD
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="NumberOfTransactions" type="xs:int">
             
<xs:annotation>
               
<xs:documentation>Antall transaksjoner/forekomster av betalingen.
Count of PAQCOST.AMOUNT_PATIENT_PAY per PAQCOST.PAYMENT_METHOD per UNIT_NO
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="Amount" type="xs:decimal">
             
<xs:annotation>
               
<xs:documentation>Totalt betalt av pasienter pr enhet og betalingsmåte
Sum of PAQCOST.AMOUNT_PATIENT_PAY per PAQCOST.PAYMENT_METHOD per UNIT_NO
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="TotalAmountCareUnit" type="xs:decimal">
       
<xs:annotation>
         
<xs:documentation>Total sum på enhet betalt av pasient
Sum of PAQCOST.AMOUNT_PATIENT_PAY per UNIT_NO
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element CashBoxBalanceReportItemType/OrganizationUnits/MedicalUnit
diagram EconomyWS_p40.png
type OrganizationTypeExtEconomy
properties
content complex
children Id TypeOfId ShortNameId Name AdditionalIds
annotation
documentation
Organization medicval unit/department where the service was carried out.

PAQCOST.UNIT_NO
>PAQUNTE.DEPT_NO
PAQDEPT.++
source <xs:element name="MedicalUnit" type="OrganizationTypeExtEconomy">
 
<xs:annotation>
   
<xs:documentation>Organization medicval unit/department where the service was carried out.

PAQCOST.UNIT_NO
>PAQUNTE.DEPT_NO
PAQDEPT.++
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/OrganizationUnits/CareUnit
diagram EconomyWS_p41.png
type OrganizationTypeExtEconomy
properties
content complex
children Id TypeOfId ShortNameId Name AdditionalIds
annotation
documentation
Organization unit where the service was carried out.

PAQCOST.UNIT_NO
PAQUNTE.++
source <xs:element name="CareUnit" type="OrganizationTypeExtEconomy">
 
<xs:annotation>
   
<xs:documentation>Organization unit where the service was carried out.

PAQCOST.UNIT_NO
PAQUNTE.++
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/OrganizationUnits/PaymentMethods
diagram EconomyWS_p42.png
properties
minOcc 0
maxOcc unbounded
content complex
children PaymentMethod NumberOfTransactions Amount
source <xs:element name="PaymentMethods" minOccurs="0" maxOccurs="unbounded">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="PaymentMethod" type="CodeTextTypeEconomy" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Paymentmethod.
Valid PaymentMehod codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= PaymentMethodCode
HIS90: PAQCOST.PAYMENT_METHOD
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="NumberOfTransactions" type="xs:int">
       
<xs:annotation>
         
<xs:documentation>Antall transaksjoner/forekomster av betalingen.
Count of PAQCOST.AMOUNT_PATIENT_PAY per PAQCOST.PAYMENT_METHOD per UNIT_NO
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Amount" type="xs:decimal">
       
<xs:annotation>
         
<xs:documentation>Totalt betalt av pasienter pr enhet og betalingsmåte
Sum of PAQCOST.AMOUNT_PATIENT_PAY per PAQCOST.PAYMENT_METHOD per UNIT_NO
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element CashBoxBalanceReportItemType/OrganizationUnits/PaymentMethods/PaymentMethod
diagram EconomyWS_p43.png
type CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Paymentmethod.
Valid PaymentMehod codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= PaymentMethodCode
HIS90: PAQCOST.PAYMENT_METHOD
source <xs:element name="PaymentMethod" type="CodeTextTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Paymentmethod.
Valid PaymentMehod codes can be found by using CommonCodesWS.ListCommonCodes with CommonCodeType= PaymentMethodCode
HIS90: PAQCOST.PAYMENT_METHOD
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/OrganizationUnits/PaymentMethods/NumberOfTransactions
diagram EconomyWS_p44.png
type xs:int
properties
content simple
annotation
documentation
Antall transaksjoner/forekomster av betalingen.
Count of PAQCOST.AMOUNT_PATIENT_PAY per PAQCOST.PAYMENT_METHOD per UNIT_NO
source <xs:element name="NumberOfTransactions" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Antall transaksjoner/forekomster av betalingen.
Count of PAQCOST.AMOUNT_PATIENT_PAY per PAQCOST.PAYMENT_METHOD per UNIT_NO
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/OrganizationUnits/PaymentMethods/Amount
diagram EconomyWS_p45.png
type xs:decimal
properties
content simple
annotation
documentation
Totalt betalt av pasienter pr enhet og betalingsmåte
Sum of PAQCOST.AMOUNT_PATIENT_PAY per PAQCOST.PAYMENT_METHOD per UNIT_NO
source <xs:element name="Amount" type="xs:decimal">
 
<xs:annotation>
   
<xs:documentation>Totalt betalt av pasienter pr enhet og betalingsmåte
Sum of PAQCOST.AMOUNT_PATIENT_PAY per PAQCOST.PAYMENT_METHOD per UNIT_NO
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/OrganizationUnits/TotalAmountCareUnit
diagram EconomyWS_p46.png
type xs:decimal
properties
content simple
annotation
documentation
Total sum på enhet betalt av pasient
Sum of PAQCOST.AMOUNT_PATIENT_PAY per UNIT_NO
source <xs:element name="TotalAmountCareUnit" type="xs:decimal">
 
<xs:annotation>
   
<xs:documentation>Total sum på enhet betalt av pasient
Sum of PAQCOST.AMOUNT_PATIENT_PAY per UNIT_NO
</xs:documentation>
 
</xs:annotation>
</xs:element>

element CashBoxBalanceReportItemType/TotalAmount
diagram EconomyWS_p47.png
type xs:decimal
properties
content simple
annotation
documentation
Totalsum betalt av pasienter
SSummeres i WS basert på alle TotalAmountCareUnit
source <xs:element name="TotalAmount" type="xs:decimal">
 
<xs:annotation>
   
<xs:documentation>Totalsum betalt av pasienter
SSummeres i WS basert på alle TotalAmountCareUnit
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType CodeTextTypeEconomy
diagram EconomyWS_p48.png
children Code Text
used by
elements EconomyTransactionDetailType/CashBox CashBoxBalanceReportItemType/CashBox EconomyTransactionDetailType/Debtor/County EconomyTransactionDetailType/Debtor/Equipment EconomyTransactionDetailType/Municipality EconomyTransactionDetailType/Debtor/PatientPay EconomyTransactionDetailType/PaymentMethod GiroType/PaymentMethod CashBoxBalanceReportItemType/OrganizationUnits/PaymentMethods/PaymentMethod EconomyTransactionDetailType/Codes/RateCode EconomyTransactionDetailType/Codes/RefundCode EconomyTransactionDetailType/Debtor/SocialInsurance EconomyTransactionDetailType/Source
annotation
documentation
Type for Code and Text(with text as optional)
source <xs:complexType name="CodeTextTypeEconomy">
 
<xs:annotation>
   
<xs:documentation>Type for Code and Text(with text as optional)</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Code" type="xs:string"/>
   
<xs:element name="Text" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element CodeTextTypeEconomy/Code
diagram EconomyWS_p49.png
type xs:string
properties
content simple
source <xs:element name="Code" type="xs:string"/>

element CodeTextTypeEconomy/Text
diagram EconomyWS_p50.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Text" type="xs:string" minOccurs="0"/>

complexType EconomyTransactionDetailType
diagram EconomyWS_p51.png
children PatientId EconomyTransactionId ContactId BillNumberId BillNumber Status Source Codes Organization Requesters Resources Municipality FromDate ToDate DebitDate DebitCredit Multiplier Amount Debtor PaymentMethod CashBox Visit
used by
element EconomyTransactionType/EconomyTransaction
annotation
documentation
Type with economy data for inserting/deleting
source <xs:complexType name="EconomyTransactionDetailType">
 
<xs:annotation>
   
<xs:documentation>Type with economy data for inserting/deleting</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="PatientId" type="xs:int">
     
<xs:annotation>
       
<xs:documentation>Internal patient id (pid). 
Use PatientWS GetPatient or ListPatients WS-metodene to get a patient's id.

PAQCOST.PATIENT_ID
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="EconomyTransactionId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal id for cost row.
HIS90: PatientId|SourceOfServ|SerialNoMeca|SerialNoStay|SarialNoSeco|SerialNoCost
PAQCOST.PATIENT_ID
PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY
PAQCOST.SERIAL_NO_SECO
PAQCOST.SERIAL_NO_COST
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ContactId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>ContactId. HIS90: PatientId|SourceOfServ|SerialNoMeca|SerialNoStay
PAQCOST.PATIENT_ID
PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="BillNumberId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Unique bill number id for patient.
HIS90: Combined id
PAQCOST.BILL_NUMBER_PATIENT|PAQCOST.SOURCE_OF_SERV|USERS_PRINTER_DEPT_NO|USERS_PRINTER_CODE
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="BillNumber" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Unique bill number.
Used for patient communications
Only unique in PAS in if used with Source
PAQCOST.BILL_NUMBER_PATIENT
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Status" type="EconommyRowStatus" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Status on economy row.
PAQCOST.VISIT_CANCELLED
Active (VISIT_CANCELLED not J)
Cancelled (VISIT_CANCELLED=J)
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Source" type="CodeTextTypeEconomy">
     
<xs:annotation>
       
<xs:documentation>Type of source for the economyinfo/row.
HIS90:
PAQCOST.SOURCE_OF_SERV
Source of Service

Internal in PAS-service this value is used for performing specific economy processing methods related to the source.

Code/Descriptions of valid input:
1=Inpatient/Inneliggende
2=OutPatiens/Poliklinikk
3=Røntgen
4=Klinsik kjemi
5=Mikrobiologi
6=Blodbank(Forlik/transfusjoner - knyttet til pasient)
7=Blodbank(Salg/Kjøp av blodprdukter - IKKE pasient)
8=Patologi

I tillegg finnes det noen andre koder som er reservert for spesielle systemer eller internt bruk.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Codes" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Procedure" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Service/Procedure code.

PAQCOST.SERIAL_NO_SERV
</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:sequence>
               
<xs:element name="ProcedureId" type="xs:string">
                 
<xs:annotation>
                   
<xs:documentation>Internal id of service/procedure.
HIS90: SerialNoMeca|SerialNoStay|SourceOfServ|SerialNoServ
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY

PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_SECO
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="BelongsToOrganization" type="OrganizationTypeEconomy">
                 
<xs:annotation>
                   
<xs:documentation>Organization unit where the proceduer belongs to/was carried out.

PAQCOST.BELONGS_TO_UNIT
PAQUNTE.++
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="RateCode" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Takstkode. The code iis validated with table PAQRTVA.
Valid values for RateCode can be found by CommonCodesWS.ListRate

Either (Service.Type And Code) or (one of Codes.RateCode or OfficialInvestigationCode) must be in input.
If both combinations is in the input the Codes.RateCode will be used.

PAQCOST.RATE_CODE
</xs:documentation>
           
</xs:annotation>
           
<xs:complexType>
             
<xs:complexContent>
               
<xs:extension base="CodeTextTypeEconomy">
                 
<xs:sequence>
                   
<xs:element name="PercentAddition" type="xs:int" minOccurs="0">
                     
<xs:annotation>
                       
<xs:documentation>Percent addition.
Used when the addition to the rate is given in percent.
Values is given in percent, with 0 as default -
> no percent addition.
Eg. 50 gives 50% addition
PAQCOST.RATE_PERCENT_ADDITION
</xs:documentation>
                     
</xs:annotation>
                   
</xs:element>
                   
<xs:element name="Multiplier" type="xs:decimal" minOccurs="0">
                     
<xs:annotation>
                       
<xs:documentation>Multiplier, used to multiply the number of lines inserted into PAQCOST. For prosang integration only positive whole numbers is accepted.
If omitted/blank the default is 1,00
PAQCOST.RATE_MULTIPLIER
</xs:documentation>
                     
</xs:annotation>
                   
</xs:element>
                   
<xs:element name="AmountAddition" type="xs:int" minOccurs="0">
                     
<xs:annotation>
                       
<xs:documentation>Amiunt addition.
Used when the addition to the rate is given as an amount.
PAQCOST.RATE_AMOUNT_ADDITION
</xs:documentation>
                     
</xs:annotation>
                   
</xs:element>
                 
</xs:sequence>
               
</xs:extension>
             
</xs:complexContent>
           
</xs:complexType>
         
</xs:element>
         
<xs:element name="RefundCode" type="CodeTextTypeEconomy" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Refusjonskode
Valid values for RefundCode can be by CommonCodesWS.ListRefundCodes
PAQCOST.REFUND_CODE
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Organization">
     
<xs:annotation>
       
<xs:documentation>Organization unit where the service was carried out.

PAQCOST.UNIT_NO
PAQUNTE.++
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="OrganizationTypeEconomy">
           
<xs:sequence>
             
<xs:element name="AdditionalIds" type="AdditionalIdListEconomy" minOccurs="0">
               
<xs:annotation>
                 
<xs:documentation>Additional ids for the orgnaization unit</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:extension>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Requesters">
     
<xs:annotation>
       
<xs:documentation>Rekvirentkode.
Brukes for å finne rekvirentens faktureringsmåte.
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="Requester" type="IdCodeNameTypeEconomy">
           
<xs:annotation>
             
<xs:documentation>Requester code
The orginal requester for the treatment. RequesterWS.ListRequesters
PAQCOST.REQR_CODE_ORG
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="OtherDebtor" type="IdCodeNameTypeEconomy" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Other payer if not requester pays.
Requester code is input.
The requestercode is used for finding the payers unit(enhet) in HIS90 PAS. Valid requestercodes can be found by RequesterWS.ListRequesters
PAQCOST.OTHER_DEBTOR
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Resources" minOccurs="0" maxOccurs="unbounded">
     
<xs:annotation>
       
<xs:documentation>Resource for economy row.
Internal resourceid.

Valid resource ids can be found by using OrganizationWS.ListResources
HIS90: Behandlende ressurs. Treated by resource.
PAQCOST.TREATED_BY
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="ResourceTypeEconomy">
           
<xs:sequence>
             
<xs:element name="TypeOfResource" type="xs:string">
               
<xs:annotation>
                 
<xs:documentation>Type of resource.
Valid values:
- TreatedBy
</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:extension>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Municipality" type="CodeTextTypeEconomy" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>The patient's municipality code.Valid municipality codes can be found by using CommonCodesWS.ListMunicipalityCodes

PAQCOST.COUNTY
PAQCOST.MUNICIPALITY
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="FromDate" type="xs:date">
     
<xs:annotation>
       
<xs:documentation>HIS90: For tjenester av type:
LAB: prøve verifisert dato
Pol.klin.: besøksdato
Sengepost: innleggelsesdato

PAQCOST.DATE_IN
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ToDate" type="xs:date" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>HIS90: Angir varighet ved f.eks tjeneste på sengepost. For andre Source er den ellers lik FromDate.
PAQCOST.DATE_OUT
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="DebitDate" type="xs:date" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Date for debit or credit. HIS90: Registreringsdato. Dato brukes som gyldighetsintervall for takstkode
PAQCOST.INSERTED_DATE
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="DebitCredit" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Positive sign(+) is used for debit and negative(-) sign for crediting.
If omitted/blank the default is +
PAQCOST.DEBIT_CREDIT
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Multiplier" type="xs:decimal" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Multiplier, used to multiply the number of lines inserted into PAQCOST. For prosang integration only positive whole numbers is accepted.
If omitted/blank the default is 1,00
PAQCOST.MULTIPLIER
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Amount">
     
<xs:annotation>
       
<xs:documentation>The amounts related to the economy transaction row</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="SocialInsurance" type="xs:decimal">
           
<xs:annotation>
             
<xs:documentation>NAV/Trugdekontor del
PAQCOST.AMOUNT_SOCIAL_INSURANCE
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="County" type="xs:decimal">
           
<xs:annotation>
             
<xs:documentation>Fylkesdel
PAQCOST.AMOUNT_COUNTY
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="PatientPay" type="xs:decimal">
           
<xs:annotation>
             
<xs:documentation>Egenandel
PAQCOST.AMOUNT_PATIENT_PAY
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Equipment" type="xs:decimal">
           
<xs:annotation>
             
<xs:documentation>Rekvesita
PAQCOST.AMOUNT_EQUIPMENT
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="Debtor" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Information about who is paying the different amounts
Valid values:‘’/blank/space - None/Ingen betaler
1 - Patient/Pasienten
2 - NAV/Trygdekontoret
3 - External other/Ekstern annen betaler
4 - Internal other/Intern annen betaler
5 - County/Fylke
9 - No payer/Ingen betaler
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="SocialInsurance" type="CodeTextTypeEconomy" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>PAQCOST.DEBTOR_SOCIAL_INSURANCE</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="County" type="CodeTextTypeEconomy" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>PAQCOST.DEBTOR_COUNTY</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="PatientPay" type="CodeTextTypeEconomy" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>PAQCOST.DEBTOR_PATIENT_PAY</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Equipment" type="CodeTextTypeEconomy" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>PAQCOST.DEBTOR_EQUIPMENT</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
   
<xs:element name="PaymentMethod" type="CodeTextTypeEconomy" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Paymentmethod, only used for x-ray and poliklinikk.
Valid PaymentMehod codes can be found by using CommonCodesWS.PaymentMethodCodes

PAQCOST.PAYMENT_METHOD
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="CashBox" type="CodeTextTypeEconomy" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Only used for røntgen and poliklinikk.
Valid CashBox codes can be found by CommonCodesWS.CashCodes
HIS90: If not in input CashBox will be set default to 01
PAQCOST.CASHBOX_CODE
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Visit" minOccurs="0">
     
<xs:complexType>
       
<xs:sequence>
         
<xs:element name="VisitNumber" type="xs:string" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Unique visit number
PAQCOST.VISIT_NUMBER
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element EconomyTransactionDetailType/PatientId
diagram EconomyWS_p52.png
type xs:int
properties
content simple
annotation
documentation
Internal patient id (pid). 
Use PatientWS GetPatient or ListPatients WS-metodene to get a patient's id.

PAQCOST.PATIENT_ID
source <xs:element name="PatientId" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Internal patient id (pid). 
Use PatientWS GetPatient or ListPatients WS-metodene to get a patient's id.

PAQCOST.PATIENT_ID
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/EconomyTransactionId
diagram EconomyWS_p53.png
type xs:string
properties
content simple
annotation
documentation
Internal id for cost row.
HIS90: PatientId|SourceOfServ|SerialNoMeca|SerialNoStay|SarialNoSeco|SerialNoCost
PAQCOST.PATIENT_ID
PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY
PAQCOST.SERIAL_NO_SECO
PAQCOST.SERIAL_NO_COST
source <xs:element name="EconomyTransactionId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal id for cost row.
HIS90: PatientId|SourceOfServ|SerialNoMeca|SerialNoStay|SarialNoSeco|SerialNoCost
PAQCOST.PATIENT_ID
PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY
PAQCOST.SERIAL_NO_SECO
PAQCOST.SERIAL_NO_COST
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/ContactId
diagram EconomyWS_p54.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
ContactId. HIS90: PatientId|SourceOfServ|SerialNoMeca|SerialNoStay
PAQCOST.PATIENT_ID
PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY
source <xs:element name="ContactId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>ContactId. HIS90: PatientId|SourceOfServ|SerialNoMeca|SerialNoStay
PAQCOST.PATIENT_ID
PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/BillNumberId
diagram EconomyWS_p55.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Unique bill number id for patient.
HIS90: Combined id
PAQCOST.BILL_NUMBER_PATIENT|PAQCOST.SOURCE_OF_SERV|USERS_PRINTER_DEPT_NO|USERS_PRINTER_CODE
source <xs:element name="BillNumberId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Unique bill number id for patient.
HIS90: Combined id
PAQCOST.BILL_NUMBER_PATIENT|PAQCOST.SOURCE_OF_SERV|USERS_PRINTER_DEPT_NO|USERS_PRINTER_CODE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/BillNumber
diagram EconomyWS_p56.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Unique bill number.
Used for patient communications
Only unique in PAS in if used with Source
PAQCOST.BILL_NUMBER_PATIENT
source <xs:element name="BillNumber" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Unique bill number.
Used for patient communications
Only unique in PAS in if used with Source
PAQCOST.BILL_NUMBER_PATIENT
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Status
diagram EconomyWS_p57.png
type EconommyRowStatus
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
enumeration NotSet
enumeration Active
enumeration Cancelled
annotation
documentation
Status on economy row.
PAQCOST.VISIT_CANCELLED
Active (VISIT_CANCELLED not J)
Cancelled (VISIT_CANCELLED=J)
source <xs:element name="Status" type="EconommyRowStatus" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Status on economy row.
PAQCOST.VISIT_CANCELLED
Active (VISIT_CANCELLED not J)
Cancelled (VISIT_CANCELLED=J)
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Source
diagram EconomyWS_p58.png
type CodeTextTypeEconomy
properties
content complex
children Code Text
annotation
documentation
Type of source for the economyinfo/row.
HIS90:
PAQCOST.SOURCE_OF_SERV
Source of Service

Internal in PAS-service this value is used for performing specific economy processing methods related to the source.

Code/Descriptions of valid input:
1=Inpatient/Inneliggende
2=OutPatiens/Poliklinikk
3=Røntgen
4=Klinsik kjemi
5=Mikrobiologi
6=Blodbank(Forlik/transfusjoner - knyttet til pasient)
7=Blodbank(Salg/Kjøp av blodprdukter - IKKE pasient)
8=Patologi

I tillegg finnes det noen andre koder som er reservert for spesielle systemer eller internt bruk.
source <xs:element name="Source" type="CodeTextTypeEconomy">
 
<xs:annotation>
   
<xs:documentation>Type of source for the economyinfo/row.
HIS90:
PAQCOST.SOURCE_OF_SERV
Source of Service

Internal in PAS-service this value is used for performing specific economy processing methods related to the source.

Code/Descriptions of valid input:
1=Inpatient/Inneliggende
2=OutPatiens/Poliklinikk
3=Røntgen
4=Klinsik kjemi
5=Mikrobiologi
6=Blodbank(Forlik/transfusjoner - knyttet til pasient)
7=Blodbank(Salg/Kjøp av blodprdukter - IKKE pasient)
8=Patologi

I tillegg finnes det noen andre koder som er reservert for spesielle systemer eller internt bruk.
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Codes
diagram EconomyWS_p59.png
properties
minOcc 0
maxOcc 1
content complex
children Procedure RateCode RefundCode
source <xs:element name="Codes" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Procedure" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Service/Procedure code.

PAQCOST.SERIAL_NO_SERV
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="ProcedureId" type="xs:string">
             
<xs:annotation>
               
<xs:documentation>Internal id of service/procedure.
HIS90: SerialNoMeca|SerialNoStay|SourceOfServ|SerialNoServ
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY

PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_SECO
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
           
<xs:element name="BelongsToOrganization" type="OrganizationTypeEconomy">
             
<xs:annotation>
               
<xs:documentation>Organization unit where the proceduer belongs to/was carried out.

PAQCOST.BELONGS_TO_UNIT
PAQUNTE.++
</xs:documentation>
             
</xs:annotation>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="RateCode" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Takstkode. The code iis validated with table PAQRTVA.
Valid values for RateCode can be found by CommonCodesWS.ListRate

Either (Service.Type And Code) or (one of Codes.RateCode or OfficialInvestigationCode) must be in input.
If both combinations is in the input the Codes.RateCode will be used.

PAQCOST.RATE_CODE
</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:complexContent>
           
<xs:extension base="CodeTextTypeEconomy">
             
<xs:sequence>
               
<xs:element name="PercentAddition" type="xs:int" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Percent addition.
Used when the addition to the rate is given in percent.
Values is given in percent, with 0 as default -
> no percent addition.
Eg. 50 gives 50% addition
PAQCOST.RATE_PERCENT_ADDITION
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="Multiplier" type="xs:decimal" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Multiplier, used to multiply the number of lines inserted into PAQCOST. For prosang integration only positive whole numbers is accepted.
If omitted/blank the default is 1,00
PAQCOST.RATE_MULTIPLIER
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
               
<xs:element name="AmountAddition" type="xs:int" minOccurs="0">
                 
<xs:annotation>
                   
<xs:documentation>Amiunt addition.
Used when the addition to the rate is given as an amount.
PAQCOST.RATE_AMOUNT_ADDITION
</xs:documentation>
                 
</xs:annotation>
               
</xs:element>
             
</xs:sequence>
           
</xs:extension>
         
</xs:complexContent>
       
</xs:complexType>
     
</xs:element>
     
<xs:element name="RefundCode" type="CodeTextTypeEconomy" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Refusjonskode
Valid values for RefundCode can be by CommonCodesWS.ListRefundCodes
PAQCOST.REFUND_CODE
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element EconomyTransactionDetailType/Codes/Procedure
diagram EconomyWS_p60.png
properties
minOcc 0
maxOcc 1
content complex
children ProcedureId BelongsToOrganization
annotation
documentation
Service/Procedure code.

PAQCOST.SERIAL_NO_SERV
source <xs:element name="Procedure" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Service/Procedure code.

PAQCOST.SERIAL_NO_SERV
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="ProcedureId" type="xs:string">
       
<xs:annotation>
         
<xs:documentation>Internal id of service/procedure.
HIS90: SerialNoMeca|SerialNoStay|SourceOfServ|SerialNoServ
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY

PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_SECO
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="BelongsToOrganization" type="OrganizationTypeEconomy">
       
<xs:annotation>
         
<xs:documentation>Organization unit where the proceduer belongs to/was carried out.

PAQCOST.BELONGS_TO_UNIT
PAQUNTE.++
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element EconomyTransactionDetailType/Codes/Procedure/ProcedureId
diagram EconomyWS_p61.png
type xs:string
properties
content simple
annotation
documentation
Internal id of service/procedure.
HIS90: SerialNoMeca|SerialNoStay|SourceOfServ|SerialNoServ
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY

PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_SECO
source <xs:element name="ProcedureId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal id of service/procedure.
HIS90: SerialNoMeca|SerialNoStay|SourceOfServ|SerialNoServ
PAQCOST.SERIAL_NO_MECA
PAQCOST.SERIAL_NO_STAY

PAQCOST.SOURCE_OF_SERV
PAQCOST.SERIAL_NO_SECO
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Codes/Procedure/BelongsToOrganization
diagram EconomyWS_p62.png
type OrganizationTypeEconomy
properties
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organization unit where the proceduer belongs to/was carried out.

PAQCOST.BELONGS_TO_UNIT
PAQUNTE.++
source <xs:element name="BelongsToOrganization" type="OrganizationTypeEconomy">
 
<xs:annotation>
   
<xs:documentation>Organization unit where the proceduer belongs to/was carried out.

PAQCOST.BELONGS_TO_UNIT
PAQUNTE.++
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Codes/RateCode
diagram EconomyWS_p63.png
type extension of CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text PercentAddition Multiplier AmountAddition
annotation
documentation
Takstkode. The code iis validated with table PAQRTVA.
Valid values for RateCode can be found by CommonCodesWS.ListRate

Either (Service.Type And Code) or (one of Codes.RateCode or OfficialInvestigationCode) must be in input.
If both combinations is in the input the Codes.RateCode will be used.

PAQCOST.RATE_CODE
source <xs:element name="RateCode" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Takstkode. The code iis validated with table PAQRTVA.
Valid values for RateCode can be found by CommonCodesWS.ListRate

Either (Service.Type And Code) or (one of Codes.RateCode or OfficialInvestigationCode) must be in input.
If both combinations is in the input the Codes.RateCode will be used.

PAQCOST.RATE_CODE
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="CodeTextTypeEconomy">
       
<xs:sequence>
         
<xs:element name="PercentAddition" type="xs:int" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Percent addition.
Used when the addition to the rate is given in percent.
Values is given in percent, with 0 as default -
> no percent addition.
Eg. 50 gives 50% addition
PAQCOST.RATE_PERCENT_ADDITION
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="Multiplier" type="xs:decimal" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Multiplier, used to multiply the number of lines inserted into PAQCOST. For prosang integration only positive whole numbers is accepted.
If omitted/blank the default is 1,00
PAQCOST.RATE_MULTIPLIER
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
         
<xs:element name="AmountAddition" type="xs:int" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Amiunt addition.
Used when the addition to the rate is given as an amount.
PAQCOST.RATE_AMOUNT_ADDITION
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element EconomyTransactionDetailType/Codes/RateCode/PercentAddition
diagram EconomyWS_p64.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Percent addition.
Used when the addition to the rate is given in percent.
Values is given in percent, with 0 as default -> no percent addition.
Eg. 50 gives 50% addition
PAQCOST.RATE_PERCENT_ADDITION
source <xs:element name="PercentAddition" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Percent addition.
Used when the addition to the rate is given in percent.
Values is given in percent, with 0 as default -
> no percent addition.
Eg. 50 gives 50% addition
PAQCOST.RATE_PERCENT_ADDITION
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Codes/RateCode/Multiplier
diagram EconomyWS_p65.png
type xs:decimal
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Multiplier, used to multiply the number of lines inserted into PAQCOST. For prosang integration only positive whole numbers is accepted.
If omitted/blank the default is 1,00
PAQCOST.RATE_MULTIPLIER
source <xs:element name="Multiplier" type="xs:decimal" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Multiplier, used to multiply the number of lines inserted into PAQCOST. For prosang integration only positive whole numbers is accepted.
If omitted/blank the default is 1,00
PAQCOST.RATE_MULTIPLIER
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Codes/RateCode/AmountAddition
diagram EconomyWS_p66.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Amiunt addition.
Used when the addition to the rate is given as an amount.
PAQCOST.RATE_AMOUNT_ADDITION
source <xs:element name="AmountAddition" type="xs:int" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Amiunt addition.
Used when the addition to the rate is given as an amount.
PAQCOST.RATE_AMOUNT_ADDITION
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Codes/RefundCode
diagram EconomyWS_p67.png
type CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Refusjonskode
Valid values for RefundCode can be by CommonCodesWS.ListRefundCodes
PAQCOST.REFUND_CODE
source <xs:element name="RefundCode" type="CodeTextTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Refusjonskode
Valid values for RefundCode can be by CommonCodesWS.ListRefundCodes
PAQCOST.REFUND_CODE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Organization
diagram EconomyWS_p68.png
type extension of OrganizationTypeEconomy
properties
content complex
children Id TypeOfId ShortNameId Name AdditionalIds
annotation
documentation
Organization unit where the service was carried out.

PAQCOST.UNIT_NO
PAQUNTE.++
source <xs:element name="Organization">
 
<xs:annotation>
   
<xs:documentation>Organization unit where the service was carried out.

PAQCOST.UNIT_NO
PAQUNTE.++
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="OrganizationTypeEconomy">
       
<xs:sequence>
         
<xs:element name="AdditionalIds" type="AdditionalIdListEconomy" minOccurs="0">
           
<xs:annotation>
             
<xs:documentation>Additional ids for the orgnaization unit</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element EconomyTransactionDetailType/Organization/AdditionalIds
diagram EconomyWS_p69.png
type AdditionalIdListEconomy
properties
minOcc 0
maxOcc 1
content complex
children AdditionalId
annotation
documentation
Additional ids for the orgnaization unit
source <xs:element name="AdditionalIds" type="AdditionalIdListEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Additional ids for the orgnaization unit</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Requesters
diagram EconomyWS_p70.png
properties
content complex
children Requester OtherDebtor
annotation
documentation
Rekvirentkode.
Brukes for å finne rekvirentens faktureringsmåte.
source <xs:element name="Requesters">
 
<xs:annotation>
   
<xs:documentation>Rekvirentkode.
Brukes for å finne rekvirentens faktureringsmåte.
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="Requester" type="IdCodeNameTypeEconomy">
       
<xs:annotation>
         
<xs:documentation>Requester code
The orginal requester for the treatment. RequesterWS.ListRequesters
PAQCOST.REQR_CODE_ORG
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="OtherDebtor" type="IdCodeNameTypeEconomy" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Other payer if not requester pays.
Requester code is input.
The requestercode is used for finding the payers unit(enhet) in HIS90 PAS. Valid requestercodes can be found by RequesterWS.ListRequesters
PAQCOST.OTHER_DEBTOR
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element EconomyTransactionDetailType/Requesters/Requester
diagram EconomyWS_p71.png
type IdCodeNameTypeEconomy
properties
content complex
children Id TypeOfId Code Name
annotation
documentation
Requester code
The orginal requester for the treatment. RequesterWS.ListRequesters
PAQCOST.REQR_CODE_ORG
source <xs:element name="Requester" type="IdCodeNameTypeEconomy">
 
<xs:annotation>
   
<xs:documentation>Requester code
The orginal requester for the treatment. RequesterWS.ListRequesters
PAQCOST.REQR_CODE_ORG
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Requesters/OtherDebtor
diagram EconomyWS_p72.png
type IdCodeNameTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId Code Name
annotation
documentation
Other payer if not requester pays.
Requester code is input.
The requestercode is used for finding the payers unit(enhet) in HIS90 PAS. Valid requestercodes can be found by RequesterWS.ListRequesters
PAQCOST.OTHER_DEBTOR
source <xs:element name="OtherDebtor" type="IdCodeNameTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Other payer if not requester pays.
Requester code is input.
The requestercode is used for finding the payers unit(enhet) in HIS90 PAS. Valid requestercodes can be found by RequesterWS.ListRequesters
PAQCOST.OTHER_DEBTOR
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Resources
diagram EconomyWS_p73.png
type extension of ResourceTypeEconomy
properties
minOcc 0
maxOcc unbounded
content complex
children ResourceId TypeOfId Code Name Property TypeOfResource
annotation
documentation
Resource for economy row.
Internal resourceid.

Valid resource ids can be found by using OrganizationWS.ListResources
HIS90: Behandlende ressurs. Treated by resource.
PAQCOST.TREATED_BY
source <xs:element name="Resources" minOccurs="0" maxOccurs="unbounded">
 
<xs:annotation>
   
<xs:documentation>Resource for economy row.
Internal resourceid.

Valid resource ids can be found by using OrganizationWS.ListResources
HIS90: Behandlende ressurs. Treated by resource.
PAQCOST.TREATED_BY
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="ResourceTypeEconomy">
       
<xs:sequence>
         
<xs:element name="TypeOfResource" type="xs:string">
           
<xs:annotation>
             
<xs:documentation>Type of resource.
Valid values:
- TreatedBy
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element EconomyTransactionDetailType/Resources/TypeOfResource
diagram EconomyWS_p74.png
type xs:string
properties
content simple
annotation
documentation
Type of resource.
Valid values:
- TreatedBy
source <xs:element name="TypeOfResource" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of resource.
Valid values:
- TreatedBy
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Municipality
diagram EconomyWS_p75.png
type CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
The patient's municipality code.Valid municipality codes can be found by using CommonCodesWS.ListMunicipalityCodes

PAQCOST.COUNTY
PAQCOST.MUNICIPALITY
source <xs:element name="Municipality" type="CodeTextTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>The patient's municipality code.Valid municipality codes can be found by using CommonCodesWS.ListMunicipalityCodes

PAQCOST.COUNTY
PAQCOST.MUNICIPALITY
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/FromDate
diagram EconomyWS_p76.png
type xs:date
properties
content simple
annotation
documentation
HIS90: For tjenester av type:
LAB: prøve verifisert dato
Pol.klin.: besøksdato
Sengepost: innleggelsesdato

PAQCOST.DATE_IN
source <xs:element name="FromDate" type="xs:date">
 
<xs:annotation>
   
<xs:documentation>HIS90: For tjenester av type:
LAB: prøve verifisert dato
Pol.klin.: besøksdato
Sengepost: innleggelsesdato

PAQCOST.DATE_IN
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/ToDate
diagram EconomyWS_p77.png
type xs:date
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
HIS90: Angir varighet ved f.eks tjeneste på sengepost. For andre Source er den ellers lik FromDate.
PAQCOST.DATE_OUT
source <xs:element name="ToDate" type="xs:date" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>HIS90: Angir varighet ved f.eks tjeneste på sengepost. For andre Source er den ellers lik FromDate.
PAQCOST.DATE_OUT
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/DebitDate
diagram EconomyWS_p78.png
type xs:date
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Date for debit or credit. HIS90: Registreringsdato. Dato brukes som gyldighetsintervall for takstkode
PAQCOST.INSERTED_DATE
source <xs:element name="DebitDate" type="xs:date" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Date for debit or credit. HIS90: Registreringsdato. Dato brukes som gyldighetsintervall for takstkode
PAQCOST.INSERTED_DATE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/DebitCredit
diagram EconomyWS_p79.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Positive sign(+) is used for debit and negative(-) sign for crediting.
If omitted/blank the default is +
PAQCOST.DEBIT_CREDIT
source <xs:element name="DebitCredit" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Positive sign(+) is used for debit and negative(-) sign for crediting.
If omitted/blank the default is +
PAQCOST.DEBIT_CREDIT
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Multiplier
diagram EconomyWS_p80.png
type xs:decimal
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Multiplier, used to multiply the number of lines inserted into PAQCOST. For prosang integration only positive whole numbers is accepted.
If omitted/blank the default is 1,00
PAQCOST.MULTIPLIER
source <xs:element name="Multiplier" type="xs:decimal" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Multiplier, used to multiply the number of lines inserted into PAQCOST. For prosang integration only positive whole numbers is accepted.
If omitted/blank the default is 1,00
PAQCOST.MULTIPLIER
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Amount
diagram EconomyWS_p81.png
properties
content complex
children SocialInsurance County PatientPay Equipment
annotation
documentation
The amounts related to the economy transaction row
source <xs:element name="Amount">
 
<xs:annotation>
   
<xs:documentation>The amounts related to the economy transaction row</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="SocialInsurance" type="xs:decimal">
       
<xs:annotation>
         
<xs:documentation>NAV/Trugdekontor del
PAQCOST.AMOUNT_SOCIAL_INSURANCE
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="County" type="xs:decimal">
       
<xs:annotation>
         
<xs:documentation>Fylkesdel
PAQCOST.AMOUNT_COUNTY
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="PatientPay" type="xs:decimal">
       
<xs:annotation>
         
<xs:documentation>Egenandel
PAQCOST.AMOUNT_PATIENT_PAY
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Equipment" type="xs:decimal">
       
<xs:annotation>
         
<xs:documentation>Rekvesita
PAQCOST.AMOUNT_EQUIPMENT
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element EconomyTransactionDetailType/Amount/SocialInsurance
diagram EconomyWS_p82.png
type xs:decimal
properties
content simple
annotation
documentation
NAV/Trugdekontor del
PAQCOST.AMOUNT_SOCIAL_INSURANCE
source <xs:element name="SocialInsurance" type="xs:decimal">
 
<xs:annotation>
   
<xs:documentation>NAV/Trugdekontor del
PAQCOST.AMOUNT_SOCIAL_INSURANCE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Amount/County
diagram EconomyWS_p83.png
type xs:decimal
properties
content simple
annotation
documentation
Fylkesdel
PAQCOST.AMOUNT_COUNTY
source <xs:element name="County" type="xs:decimal">
 
<xs:annotation>
   
<xs:documentation>Fylkesdel
PAQCOST.AMOUNT_COUNTY
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Amount/PatientPay
diagram EconomyWS_p84.png
type xs:decimal
properties
content simple
annotation
documentation
Egenandel
PAQCOST.AMOUNT_PATIENT_PAY
source <xs:element name="PatientPay" type="xs:decimal">
 
<xs:annotation>
   
<xs:documentation>Egenandel
PAQCOST.AMOUNT_PATIENT_PAY
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Amount/Equipment
diagram EconomyWS_p85.png
type xs:decimal
properties
content simple
annotation
documentation
Rekvesita
PAQCOST.AMOUNT_EQUIPMENT
source <xs:element name="Equipment" type="xs:decimal">
 
<xs:annotation>
   
<xs:documentation>Rekvesita
PAQCOST.AMOUNT_EQUIPMENT
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Debtor
diagram EconomyWS_p86.png
properties
minOcc 0
maxOcc 1
content complex
children SocialInsurance County PatientPay Equipment
annotation
documentation
Information about who is paying the different amounts
Valid values:‘’/blank/space - None/Ingen betaler
1 - Patient/Pasienten
2 - NAV/Trygdekontoret
3 - External other/Ekstern annen betaler
4 - Internal other/Intern annen betaler
5 - County/Fylke
9 - No payer/Ingen betaler
source <xs:element name="Debtor" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Information about who is paying the different amounts
Valid values:‘’/blank/space - None/Ingen betaler
1 - Patient/Pasienten
2 - NAV/Trygdekontoret
3 - External other/Ekstern annen betaler
4 - Internal other/Intern annen betaler
5 - County/Fylke
9 - No payer/Ingen betaler
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="SocialInsurance" type="CodeTextTypeEconomy" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>PAQCOST.DEBTOR_SOCIAL_INSURANCE</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="County" type="CodeTextTypeEconomy" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>PAQCOST.DEBTOR_COUNTY</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="PatientPay" type="CodeTextTypeEconomy" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>PAQCOST.DEBTOR_PATIENT_PAY</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="Equipment" type="CodeTextTypeEconomy" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>PAQCOST.DEBTOR_EQUIPMENT</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element EconomyTransactionDetailType/Debtor/SocialInsurance
diagram EconomyWS_p87.png
type CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
PAQCOST.DEBTOR_SOCIAL_INSURANCE
source <xs:element name="SocialInsurance" type="CodeTextTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>PAQCOST.DEBTOR_SOCIAL_INSURANCE</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Debtor/County
diagram EconomyWS_p88.png
type CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
PAQCOST.DEBTOR_COUNTY
source <xs:element name="County" type="CodeTextTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>PAQCOST.DEBTOR_COUNTY</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Debtor/PatientPay
diagram EconomyWS_p89.png
type CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
PAQCOST.DEBTOR_PATIENT_PAY
source <xs:element name="PatientPay" type="CodeTextTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>PAQCOST.DEBTOR_PATIENT_PAY</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Debtor/Equipment
diagram EconomyWS_p90.png
type CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
PAQCOST.DEBTOR_EQUIPMENT
source <xs:element name="Equipment" type="CodeTextTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>PAQCOST.DEBTOR_EQUIPMENT</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/PaymentMethod
diagram EconomyWS_p91.png
type CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Paymentmethod, only used for x-ray and poliklinikk.
Valid PaymentMehod codes can be found by using CommonCodesWS.PaymentMethodCodes

PAQCOST.PAYMENT_METHOD
source <xs:element name="PaymentMethod" type="CodeTextTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Paymentmethod, only used for x-ray and poliklinikk.
Valid PaymentMehod codes can be found by using CommonCodesWS.PaymentMethodCodes

PAQCOST.PAYMENT_METHOD
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/CashBox
diagram EconomyWS_p92.png
type CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Only used for røntgen and poliklinikk.
Valid CashBox codes can be found by CommonCodesWS.CashCodes
HIS90: If not in input CashBox will be set default to 01
PAQCOST.CASHBOX_CODE
source <xs:element name="CashBox" type="CodeTextTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Only used for røntgen and poliklinikk.
Valid CashBox codes can be found by CommonCodesWS.CashCodes
HIS90: If not in input CashBox will be set default to 01
PAQCOST.CASHBOX_CODE
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionDetailType/Visit
diagram EconomyWS_p93.png
properties
minOcc 0
maxOcc 1
content complex
children VisitNumber
source <xs:element name="Visit" minOccurs="0">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="VisitNumber" type="xs:string" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation>Unique visit number
PAQCOST.VISIT_NUMBER
</xs:documentation>
       
</xs:annotation>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element EconomyTransactionDetailType/Visit/VisitNumber
diagram EconomyWS_p94.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Unique visit number
PAQCOST.VISIT_NUMBER
source <xs:element name="VisitNumber" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Unique visit number
PAQCOST.VISIT_NUMBER
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType EconomyTransactionType
diagram EconomyWS_p95.png
children EconomyTransaction Registration Update
used by
elements GetEconomyTransactionsResponse/EconomyRows SaveEconomyTransactionRequest SaveEconomyTransactionResponse
annotation
documentation
Type with economy data for inserting/deleting including registration/update info
source <xs:complexType name="EconomyTransactionType">
 
<xs:annotation>
   
<xs:documentation>Type with economy data for inserting/deleting including registration/update info</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="EconomyTransaction" type="EconomyTransactionDetailType"/>
   
<xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Unit registration
PAQCOST.INSERTED
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Update" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Information about update or modification of unit
PAQCOST.UPDATED
</xs:documentation>
     
</xs:annotation>
     
<xs:complexType>
       
<xs:complexContent>
         
<xs:extension base="InsertedChangedByType">
           
<xs:sequence minOccurs="0">
             
<xs:element name="UpdateCount" type="xs:int">
               
<xs:annotation>
                 
<xs:documentation>Count used for concurrency testing when waiting list is updated.
PAQCOST.UPDATE_COUNT
</xs:documentation>
               
</xs:annotation>
             
</xs:element>
           
</xs:sequence>
         
</xs:extension>
       
</xs:complexContent>
     
</xs:complexType>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element EconomyTransactionType/EconomyTransaction
diagram EconomyWS_p96.png
type EconomyTransactionDetailType
properties
content complex
children PatientId EconomyTransactionId ContactId BillNumberId BillNumber Status Source Codes Organization Requesters Resources Municipality FromDate ToDate DebitDate DebitCredit Multiplier Amount Debtor PaymentMethod CashBox Visit
source <xs:element name="EconomyTransaction" type="EconomyTransactionDetailType"/>

element EconomyTransactionType/Registration
diagram EconomyWS_p97.png
type InsertedChangedByType
properties
minOcc 0
maxOcc 1
content complex
children Date Name Organization SignedBy
annotation
documentation
Unit registration
PAQCOST.INSERTED
source <xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Unit registration
PAQCOST.INSERTED
</xs:documentation>
 
</xs:annotation>
</xs:element>

element EconomyTransactionType/Update
diagram EconomyWS_p98.png
type extension of InsertedChangedByType
properties
minOcc 0
maxOcc 1
content complex
children Date Name Organization SignedBy UpdateCount
annotation
documentation
Information about update or modification of unit
PAQCOST.UPDATED
source <xs:element name="Update" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Information about update or modification of unit
PAQCOST.UPDATED
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="InsertedChangedByType">
       
<xs:sequence minOccurs="0">
         
<xs:element name="UpdateCount" type="xs:int">
           
<xs:annotation>
             
<xs:documentation>Count used for concurrency testing when waiting list is updated.
PAQCOST.UPDATE_COUNT
</xs:documentation>
           
</xs:annotation>
         
</xs:element>
       
</xs:sequence>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

element EconomyTransactionType/Update/UpdateCount
diagram EconomyWS_p99.png
type xs:int
properties
content simple
annotation
documentation
Count used for concurrency testing when waiting list is updated.
PAQCOST.UPDATE_COUNT
source <xs:element name="UpdateCount" type="xs:int">
 
<xs:annotation>
   
<xs:documentation>Count used for concurrency testing when waiting list is updated.
PAQCOST.UPDATE_COUNT
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType GiroType
diagram EconomyWS_p100.png
children Patient KID VisitDateTime Organization PaymentMethod Amount Update
used by
elements GetGiroResponse SaveGiroRequest SaveGiroResponse
annotation
documentation
Type for giro data
source <xs:complexType name="GiroType">
 
<xs:annotation>
   
<xs:documentation>Type for giro data</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Patient" type="PatientIdTypeEconmy"/>
   
<xs:element name="KID" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>KID id for selected giro.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="VisitDateTime" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date and time of visit/consultancy</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Organization" type="OrganizationTypeEconomy" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Organization where visit/consultancy took place</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="PaymentMethod" type="CodeTextTypeEconomy" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Paymentmethod, only used for x-ray and poliklinikk.
Valid PaymentMehod codes can be found by using CommonCodesWS.PaymentMethodCodes
HIS90: If PaymentMethod.Code is null/Blank/Misssing then 2 for Giro is set auti

</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Amount" type="xs:decimal">
     
<xs:annotation>
       
<xs:documentation>Bill amount </xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Update" type="InsertedChangedByType" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element GiroType/Patient
diagram EconomyWS_p101.png
type PatientIdTypeEconmy
properties
content complex
children PatientId
source <xs:element name="Patient" type="PatientIdTypeEconmy"/>

element GiroType/KID
diagram EconomyWS_p102.png
type xs:string
properties
content simple
annotation
documentation
KID id for selected giro.
source <xs:element name="KID" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>KID id for selected giro.</xs:documentation>
 
</xs:annotation>
</xs:element>

element GiroType/VisitDateTime
diagram EconomyWS_p103.png
type xs:dateTime
properties
content simple
annotation
documentation
Date and time of visit/consultancy
source <xs:element name="VisitDateTime" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date and time of visit/consultancy</xs:documentation>
 
</xs:annotation>
</xs:element>

element GiroType/Organization
diagram EconomyWS_p104.png
type OrganizationTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organization where visit/consultancy took place
source <xs:element name="Organization" type="OrganizationTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization where visit/consultancy took place</xs:documentation>
 
</xs:annotation>
</xs:element>

element GiroType/PaymentMethod
diagram EconomyWS_p105.png
type CodeTextTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Code Text
annotation
documentation
Paymentmethod, only used for x-ray and poliklinikk.
Valid PaymentMehod codes can be found by using CommonCodesWS.PaymentMethodCodes
HIS90: If PaymentMethod.Code is null/Blank/Misssing then 2 for Giro is set auti

source <xs:element name="PaymentMethod" type="CodeTextTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Paymentmethod, only used for x-ray and poliklinikk.
Valid PaymentMehod codes can be found by using CommonCodesWS.PaymentMethodCodes
HIS90: If PaymentMethod.Code is null/Blank/Misssing then 2 for Giro is set auti

</xs:documentation>
 
</xs:annotation>
</xs:element>

element GiroType/Amount
diagram EconomyWS_p106.png
type xs:decimal
properties
content simple
annotation
documentation
Bill amount
source <xs:element name="Amount" type="xs:decimal">
 
<xs:annotation>
   
<xs:documentation>Bill amount </xs:documentation>
 
</xs:annotation>
</xs:element>

element GiroType/Update
diagram EconomyWS_p107.png
type InsertedChangedByType
properties
minOcc 0
maxOcc 1
content complex
children Date Name Organization SignedBy
source <xs:element name="Update" type="InsertedChangedByType" minOccurs="0"/>

complexType IdCodeNameTypeEconomy
diagram EconomyWS_p108.png
children Id TypeOfId Code Name
used by
elements EconomyTransactionDetailType/Requesters/OtherDebtor EconomyTransactionDetailType/Requesters/Requester
source <xs:complexType name="IdCodeNameTypeEconomy">
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Type of Id

Empty/LOC = Unkown lLocal id in PAS
LIN = Local institution id
LIC = Local institution code
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
LRC=Local Requester code
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Code" type="xs:string" minOccurs="0"/>
   
<xs:element name="Name" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element IdCodeNameTypeEconomy/Id
diagram EconomyWS_p109.png
type xs:string
properties
content simple
annotation
documentation
Id
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element IdCodeNameTypeEconomy/TypeOfId
diagram EconomyWS_p110.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of Id

Empty/LOC = Unkown lLocal id in PAS
LIN = Local institution id
LIC = Local institution code
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
LRC=Local Requester code
source <xs:element name="TypeOfId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of Id

Empty/LOC = Unkown lLocal id in PAS
LIN = Local institution id
LIC = Local institution code
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
LRC=Local Requester code
</xs:documentation>
 
</xs:annotation>
</xs:element>

element IdCodeNameTypeEconomy/Code
diagram EconomyWS_p111.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Code" type="xs:string" minOccurs="0"/>

element IdCodeNameTypeEconomy/Name
diagram EconomyWS_p112.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Name" type="xs:string" minOccurs="0"/>

complexType InsertedChangedByType
diagram EconomyWS_p113.png
children Date Name Organization SignedBy
used by
elements EconomyTransactionType/Registration EconomyTransactionType/Update GiroType/Update
annotation
documentation
Type with information about registration and update of data/information
source <xs:complexType name="InsertedChangedByType">
 
<xs:annotation>
   
<xs:documentation>Type with information about registration and update of data/information</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Date" type="xs:dateTime">
     
<xs:annotation>
       
<xs:documentation>Date when inserted/last modified.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Name" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Organization Name</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Organization" type="OrganizationTypeEconomy" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Organization responsible for insertion/last modification of the instance. </xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="SignedBy" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Initials of user that inserted/modified the instance.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element InsertedChangedByType/Date
diagram EconomyWS_p114.png
type xs:dateTime
properties
content simple
annotation
documentation
Date when inserted/last modified.
source <xs:element name="Date" type="xs:dateTime">
 
<xs:annotation>
   
<xs:documentation>Date when inserted/last modified.</xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/Name
diagram EconomyWS_p115.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Organization Name
source <xs:element name="Name" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization Name</xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/Organization
diagram EconomyWS_p116.png
type OrganizationTypeEconomy
properties
minOcc 0
maxOcc 1
content complex
children Id TypeOfId ShortNameId Name
annotation
documentation
Organization responsible for insertion/last modification of the instance.
source <xs:element name="Organization" type="OrganizationTypeEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Organization responsible for insertion/last modification of the instance. </xs:documentation>
 
</xs:annotation>
</xs:element>

element InsertedChangedByType/SignedBy
diagram EconomyWS_p117.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Initials of user that inserted/modified the instance.
source <xs:element name="SignedBy" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Initials of user that inserted/modified the instance.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType OrganizationTypeEconomy
diagram EconomyWS_p118.png
children Id TypeOfId ShortNameId Name
used by
elements EconomyTransactionDetailType/Codes/Procedure/BelongsToOrganization GetCashBoxBalanceReportRequest/Organization EconomyTransactionDetailType/Organization GiroType/Organization InsertedChangedByType/Organization
complexType OrganizationTypeExtEconomy
annotation
documentation
Type for the organizational unit and additional ids
source <xs:complexType name="OrganizationTypeEconomy">
 
<xs:annotation>
   
<xs:documentation>Type for the organizational unit and additional ids</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Id" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Type of Id as defined by PAS.

Empty/LOC = Unkown lLocal id in PAS
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="ShortNameId" type="xs:string" minOccurs="0"/>
   
<xs:element name="Name" type="xs:string" minOccurs="0"/>
 
</xs:sequence>
</xs:complexType>

element OrganizationTypeEconomy/Id
diagram EconomyWS_p119.png
type xs:string
properties
content simple
annotation
documentation
Id
source <xs:element name="Id" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationTypeEconomy/TypeOfId
diagram EconomyWS_p120.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Type of Id as defined by PAS.

Empty/LOC = Unkown lLocal id in PAS
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
source <xs:element name="TypeOfId" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Type of Id as defined by PAS.

Empty/LOC = Unkown lLocal id in PAS
LIN = Local institution id
LAV = Local medical unit /department id
LEN = Local care unit id
LUI = Local Unique Id
HER = HER id
</xs:documentation>
 
</xs:annotation>
</xs:element>

element OrganizationTypeEconomy/ShortNameId
diagram EconomyWS_p121.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="ShortNameId" type="xs:string" minOccurs="0"/>

element OrganizationTypeEconomy/Name
diagram EconomyWS_p122.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Name" type="xs:string" minOccurs="0"/>

complexType OrganizationTypeExtEconomy
diagram EconomyWS_p123.png
type extension of OrganizationTypeEconomy
properties
base OrganizationTypeEconomy
children Id TypeOfId ShortNameId Name AdditionalIds
used by
elements CashBoxBalanceReportItemType/OrganizationUnits/CareUnit CashBoxBalanceReportItemType/OrganizationUnits/MedicalUnit
annotation
documentation
Type for the organizational unit and additional ids
source <xs:complexType name="OrganizationTypeExtEconomy">
 
<xs:annotation>
   
<xs:documentation>Type for the organizational unit and additional ids</xs:documentation>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="OrganizationTypeEconomy">
     
<xs:sequence>
       
<xs:element name="AdditionalIds" type="AdditionalIdListEconomy" minOccurs="0">
         
<xs:annotation>
           
<xs:documentation>Additional ids for the organization</xs:documentation>
         
</xs:annotation>
       
</xs:element>
     
</xs:sequence>
   
</xs:extension>
 
</xs:complexContent>
</xs:complexType>

element OrganizationTypeExtEconomy/AdditionalIds
diagram EconomyWS_p124.png
type AdditionalIdListEconomy
properties
minOcc 0
maxOcc 1
content complex
children AdditionalId
annotation
documentation
Additional ids for the organization
source <xs:element name="AdditionalIds" type="AdditionalIdListEconomy" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Additional ids for the organization</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType PatientIdTypeEconmy
diagram EconomyWS_p125.png
children PatientId
used by
element GiroType/Patient
source <xs:complexType name="PatientIdTypeEconmy">
 
<xs:sequence>
   
<xs:element name="PatientId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal patient id (PID) for the HIS.
Use PatientWS GetPatient or ListPatients methods to get a patient's id.
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element PatientIdTypeEconmy/PatientId
diagram EconomyWS_p126.png
type xs:string
properties
content simple
annotation
documentation
Internal patient id (PID) for the HIS.
Use PatientWS GetPatient or ListPatients methods to get a patient's id.
source <xs:element name="PatientId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal patient id (PID) for the HIS.
Use PatientWS GetPatient or ListPatients methods to get a patient's id.
</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType ResourceTypeEconomy
diagram EconomyWS_p127.png
children ResourceId TypeOfId Code Name Property
used by
element EconomyTransactionDetailType/Resources
source <xs:complexType name="ResourceTypeEconomy">
 
<xs:sequence>
   
<xs:element name="ResourceId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Internal Id</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="TypeOfId" type="xs:string">
     
<xs:annotation>
       
<xs:documentation>Type of Id
For internal id set to LRC
</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="Code" type="xs:string" minOccurs="0"/>
   
<xs:element name="Name" type="xs:string" minOccurs="0"/>
   
<xs:element name="Property" type="xs:string" minOccurs="0">
     
<xs:annotation>
       
<xs:documentation>Resource type</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element ResourceTypeEconomy/ResourceId
diagram EconomyWS_p128.png
type xs:string
properties
content simple
annotation
documentation
Internal Id
source <xs:element name="ResourceId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Internal Id</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceTypeEconomy/TypeOfId
diagram EconomyWS_p129.png
type xs:string
properties
content simple
annotation
documentation
Type of Id
For internal id set to LRC
source <xs:element name="TypeOfId" type="xs:string">
 
<xs:annotation>
   
<xs:documentation>Type of Id
For internal id set to LRC
</xs:documentation>
 
</xs:annotation>
</xs:element>

element ResourceTypeEconomy/Code
diagram EconomyWS_p130.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Code" type="xs:string" minOccurs="0"/>

element ResourceTypeEconomy/Name
diagram EconomyWS_p131.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
source <xs:element name="Name" type="xs:string" minOccurs="0"/>

element ResourceTypeEconomy/Property
diagram EconomyWS_p132.png
type xs:string
properties
minOcc 0
maxOcc 1
content simple
annotation
documentation
Resource type
source <xs:element name="Property" type="xs:string" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation>Resource type</xs:documentation>
 
</xs:annotation>
</xs:element>

simpleType EconommyRowStatus
type restriction of xs:string
properties
base xs:string
used by
element EconomyTransactionDetailType/Status
facets
Kind Value Annotation
enumeration NotSet
enumeration Active
enumeration Cancelled
source <xs:simpleType name="EconommyRowStatus">
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="NotSet"/>
   
<xs:enumeration value="Active"/>
   
<xs:enumeration value="Cancelled"/>
 
</xs:restriction>
</xs:simpleType>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy