|
1 | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
2 | | -<!-- Generated on 2020-10-12 18:37:44 at NPR --> |
| 2 | +<!-- Generated on 2021-11-11 10:11:01 at NPR --> |
3 | 3 | <!-- Avdeling helseregistres meldinger --> |
4 | 4 | <!-- Modul kpp --> |
5 | 5 | <!-- Skjema for Innrapportering av data om kostnad per pasient --> |
6 | 6 | <!-- XML-Schema level supported is specified by W3C --> |
7 | 7 | <!-- http://www.w3.org/2001/XMLSchema --> |
8 | | -<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema.xsd" xmlns:kith="http://www.kith.no/xmlstds" xmlns:nprx="http://www.npr.no/xmlstds/55_0_1" xmlns:npr="http://www.npr.no/xmlstds/55_0_1_kpp" targetNamespace="http://www.npr.no/xmlstds/55_0_1_kpp" version="55.0.1.27" elementFormDefault="qualified" attributeFormDefault="unqualified"> |
9 | | - <import namespace="http://www.npr.no/xmlstds/55_0_1" schemaLocation="NPR.xsd"/> |
10 | | - <include schemaLocation="NPR(kpp)_CodingSchemes.xsd"/> |
11 | | - <!-- LEVEL 1 --> |
12 | | - <!-- Class: Melding --> |
13 | | - <element name="Melding"> |
14 | | - <annotation> |
15 | | - <documentation> |
16 | | - Opplysninger som leverandører av helsetjenester i kommuner, helsevirksomheter eller helsepersonell etter bestemmelser i lov eller i medhold av lov i gitte situasjoner er pliktig til å rapportere. |
| 8 | +<schema |
| 9 | + xmlns="http://www.w3.org/2001/XMLSchema" |
| 10 | + xmlns:xsd="http://www.w3.org/2001/XMLSchema.xsd" |
| 11 | + xmlns:kith="http://www.kith.no/xmlstds" |
| 12 | + xmlns:nprx="http://www.npr.no/xmlstds/56_0_1" |
| 13 | + xmlns:npr = "http://www.npr.no/xmlstds/56_0_1_kpp" |
| 14 | + targetNamespace = "http://www.npr.no/xmlstds/56_0_1_kpp" |
| 15 | + version = "56.0.1.5" |
| 16 | + elementFormDefault = "qualified" |
| 17 | + attributeFormDefault="unqualified"> |
| 18 | + <import namespace="http://www.npr.no/xmlstds/56_0_1" schemaLocation="NPR.xsd"/> |
| 19 | + |
| 20 | +<include schemaLocation="NPR(kpp)_CodingSchemes.xsd"/> |
| 21 | + |
| 22 | + |
| 23 | +<!-- LEVEL 1 --> |
| 24 | + |
| 25 | +<!-- Class: Melding --> |
| 26 | +<element name = "Melding"> |
| 27 | + <annotation> |
| 28 | + <documentation> |
| 29 | + Opplysninger som leverandører av helsetjenester i kommuner, helsevirksomheter eller helsepersonell etter bestemmelser i lov eller i medhold av lov i gitte situasjoner er pliktig til å rapportere. |
17 | 30 | </documentation> |
18 | | - </annotation> |
19 | | - <complexType> |
20 | | - <sequence> |
21 | | - <element ref="npr:Institusjon" minOccurs="1" maxOccurs="unbounded"/> |
22 | | - </sequence> |
23 | | - <attribute name="versjon" type="string" use="required" fixed="55.0.1"/> |
24 | | - <attribute name="meldingstype" type="npr:meldingstype" use="required"/> |
25 | | - <attribute name="fraDatoPeriode" type="date" use="required"/> |
26 | | - <attribute name="uttakDato" type="date" use="required"/> |
27 | | - <attribute name="leverandor" type="string" use="required"/> |
28 | | - <attribute name="navnEPJ" type="string" use="required"/> |
29 | | - <attribute name="versjonEPJ" type="string" use="required"/> |
30 | | - <attribute name="versjonUt" type="string" use="required"/> |
31 | | - <attribute name="lopenr" type="integer" use="required"/> |
32 | | - <attribute name="tilDatoPeriode" type="date" use="required"/> |
33 | | - <attribute name="lokalident" type="string" use="optional"/> |
34 | | - </complexType> |
35 | | - <unique name="InstitusjonP_ID"> |
36 | | - <selector xpath="npr:Institusjon"/> |
37 | | - <field xpath="@institusjonID"/> |
38 | | - </unique> |
39 | | - </element> |
40 | | - <!-- LEVEL 2 --> |
41 | | - <!-- Class: Helseinstitusjon --> |
42 | | - <element name="Institusjon"> |
43 | | - <annotation> |
44 | | - <documentation> |
45 | | - Institusjon som hører under lov om spesialisthelsetjenesten. |
| 31 | + </annotation> |
| 32 | + <complexType > |
| 33 | + <sequence> |
| 34 | + <element ref = "npr:Institusjon" minOccurs = "1" maxOccurs = "unbounded" /> |
| 35 | + </sequence> |
| 36 | + <attribute name = "versjon" type = "string" use = "required" fixed = "56.0.1" /> |
| 37 | + <attribute name = "meldingstype" type = "npr:meldingstype" use = "required" /> |
| 38 | + <attribute name = "fraDatoPeriode" type = "date" use = "required" /> |
| 39 | + <attribute name = "uttakDato" type = "date" use = "required" /> |
| 40 | + <attribute name = "leverandor" type = "string" use = "required" /> |
| 41 | + <attribute name = "navnEPJ" type = "string" use = "required" /> |
| 42 | + <attribute name = "versjonEPJ" type = "string" use = "required" /> |
| 43 | + <attribute name = "versjonUt" type = "string" use = "required" /> |
| 44 | + <attribute name = "lopenr" type = "integer" use = "required" /> |
| 45 | + <attribute name = "tilDatoPeriode" type = "date" use = "required" /> |
| 46 | + <attribute name = "lokalident" type = "string" use = "optional" /> |
| 47 | + </complexType> |
| 48 | + <unique name= "InstitusjonP_ID"> |
| 49 | + <selector xpath = "npr:Institusjon"/> |
| 50 | + <field xpath = "@institusjonID"/> |
| 51 | + </unique> |
| 52 | +</element> |
| 53 | + |
| 54 | + |
| 55 | +<!-- LEVEL 2 --> |
| 56 | + |
| 57 | +<!-- Class: Helseinstitusjon --> |
| 58 | +<element name = "Institusjon"> |
| 59 | + <annotation> |
| 60 | + <documentation> |
| 61 | + Institusjon som hører under lov om spesialisthelsetjenesten. |
46 | 62 | </documentation> |
47 | | - </annotation> |
48 | | - <complexType> |
49 | | - <sequence> |
50 | | - <element ref="npr:Objektholder" minOccurs="1" maxOccurs="unbounded"/> |
51 | | - </sequence> |
52 | | - <attribute name="institusjonID" type="string" use="required"/> |
53 | | - <attribute name="foretakID" type="string" use="optional"/> |
54 | | - </complexType> |
55 | | - <unique name="ObjektholderP_ID"> |
56 | | - <selector xpath="npr:Objektholder"/> |
57 | | - <field xpath="@pasientNr"/> |
58 | | - </unique> |
59 | | - </element> |
60 | | - <!-- LEVEL 3 --> |
61 | | - <!-- Class: Objektholder --> |
62 | | - <element name="Objektholder"> |
63 | | - <annotation> |
64 | | - <documentation> |
65 | | - Er en container som holder objekter fra lavere nivå. Hver av objektene på lavere nivå skal identifiseres ved hjelp av GUID eller annen unik identifikasjon slik at alle objekter kan identifiseres på tvers av meldinger. |
| 63 | + </annotation> |
| 64 | + <complexType > |
| 65 | + <sequence> |
| 66 | + <element ref = "npr:Objektholder" minOccurs = "1" maxOccurs = "unbounded" /> |
| 67 | + </sequence> |
| 68 | + <attribute name = "institusjonID" type = "string" use = "required" /> |
| 69 | + <attribute name = "foretakID" type = "string" use = "optional" /> |
| 70 | + </complexType> |
| 71 | + <unique name= "ObjektholderP_ID"> |
| 72 | + <selector xpath = "npr:Objektholder"/> |
| 73 | + <field xpath = "@pasientNr"/> |
| 74 | + </unique> |
| 75 | +</element> |
| 76 | + |
| 77 | + |
| 78 | +<!-- LEVEL 3 --> |
| 79 | + |
| 80 | +<!-- Class: Objektholder --> |
| 81 | +<element name = "Objektholder"> |
| 82 | + <annotation> |
| 83 | + <documentation> |
| 84 | + Er en container som holder objekter fra lavere nivå. Hver av objektene på lavere nivå skal identifiseres ved hjelp av GUID eller annen unik identifikasjon slik at alle objekter kan identifiseres på tvers av meldinger. |
66 | 85 | </documentation> |
67 | | - </annotation> |
68 | | - <complexType> |
69 | | - <sequence> |
70 | | - <element ref="npr:EpisodeKPP" minOccurs="0" maxOccurs="unbounded"/> |
71 | | - </sequence> |
72 | | - <attribute name="pasientGUID" type="nprx:guid" use="prohibited"/> |
73 | | - <attribute name="pasientNr" type="string" use="required"/> |
74 | | - </complexType> |
75 | | - </element> |
76 | | - <!-- LEVEL 4 --> |
77 | | - <!-- Class: Episode KPP --> |
78 | | - <element name="EpisodeKPP"> |
79 | | - <annotation> |
80 | | - <documentation> |
| 86 | + </annotation> |
| 87 | + <complexType > |
| 88 | + <sequence> |
| 89 | + <element ref = "npr:EpisodeKPP" minOccurs = "0" maxOccurs = "unbounded" /> |
| 90 | + </sequence> |
| 91 | + <attribute name = "pasientGUID" type = "nprx:guid" use = "prohibited" /> |
| 92 | + <attribute name = "pasientNr" type = "string" use = "required" /> |
| 93 | + </complexType> |
| 94 | +</element> |
| 95 | + |
| 96 | + |
| 97 | +<!-- LEVEL 4 --> |
| 98 | + |
| 99 | +<!-- Class: Episode KPP --> |
| 100 | +<element name = "EpisodeKPP"> |
| 101 | + <annotation> |
| 102 | + <documentation> |
81 | 103 | Kostnader knyttet til Episode |
82 | 104 | </documentation> |
83 | | - </annotation> |
84 | | - <complexType> |
85 | | - <sequence> |
86 | | - <element ref="npr:TjenesteKPP" minOccurs="0" maxOccurs="unbounded"/> |
87 | | - </sequence> |
88 | | - <attribute name="episodeID" type="string" use="required"/> |
89 | | - <attribute name="drg" type="string" use="optional"/> |
90 | | - <attribute name="total" type="decimal" use="optional"/> |
91 | | - </complexType> |
92 | | - </element> |
93 | | - <!-- LEVEL 5 --> |
94 | | - <!-- Class: Tjeneste KPP --> |
95 | | - <element name="TjenesteKPP"> |
96 | | - <complexType> |
97 | | - <attribute name="kostnadKode" type="npr:kPP___Kostnad_per_pasient" use="required"/> |
98 | | - <attribute name="kostnad" type="decimal" use="required"/> |
99 | | - </complexType> |
100 | | - </element> |
| 105 | + </annotation> |
| 106 | + <complexType > |
| 107 | + <sequence> |
| 108 | + <element ref = "npr:TjenesteKPP" minOccurs = "0" maxOccurs = "unbounded" /> |
| 109 | + </sequence> |
| 110 | + <attribute name = "episodeID" type = "string" use = "required" /> |
| 111 | + <attribute name = "drg" type = "string" use = "optional" /> |
| 112 | + <attribute name = "total" type = "decimal" use = "optional" /> |
| 113 | + </complexType> |
| 114 | +</element> |
| 115 | + |
| 116 | + |
| 117 | +<!-- LEVEL 5 --> |
| 118 | + |
| 119 | +<!-- Class: Tjeneste KPP --> |
| 120 | +<element name = "TjenesteKPP"> |
| 121 | + <complexType > |
| 122 | + <attribute name = "kostnadKode" type = "npr:kPP___Kostnad_per_pasient" use = "required" /> |
| 123 | + <attribute name = "kostnad" type = "decimal" use = "required" /> |
| 124 | + </complexType> |
| 125 | +</element> |
101 | 126 | </schema> |
0 commit comments