description: This profile constrains the Encounter resource to represent a pregnancy visit from the child's perspective. package_name: ch.fhir.ig.ch-epreg derivation: constraint name: ChEpregEncounterChild type: Encounter elements: status: pattern: {type: code, value: finished} type: code index: 0 subject: type: Reference refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-patient-child'] index: 1 elements: reference: {index: 2} required: [reference] participant: index: 3 elements: individual: type: Reference refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-practitionerrole-thcp'] index: 4 elements: reference: {index: 5} required: [reference] required: [individual] period: index: 6 elements: start: {index: 7} end: {index: 8} required: [start] partOf: type: Reference refers: ['http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-encounter-mother'] index: 9 elements: reference: {index: 10} required: [reference] package_version: 1.0.0-ballot class: profile kind: resource url: http://fhir.ch/ig/ch-epreg/StructureDefinition/ch-epreg-encounter-child base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-encounter version: 1.0.0-ballot required: [partOf, participant, period]