XSD surv/external/1.0/rules.xsd

elementresolvershttp://ns.sentiweb.fr/surv/external/rules/1.0/

ComplexType

Exactly 1 sequences of:

    elementcodesetshttp://ns.sentiweb.fr/surv/external/rules/1.0/

    ComplexType

    Exactly 1 sequences of:

      elementcodesethttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:CodeSetIDType

    elementresolverhttp://ns.sentiweb.fr/surv/external/rules/1.0/

    ComplexType

    elementmapperhttp://ns.sentiweb.fr/surv/external/rules/1.0/

    ComplexType

    elementage-resolverhttp://ns.sentiweb.fr/surv/external/rules/1.0/

    ComplexType

    Empty

    Attributes
    question-name Simple type string optional
    item Simple type string optional

ComplexTyperesolverType

Exactly 1 sequences of:

    elementcase-ruleshttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:CaseRuleSetType

Attributes
question-name Simple type string required
provide-value Simple type string optional
validator Simple type boolean optional
Indicate if the rule is a data provider rule or a validator. If not present the rule is a data-provider by default

ComplexTypecodesetsType

Exactly 1 sequences of:

    elementcodesethttp://ns.sentiweb.fr/surv/external/rules/1.0/

    ComplexType

ComplexTyperulesType

Exactly 1 sequences of:

    elementitem-rulehttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:itemRuleType

ComplexTypeitemRuleType

Exactly 1 choice of:

    elemententryhttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:entryRuleType

    elementvalue-ruleshttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:ValueRuleType

Attributes
mode Simple type r:modeType optional
name Simple type string optional

ComplexTypeCaseRuleType

Exactly 1 sequences of:

    elementtrigger-rulehttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:TriggerRuleType

    elementitem-ruleshttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:ItemRuleSetType

Attributes
mode Simple type r:modeType optional

simpleTypemodeType

Simple type string

Enumeration :
  • any
  • all
  • once

ComplexTypeentryRuleType

Exactly 1 sequences of:

    elementcodesethttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:codesetRuleType

    elementoccurrenceshttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:OccurrencesType

ComplexTypeTriggerRuleType

1 or more sequences of:

  1. Exactly 1 choice of:

      elementcodeset-refhttp://ns.sentiweb.fr/surv/external/rules/1.0/

      ComplexType

      elementcodehttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:TriggerCodeRuleType

ComplexTypecodesetRuleType

Optional repeatable sequences of:

  1. Exactly 1 choice of:

      elementcodehttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:codeRuleType

      elementcodeset-refhttp://ns.sentiweb.fr/surv/external/rules/1.0/

      ComplexType

Attributes
mode Simple type r:modeType optional
mode of codeset : ALL,ANY
provide Simple type boolean optional
If true, codeset will raise codes which fill the codeset rules.

ComplexTypecodeRuleType

Empty

Attributes
code-system Simple type r:CodeSystemType required
code Simple type string optional
code-pattern Simple type string optional
display-name Simple type string optional

ComplexTypeTriggerCodeRuleType

ComplexTypeCaseRuleSetType

Exactly 1 choice of:

    elementcase-rulehttp://ns.sentiweb.fr/surv/external/rules/1.0/

    ComplexType

  • Exactly 1 sequences of:

      elementcase-ruleshttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:CaseRuleSetType

Attributes
mode Simple type r:modeType optional

ComplexTypeItemRuleSetType

Exactly 1 choice of:

    elementitem-rulehttp://ns.sentiweb.fr/surv/external/rules/1.0/

    ComplexType

  • Exactly 1 sequences of:

      elementitem-ruleshttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:ItemRuleSetType

Attributes
mode Simple type r:modeType optional

ComplexTypeOccurrencesType

Exactly 1 sequences of:

    elementdatehttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:OccurrenceDateType

    elementcounthttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:OccurrenceCountType

    elementrefusalhttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:refusalType

Attributes
mode Simple type r:modeType optional
provide

simpleType

Simple type string

Enumeration :
  • date-start
  • date-end
optional
Provide the value of the attribute if occurences rules are true the value of this attribute is the name of the occurences attribute in the imported case used to provide the value

ComplexTypeOccurrenceDateType

Empty

Attributes
date-name

simpleType

Simple type string

Enumeration :
  • date-start
  • date-end
required
name of the occurences date the rule is about
operator

simpleType

Simple type r:OperatorType

required
operator to use on the date

simpleTypeOperatorType

Simple type string

Enumeration :
  • ==
  • >=
  • <=
  • <
  • >
  • eq
  • gt
  • lt
  • le
  • ge
  • defined

ComplexTypeOccurrenceCountType

Empty

Attributes
count

simpleType

Simple type integer

required
operator Simple type r:OperatorType required

simpleTypeCodeSystemType

Simple type string

ComplexTypeCodeSetIDType

ComplexTypeMapperResolverType

Exactly 1 sequences of:

    elementmaphttp://ns.sentiweb.fr/surv/external/rules/1.0/

    ComplexType

    Empty

    Attributes
    value required
    to optional
Attributes
item Simple type string optional
question-name Simple type string optional

ComplexTypeCodesetRefType

Empty

Attributes
id Simple type IDREF optional
provide

simpleType

Simple type string

Enumeration :
  • id
  • code
optional

ComplexTypeValueRuleType

1 or more sequences of:

    elementvaluehttp://ns.sentiweb.fr/surv/external/rules/1.0/

    ComplexType

    Empty

    Attributes
    value Simple type string optional
    unit Simple type string optional
Attributes
mode Simple type r:modeType optional

ComplexTypeCodeSetDefinitionType

Exactly 1 sequences of:

    elementcodehttp://ns.sentiweb.fr/surv/external/rules/1.0/Simple type r:codeRuleType

Attributes
id Simple type ID optional

ComplexTyperefusalType

Empty

XSD surv/external/1.0/rules.xsd