xoev-xwasser 0.503.0 → 0.503.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +1 -1
- package/xoev_xwasser.d.ts +339 -327
- package/xoev_xwasser.js +35 -4
- package/xoev_xwasser_bg.wasm +0 -0
- package/xoev_xwasser_bg.wasm.d.ts +1 -0
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@ The XÖV data exchange standard XWasser is used for the digital exchange of data
|
|
|
4
4
|
The standard therefore also covers the direct transmission of test reports from approved testing institutes (laboratories) to the health authorities as well as the annual transmission of drinking water quality data by the health authorities to the competent supreme state authority (OLB), which is subject to reporting requirements.
|
|
5
5
|
The XWasser standard is part of the project "Nationwide standardized digital data exchange for drinking water hygiene (SHAPTH)" of all 16 federal states within the framework of the Pact for the Public Health Service (ÖGD).
|
|
6
6
|
|
|
7
|
+
|
|
7
8
|
## Legal
|
|
8
9
|
|
|
9
10
|
Licensed under `MIT` license.
|
package/package.json
CHANGED
package/xoev_xwasser.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
+
* @param {string} xml
|
|
5
|
+
* @returns {string}
|
|
6
|
+
*/
|
|
7
|
+
export function detect_version(xml: string): string;
|
|
8
|
+
/**
|
|
4
9
|
* @param {VorgangTransportieren2010} data
|
|
5
10
|
* @returns {string}
|
|
6
11
|
*/
|
|
@@ -612,104 +617,6 @@ export interface UntersuchungsplanType {
|
|
|
612
617
|
id: string;
|
|
613
618
|
}
|
|
614
619
|
|
|
615
|
-
export interface AdministrationQuittung0020 {
|
|
616
|
-
produkt: string;
|
|
617
|
-
test: boolean | undefined;
|
|
618
|
-
nachrichtenkopf_g2g: NachrichtenkopfG2g;
|
|
619
|
-
identifikation_vorgang: IdentifikationVorgang;
|
|
620
|
-
quittung: QuittungType;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
export interface QuittungType {
|
|
624
|
-
aktueller_status_technisch: CodeStatusTechnischType;
|
|
625
|
-
vorheriger_status_technisch: CodeStatusTechnischType | undefined;
|
|
626
|
-
grund: string | undefined;
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
export interface XWasserXoevCode {
|
|
630
|
-
code: string;
|
|
631
|
-
name: string | undefined;
|
|
632
|
-
list_uri: string | undefined;
|
|
633
|
-
list_version_id: string | undefined;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
export interface VerwaltungspolitischeKodierungType {
|
|
637
|
-
kreis: CodeKreisType | undefined;
|
|
638
|
-
bezirk: CodeBezirkType | undefined;
|
|
639
|
-
bundesland: CodeBundeslandType | undefined;
|
|
640
|
-
gemeindeschluessel: CodeAgsType | undefined;
|
|
641
|
-
regionalschluessel: CodeRegionalschluesselType | undefined;
|
|
642
|
-
nation: StaatType | undefined;
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
export interface BehoerdeType {
|
|
646
|
-
id: string | undefined;
|
|
647
|
-
typ: XWasserXoevCode | undefined;
|
|
648
|
-
zusatz: string | undefined;
|
|
649
|
-
behoerdenkennung: BehoerdenkennungType | undefined;
|
|
650
|
-
kommunikation?: KommunikationType[];
|
|
651
|
-
behoerdenidentifikation: IdentifikationType | undefined;
|
|
652
|
-
behoerdenname?: NameOrganisationType | undefined;
|
|
653
|
-
nachgeordnete_behoerde?: BehoerdeType[];
|
|
654
|
-
verwaltungspolitische_zustaendigkeit?: VerwaltungspolitischeKodierungType[];
|
|
655
|
-
anschrift?: AnschriftType[];
|
|
656
|
-
organisationsstruktur?: OrganisationseinheitType[];
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
export interface BehoerdenkennungType {
|
|
660
|
-
kennung?: CodeBehoerdenkennungType[];
|
|
661
|
-
praefix?: CodePraefixType[];
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
export interface ZustaendigeBehoerdeType {
|
|
665
|
-
id: string | undefined;
|
|
666
|
-
typ: XWasserXoevCode | undefined;
|
|
667
|
-
zusatz: string | undefined;
|
|
668
|
-
behoerdenkennung: BehoerdenkennungType | undefined;
|
|
669
|
-
kommunikation?: KommunikationType[];
|
|
670
|
-
behoerdenidentifikation: IdentifikationType | undefined;
|
|
671
|
-
behoerdenname?: NameOrganisationType | undefined;
|
|
672
|
-
nachgeordnete_behoerde?: BehoerdeType[];
|
|
673
|
-
verwaltungspolitische_zustaendigkeit?: VerwaltungspolitischeKodierungType[];
|
|
674
|
-
anschrift?: AnschriftType[];
|
|
675
|
-
organisationsstruktur?: OrganisationseinheitType[];
|
|
676
|
-
anlage_nach_trinkw_vid?: string[];
|
|
677
|
-
laenderkuerzel: CodeLaenderkennzeichenType;
|
|
678
|
-
kommentar: string | undefined;
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
export interface PruefberichtType {
|
|
682
|
-
pruefbericht_uuid: string;
|
|
683
|
-
vorgaenger_pruefbericht_id: string | undefined;
|
|
684
|
-
auftragsnummer: string;
|
|
685
|
-
probennahmestelle?: ProbennahmestelleType[];
|
|
686
|
-
name_beauftragte_untersuchungsstelle: CodeUntersuchungsstelleType;
|
|
687
|
-
probennehmer: ProbennehmerType[];
|
|
688
|
-
pruefbericht_enthaelt_teilergebnisse?: boolean;
|
|
689
|
-
korrekturvermerk: string | undefined;
|
|
690
|
-
pruefbericht_gem_vorgaben_akkredition: boolean;
|
|
691
|
-
titel: string;
|
|
692
|
-
gesamtbewertung: CodeGesamtbewertungType;
|
|
693
|
-
auffaelligkeiten?: string[];
|
|
694
|
-
zeitpunkt_validierung_pruefbericht: string;
|
|
695
|
-
fuer_validierung_verantwortliche_person?: NatuerlichePersonType[];
|
|
696
|
-
freigabe_uebermittlung_betreiber?: boolean;
|
|
697
|
-
pruefbericht_id_labor: string;
|
|
698
|
-
sw_version: string;
|
|
699
|
-
sprache_pruefbericht: CodeAmtsspracheEuType;
|
|
700
|
-
rechtlicher_disclaimer: string;
|
|
701
|
-
zeitpunkt_uebermittlung_an_shapth: string;
|
|
702
|
-
kommentar: string | undefined;
|
|
703
|
-
auftraggeber: AuftraggeberType;
|
|
704
|
-
zustaendige_behoerde?: ZustaendigeBehoerdeType[];
|
|
705
|
-
beauftragte_untersuchungsstelle: BeauftragteUntersuchungsstelleType;
|
|
706
|
-
zugelassene_untersuchungsstelle?: ZugelasseneUntersuchungsstelleType[];
|
|
707
|
-
ort_der_labortaetigkeiten?: AnschriftType[];
|
|
708
|
-
anhang?: string[];
|
|
709
|
-
erweiterung: ErweiterungType | undefined;
|
|
710
|
-
id: string;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
620
|
export interface AnalyseergebnisParameterType {
|
|
714
621
|
analyseergebnis_parameter_id: string;
|
|
715
622
|
anschrift_id: string;
|
|
@@ -797,86 +704,55 @@ export interface ProbennehmerType {
|
|
|
797
704
|
|
|
798
705
|
export type Probennehmer = { t: "Organisation"; c: OrganisationType } | { t: "NatuerlichePerson"; c: NatuerlichePersonType } | { t: "ZustaendigeBehoerde"; c: ZustaendigeBehoerdeType };
|
|
799
706
|
|
|
800
|
-
export interface
|
|
801
|
-
vorgangs_id: string;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
export interface Vorgang {
|
|
805
|
-
identifikation_vorgang: IdentifikationVorgang;
|
|
806
|
-
vorgang_type: VorgangType;
|
|
807
|
-
bemerkung: string | undefined;
|
|
808
|
-
anlage?: DokumentType[];
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
export interface DokumentType {
|
|
812
|
-
dokument_typ: CodeDokumenttypType;
|
|
813
|
-
name: string;
|
|
814
|
-
aktuelle_version: string | undefined;
|
|
815
|
-
letzte_version: string | undefined;
|
|
816
|
-
dokument_repraesentation: DokumentRepraesentationType;
|
|
817
|
-
person_referenz_id?: string[];
|
|
818
|
-
dokument_id: string;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
export type VorgangType = { t: "Pruefbericht"; c: PruefberichtType } | { t: "Untersuchungsplan"; c: UntersuchungsplanType } | { t: "OlbBericht"; c: DokumentType } | { t: "None" };
|
|
822
|
-
|
|
823
|
-
export interface StaatType {
|
|
824
|
-
staat: CodeStaatType;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
export interface StaatsangehoerigkeitType {
|
|
828
|
-
staatsangehoerigkeit: CodeStaatsangehoerigkeitType;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
export interface SpracheType {
|
|
832
|
-
sprache: CodeSpracheType;
|
|
833
|
-
zusatz: string | undefined;
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
export interface KommunikationType {
|
|
837
|
-
kanal: CodeKommunikationType | undefined;
|
|
838
|
-
kennung: string | undefined;
|
|
839
|
-
ist_dienstlich: boolean | undefined;
|
|
840
|
-
zusatz: string | undefined;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
export interface Code {
|
|
707
|
+
export interface XWasserXoevCode {
|
|
844
708
|
code: string;
|
|
709
|
+
name: string | undefined;
|
|
710
|
+
list_uri: string | undefined;
|
|
711
|
+
list_version_id: string | undefined;
|
|
845
712
|
}
|
|
846
713
|
|
|
847
|
-
export interface
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
kennung: string;
|
|
868
|
-
name: string;
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
export interface Verzeichnisdienst {
|
|
872
|
-
code: Code;
|
|
714
|
+
export interface BeauftragteUntersuchungsstelleType {
|
|
715
|
+
id: string | undefined;
|
|
716
|
+
rechtsform: CodeRechtsformenType | undefined;
|
|
717
|
+
branche?: XWasserXoevCode[];
|
|
718
|
+
zweck?: XWasserXoevCode[];
|
|
719
|
+
name: NameOrganisationType | undefined;
|
|
720
|
+
unterorganisation?: OrganisationType[];
|
|
721
|
+
kommunikation?: KommunikationType[];
|
|
722
|
+
registrierung?: RegistrierungType[];
|
|
723
|
+
identifikation?: IdentifikationType[];
|
|
724
|
+
existenzzeitraum: ZeitraumType | undefined;
|
|
725
|
+
anschrift?: AnschriftType[];
|
|
726
|
+
zugelassene_untersuchungsstelle_id: string;
|
|
727
|
+
name_zugelassene_untersuchungsstelle: CodeUntersuchungsstelleType;
|
|
728
|
+
pruefgebiete_untersuchungen_phys_chem: boolean | undefined;
|
|
729
|
+
pruefgebiete_untersuchungen_mikrobio: boolean | undefined;
|
|
730
|
+
pruefgebiete_untersuchungen_radionuklide: boolean | undefined;
|
|
731
|
+
akkreditierungsnummer: string | undefined;
|
|
732
|
+
kommentar_zugelassene_untersuchungsstelle: string | undefined;
|
|
733
|
+
kommentar_beauftragte_untersuchungsstelle: string | undefined;
|
|
873
734
|
}
|
|
874
735
|
|
|
875
|
-
export interface
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
736
|
+
export interface ZugelasseneUntersuchungsstelleType {
|
|
737
|
+
id: string | undefined;
|
|
738
|
+
rechtsform: CodeRechtsformenType | undefined;
|
|
739
|
+
branche?: XWasserXoevCode[];
|
|
740
|
+
zweck?: XWasserXoevCode[];
|
|
741
|
+
name: NameOrganisationType | undefined;
|
|
742
|
+
unterorganisation?: OrganisationType[];
|
|
743
|
+
kommunikation?: KommunikationType[];
|
|
744
|
+
registrierung?: RegistrierungType[];
|
|
745
|
+
identifikation?: IdentifikationType[];
|
|
746
|
+
existenzzeitraum: ZeitraumType | undefined;
|
|
747
|
+
anschrift?: AnschriftType[];
|
|
748
|
+
zugelassene_untersuchungsstelle_id: string;
|
|
749
|
+
name_zugelassene_untersuchungsstelle: CodeUntersuchungsstelleType;
|
|
750
|
+
pruefgebiete_untersuchungen_phys_chem: boolean | undefined;
|
|
751
|
+
pruefgebiete_untersuchungen_mikrobio: boolean | undefined;
|
|
752
|
+
pruefgebiete_untersuchungen_radionuklide: boolean | undefined;
|
|
753
|
+
akkreditierungsnummer: string | undefined;
|
|
754
|
+
kommentar_beauftragte_untersuchungsstelle: string | undefined;
|
|
755
|
+
kommentar_zugelassene_untersuchungsstelle: string | undefined;
|
|
880
756
|
}
|
|
881
757
|
|
|
882
758
|
export interface GeokoordinatenShapthType {
|
|
@@ -918,164 +794,38 @@ export interface IdentifikationType {
|
|
|
918
794
|
gueltigkeit: ZeitraumType | undefined;
|
|
919
795
|
}
|
|
920
796
|
|
|
921
|
-
export interface
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
export interface SignaturenType {
|
|
944
|
-
signatur_dokument_id?: string[];
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
export interface AnschriftType {
|
|
948
|
-
strassenschluessel: XWasserXoevCode | undefined;
|
|
949
|
-
strasse: string | undefined;
|
|
950
|
-
hausnummer: string | undefined;
|
|
951
|
-
postfach: string | undefined;
|
|
952
|
-
postleitzahl: string | undefined;
|
|
953
|
-
ort: string | undefined;
|
|
954
|
-
ortsteil: string | undefined;
|
|
955
|
-
ort_frueherer_gemeindename: string | undefined;
|
|
956
|
-
wohnungsgeber: string | undefined;
|
|
957
|
-
zusatz: string | undefined;
|
|
958
|
-
typ?: CodeAnschrifttypType[];
|
|
959
|
-
staat: StaatType | undefined;
|
|
960
|
-
verwaltungspolitische_kodierung: VerwaltungspolitischeKodierungType | undefined;
|
|
961
|
-
id: string;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
export interface ZeitraumType {
|
|
965
|
-
beginn: string | undefined;
|
|
966
|
-
ende: string | undefined;
|
|
967
|
-
zusatz: string | undefined;
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
export interface OrganisationseinheitType {
|
|
971
|
-
name: string;
|
|
972
|
-
hierarchieebene: number | undefined;
|
|
973
|
-
hierarchiename: string | undefined;
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
export interface NameOrganisationType {
|
|
977
|
-
name: string | undefined;
|
|
978
|
-
kurzbezeichnung: string | undefined;
|
|
979
|
-
gueltigkeit: ZeitraumType | undefined;
|
|
980
|
-
}
|
|
981
|
-
|
|
982
|
-
export interface RegistrierungType {
|
|
983
|
-
id: string | undefined;
|
|
984
|
-
registertyp: XWasserXoevCode | undefined;
|
|
985
|
-
registrierende_behoerde: BehoerdeType[];
|
|
986
|
-
gueltigkeit: ZeitraumType | undefined;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
export interface OrganisationType {
|
|
990
|
-
rechtsform: CodeRechtsformenType | undefined;
|
|
991
|
-
branche?: XWasserXoevCode[];
|
|
992
|
-
zweck?: XWasserXoevCode[];
|
|
993
|
-
name: NameOrganisationType | undefined;
|
|
994
|
-
unterorganisation?: OrganisationType[];
|
|
995
|
-
kommunikation?: KommunikationType[];
|
|
996
|
-
registrierung?: RegistrierungType[];
|
|
997
|
-
identifikation?: IdentifikationType[];
|
|
998
|
-
existenzzeitraum: ZeitraumType | undefined;
|
|
999
|
-
anschrift?: AnschriftType[];
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
export interface ObjektType {
|
|
1003
|
-
objekt_id: string;
|
|
1004
|
-
wasserversorgungsgebiet: string | undefined;
|
|
1005
|
-
anschrift_objekt?: AnschriftType[];
|
|
1006
|
-
art_objekt: CodeArtObjektType;
|
|
1007
|
-
name_objekt: string;
|
|
1008
|
-
betriebszustand_des_objekts: CodeBetriebszustandType | undefined;
|
|
1009
|
-
datum_in_betriebnahme: string | undefined;
|
|
1010
|
-
datum_ausser_betriebnahme: string | undefined;
|
|
1011
|
-
rahmen_der_trinkwasserbereitstellung?: CodeRahmenTrinkwasserbereitstellungType[];
|
|
1012
|
-
geokoordinaten_objekt: GeokoordinatenShapthType;
|
|
1013
|
-
alt_id: string | undefined;
|
|
797
|
+
export interface PruefberichtType {
|
|
798
|
+
pruefbericht_uuid: string;
|
|
799
|
+
vorgaenger_pruefbericht_id: string | undefined;
|
|
800
|
+
auftragsnummer: string;
|
|
801
|
+
probennahmestelle?: ProbennahmestelleType[];
|
|
802
|
+
name_beauftragte_untersuchungsstelle: CodeUntersuchungsstelleType;
|
|
803
|
+
probennehmer: ProbennehmerType[];
|
|
804
|
+
pruefbericht_enthaelt_teilergebnisse?: boolean;
|
|
805
|
+
korrekturvermerk: string | undefined;
|
|
806
|
+
pruefbericht_gem_vorgaben_akkredition: boolean;
|
|
807
|
+
titel: string;
|
|
808
|
+
gesamtbewertung: CodeGesamtbewertungType;
|
|
809
|
+
auffaelligkeiten?: string[];
|
|
810
|
+
zeitpunkt_validierung_pruefbericht: string;
|
|
811
|
+
fuer_validierung_verantwortliche_person?: NatuerlichePersonType[];
|
|
812
|
+
freigabe_uebermittlung_betreiber?: boolean;
|
|
813
|
+
pruefbericht_id_labor: string;
|
|
814
|
+
sw_version: string;
|
|
815
|
+
sprache_pruefbericht: CodeAmtsspracheEuType;
|
|
816
|
+
rechtlicher_disclaimer: string;
|
|
817
|
+
zeitpunkt_uebermittlung_an_shapth: string;
|
|
1014
818
|
kommentar: string | undefined;
|
|
1015
|
-
|
|
1016
|
-
|
|
819
|
+
auftraggeber: AuftraggeberType;
|
|
820
|
+
zustaendige_behoerde?: ZustaendigeBehoerdeType[];
|
|
821
|
+
beauftragte_untersuchungsstelle: BeauftragteUntersuchungsstelleType;
|
|
822
|
+
zugelassene_untersuchungsstelle?: ZugelasseneUntersuchungsstelleType[];
|
|
823
|
+
ort_der_labortaetigkeiten?: AnschriftType[];
|
|
824
|
+
anhang?: string[];
|
|
825
|
+
erweiterung: ErweiterungType | undefined;
|
|
1017
826
|
id: string;
|
|
1018
827
|
}
|
|
1019
828
|
|
|
1020
|
-
export interface BetreiberType {
|
|
1021
|
-
betreiber_id: string;
|
|
1022
|
-
art_der_person: ArtDerPerson;
|
|
1023
|
-
objekt_id: string[];
|
|
1024
|
-
kommentar: string | undefined;
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
export type ArtDerPerson = { t: "Organisation"; c: OrganisationType } | { t: "NatuerlichePerson"; c: NatuerlichePersonType } | { t: "ZustaendigeBehoerde"; c: ZustaendigeBehoerdeType } | { t: "None" };
|
|
1028
|
-
|
|
1029
|
-
export type Auftraggeber = { t: "Organisation"; c: OrganisationType } | { t: "NatuerlichePerson"; c: NatuerlichePersonType } | { t: "ZustaendigeBehoerde"; c: ZustaendigeBehoerdeType } | { t: "None" };
|
|
1030
|
-
|
|
1031
|
-
export interface AuftraggeberType {
|
|
1032
|
-
auftraggeber_id: string;
|
|
1033
|
-
auftraggeberart: CodeAuftraggeberartType;
|
|
1034
|
-
auftraggeber: Auftraggeber;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
export interface BeauftragteUntersuchungsstelleType {
|
|
1038
|
-
rechtsform: CodeRechtsformenType | undefined;
|
|
1039
|
-
branche?: XWasserXoevCode[];
|
|
1040
|
-
zweck?: XWasserXoevCode[];
|
|
1041
|
-
name: NameOrganisationType | undefined;
|
|
1042
|
-
unterorganisation?: OrganisationType[];
|
|
1043
|
-
kommunikation?: KommunikationType[];
|
|
1044
|
-
registrierung?: RegistrierungType[];
|
|
1045
|
-
identifikation?: IdentifikationType[];
|
|
1046
|
-
existenzzeitraum: ZeitraumType | undefined;
|
|
1047
|
-
anschrift?: AnschriftType[];
|
|
1048
|
-
zugelassene_untersuchungsstelle_id: string;
|
|
1049
|
-
name_zugelassene_untersuchungsstelle: CodeUntersuchungsstelleType;
|
|
1050
|
-
pruefgebiete_untersuchungen_phys_chem: boolean | undefined;
|
|
1051
|
-
pruefgebiete_untersuchungen_mikrobio: boolean | undefined;
|
|
1052
|
-
pruefgebiete_untersuchungen_radionuklide: boolean | undefined;
|
|
1053
|
-
akkreditierungsnummer: string | undefined;
|
|
1054
|
-
kommentar_zugelassene_untersuchungsstelle: string | undefined;
|
|
1055
|
-
kommentar_beauftragte_untersuchungsstelle: string | undefined;
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
export interface ZugelasseneUntersuchungsstelleType {
|
|
1059
|
-
rechtsform: CodeRechtsformenType | undefined;
|
|
1060
|
-
branche?: XWasserXoevCode[];
|
|
1061
|
-
zweck?: XWasserXoevCode[];
|
|
1062
|
-
name: NameOrganisationType | undefined;
|
|
1063
|
-
unterorganisation?: OrganisationType[];
|
|
1064
|
-
kommunikation?: KommunikationType[];
|
|
1065
|
-
registrierung?: RegistrierungType[];
|
|
1066
|
-
identifikation?: IdentifikationType[];
|
|
1067
|
-
existenzzeitraum: ZeitraumType | undefined;
|
|
1068
|
-
anschrift?: AnschriftType[];
|
|
1069
|
-
zugelassene_untersuchungsstelle_id: string;
|
|
1070
|
-
name_zugelassene_untersuchungsstelle: CodeUntersuchungsstelleType;
|
|
1071
|
-
pruefgebiete_untersuchungen_phys_chem: boolean | undefined;
|
|
1072
|
-
pruefgebiete_untersuchungen_mikrobio: boolean | undefined;
|
|
1073
|
-
pruefgebiete_untersuchungen_radionuklide: boolean | undefined;
|
|
1074
|
-
akkreditierungsnummer: string | undefined;
|
|
1075
|
-
kommentar_beauftragte_untersuchungsstelle: string | undefined;
|
|
1076
|
-
kommentar_zugelassene_untersuchungsstelle: string | undefined;
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
829
|
export interface PersonType {
|
|
1080
830
|
person_rolle?: CodePersonenrolleType[];
|
|
1081
831
|
dokument_referenz_id?: string[];
|
|
@@ -1189,3 +939,265 @@ export interface AllgemeinerNameType {
|
|
|
1189
939
|
alternative_repraesentation?: AlternativeRepraesentationType[];
|
|
1190
940
|
}
|
|
1191
941
|
|
|
942
|
+
export interface VerwaltungspolitischeKodierungType {
|
|
943
|
+
kreis: CodeKreisType | undefined;
|
|
944
|
+
bezirk: CodeBezirkType | undefined;
|
|
945
|
+
bundesland: CodeBundeslandType | undefined;
|
|
946
|
+
gemeindeschluessel: CodeAgsType | undefined;
|
|
947
|
+
regionalschluessel: CodeRegionalschluesselType | undefined;
|
|
948
|
+
nation: StaatType | undefined;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
export interface BehoerdeType {
|
|
952
|
+
id: string | undefined;
|
|
953
|
+
typ: XWasserXoevCode | undefined;
|
|
954
|
+
zusatz: string | undefined;
|
|
955
|
+
behoerdenkennung: BehoerdenkennungType | undefined;
|
|
956
|
+
kommunikation?: KommunikationType[];
|
|
957
|
+
behoerdenidentifikation: IdentifikationType | undefined;
|
|
958
|
+
behoerdenname?: NameOrganisationType | undefined;
|
|
959
|
+
nachgeordnete_behoerde?: BehoerdeType[];
|
|
960
|
+
verwaltungspolitische_zustaendigkeit?: VerwaltungspolitischeKodierungType[];
|
|
961
|
+
anschrift?: AnschriftType[];
|
|
962
|
+
organisationsstruktur?: OrganisationseinheitType[];
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export interface BehoerdenkennungType {
|
|
966
|
+
kennung?: CodeBehoerdenkennungType[];
|
|
967
|
+
praefix?: CodePraefixType[];
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
export interface ZustaendigeBehoerdeType {
|
|
971
|
+
id: string | undefined;
|
|
972
|
+
typ: XWasserXoevCode | undefined;
|
|
973
|
+
zusatz: string | undefined;
|
|
974
|
+
behoerdenkennung: BehoerdenkennungType | undefined;
|
|
975
|
+
kommunikation?: KommunikationType[];
|
|
976
|
+
behoerdenidentifikation: IdentifikationType | undefined;
|
|
977
|
+
behoerdenname?: NameOrganisationType | undefined;
|
|
978
|
+
nachgeordnete_behoerde?: BehoerdeType[];
|
|
979
|
+
verwaltungspolitische_zustaendigkeit?: VerwaltungspolitischeKodierungType[];
|
|
980
|
+
anschrift?: AnschriftType[];
|
|
981
|
+
organisationsstruktur?: OrganisationseinheitType[];
|
|
982
|
+
anlage_nach_trinkw_vid?: string[];
|
|
983
|
+
laenderkuerzel: CodeLaenderkennzeichenType;
|
|
984
|
+
kommentar: string | undefined;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
export interface AnschriftType {
|
|
988
|
+
strassenschluessel: XWasserXoevCode | undefined;
|
|
989
|
+
strasse: string | undefined;
|
|
990
|
+
hausnummer: string | undefined;
|
|
991
|
+
postfach: string | undefined;
|
|
992
|
+
postleitzahl: string | undefined;
|
|
993
|
+
ort: string | undefined;
|
|
994
|
+
ortsteil: string | undefined;
|
|
995
|
+
ort_frueherer_gemeindename: string | undefined;
|
|
996
|
+
wohnungsgeber: string | undefined;
|
|
997
|
+
zusatz: string | undefined;
|
|
998
|
+
typ?: CodeAnschrifttypType[];
|
|
999
|
+
staat: StaatType | undefined;
|
|
1000
|
+
verwaltungspolitische_kodierung: VerwaltungspolitischeKodierungType | undefined;
|
|
1001
|
+
id: string;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export interface AdministrationQuittung0020 {
|
|
1005
|
+
produkt: string;
|
|
1006
|
+
test: boolean | undefined;
|
|
1007
|
+
nachrichtenkopf_g2g: NachrichtenkopfG2g;
|
|
1008
|
+
identifikation_vorgang: IdentifikationVorgang;
|
|
1009
|
+
quittung: QuittungType;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
export interface QuittungType {
|
|
1013
|
+
aktueller_status_technisch: CodeStatusTechnischType;
|
|
1014
|
+
vorheriger_status_technisch: CodeStatusTechnischType | undefined;
|
|
1015
|
+
grund: string | undefined;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
export interface Code {
|
|
1019
|
+
code: string;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
export interface NachrichtenkopfG2g {
|
|
1023
|
+
identifikation_nachricht: IdentifikationNachricht;
|
|
1024
|
+
leser: BehoerdeG2GType;
|
|
1025
|
+
autor: BehoerdeG2GType;
|
|
1026
|
+
referenz_uuid: string | undefined;
|
|
1027
|
+
dvdv_dienstkennung: string;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export interface IdentifikationNachricht {
|
|
1031
|
+
nachrichten_uuid: string | undefined;
|
|
1032
|
+
nachrichten_typ: NachrichtenTyp | undefined;
|
|
1033
|
+
erstellungszeitpunkt: string | undefined;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
export interface NachrichtenTyp {
|
|
1037
|
+
code: Code;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
export interface BehoerdeG2GType {
|
|
1041
|
+
verzeichnisdienst: Verzeichnisdienst;
|
|
1042
|
+
kennung: string;
|
|
1043
|
+
name: string;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
export interface Verzeichnisdienst {
|
|
1047
|
+
code: Code;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
export interface VorgangTransportieren2010 {
|
|
1051
|
+
produkt: string;
|
|
1052
|
+
test: boolean | undefined;
|
|
1053
|
+
nachrichtenkopf_g2g: NachrichtenkopfG2g;
|
|
1054
|
+
vorgang: Vorgang;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
export interface OrganisationseinheitType {
|
|
1058
|
+
name: string;
|
|
1059
|
+
hierarchieebene: number | undefined;
|
|
1060
|
+
hierarchiename: string | undefined;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
export interface NameOrganisationType {
|
|
1064
|
+
name: Name | undefined;
|
|
1065
|
+
kurzbezeichnung: string | undefined;
|
|
1066
|
+
gueltigkeit: ZeitraumType | undefined;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
export interface Name {
|
|
1070
|
+
text: string | undefined;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
export interface RegistrierungType {
|
|
1074
|
+
id: string | undefined;
|
|
1075
|
+
registertyp: XWasserXoevCode | undefined;
|
|
1076
|
+
registrierende_behoerde: BehoerdeType[];
|
|
1077
|
+
gueltigkeit: ZeitraumType | undefined;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
export interface OrganisationType {
|
|
1081
|
+
id: string | undefined;
|
|
1082
|
+
rechtsform: CodeRechtsformenType | undefined;
|
|
1083
|
+
branche?: XWasserXoevCode[];
|
|
1084
|
+
zweck?: XWasserXoevCode[];
|
|
1085
|
+
name: NameOrganisationType | undefined;
|
|
1086
|
+
unterorganisation?: OrganisationType[];
|
|
1087
|
+
kommunikation?: KommunikationType[];
|
|
1088
|
+
registrierung?: RegistrierungType[];
|
|
1089
|
+
identifikation?: IdentifikationType[];
|
|
1090
|
+
existenzzeitraum: ZeitraumType | undefined;
|
|
1091
|
+
anschrift?: AnschriftType[];
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
export interface KommunikationType {
|
|
1095
|
+
kanal: CodeKommunikationType | undefined;
|
|
1096
|
+
kennung: string | undefined;
|
|
1097
|
+
ist_dienstlich: boolean | undefined;
|
|
1098
|
+
zusatz: string | undefined;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
export interface ZeitraumType {
|
|
1102
|
+
beginn: string | undefined;
|
|
1103
|
+
ende: string | undefined;
|
|
1104
|
+
zusatz: string | undefined;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export interface StaatType {
|
|
1108
|
+
staat: CodeStaatType;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
export interface StaatsangehoerigkeitType {
|
|
1112
|
+
staatsangehoerigkeit: CodeStaatsangehoerigkeitType;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
export interface SpracheType {
|
|
1116
|
+
sprache: CodeSpracheType;
|
|
1117
|
+
zusatz: string | undefined;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
export interface DokumentType {
|
|
1121
|
+
dokument_typ: CodeDokumenttypType;
|
|
1122
|
+
name: string;
|
|
1123
|
+
aktuelle_version: string | undefined;
|
|
1124
|
+
letzte_version: string | undefined;
|
|
1125
|
+
dokument_repraesentation?: DokumentRepraesentationType[];
|
|
1126
|
+
person_referenz_id?: string[];
|
|
1127
|
+
dokument_id: string;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
export interface DokumentRepraesentationType {
|
|
1131
|
+
referenz: string | undefined;
|
|
1132
|
+
mime_type: string;
|
|
1133
|
+
inhalt: string | undefined;
|
|
1134
|
+
externer_referenz_typ: string | undefined;
|
|
1135
|
+
externer_referenz_index: string | undefined;
|
|
1136
|
+
dateiname: string | undefined;
|
|
1137
|
+
inhalt_typ: string | undefined;
|
|
1138
|
+
signaturen: SignaturenType | undefined;
|
|
1139
|
+
dokument_repraesentation_id: string;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
export interface SignaturenType {
|
|
1143
|
+
signatur_dokument_id?: string[];
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
export interface ObjektType {
|
|
1147
|
+
objekt_id: string;
|
|
1148
|
+
wasserversorgungsgebiet: string | undefined;
|
|
1149
|
+
anschrift_objekt?: AnschriftType[];
|
|
1150
|
+
art_objekt: CodeArtObjektType;
|
|
1151
|
+
name_objekt: string;
|
|
1152
|
+
betriebszustand_des_objekts: CodeBetriebszustandType | undefined;
|
|
1153
|
+
datum_in_betriebnahme: string | undefined;
|
|
1154
|
+
datum_ausser_betriebnahme: string | undefined;
|
|
1155
|
+
rahmen_der_trinkwasserbereitstellung?: CodeRahmenTrinkwasserbereitstellungType[];
|
|
1156
|
+
geokoordinaten_objekt: GeokoordinatenShapthType;
|
|
1157
|
+
alt_id: string | undefined;
|
|
1158
|
+
kommentar: string | undefined;
|
|
1159
|
+
betreiber?: BetreiberType[];
|
|
1160
|
+
objekt_probennahmestelle?: ProbennahmestelleType[];
|
|
1161
|
+
id: string;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
export interface BetreiberType {
|
|
1165
|
+
betreiber_id: string;
|
|
1166
|
+
art_der_person: ArtDerPerson;
|
|
1167
|
+
objekt_id: string[];
|
|
1168
|
+
kommentar: string | undefined;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
export type ArtDerPerson = { t: "Organisation"; c: OrganisationType } | { t: "NatuerlichePerson"; c: NatuerlichePersonType } | { t: "ZustaendigeBehoerde"; c: ZustaendigeBehoerdeType } | { t: "None" };
|
|
1172
|
+
|
|
1173
|
+
export type Auftraggeber = { t: "Organisation"; c: OrganisationType } | { t: "NatuerlichePerson"; c: NatuerlichePersonType } | { t: "ZustaendigeBehoerde"; c: ZustaendigeBehoerdeType } | { t: "None" };
|
|
1174
|
+
|
|
1175
|
+
export interface AuftraggeberType {
|
|
1176
|
+
auftraggeber_id: string;
|
|
1177
|
+
auftraggeberart: CodeAuftraggeberartType;
|
|
1178
|
+
auftraggeber: Auftraggeber;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
export interface IdentifikationVorgang {
|
|
1182
|
+
vorgangs_id: string;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
export interface Vorgang {
|
|
1186
|
+
identifikation_vorgang: IdentifikationVorgang;
|
|
1187
|
+
vorgang_type: VorgangType;
|
|
1188
|
+
bemerkung: string | undefined;
|
|
1189
|
+
anlage?: DokumentType[];
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
export interface DokumentType {
|
|
1193
|
+
dokument_typ: CodeDokumenttypType;
|
|
1194
|
+
name: string;
|
|
1195
|
+
aktuelle_version: string | undefined;
|
|
1196
|
+
letzte_version: string | undefined;
|
|
1197
|
+
dokument_repraesentation: DokumentRepraesentationType;
|
|
1198
|
+
person_referenz_id?: string[];
|
|
1199
|
+
dokument_id: string;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
export type VorgangType = { t: "Pruefbericht"; c: PruefberichtType } | { t: "Untersuchungsplan"; c: UntersuchungsplanType } | { t: "OlbBericht"; c: DokumentType } | { t: "None" };
|
|
1203
|
+
|
package/xoev_xwasser.js
CHANGED
|
@@ -161,6 +161,37 @@ function takeFromExternrefTable0(idx) {
|
|
|
161
161
|
wasm.__externref_table_dealloc(idx);
|
|
162
162
|
return value;
|
|
163
163
|
}
|
|
164
|
+
/**
|
|
165
|
+
* @param {string} xml
|
|
166
|
+
* @returns {string}
|
|
167
|
+
*/
|
|
168
|
+
module.exports.detect_version = function(xml) {
|
|
169
|
+
let deferred3_0;
|
|
170
|
+
let deferred3_1;
|
|
171
|
+
try {
|
|
172
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
173
|
+
const ptr0 = passStringToWasm0(xml, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
174
|
+
const len0 = WASM_VECTOR_LEN;
|
|
175
|
+
wasm.detect_version(retptr, ptr0, len0);
|
|
176
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
177
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
178
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
179
|
+
var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
|
|
180
|
+
var ptr2 = r0;
|
|
181
|
+
var len2 = r1;
|
|
182
|
+
if (r3) {
|
|
183
|
+
ptr2 = 0; len2 = 0;
|
|
184
|
+
throw takeFromExternrefTable0(r2);
|
|
185
|
+
}
|
|
186
|
+
deferred3_0 = ptr2;
|
|
187
|
+
deferred3_1 = len2;
|
|
188
|
+
return getStringFromWasm0(ptr2, len2);
|
|
189
|
+
} finally {
|
|
190
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
191
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
|
|
164
195
|
/**
|
|
165
196
|
* @param {VorgangTransportieren2010} data
|
|
166
197
|
* @returns {string}
|
|
@@ -341,13 +372,13 @@ module.exports.__wbindgen_is_string = function(arg0) {
|
|
|
341
372
|
return ret;
|
|
342
373
|
};
|
|
343
374
|
|
|
344
|
-
module.exports.
|
|
345
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
375
|
+
module.exports.__wbindgen_error_new = function(arg0, arg1) {
|
|
376
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
346
377
|
return ret;
|
|
347
378
|
};
|
|
348
379
|
|
|
349
|
-
module.exports.
|
|
350
|
-
const ret =
|
|
380
|
+
module.exports.__wbindgen_string_new = function(arg0, arg1) {
|
|
381
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
351
382
|
return ret;
|
|
352
383
|
};
|
|
353
384
|
|
package/xoev_xwasser_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export function detect_version(a: number, b: number, c: number): void;
|
|
4
5
|
export function create_vorgang_transportieren_2010(a: number, b: number): void;
|
|
5
6
|
export function parse_vorgang_transportieren_2010(a: number, b: number, c: number): void;
|
|
6
7
|
export function create_administration_quittung_0020(a: number, b: number): void;
|