description: Profile representing a healthcare provider that keeps medical records package_name: se.electronichealth.fhir.merier.r5 derivation: constraint name: HealthcareProviderSeMeRI type: Organization elements: identifier: mustSupport: true index: 0 slicing: rules: open ordered: false description: Slice on identifier based on system value discriminator: - {path: system, type: value} min: 1 max: 1 slices: organizationIdentifier: match: {system: 'urn:oid:2.5.4.97'} schema: mustSupport: true index: 1 elements: system: pattern: {type: Uri, value: 'urn:oid:2.5.4.97'} mustSupport: true index: 2 value: constraint: se-meri-organization-identifier-value-1: {human: 'A Swedish organization identifier (sv: organisationsnummer) should follow format 799900(-)0057', source: 'http://electronichealth.se/fhir/meri/StructureDefinition/healthcare-provider-se-meri', severity: error, expression: '$this.matches(''^\\d{6}-?\\d{4}$'')'} mustSupport: true index: 3 required: [value, system] personalIdentityNumber: match: {system: 'http://electronichealth.se/identifier/personnummer'} schema: mustSupport: true index: 4 elements: system: pattern: {type: Uri, value: 'http://electronichealth.se/identifier/personnummer'} mustSupport: true index: 5 value: constraint: se-meri-personal-identity-number-value-1: {human: 'A Swedish personal identity number (sv: personnummer) should follow format 19800103(-)2385', source: 'http://electronichealth.se/fhir/meri/StructureDefinition/healthcare-provider-se-meri', severity: error, expression: '$this.matches(''^([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])-?\\d{4}$'')'} mustSupport: true index: 6 required: [value, system] package_version: 0.1.0-alpha class: profile kind: resource url: http://electronichealth.se/fhir/meri/StructureDefinition/healthcare-provider-se-meri base: http://hl7.org/fhir/StructureDefinition/Organization version: 0.1.0 required: [identifier]