Delivery documentation joint reporting of animal husbandry Package delivery information Project Description: Joint reporting of animal husbandry Fælles HusdyrIndberetning Client/user: Ministry of Food Agriculture and Fisheries. Supplier/developer: IBM Global Services A/S OIOXML Project- and developer responsible: Christian Rasmussen, cxr@dk.ibm.com, tlf. 39 49 52 General Purpose & scope The Danish Ministry of Food Agriculture and Fisheries owns the glrchr.dk namespace, and uses it to publish OIOXML definitions regarding domain and business terms. The glrchr.dk namespace contains the following namespaces: Namespace Description (in Danish) GLR Generelt Landbrugsregister CHR Centralt Husdyrbrugs Register GR Gødningsregnskab FH FeedHygiene EIH Elektronisk Indberetning af Husdyroplysninger The GLR, CHR, FH and GR are domain namespaces which means that they contain simple- and complex type schemas related to specific domain terms. These OIOXML schemas are great candidates for reuse purposes. The EIH namespace contain mostly schemas made for business purposes. These schemas are mostly complex types/structures of domain schemas from the GLR, CHR, GR, and/or other namespaces. The schemas in the EIH namespace are also candidates for reuse, but are not developed for that specific purpose. All the schemas in these namespaces are approved by the XML committee with NDR3 classification. The applications using these schema definitions can be found at: fvm.glr-chr.dk/ and www.husdyrindberetning.dk. The following documentation covers the application found at: www.husdyrindberetning.dk Domain description www.husdyrindberetning.dk is an application where farmers can report information regarding their livestock. The information receivers are PD (da. Plant Directorate) and CHR (Central HusdyrbrugsRegister). There are two types of reportings: ongoing and annual. The ongoing reporting delivers information to CHR and is being used when there are changes in the status of the herd regarding size and structure. The annual reporting is delivered to both CHR and PD, and is both a status of the herd regarding size and structure and a accounting of the manure produced within the specific plan period by the herds. Furthermore compulsory information regarding feed hygiene is being reported. Schema- and metadata files included in this delivery: Top schemas: EIH_Report.xsd EIH_Report.xsd.meta.xml Domain Schemas
CHR_AnimalCategoryCode.xsd CHR_AnimalCategoryCode.xsd.meta.xml CHR_AnimalSpeciesCode.xsd CHR_AnimalSpeciesCode.xsd.meta.xml CHR_AnimalSpeciesName.xsd CHR_AnimalSpeciesName.xsd.meta.xml CHR_CHRnumberIdentifier.xsd CHR_CHRnumberIdentifier.xsd.meta.xml CHR_ClosingDownDate.xsd CHR_ClosingDownDate.xsd.meta.xml CHR_CommercialSpeciesCode.xsd CHR_CommercialSpeciesCode.xsd.meta.xml CHR_EntryIntoForceDate.xsd CHR_EntryIntoForceDate.xsd.meta.xml CHR_HerdNumberCode.xsd CHR_HerdNumberCode.xsd.meta.xml CHR_HerdIdentifierStructure.xsd CHR_HerdIdentifierStructure.xsd.meta.xml CHR_HerdSizeCode.xsd CHR_HerdSizeCode.xsd.meta.xml CHR_HerdSizeCountQuantity.xsd CHR_HerdSizeCountQuantity.xsd.meta.xml CHR_HerdSizeName.xsd CHR_HerdSizeName.xsd.meta.xml CHR_PracticeIdentifier.xsd CHR_PracticeIdentifier.xsd.meta.xml CHR_PracticeName.xsd CHR_PracticeName.xsd.meta.xml CHR_ProductionSpeciesName.xsd CHR_ProductionSpeciesName.xsd.meta.xml FH_CompoundFeedIndicator.xsd FH_CompoundFeedIndicator.xsd.meta.xml FH_FeedHygieneStructure.xsd FH_FeedHygieneStructure.xsd.meta.xml GLR_LegalUnitIdentifier.xsd GLR_LegalUnitIdentifier.xsd.meta.xml GR_AnimalTypeName.xsd GR_AnimalTypeName.xsd.meta.xml GR_CorrectionTypeIdentifier.xsd GR_CorrectionTypeIdentifier.xsd.meta.xml GR_CorrectionTypeResultQuantity.xsd GR_CorrectionTypeResultQuantity.xsd.meta.xml GR_CorrectionVarDescrText.xsd GR_CorrectionVarName.xsd GR_CorrectionVarName.xsd.meta.xml GR_CorrectionVarQuantity.xsd GR_CorrectionVarQuantity.xsd.meta.xml GR_CorrectionVarStructure.xsd GR_CorrectionVarStructure.xsd.meta.xml GR_ElementIdentifier.xsd GR_ElementIdentifier.xsd.meta.xml GR_ElementQuantity.xsd
GR_ElementQuantity.xsd.meta.xml GR_HousingSystemCode.xsd GR_HousingSystemCode.xsd.meta.xml GR_HousingSystemName.xsd GR_HousingSystemName.xsd.meta.xml GR_InputQuantity.xsd GR_InputQuantity.xsd.meta.xml GR_LivestockUnitQuantity.xsd GR_LivestockUnitQuantity.xsd.meta.xml GR_ManureNitrogenQuantity.xsd GR_ManureNitrogenQuantity.xsd.meta.xml GR_ManureTypeCode.xsd GR_ManureTypeCode.xsd.meta.xml GR_ManureTypeName.xsd GR_ManureTypeName.xsd.meta.xml GR_OutputQuantity.xsd GR_OutputQuantity.xsd.meta.xml GR_PlanYearIdentifier.xsd GR_PlanYearIdentifier.xsd.meta.xml GR_ThroughputStructure.xsd GR_ThroughputStructure.xsd.meta.xml Business pupose schemas EIH_CHRstructure.xsd EIH_CHRstructure.xsd.meta.xml EIH_CommercialSpeciesStructure.xsd EIH_CommercialSpeciesStructure.xsd.meta.xml EIH_Correction2SelectionIndicator.xsd EIH_Correction2SelectionIndicator.xsd.meta.xml EIH_CorrectionTypeCollection.xsd EIH_CorrectionTypeCollection.xsd.meta.xml EIH_CorrectionTypeStructure.xsd EIH_CorrectionTypeStructure.xsd.meta.xml EIH_CorrectionVarCollection.xsd EIH_CorrectionVarCollection.xsd.meta.xml EIH_CreatedDate.xsd EIH_CreatedDate.xsd.meta.xml EIH_ForwardingAddressStructure.xsd EIH_ForwardingAddressStructure.xsd.meta.xml EIH_GUID.xsd EIH_GUID.xsd.meta.xml EIH_HerdCollection.xsd EIH_HerdCollection.xsd.meta.xml EIH_HerdSizeCollection.xsd EIH_HerdSizeCollection.xsd.meta.xml EIH_HerdSizeStructure.xsd EIH_HerdSizeStructure.xsd.meta.xml EIH_HerdStructure.xsd EIH_HerdStructure.xsd.meta.xml EIH_InfoStructure.xsd EIH_InfoStructure.xsd.meta.xml EIH_KeeperForwardingAddressStructure.xsd
EIH_KeeperForwardingAddressStructure.xsd.meta.xml EIH_KeeperInfoStructure.xsd EIH_KeeperInfoStructure.xsd.meta.xml EIH_KeeperLegalUnitStructure.xsd EIH_KeeperLegalUnitStructure.xsd.meta.xml EIH_LegalUnitStructure.xsd EIH_LegalUnitStructure.xsd.meta.xml EIH_LivestockUnitCollection.xsd EIH_LivestockUnitCollection.xsd.meta.xml EIH_LivestockUnitStructure.xsd EIH_LivestockUnitStructure.xsd.meta.xml EIH_ManureNitrogenCollection.xsd EIH_ManureNitrogenCollection.xsd.meta.xml EIH_ManureNitrogenStructure.xsd EIH_ManureNitrogenStructure.xsd.meta.xml EIH_ManureTypeCollection.xsd EIH_ManureTypeCollection.xsd.meta.xml EIH_ManureTypeStructure.xsd EIH_ManureTypeStructure.xsd.meta.xml EIH_OwnerInfoStructure.xsd EIH_OwnerLegalUnitStructure.xsd EIH_OwnerLegalUnitStructure.xsd.meta.xml EIH_PDcollection.xsd EIH_PDcollection.xsd.meta.xml EIH_PDstructure.xsd EIH_PhoneMailContactStructure.xsd EIH_PhoneMailContactStructure.xsd.meta.xml EIH_PurposeTypeIdentifier.xsd EIH_PurposeTypeIdentifier.xsd.meta.xml EIH_Report.xsd EIH_Report.xsd.meta.xml EIH_ReportTypeIdentifier.xsd EIH_ReportTypeIdentifier.xsd.meta.xml EIH_SummaryLivestockUnitStructure.xsd EIH_SummaryLivestockUnitStructure.xsd.meta.xml EIH_SummaryLivestockUnitTotalQuantity.xsd EIH_SummaryLivestockUnitTotalQuantity.xsd.meta.xml EIH_SummaryManureNitrogenStructure.xsd EIH_SummaryManureNitrogenStructure.xsd.meta.xml EIH_SummaryManureNitrogenTotalQuantity.xsd EIH_SummaryManureNitrogenTotalQuantity.xsd.meta.xml EIH_SummaryManurePhosphorusStructure.xsd EIH_SummaryManurePhosphorusStructure.xsd.meta.xml EIH_SummaryManurePhosphorusTotalQuantity.xsd EIH_VeterinaryStructure.xsd EIH_VeterinaryStructure.xsd.meta.xml Relation to other packages Joint reporting of animal husbandry has close connections to the application/project called Production authorizations. (see the documentation in the eih/documentation namespace). Both
applications use domain schema definitions in the abovementioned namespaces, and both schemas use business schemas in EIH.
Instance Document <?xml version=".0" encoding="utf-8"?> <!--Sample XML file generated by XMLSpy v2005 sp U (http://www.xmlspy.com)--> <Report xmlns="http://rep.oio.dk/glrchr.dk/eih/xml/schemas/2005/03/0/" xmlns:glr="http://rep.oio.dk/glrchr.dk/glr/xml/schemas/2005/03/0/" xmlns:gr="http://rep.oio.dk/glrchr.dk/goedningsregnskab/xml/schemas/2005/03/0/":cvr="http://rep.oio.dk/cvr.dk/xml/schemas/2005/03/22/" xmlns:cpr="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/8/" xmlns:dkcc2="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2003/02/3/" xmlns:dkcc="http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/5/" xmlns:itst="http://rep.oio.dk/itst.dk/xml/schemas/2005/0/0/" xmlns:chr="http://rep.oio.dk/glrchr.dk/chr/xml/schemas/2005/03/0/" xmlns:fh="http://rep.oio.dk/glrchr.dk/feedhygiene/xml/schemas/2005/03/0/" xmlns:xkom="http://rep.oio.dk/xkom.dk/xml/schemas/2005/03/5/" xmlns:xsi="http://www.w3.org/200/xmlschema-instance" xsi:schemalocation="http://rep.oio.dk/glrchr.dk/eih/xml/schemas/2005/03/0/:\projects\eih\oio\eih_report.xsd"> <OwnerLegalUnitStructure> <glr:legalunitidentifier> <cvr:cvrnumberidentifier>2345678</cvr:cvrnumberidentifier> </glr:legalunitidentifier> </OwnerLegalUnitStructure> <InfoStructure> <gr:planyearidentifier>2005</gr:planyearidentifier> <CreatedDate>2005-05-3</CreatedDate> <GUID>String</GUID> <ReportTypeIdentifier>pd</ReportTypeIdentifier> <PurposeTypeIdentifier>test</PurposeTypeIdentifier> </InfoStructure> <SummaryManureNitrogenStructure> <SummaryManureNitrogenTotalQuantity>50</SummaryManureNitrogenTotalQuantity> <ManureNitrogenCollection> <ManureNitrogenStructure> <gr:manuretypecode></gr:manuretypecode> <gr:manurenitrogenquantity>2</gr:manurenitrogenquantity> </ManureNitrogenStructure> <ManureNitrogenStructure> <gr:manuretypecode>2</gr:manuretypecode> <gr:manurenitrogenquantity>2</gr:manurenitrogenquantity> </ManureNitrogenStructure> <ManureNitrogenStructure> <gr:manuretypecode>3</gr:manuretypecode> <gr:manurenitrogenquantity>2</gr:manurenitrogenquantity> </ManureNitrogenStructure> <ManureNitrogenStructure> <gr:manuretypecode>4</gr:manuretypecode> <gr:manurenitrogenquantity>2</gr:manurenitrogenquantity> </ManureNitrogenStructure> <ManureNitrogenStructure> <gr:manuretypecode>5</gr:manuretypecode> <gr:manurenitrogenquantity>2</gr:manurenitrogenquantity> </ManureNitrogenStructure> <ManureNitrogenStructure> <gr:manuretypecode>6</gr:manuretypecode> <gr:manurenitrogenquantity>3</gr:manurenitrogenquantity> </ManureNitrogenStructure> <ManureNitrogenStructure> <gr:manuretypecode>7</gr:manuretypecode> <gr:manurenitrogenquantity>4</gr:manurenitrogenquantity> </ManureNitrogenStructure> </ManureNitrogenCollection> </SummaryManureNitrogenStructure> <SummaryManurePhosphorusStructure> <SummaryManurePhosphorusTotalQuantity>6</SummaryManurePhosphorusTotalQuantity> </SummaryManurePhosphorusStructure> <SummaryLivestockUnitStructure> <LivestockUnitCollection> <LivestockUnitStructure> <chr:animalcategorycode>cattle</chr:animalcategorycode> <gr:livestockunitquantity></gr:livestockunitquantity> </LivestockUnitStructure> <LivestockUnitStructure> <chr:animalcategorycode>pigs</chr:animalcategorycode> <gr:livestockunitquantity>2</gr:livestockunitquantity> </LivestockUnitStructure> <LivestockUnitStructure> <chr:animalcategorycode>poultry</chr:animalcategorycode> <gr:livestockunitquantity></gr:livestockunitquantity> </LivestockUnitStructure> <LivestockUnitStructure> <chr:animalcategorycode>furredanimals</chr:animalcategorycode> <gr:livestockunitquantity>3</gr:livestockunitquantity> </LivestockUnitStructure> </LivestockUnitCollection> <SummaryLivestockUnitTotalQuantity>0</SummaryLivestockUnitTotalQuantity> </SummaryLivestockUnitStructure>
<HerdCollection> <HerdStructure scopecode="all"> <chr:chrnumberidentifier>2345</chr:chrnumberidentifier> <chr:herdidentifierstructure> <chr:herdnumbercode>235</chr:herdnumbercode> <chr:animalspeciescode>2</chr:animalspeciescode> </chr:herdidentifierstructure> <fh:feedhygienestructure> <fh:compoundfeedindicator>true</fh:compoundfeedindicator> </fh:feedhygienestructure> <PDcollection> <PDstructure> <CorrectionTypeCollection> <CorrectionTypeStructure> <gr:correctiontypeidentifier>n</gr:correctiontypeidentifier> <gr:correctiontyperesultquantity>58.6</gr:correctiontyperesultquantity> </CorrectionTypeStructure> <CorrectionTypeStructure> <gr:correctiontypeidentifier>n</gr:correctiontypeidentifier> <gr:correctiontyperesultquantity>54.7</gr:correctiontyperesultquantity> </CorrectionTypeStructure> <CorrectionTypeStructure> <gr:correctiontypeidentifier>p</gr:correctiontypeidentifier> <gr:correctiontyperesultquantity>8.6</gr:correctiontyperesultquantity> </CorrectionTypeStructure> <CorrectionTypeStructure> <gr:correctiontypeidentifier>p</gr:correctiontypeidentifier> <gr:correctiontyperesultquantity>4.7</gr:correctiontyperesultquantity> </CorrectionTypeStructure> </CorrectionTypeCollection> <gr:livestockunitquantity>0</gr:livestockunitquantity> <gr:animaltypecode>20</gr:animaltypecode> <gr:housingsystemcode>200</gr:housingsystemcode> <ManureTypeCollection> <ManureTypeStructure> <gr:manuretypecode>4</gr:manuretypecode> <gr:elementidentifier>n</gr:elementidentifier> <gr:elementquantity>58.6</gr:elementquantity> </ManureTypeStructure> <ManureTypeStructure> <gr:manuretypecode>5</gr:manuretypecode> <gr:elementidentifier>n</gr:elementidentifier> <gr:elementquantity>54.7</gr:elementquantity> </ManureTypeStructure> <ManureTypeStructure> <gr:manuretypecode>4</gr:manuretypecode> <gr:elementidentifier>p</gr:elementidentifier> <gr:elementquantity>8.6</gr:elementquantity> </ManureTypeStructure> <ManureTypeStructure> <gr:manuretypecode>5</gr:manuretypecode> <gr:elementidentifier>p</gr:elementidentifier> <gr:elementquantity>24.7</gr:elementquantity> </ManureTypeStructure> </ManureTypeCollection> <gr:animaltypecountquantity>00</gr:animaltypecountquantity> <gr:throughputstructure unitcode="months"> <gr:inputquantity>6.00</gr:inputquantity> <gr:outputquantity>28.00</gr:outputquantity> </gr:throughputstructure> <CorrectionVarCollection> <gr:correctionvarstructure> <gr:correctionvarname>gproteinprfe</gr:correctionvarname> <gr:correctionvarquantity>2</gr:correctionvarquantity> </gr:correctionvarstructure> <gr:correctionvarstructure> <gr:correctionvarname>kgmprko</gr:correctionvarname> <gr:correctionvarquantity>9</gr:correctionvarquantity> </gr:correctionvarstructure> <gr:correctionvarstructure> <gr:correctionvarname>fepraarsko</gr:correctionvarname> <gr:correctionvarquantity>2</gr:correctionvarquantity> </gr:correctionvarstructure> </CorrectionVarCollection> <Correction2SelectionIndicator>false</Correction2SelectionIndicator> </PDstructure> <PDstructure> <CorrectionTypeCollection> <CorrectionTypeStructure> <gr:correctiontypeidentifier>n</gr:correctiontypeidentifier> <gr:correctiontyperesultquantity>58.6</gr:correctiontyperesultquantity>
</CorrectionTypeStructure> <CorrectionTypeStructure> <gr:correctiontypeidentifier>n</gr:correctiontypeidentifier> <gr:correctiontyperesultquantity>54.7</gr:correctiontyperesultquantity> </CorrectionTypeStructure> <CorrectionTypeStructure> <gr:correctiontypeidentifier>p</gr:correctiontypeidentifier> <gr:correctiontyperesultquantity>8.6</gr:correctiontyperesultquantity> </CorrectionTypeStructure> <CorrectionTypeStructure> <gr:correctiontypeidentifier>p</gr:correctiontypeidentifier> <gr:correctiontyperesultquantity>4.7</gr:correctiontyperesultquantity> </CorrectionTypeStructure> </CorrectionTypeCollection> <gr:livestockunitquantity>.8</gr:livestockunitquantity> <gr:animaltypecode>203</gr:animaltypecode> <gr:housingsystemcode>2005</gr:housingsystemcode> <ManureTypeCollection> <ManureTypeStructure> <gr:manuretypecode>4</gr:manuretypecode> <gr:elementidentifier>n</gr:elementidentifier> <gr:elementquantity>58.6</gr:elementquantity> </ManureTypeStructure> <ManureTypeStructure> <gr:manuretypecode>5</gr:manuretypecode> <gr:elementidentifier>n</gr:elementidentifier> <gr:elementquantity>54.7</gr:elementquantity> </ManureTypeStructure> <ManureTypeStructure> <gr:manuretypecode>4</gr:manuretypecode> <gr:elementidentifier>p</gr:elementidentifier> <gr:elementquantity>8.6</gr:elementquantity> </ManureTypeStructure> <ManureTypeStructure> <gr:manuretypecode>5</gr:manuretypecode> <gr:elementidentifier>p</gr:elementidentifier> <gr:elementquantity>4.7</gr:elementquantity> </ManureTypeStructure> </ManureTypeCollection> <gr:animaltypecountquantity>00</gr:animaltypecountquantity> <gr:throughputstructure unitcode="months"> <gr:inputquantity>6.00</gr:inputquantity> <gr:outputquantity>28.00</gr:outputquantity> </gr:throughputstructure> <CorrectionVarCollection> <gr:correctionvarstructure> <gr:correctionvarname>gproteinprfe</gr:correctionvarname> <gr:correctionvarquantity>40</gr:correctionvarquantity> </gr:correctionvarstructure> <gr:correctionvarstructure> <gr:correctionvarname>fepraarsko</gr:correctionvarname> <gr:correctionvarquantity>30</gr:correctionvarquantity> </gr:correctionvarstructure> <gr:correctionvarstructure> <gr:correctionvarname>kg m pr ko</gr:correctionvarname> <gr:correctionvarquantity>4000</gr:correctionvarquantity> </gr:correctionvarstructure> </CorrectionVarCollection> <Correction2SelectionIndicator>false</Correction2SelectionIndicator> </PDstructure> </PDcollection> <CHRstructure> <KeeperInfoStructure> <KeeperLegalUnitStructure> <glr:legalunitidentifier> <cvr:cvrnumberidentifier>2345678</cvr:cvrnumberidentifier> </glr:legalunitidentifier> </KeeperLegalUnitStructure> <chr:entryintoforcedate>2005-05-3</chr:entryintoforcedate> <PhoneMailContactStructure> <itst:telephonenumberidentifier>+459873263</itst:telephonenumberidentifier> <itst:faxnumberidentifier>+459873263</itst:faxnumberidentifier> <itst:mobilenumberidentifier>+456663263</itst:mobilenumberidentifier> <xkom:emailaddressidentifier>christain@capslock.dk</xkom:emailaddressidentifier> </PhoneMailContactStructure> </KeeperInfoStructure> <OwnerInfoStructure> <PhoneMailContactStructure> <itst:telephonenumberidentifier>+459873263</itst:telephonenumberidentifier> <itst:faxnumberidentifier>+459873263</itst:faxnumberidentifier> <itst:mobilenumberidentifier>+456663263</itst:mobilenumberidentifier> <xkom:emailaddressidentifier>christain@capslock.dk</xkom:emailaddressidentifier>
</PhoneMailContactStructure> <ForwardingAddressStructure> <xkom:addressspecific> <cpr:municipalitycode>0840</cpr:municipalitycode> <cpr:streetcode>260</cpr:streetcode> <dkcc2:streetbuildingidentifier>35a</dkcc2:streetbuildingidentifier> <dkcc2:flooridentifier></dkcc2:flooridentifier> <dkcc2:suiteidentifier>2</dkcc2:suiteidentifier> </xkom:addressspecific> <dkcc:districtsubdivisionidentifier>vejgård</dkcc:districtsubdivisionidentifier> </ForwardingAddressStructure> <chr:entryintoforcedate>2005-05-3</chr:entryintoforcedate> </OwnerInfoStructure> <KeeperForwardingAddressStructure> <xkom:addressspecific> <cpr:municipalitycode>0840</cpr:municipalitycode> <cpr:streetcode>260</cpr:streetcode> <dkcc2:streetbuildingidentifier>35a</dkcc2:streetbuildingidentifier> <dkcc2:flooridentifier></dkcc2:flooridentifier> <dkcc2:suiteidentifier></dkcc2:suiteidentifier> </xkom:addressspecific> <dkcc:districtsubdivisionidentifier>vejgård</dkcc:districtsubdivisionidentifier> </KeeperForwardingAddressStructure> <HerdSizeCollection> <HerdSizeStructure> <chr:herdsizecode></chr:herdsizecode> <chr:herdsizecountquantity>5</chr:herdsizecountquantity> </HerdSizeStructure> </HerdSizeCollection> <CommercialSpeciesStructure> <chr:commercialspeciescode></chr:commercialspeciescode> <chr:entryintoforcedate>2005-05-3</chr:entryintoforcedate> </CommercialSpeciesStructure> <VeterinaryStructure> <chr:entryintoforcedate>2005-05-3</chr:entryintoforcedate> <chr:practiceidentifier>0</chr:practiceidentifier> </VeterinaryStructure> <chr:closingdowndate>2005-05-3</chr:closingdowndate> </CHRstructure> </HerdStructure> </HerdCollection> </Report> Data- og domænemodel, Fælles Husdyrindberetning Det at udforme en traditionel datamodel er nært beslægtet med det at udforme en logisk model over den samlede OIOXML. Da denne løsning arkitekturmæssigt anvender OIOXML i alle snitflader, er det derfor oplagt at inkludere den logiske model over den samlede OIOXML, og betragte den som data- og domænemodel. En åbenlys fordel herved er, at datamodellen i forhold til en traditionel datamodel nu også illustrerer den hierarkiske struktur, elementerne imellem. Dette har samtidig også den konsekvens, at alle begreberne er på engelsk, netop fordi en af retningslinjerne for OIOXML foreskriver dette. I det følgende findes derfor en liste som sammenstiller de danske og de engelske begreber med navnet på OIOXML-elementerne. Med denne liste i hånden skulle det således være ligetil at navigere rundt i modellen og forstå sammenhængen. Det betyder også at skærmbilledbeskrivelserne i denne systembeskrivelse gør brug af datamodellens begreber (OIOXML-elementets navn). Dvs. at de enkelte felter i grænsefladen relateres til et specifikt element i datamodellen. Begrebsligt kan det måske virke forvirrende, at formatets forskellige elementer er på engelsk, men hvis nedenstående liste med danske og engelske begreber anvendes, skulle det være ligetil at forstå relationen mellem feltnavn og OIOXML-element. Liste med begrebsforklaring til data-/ OIOXML-domænemodel Nedenfor findes en liste med navngivningen for OIOXML-elementerne, sidestillet med begreberne på DK og UK. De øvrige elementer i datamodellen er ikke med i listen fordi de er kunstigt skabte og nødvendige i OIOXML sammenhæng, og anvendes til at gruppe andre elementer. Hvis elementets navn ender på structure
betyder det, at der er tale om en slags pladsholder, der kan indeholde ét af flere forskellige underelementer. Hvis elementets navn ender på collection, betyder det at der er tale om en container som kan indeholder ét underelement, og én eller flere forekomster af dette underelement. Betydningen for de øvrige endelser fremgår af tabellen under listen. Begrebsliste Domænemodel-begreb begreb(uk) begreb(dk) (OIOXML-element) Report Report Indberetning PlanYearIdentifier Plan year Planår GUID Internt løbenr CreatedDate Created date Oprettelsesdato, indberetning ReportTypeIdentifier Report type Indberetningstype AnimalSpeciesCode Animal species code Dyreartkode CHRnumberIdentifier CHR Number CHR-nr HerdNumberCode Herd Number Besætningsnr CompoundFeedIndicator Compound feed Foderblanding CorrectionTypeIdentifier Correction type Korrektionstype CorrectionTypeResultQuantity Value for correction type result Værdi for korrektionstype resultat HousingSystemCode Housing system Staldsystem AnimalTypeCode Animal Type Dyretypekode LivestockUnitQuantity Livestock unit quantity Dyreenhed (DE) mængdeværdi ElementQuantity Element quantity Grundstof mængde ElementIdentifier Element (N/P) Grundstof (N/P) ManureTypeCode Manure type Gødningstype OutputQuantity Output quantity Afgangsværdi InputQuantity Input quantity Indgangsværdi CorrectionVarName Correction Variable Korrektionsvariabel navn Name CorrectionVarQuantity Correction Variable Korrektionsvariabel værdi Value AnimalTypeCountQuantity Animal Type, number Dyretype, antal of Correction2SelectionIndicator Correction 2 selection Korrektion2 valg ManureNitrogenQuantity Manure nitrogen kvælstofmængde CommercialSpeciesCode Commercial species Brugsart practiceidentifier Practice number Praksisnr (dyrlægen) EntryIntoForceDate Date of entry into force Ikrafttrædelsesdato MobileNumberIdentifier Mobile number Mobilnr TelephoneNumberIdentifier Phone number Telefonnr FaxNumbeIdentifier Fax number Faxnr DistrictSubdivisionIdentifier Village, subdistrict Lokalt bynavn, sted CVRnumber CVRNR CivilRegistrationNumber CPRNR LegalUnitIdentifier Legal Unit Juridisk Enhed OwnerLegalUnitStructure Owner Ejer LivestockUnit Livestockunit Dyreenhed (DE) PlanYearIdentifier Plan year Planår ForwardingAddress Forwarding address Forsendelsesadresse
ClosingDownDate Closing down date Ophørsdato herdsizecountquantity Herd size quantity Besætningsstørelse, mængdeværdi EmailAddress Email address e-mail adresse herdsizecode Herd size Besætningsstørelse kode KeeperLegalUnitStructure Keeper Bruger (CHR) Forklaring til navngivningen af OIOXML-begreberne Collection = samling - Når et element indeholder præcis ét element og mindst to forekomster af dette. Structure = struktur - betyder at et element indeholder et eller flere underelementer Identifier = identifikator - bruges til at identificere og unikt udpege én instans af et objekt blandt alle objekter indenfor en i dentifikationsramme Indicator = Indikator En liste af to og kun to værdier, som indikerer en tilstand: f.eks. On/onff synonymt med boolean. Code = Kode - bruges til at repræsentere eller erstatte en værdi eller tekst, f.eks. Dyretypenavn, gødningsnavn, m.v. Name = navn - bruges som betegnelse for en person, sted, koncept, m.v Quantity = Et mængdebegreb, dog ikke monitære enheder. kvantitet/mængde
Fælles HusdyrIndberetning, data- og domænemodel med OIOXML begreber EIH:Report EIH:SummaryManureNitrogenStructure 0.. 0.. EIH:SummaryManurePhosphorusStructure EIH:OwnerLegalUnitStructure -ref: EIH:LegalUnitStructure EIH:HerdCollection EIH:SummaryLivestockUnitStructure 0.. * EIH:HerdStructure -attr: scopecode -enum: pdonly -enum: all -type: string EIH:PurposeTypeIdentifier -enum: test -enum: prod -type: string EIH:CreatedDate -type: date EIH:InfoStructure 0.. EIH:GUID -type: string(240) GR:PlanYearIdentifier -type: integer(4) EIH:ReportTypeIdentifier -enum: pd -enum: chr -enum: annual -type: string 0.. 0.. 0.. FH:FeedHygieneStructure CHR:CHRNumberIdentifier EIH:PDcollection EIH:CHRstructure 0.. -type: integer(6) CHR:HerdIdentifierStructure 0.. FH:CompoundFeedIndicator -type: boolean CHR:HerdNumberCode -type: integer(6) CHR:AnimalSpeciesCode -type: integer(2) version 2.
Fælles HusdyrIndberetning, data- og domænemodel med OIOXML begreber PD-data EIH:PDCollection EIH:PDstructure EIH:CorrectionTypeCollection 0.. 0.. 0.. EIH:CorrectionVarCollection EIH:Correction2SelectionIndicator -type: boolean GR:LivestockUnitQuantity -type: double (0,2) EIH:CorrectionTypeStructure..*..* GR:CorrectionVarStructure GR:AnimalTypeCountQuantity GR:AnimalTypeCode GR:CorrectionVarQuantity -type: double GR:CorrectionVarName -type: string -type: integer GR:ThroughputStructure -enum: days -enum: months -enum: kg -enum: number -type: string -attr: unitcode EIH:ManureTypeCollection..* -type: integer GR:CorrectionTypeIdentifier -enum: N -enum: P -enum: 2N -enum: 2P -enum: 3L -type: string(2) EIH:ManureTypeStructure GR:HousingSystemCode -type: integer(6) GR:CorrectionTypeResultQuantity -type: double GR:InputQuantity GR:OutputQuantity -type: double(0,2) -type: double(0,2) GR:ManureTypeCode -type: integer(5) GR:ElementIdentifier -enum : N -enum: P -type: string GR:ElementQuantity -type: double(0,2) version 2.
Fælles HusdyrIndberetning, data- og domænemodel med OIOXML begreber PD-data, totaler til NGLT II EIH:SummaryManureNitrogenStructure EIH:SummaryManurePhosphorusStructure EIH:SummaryLivestockUnitStructure EIH:SummaryManureNitrogenTotalQuantity -(ref: GR:ElementQuantityType) EIH:ManureNitrogenCollection..* EIH:SummaryManurePhosphorusTotalQuantity -(ref: GR:ElementQuantityType) EIH:SummaryLivestockUnitTotalQuantity -(ref: GR:LivestockUnitQuantity) EIH:LivestockUnitCollection..* EIH:LivestockUnitStructure EIH:ManureNitrogenStructure CHR:AnimalCategoryCode GR:LivestockUnitQuantity GR:ManureTypeCode -type: integer(5) GR:ManureNitrogenQuantity -(ref: GR:ElementQuantityType) -type: string -otheranimals -poultry -cattle -pigs -furredanimals -type: double (0,2) version 2.
Fælles HusdyrIndberetning, data- og domænemodel med OIOXML begreber CHR-data EIH:CHRstructure EIH:HerdSizeCollection EIH:HerdSizeStructure..* CHR:HerdSizeCode -type integer (2) CHR:ClosingDownDate -type: date CHR:HerdSizeCountQuantity -type: integer (6) 0.. EIH:KeeperLegalUnitStructure -ref: EIH:LegalUnitStructure EIH:KeeperInfoStructure EIH:PhoneMailContactStructure EIH:OwnerInfoStructure EIH:VeterinaryStructure EIH:CommercialSpeciesStructure CHR:PracticeIdentifier -type: integer (6) 0.. CHR:CommercialSpeciesCode -type: integer (2) 0.. 0.. 0.. CHR:EntryIntoForceDate -type: date EIH:PhoneMailContactStructure EIH:KeeperForwardingAddressStructure -ref: EIH:ForwardingAddressStructure 0.. EIH:ForwardingAddressStructure CHR:EntryIntoForceDate -type: date version 2.
Fælles HusdyrIndberetning, DOMÆNEMODEL, OIOXML genbruges af EIH;OwnerForwardingAddressStructure og EIH:KeeperForwardingAddressStructure genbruges af EIH;OwnerMobileMailContactStructure og EIH:KeeperMobileMailContactStructure EIH:ForwardingAddressStructure EIH:PhoneMailContactStructure 0.. 0.. XKOM:AddressSpecificType DKCC:DistrictSubdivisionIdentifier 0.. -type: string(34) XKOM:EmailAddressIdentifier ITST:MobileNumberIdentifier 0.. 0.. 0.. ITST:TelephoneNumberIdentifier -type: string(34) -Pattern value: (\+)?[0-9]{3,20} ITST:FaxNumberIdentifier -ref:itst:telephonenumberidentifier EIH:LegalUnitStructure (genbruges af EIH;OwnerLegalUnitStructure og EIH:KeeperLegalUnitStructure) GLR:LegalUnitIdentifer CVR:CVRnumberIdentifier CPR:PersonCivilRegistrationIdentifier version 2.