description: Related person for a citizen in FFB messaging package_name: kl.dk.fhir.ffbmessaging derivation: constraint name: KLMessagingFFBRelatedPerson type: RelatedPerson elements: patient: type: Reference mustSupport: true refers: ['http://fhir.kl.dk/ffbmessaging/StructureDefinition/kl-messaging-ffb-citizen'] index: 0 relationship: binding: {strength: extensible, valueSet: 'http://fhir.kl.dk/ffbmessaging/ValueSet/kl-messaging-ffb-relationshipTypeValues'} mustSupport: true index: 1 name: mustSupport: true index: 2 elements: family: {mustSupport: true, index: 3} given: {mustSupport: true, index: 4} telecom: mustSupport: true index: 5 elements: system: {mustSupport: true, index: 6} value: {mustSupport: true, index: 7} required: [value, system] slicing: rules: open discriminator: - {path: system, type: value} min: null slices: phone: match: {system: phone} schema: mustSupport: true array: true index: 8 elements: system: pattern: {type: Code, value: phone} index: 9 email: match: {system: email} schema: mustSupport: true array: true index: 10 elements: system: pattern: {type: Code, value: email} index: 11 address: elements: line: {mustSupport: true, index: 12} city: {mustSupport: true, index: 13} postalCode: {mustSupport: true, index: 14} required: [city, postalCode, line] package_version: 1.0.0 class: profile kind: resource url: http://fhir.kl.dk/ffbmessaging/StructureDefinition/kl-messaging-ffb-relatedPerson base: http://hl7.org/fhir/StructureDefinition/RelatedPerson version: 1.0.0 required: [relationship]