description: Outburn Tofes 17 Obligation Profile on Coverage package_name: fhir.outburn.co.il derivation: constraint name: Tofes17Obligation type: Coverage elements: beneficiary: elements: identifier: index: 0 elements: system: pattern: {type: uri, value: 'http://fhir.health.gov.il/identifier/il-national-id'} type: uri index: 1 required: [system] required: [identifier] payor: elements: identifier: index: 2 elements: system: pattern: {type: uri, value: 'http://fhir.health.gov.il/identifier/legal-entity'} type: uri index: 3 required: [system] required: [identifier] costToBeneficiary: index: 4 elements: value: choices: [] index: 6 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueMoney: match: {} schema: choices: [valueMoney] _required: true index: 8 min: 1 max: 1 valueMoney: type: Money choiceOf: value index: 9 slicing: slices: valueMoney: match: {} schema: {type: Money, choiceOf: value, _required: true, index: 9} min: 1 max: 1 value[x]: elements: currency: pattern: {type: code, value: ILS} type: code index: 10 required: [valueMoney] package_version: 0.5.4 class: profile kind: resource url: http://fhir.health.gov.il/StructureDefinition/tofes-17-obligation base: http://hl7.org/fhir/StructureDefinition/Coverage version: 0.1.0 required: [costToBeneficiary]