description: This profile constrains the Appointment resource to represent the date of the planned next pregnancy examination. package_name: ch.fhir.ig.ch-epreg derivation: constraint name: ChEpregAppointmentNextExamination type: Appointment elements: status: pattern: {type: Code, value: booked} index: 0 start: {index: 1} end: {index: 2} participant: array: true min: 2 index: 3 slicing: rules: open discriminator: - {path: actor.resolve(), type: type} min: 2 slices: patient: match: {} schema: _required: true index: 4 elements: actor: type: Reference refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-patient-mother'] index: 5 required: pattern: {type: Code, value: required} index: 6 status: pattern: {type: Code, value: accepted} index: 7 required: [required, actor] treatingHealthcareProvider: match: {} schema: _required: true index: 8 elements: actor: type: Reference refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-practitionerrole-thcp'] index: 9 required: pattern: {type: Code, value: required} index: 10 status: pattern: {type: Code, value: accepted} index: 11 required: [required, actor] package_version: 1.0.0 class: profile kind: resource url: http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-appointment-next-examination base: http://hl7.org/fhir/StructureDefinition/Appointment version: 1.0.0 required: [start, end]