description: This profile constrains the Encounter resource to represent a pregnancy visit from the mother's perspective. package_name: rs/ch.fhir.ig.ch derivation: constraint name: ChEpregEncounterMother type: Encounter elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: nextVisit: match: {url: null} schema: {type: Extension, url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-planned-next-preg-visit', index: 1} min: 0 max: 1 visitNumber: match: {url: null} schema: {type: Extension, url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-number', index: 2} min: 0 max: 1 note: match: {url: null} schema: {type: Extension, url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-note', index: 3} min: 0 max: 1 status: pattern: {type: code, value: finished} type: code index: 4 subject: type: Reference refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-patient-mother'] index: 5 elements: reference: {index: 6} required: [reference] participant: index: 7 elements: individual: type: Reference refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-practitionerrole-thcp'] index: 8 elements: reference: {index: 9} required: [reference] required: [individual] period: index: 10 elements: start: {index: 11} end: {index: 12} required: [start] package_version: epreg-1.0.0-ballot extensions: nextVisit: {url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-planned-next-preg-visit', min: 0, max: 1, type: Extension, index: 1} visitNumber: {url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-number', min: 0, max: 1, type: Extension, index: 2} note: {url: 'http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-ext-note', min: 0, max: 1, type: Extension, index: 3} class: profile kind: resource url: http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-encounter-mother base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter version: 1.0.0-ballot required: [participant, period]