Skip to content

Unique Particle Attribution #185

Open

Description

@ec-ecss

Hello here is a xsd schema that is used in standard healthcare protocol in France , parsed correctly in Talend Open Studio , but rejected by your app for unique particule attribution ambiguity reason

IHE_ProfilCSD-SSR-ExtensionROR_fr_v0.5.0.xsd.zip

Activity

  1. highsource commented on Oct 4, 2017

    @highsource
    Owner

    The schema is invalid precisely because of UPA.

    For instance here:

    	<xs:complexType name="extension">
    		<xs:sequence>
    			<xs:any namespace="##any" processContents="skip" minOccurs="0"/>
    		</xs:sequence>
    		<xs:attribute name="type" use="required"/>
    		<xs:attribute name="urn" type="xs:string" use="required"/>
    		<xs:anyAttribute/>
    	</xs:complexType>
    
    	<xs:complexType name="organisationExtension">
    		<xs:complexContent>
    			<xs:extension base="extension">
    				<xs:sequence>
    					<!-- JLY le 08/02/2016 ajout Finess, siret et Sirenn -->
    					<!-- JLY le 06/02/2017 correction traduction -->
    					<xs:element name="useName" type="xs:string" minOccurs="0" maxOccurs="1"/>
    					<xs:element name="finalClosingDate" type="xs:date" minOccurs="0" maxOccurs="1"/>
    					<xs:element name="creationDate" type="xs:date" minOccurs="0" maxOccurs="1"/>
    					<xs:element name="landingArea" type="xs:boolean" minOccurs="0"/>
    					<!-- JLY le 19/01/2017 ajout tarif et supplément Tarif -->
    					<!-- JLY le 20/01/2017 ajout division téritoriale-->
    					<xs:element name="healthTerritory" type="territorialDivision" minOccurs="0"
    						maxOccurs="unbounded"/>
    					<xs:element name="location" type="location" minOccurs="0" maxOccurs="unbounded"/>
    					<xs:element name="extraPrice" type="surchargePrice" minOccurs="0"
    						maxOccurs="unbounded"/>
    					<xs:element minOccurs="0" name="accomodationFamily" type="xs:boolean"/>
    					<xs:element minOccurs="0" name="comment" type="xs:string"/>
    					<xs:element minOccurs="0" name="technicID" type="xs:string"/>
    				</xs:sequence>
    			</xs:extension>
    		</xs:complexContent>
    	</xs:complexType>
    

    It is not possible to say whether useName should match the xs:element or xs:any. This is precisely the case described here:

    https://en.wikipedia.org/wiki/Unique_Particle_Attribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions