description: This profile defines how the Composition resource is used to represent a Dutch Patient Summary. package_name: nictiz.nl.nlps derivation: constraint name: NlPatientSummary type: Composition elements: category: {short: ServiceSpecialty, mustSupport: true, index: 8} date: {short: Date, mustSupport: true, index: 10} section: array: true min: 5 index: 25 slicing: rules: open discriminator: - {path: code, type: value} min: 5 slices: sectionProblems: match: code: coding: - {code: 11450-4, system: 'http://loinc.org'} schema: constraint: nl-ps-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: Problems mustSupport: true _required: true index: 26 extensions: note: url: null isModifier: false index: 27 elements: url: pattern: {type: Uri, value: note} index: 28 value: short: Note mustSupport: true choices: [valueString] index: 30 valueString: {short: Note, type: string, mustSupport: true, choiceOf: value, index: 31} elements: extension: isModifier: false index: 27 slicing: slices: note: match: {} schema: isModifier: false index: 27 elements: url: pattern: {type: Uri, value: note} index: 28 value: short: Note mustSupport: true choices: [valueString] index: 30 valueString: {short: Note, type: string, mustSupport: true, choiceOf: value, index: 31} title: {short: Title, mustSupport: true, index: 32} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 11450-4, system: 'http://loinc.org'} index: 33 text: {short: GeneratedNarrative, mustSupport: true, index: 34} entry: short: Condition refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Condition'] type: Reference mustSupport: true index: 35 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: problem: match: {} schema: type: Reference refers: ['http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Condition'] index: 36 emptyReason: {short: EmptyReason, mustSupport: true, index: 37} required: [title, code] sectionAllergies: match: code: coding: - {code: 48765-2, system: 'http://loinc.org'} schema: constraint: nl-ps-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: AllergiesAndIntolerances mustSupport: true _required: true index: 38 extensions: note: url: null isModifier: false index: 39 elements: url: pattern: {type: Uri, value: note} index: 40 value: short: Note mustSupport: true choices: [valueString] index: 42 valueString: {short: Note, type: string, mustSupport: true, choiceOf: value, index: 43} elements: extension: isModifier: false index: 39 slicing: slices: note: match: {} schema: isModifier: false index: 39 elements: url: pattern: {type: Uri, value: note} index: 40 value: short: Note mustSupport: true choices: [valueString] index: 42 valueString: {short: Note, type: string, mustSupport: true, choiceOf: value, index: 43} title: {short: Title, mustSupport: true, index: 44} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 48765-2, system: 'http://loinc.org'} index: 45 text: {short: GeneratedNarrative, mustSupport: true, index: 46} entry: short: AllergyIntolerance refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-AllergyIntolerance'] type: Reference mustSupport: true index: 47 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: allergyOrIntolerance: match: {} schema: type: Reference refers: ['http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-AllergyIntolerance'] index: 48 emptyReason: {short: EmptyReason, mustSupport: true, index: 49} required: [title, code] sectionMedications: match: code: coding: - {code: 10160-0, system: 'http://loinc.org'} schema: constraint: nl-ps-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: MedicationSummary mustSupport: true _required: true index: 50 extensions: note: url: null isModifier: false index: 51 elements: url: pattern: {type: Uri, value: note} index: 52 value: short: Note mustSupport: true choices: [valueString] index: 54 valueString: {short: Note, type: string, mustSupport: true, choiceOf: value, index: 55} elements: extension: isModifier: false index: 51 slicing: slices: note: match: {} schema: isModifier: false index: 51 elements: url: pattern: {type: Uri, value: note} index: 52 value: short: Note mustSupport: true choices: [valueString] index: 54 valueString: {short: Note, type: string, mustSupport: true, choiceOf: value, index: 55} title: {short: Title, mustSupport: true, index: 56} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 10160-0, system: 'http://loinc.org'} index: 57 text: {short: GeneratedNarrative, mustSupport: true, index: 58} entry: {mustSupport: true, index: 59} emptyReason: {short: EmptyReason, mustSupport: true, index: 60} required: [title, code] sectionProceduresHx: match: code: coding: - {code: 47519-4, system: 'http://loinc.org'} schema: constraint: nl-ps-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: Procedures mustSupport: true _required: true index: 61 extensions: note: url: null isModifier: false index: 62 elements: url: pattern: {type: Uri, value: note} index: 63 value: short: Note mustSupport: true choices: [valueString] index: 65 valueString: {short: Note, type: string, mustSupport: true, choiceOf: value, index: 66} elements: extension: isModifier: false index: 62 slicing: slices: note: match: {} schema: isModifier: false index: 62 elements: url: pattern: {type: Uri, value: note} index: 63 value: short: Note mustSupport: true choices: [valueString] index: 65 valueString: {short: Note, type: string, mustSupport: true, choiceOf: value, index: 66} title: {short: Title, mustSupport: true, index: 67} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 47519-4, system: 'http://loinc.org'} index: 68 text: {short: GeneratedNarrative, mustSupport: true, index: 69} entry: short: Procedure refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Procedure'] type: Reference mustSupport: true index: 70 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: procedure: match: {} schema: type: Reference refers: ['http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Procedure'] index: 71 emptyReason: {short: EmptyReason, mustSupport: true, index: 72} required: [title, code] sectionMedicalDevices: match: code: coding: - {code: 46264-8, system: 'http://loinc.org'} schema: constraint: nl-ps-comp-1: {human: Either section.entry or emptyReason are present, severity: error, expression: (entry.reference.exists() or emptyReason.exists())} short: MedicalDevicesAndImplants mustSupport: true _required: true index: 73 extensions: note: url: null isModifier: false index: 74 elements: url: pattern: {type: Uri, value: note} index: 75 value: short: Note mustSupport: true choices: [valueString] index: 77 valueString: {short: Note, type: string, mustSupport: true, choiceOf: value, index: 78} elements: extension: isModifier: false index: 74 slicing: slices: note: match: {} schema: isModifier: false index: 74 elements: url: pattern: {type: Uri, value: note} index: 75 value: short: Note mustSupport: true choices: [valueString] index: 77 valueString: {short: Note, type: string, mustSupport: true, choiceOf: value, index: 78} title: {short: Title, mustSupport: true, index: 79} code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 46264-8, system: 'http://loinc.org'} index: 80 text: {short: GeneratedNarrative, mustSupport: true, index: 81} entry: short: DeviceUse refers: ['http://hl7.org/fhir/StructureDefinition/DocumentReference', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-DeviceUse'] type: Reference mustSupport: true index: 82 slicing: rules: open discriminator: - {path: $this, type: type} min: null slices: deviceStatement: match: {} schema: type: Reference refers: ['http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-DeviceUse'] index: 83 emptyReason: {short: EmptyReason, mustSupport: true, index: 84} required: [title, code] attester: index: 13 slicing: rules: open discriminator: - {path: mode, type: value} min: null slices: legalAuthenticator: match: {mode: legal} schema: short: legalAuthentication index: 14 elements: mode: mustSupport: true pattern: {type: Code, value: legal} index: 15 time: {short: DateTime, mustSupport: true, index: 16} party: short: legalAuthenticator refers: ['http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Organization', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Practitioner', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-PractitionerRole'] type: Reference mustSupport: true index: 17 required: [time, party] validator: match: {mode: professional} schema: short: Validator index: 18 elements: mode: mustSupport: true pattern: {type: Code, value: professional} index: 19 time: {short: DateTime, mustSupport: true, index: 20} party: short: validator refers: ['http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Device', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Practitioner', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-PractitionerRole'] type: Reference mustSupport: true index: 21 required: [time, party] type: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 60591-5, system: 'http://loinc.org'} index: 7 title: {short: Title, mustSupport: true, index: 12} author: short: Author refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Device', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Organization', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Patient', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Practitioner', 'http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-PractitionerRole'] type: Reference mustSupport: true index: 11 extension: type: Extension url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version index: 1 slicing: slices: version: match: {} schema: type: Extension url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version index: 1 elements: url: pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version'} index: 2 value: short: Version mustSupport: true choices: [] index: 4 event: elements: code: {short: EventType, mustSupport: true, index: 23} period: {short: Period, mustSupport: true, index: 24} custodian: short: Organization refers: ['http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Organization'] type: Reference mustSupport: true index: 22 status: {short: Status, mustSupport: true, index: 6} language: {short: Language, mustSupport: true, index: 0} identifier: {short: Identifier, mustSupport: true, index: 5} subject: short: Patient refers: ['http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Patient'] type: Reference mustSupport: true index: 9 package_version: 1.0.0-alpha.1 extensions: version: url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version type: Extension index: 1 elements: url: pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version'} index: 2 value: short: Version mustSupport: true choices: [] index: 4 class: profile kind: resource url: http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary base: http://hl7.org/fhir/StructureDefinition/Composition version: 1.0.0-alpha.1 required: [identifier, subject]