description: null package_name: uk.nhsdigital.r4.test derivation: constraint name: ExtensionNHSDigitalAccountCode type: Extension elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: costCentre: match: {url: costCentre} schema: index: 1 elements: url: pattern: {type: Uri, value: costCentre} index: 2 value: choices: [valueReference] index: 4 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Account'] index: 5 value[x]: elements: identifier: index: 6 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ods-organization-code'} index: 7 value: {index: 8} required: [value, system] required: [identifier] spuriousCode: match: {url: spuriousCode} schema: index: 9 elements: url: pattern: {type: Uri, value: spuriousCode} index: 10 value: choices: [valueReference] index: 12 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Account'] index: 13 value[x]: elements: identifier: index: 14 elements: system: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/Id/nhsbsa-spurious-code'} index: 15 value: {index: 16} required: [value, system] required: [identifier] url: pattern: {type: Uri, value: 'https://fhir.nhs.uk/StructureDefinition/Extension-NHSDigital-Account-code'} index: 17 value: choices: [] index: 19 package_version: 2.8.7-prerelease extensions: costCentre: url: costCentre index: 1 elements: url: pattern: {type: Uri, value: costCentre} index: 2 value: choices: [valueReference] index: 4 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Account'] index: 5 value[x]: elements: identifier: index: 6 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/Id/ods-organization-code'} index: 7 value: {index: 8} required: [value, system] required: [identifier] spuriousCode: url: spuriousCode index: 9 elements: url: pattern: {type: Uri, value: spuriousCode} index: 10 value: choices: [valueReference] index: 12 valueReference: type: Reference choiceOf: value refers: ['http://hl7.org/fhir/StructureDefinition/Account'] index: 13 value[x]: elements: identifier: index: 14 elements: system: pattern: {type: Uri, value: 'https://fhir.hl7.org.uk/Id/nhsbsa-spurious-code'} index: 15 value: {index: 16} required: [value, system] required: [identifier] class: extension kind: complex-type url: https://fhir.nhs.uk/StructureDefinition/Extension-NHSDigital-Account-code base: http://hl7.org/fhir/StructureDefinition/Extension version: null