description: This EpisodeOfCare has been constrained to represent a Patient registration with a GP Practice or General Medical Practitioner, to support the Events Management Service project. package_name: NHSD.Assets.STU3 derivation: constraint name: EMS-PDS-GPRegistration-EpisodeOfCare-1 type: EpisodeOfCare elements: patient: type: Reference refers: ['https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-Baby-Patient-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-PDS-Mother-Patient-1', 'https://fhir.nhs.uk/STU3/StructureDefinition/CareConnect-EMS-Patient-1'] index: 20 elements: reference: {index: 21} required: [reference] diagnosis: {index: 19} managingOrganization: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 22 elements: reference: {index: 23} required: [reference] type: index: 11 elements: coding: index: 12 elements: system: pattern: {type: Uri, value: 'https://fhir.nhs.uk/STU3/CodeSystem/EMS-PDS-PatientCareProvisionType-1'} index: 13 version: {index: 14} code: pattern: {type: Code, value: '1'} index: 15 display: pattern: {type: String, value: Primary care} index: 16 userSelected: {index: 17} required: [display, system, code] text: {index: 18} required: [coding] account: {index: 27} referralRequest: {index: 24} extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: null slices: systemEffectivePeriod: match: {url: null} schema: {type: Extension, url: h, index: 1} max: 1 team: {index: 26} status: {index: 9} identifier: index: 2 elements: use: {index: 3} type: {index: 4} system: {index: 5} value: {index: 6} period: {index: 7} assigner: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 8 required: [value, system] careManager: type: Reference refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1'] index: 25 statusHistory: {index: 10} package_version: 1.4.0 extensions: systemEffectivePeriod: {url: h, max: 1, type: Extension, index: 1} class: profile kind: resource url: https://fhir.nhs.uk/STU3/StructureDefinition/EMS-PDS-GPRegistration-EpisodeOfCare-1 base: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare version: 1.1.0 required: [managingOrganization, type]