description: Extension to make a reference to an entry in an other document. package_name: ch.fhir.ig.ch derivation: constraint name: CHVACDExtensionCrossReference type: Extension elements: extension: array: true min: 3 index: 0 slicing: slices: entry: match: {} schema: short: Reference to the related entry _required: true index: 1 extensions: {} elements: extension: {index: 2} url: pattern: {type: Uri, value: entry} index: 3 value: choices: [] index: 5 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueReference: match: {} schema: short: The Reference to a entry in a document mustSupport: true choices: [valueReference] _required: true index: 7 min: 1 max: 1 valueReference: short: The Reference to a entry in a document refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-allergyintolerances', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-immunization', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-laboratory-serology', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-medical-problems', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-pastillnesses'] type: Reference mustSupport: true choiceOf: value index: 8 slicing: slices: valueReference: match: {} schema: short: The Reference to a entry in a document refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-allergyintolerances', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-immunization', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-laboratory-serology', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-medical-problems', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-pastillnesses'] type: Reference mustSupport: true _required: true choiceOf: value index: 8 min: 1 max: 1 required: [valueReference, value] document: match: {} schema: short: Reference to the related document _required: true index: 9 extensions: {} elements: extension: {index: 10} url: pattern: {type: Uri, value: document} index: 11 value: choices: [] index: 13 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueReference: match: {} schema: short: The Reference to the related document the enty is in. mustSupport: true choices: [valueReference] _required: true index: 15 min: 1 max: 1 valueReference: short: The Reference to the related document the enty is in. refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-composition-immunization-administration'] type: Reference mustSupport: true choiceOf: value index: 16 slicing: slices: valueReference: match: {} schema: short: The Reference to the related document the enty is in. refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-composition-immunization-administration'] type: Reference mustSupport: true _required: true choiceOf: value index: 16 min: 1 max: 1 required: [valueReference, value] relationcode: match: {} schema: short: Reference to the related document _required: true index: 17 extensions: {} elements: extension: {index: 18} url: pattern: {type: Uri, value: relationcode} index: 19 value: choices: [] index: 21 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCode: match: {} schema: short: The type of relationship between the elements in the documents. mustSupport: true choices: [valueCode] _required: true index: 23 min: 1 max: 1 valueCode: short: The type of relationship between the elements in the documents. type: code mustSupport: true choiceOf: value index: 24 slicing: slices: valueCode: match: {} schema: {short: The type of relationship between the elements in the documents., type: code, mustSupport: true, _required: true, choiceOf: value, index: 24} min: 1 max: 1 required: [valueCode, value] url: pattern: {type: Uri, value: 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-cross-reference'} index: 25 value: choices: [] index: 27 package_version: vacd-4.0.0-ballot extensions: entry: url: null short: Reference to the related entry _required: true index: 1 extensions: {} elements: extension: {index: 2} url: pattern: {type: Uri, value: entry} index: 3 value: choices: [] index: 5 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueReference: match: {} schema: short: The Reference to a entry in a document mustSupport: true choices: [valueReference] _required: true index: 7 min: 1 max: 1 valueReference: short: The Reference to a entry in a document refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-allergyintolerances', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-immunization', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-laboratory-serology', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-medical-problems', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-pastillnesses'] type: Reference mustSupport: true choiceOf: value index: 8 slicing: slices: valueReference: match: {} schema: short: The Reference to a entry in a document refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-allergyintolerances', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-immunization', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-laboratory-serology', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-medical-problems', 'http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-pastillnesses'] type: Reference mustSupport: true _required: true choiceOf: value index: 8 min: 1 max: 1 required: [valueReference, value] document: url: null short: Reference to the related document _required: true index: 9 extensions: {} elements: extension: {index: 10} url: pattern: {type: Uri, value: document} index: 11 value: choices: [] index: 13 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueReference: match: {} schema: short: The Reference to the related document the enty is in. mustSupport: true choices: [valueReference] _required: true index: 15 min: 1 max: 1 valueReference: short: The Reference to the related document the enty is in. refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-composition-immunization-administration'] type: Reference mustSupport: true choiceOf: value index: 16 slicing: slices: valueReference: match: {} schema: short: The Reference to the related document the enty is in. refers: ['http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-composition-immunization-administration'] type: Reference mustSupport: true _required: true choiceOf: value index: 16 min: 1 max: 1 required: [valueReference, value] relationcode: url: null short: Reference to the related document _required: true index: 17 extensions: {} elements: extension: {index: 18} url: pattern: {type: Uri, value: relationcode} index: 19 value: choices: [] index: 21 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: valueCode: match: {} schema: short: The type of relationship between the elements in the documents. mustSupport: true choices: [valueCode] _required: true index: 23 min: 1 max: 1 valueCode: short: The type of relationship between the elements in the documents. type: code mustSupport: true choiceOf: value index: 24 slicing: slices: valueCode: match: {} schema: {short: The type of relationship between the elements in the documents., type: code, mustSupport: true, _required: true, choiceOf: value, index: 24} min: 1 max: 1 required: [valueCode, value] class: extension kind: complex-type url: http://fhir.ch/ig/ch-vacd/StructureDefinition/ch-vacd-ext-cross-reference base: http://hl7.org/fhir/StructureDefinition/Extension version: 4.0.0-ballot