description: Profile for the Composition Resource of the Medication Card document. package_name: rs/ch.chmed20af.emediplan derivation: constraint name: CompositionMedicationCard type: Composition elements: date: {mustSupport: true, index: 9} section: mustSupport: true index: 20 slicing: slices: originalRepresentation: match: {} schema: mustSupport: true index: 21 elements: title: {mustSupport: true, index: 22} code: {mustSupport: true, index: 23} text: {mustSupport: true, index: 24} entry: {mustSupport: true, index: 25} card: match: {} schema: mustSupport: true index: 26 elements: title: {mustSupport: true, index: 27} code: {mustSupport: true, index: 28} entry: type: Reference mustSupport: true refers: ['http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-card-medicationstatement'] index: 29 annotation: match: {} schema: mustSupport: true index: 30 elements: title: {mustSupport: true, index: 31} code: {mustSupport: true, index: 32} text: {short: General comments, mustSupport: true, index: 33} healthconcerns: match: {} schema: mustSupport: true index: 34 elements: code: mustSupport: true pattern: type: CodeableConcept value: coding: - {code: 75310-3, system: 'http://loinc.org', display: Health Concerns} type: CodeableConcept index: 35 entry: mustSupport: true index: 36 slicing: rules: open ordered: false discriminator: - {path: resolve(), type: profile} min: null slices: bodyweight: match: {} schema: short: Body Weight (kg) refers: ['http://hl7.org/fhir/StructureDefinition/bodyweight'] type: Reference mustSupport: true index: 37 max: 1 bodyheight: match: {} schema: short: Body height (cm) refers: ['http://hl7.org/fhir/StructureDefinition/bodyheight'] type: Reference mustSupport: true index: 38 max: 1 dlstmen: match: {} schema: short: First day of last menstruation refers: ['http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-obs-dateoflastmenstruation'] type: Reference mustSupport: true index: 39 max: 1 prematurebaby: match: {} schema: short: Premature Baby refers: ['http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-obs-prematurebaby'] type: Reference mustSupport: true index: 40 max: 1 timeofgestation: match: {} schema: short: Time of gestation refers: ['http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-obs-timeofgestation'] type: Reference mustSupport: true index: 41 max: 1 risks: match: {} schema: short: Risks refers: ['http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-condition-risks'] type: Reference mustSupport: true array: true max: 6 index: 42 max: 6 section: {index: 43} required: [code] attester: mustSupport: true index: 14 slicing: rules: open discriminator: - {path: mode, type: value} min: null slices: professionalAuthenticator: match: {mode: professional} schema: short: The professional authenticator of the document (person) mustSupport: true index: 15 elements: mode: pattern: {type: code, value: professional} mustSupport: true type: code index: 16 time: {short: 'When composition was attested by the party, Validate date: Date of validation', mustSupport: true, index: 17} party: type: Reference short: 'Validated by: The Gln of the pharmacist who has validated the medication card' mustSupport: true refers: ['http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-practitioner'] index: 18 type: {mustSupport: true, index: 7} title: {mustSupport: true, index: 11} author: type: Reference mustSupport: true refers: ['http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-card-patient', 'http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-practitioner', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization-epr', 'http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-practitionerrole-epr', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] index: 10 extension: mustSupport: true index: 1 slicing: slices: informationRecipient: match: {} schema: {mustSupport: true, index: 1} privatefield: match: {} schema: {short: Private fields for patient, type: Extension, mustSupport: true, url: 'http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield', index: 2} min: 0 custodian: {mustSupport: true, index: 19} status: {mustSupport: true, index: 6} language: {mustSupport: true, index: 0} identifier: mustSupport: true index: 3 elements: system: {mustSupport: true, index: 4} value: {mustSupport: true, index: 5} subject: type: Reference mustSupport: true refers: ['http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-card-patient'] index: 8 confidentiality: mustSupport: true index: 12 extensions: confidentialityCode: {url: null, mustSupport: true, index: 13} elements: extension: mustSupport: true index: 13 slicing: slices: confidentialityCode: match: {} schema: {mustSupport: true, index: 13} package_version: 2.0.0 extensions: informationRecipient: {url: null, mustSupport: true, index: 1} privatefield: {url: 'http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-privatefield', min: 0, short: Private fields for patient, type: Extension, mustSupport: true, index: 2} class: profile kind: resource url: http://chmed20af.emediplan.ch/fhir/StructureDefinition/chmed20af-card-composition base: http://fhir.ch/ig/ch-emed/StructureDefinition/ch-emed-composition-medicationcard version: 2.0.0