description: Location Extension package_name: uk.nhsdigital.bars.r4 derivation: constraint name: LocationExtension type: Extension elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: UPRN: match: {url: UPRN} schema: index: 1 elements: url: pattern: {type: Uri, value: UPRN} index: 2 value: choices: [valueString] index: 4 valueString: {type: string, choiceOf: value, index: 5} PAF: match: {url: PAF} schema: index: 6 elements: url: pattern: {type: Uri, value: PAF} index: 7 value: choices: [valueString] index: 9 valueString: {type: string, choiceOf: value, index: 10} eastings: match: {url: eastings} schema: index: 11 elements: url: pattern: {type: Uri, value: eastings} index: 12 value: choices: [valueString] index: 14 valueString: {type: string, choiceOf: value, index: 15} northings: match: {url: northings} schema: index: 16 elements: url: pattern: {type: Uri, value: northings} index: 17 value: choices: [valueString] index: 19 valueString: {type: string, choiceOf: value, index: 20} what3words: match: {url: what3words} schema: index: 21 elements: url: pattern: {type: Uri, value: what3words} index: 22 value: choices: [valueString] index: 24 valueString: {type: string, choiceOf: value, index: 25} url: pattern: {type: Uri, value: 'https://fhir.nhs.uk/StructureDefinition/LocationExtension'} index: 26 value: choices: [] index: 28 package_version: 1.22.0-alpha extensions: UPRN: url: UPRN index: 1 elements: url: pattern: {type: Uri, value: UPRN} index: 2 value: choices: [valueString] index: 4 valueString: {type: string, choiceOf: value, index: 5} PAF: url: PAF index: 6 elements: url: pattern: {type: Uri, value: PAF} index: 7 value: choices: [valueString] index: 9 valueString: {type: string, choiceOf: value, index: 10} eastings: url: eastings index: 11 elements: url: pattern: {type: Uri, value: eastings} index: 12 value: choices: [valueString] index: 14 valueString: {type: string, choiceOf: value, index: 15} northings: url: northings index: 16 elements: url: pattern: {type: Uri, value: northings} index: 17 value: choices: [valueString] index: 19 valueString: {type: string, choiceOf: value, index: 20} what3words: url: what3words index: 21 elements: url: pattern: {type: Uri, value: what3words} index: 22 value: choices: [valueString] index: 24 valueString: {type: string, choiceOf: value, index: 25} class: extension kind: complex-type url: https://fhir.nhs.uk/StructureDefinition/LocationExtension base: http://hl7.org/fhir/StructureDefinition/Extension version: 1.0.3