description: null package_name: bonsai.demo.c derivation: constraint name: NLLPatient type: Patient elements: address: mustSupport: true index: 28 extensions: nllMunicipalityCode: url: http://electronichealth.se/fhir/StructureDefinition/NLLMunicipalityCode short: Municipality code (sv. kommunkod) type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://scb.se'} index: 29 nllRegionCode: url: http://electronichealth.se/fhir/StructureDefinition/NLLRegionCode short: 'Region code (sv: region/länskod)' type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://scb.se'} index: 30 elements: extension: short: Municipality code (sv. kommunkod) type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://scb.se'} url: http://electronichealth.se/fhir/StructureDefinition/NLLMunicipalityCode index: 29 slicing: slices: nllMunicipalityCode: match: {} schema: short: Municipality code (sv. kommunkod) type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://scb.se'} url: http://electronichealth.se/fhir/StructureDefinition/NLLMunicipalityCode index: 29 nllRegionCode: match: {} schema: short: 'Region code (sv: region/länskod)' type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://scb.se'} url: http://electronichealth.se/fhir/StructureDefinition/NLLRegionCode index: 30 meta: mustSupport: true index: 1 elements: lastUpdated: {mustSupport: true, index: 2} security: binding: {strength: extensible, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/security-labels'} mustSupport: true index: 3 elements: system: {mustSupport: true, index: 4} version: {mustSupport: true, index: 5} code: {mustSupport: true, index: 6} deceasedBoolean: {type: boolean, mustSupport: true, meaningWhenMissing: Person is not deceased, choiceOf: deceased, index: 27} name: mustSupport: true index: 18 elements: text: {maxLength: 60, mustSupport: true, index: 19} family: {maxLength: 100, mustSupport: true, index: 20} given: short: Given names maxLength: 80 mustSupport: true index: 21 extensions: nllNameQualifier: url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier short: CL (call me) type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/name-part-qualifier'} index: 22 elements: extension: short: CL (call me) type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/name-part-qualifier'} url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier index: 22 slicing: slices: nllNameQualifier: match: {} schema: short: CL (call me) type: Extension mustSupport: true binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/name-part-qualifier'} url: http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier index: 22 birthDate: {mustSupport: true, index: 24} deceased: mustSupport: true meaningWhenMissing: Person is not deceased choices: [deceasedBoolean] index: 26 extension: type: Extension mustSupport: true meaningWhenMissing: A missing value shall be interpreted as UNKNOWN binding: {strength: extensible, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/population-registered-status'} url: http://electronichealth.se/fhir/StructureDefinition/NLLPopulationRegistered index: 7 slicing: slices: nllPopulationRegistered: match: {} schema: type: Extension mustSupport: true meaningWhenMissing: A missing value shall be interpreted as UNKNOWN binding: {strength: extensible, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/population-registered-status'} url: http://electronichealth.se/fhir/StructureDefinition/NLLPopulationRegistered index: 7 elements: value: choices: [] index: 9 value[x]: elements: system: {mustSupport: true, index: 10} version: {mustSupport: true, index: 11} code: {mustSupport: true, index: 12} active: {mustSupport: true, index: 17} id: {mustSupport: true, index: 0} identifier: mustSupport: true index: 13 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: pnr: match: {system: 'http://electronichealth.se/identifier/personnummer'} schema: short: Swedish personal identity number mustSupport: true index: 14 elements: system: pattern: {type: Uri, value: 'http://electronichealth.se/identifier/personnummer'} mustSupport: true index: 15 value: short: Swedish personal identity number maxLength: 12 constraint: swe-id-rule: {human: A personal identity number must have 12 digits, source: Patient, severity: error, expression: '$this.matches(''^\\d{12}$'')'} mustSupport: true index: 16 required: [value, system] gender: short: male | female | unknown binding: {strength: required, valueSet: 'http://electronichealth.se/fhir/ValueSet/administrative-gender'} mustSupport: true index: 23 package_version: 3.0.0 extensions: nllPopulationRegistered: url: http://electronichealth.se/fhir/StructureDefinition/NLLPopulationRegistered type: Extension mustSupport: true meaningWhenMissing: A missing value shall be interpreted as UNKNOWN binding: {strength: extensible, valueSet: 'http://ehalsomyndigheten.se/fhir/ValueSet/population-registered-status'} index: 7 elements: value: choices: [] index: 9 value[x]: elements: system: {mustSupport: true, index: 10} version: {mustSupport: true, index: 11} code: {mustSupport: true, index: 12} class: profile kind: resource url: http://electronichealth.se/fhir/StructureDefinition/NLLPatient base: http://hl7.org/fhir/StructureDefinition/Patient version: 1.0.2