description: Representation of a patient in Wof-portal public API system. package_name: servicewell.fhir.wof-portal derivation: constraint name: PortalPatient type: Patient elements: meta: elements: versionId: {index: 0} profile: {index: 1} extension: index: 2 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: null slices: consentToMarketing: match: {url: null} schema: {type: Extension, short: Patient consent to marketing, url: 'http://portal.wof.purified.link/fhir/StructureDefinition/extConsentToMarketing', index: 3} min: 0 max: 1 identifier: index: 4 elements: use: {index: 5} slicing: slices: personalNumber: match: {} schema: index: 6 elements: use: {index: 7} telecom: index: 8 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: mobilePhone: match: {system: phone} schema: constraint: portal-mobile-or-empty-use: {human: Mobile phone use must be 'mobile' or not set., source: 'https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/portal-patient', severity: error, expression: use.empty() or use = 'mobile'} mustSupport: true index: 9 elements: system: pattern: {type: Code, value: phone} index: 10 value: {mustSupport: true, index: 11} required: [value, system] email: match: {system: email} schema: mustSupport: true index: 12 elements: system: pattern: {type: Code, value: email} index: 13 value: {mustSupport: true, index: 14} required: [value, system] package_version: 1.0.0 extensions: consentToMarketing: {url: 'http://portal.wof.purified.link/fhir/StructureDefinition/extConsentToMarketing', min: 0, max: 1, type: Extension, short: Patient consent to marketing, index: 3} class: profile kind: resource url: https://canonical.fhir.link/servicewell/wof-portal/StructureDefinition/portal-patient base: https://canonical.fhir.link/servicewell/wof-base/StructureDefinition/wof-base-patient version: 1.0.0