description: Töötamine package_name: ee.fhir.mpi derivation: constraint name: EEMPISocialHistoryOccupation type: Observation elements: category: index: 3 elements: coding: index: 4 slicing: slices: obscat: match: {} schema: pattern: type: Coding value: {code: social-history, system: 'http://terminology.hl7.org/CodeSystem/observation-category', display: Social history} _required: true index: 5 min: 1 required: [coding] referenceRange: {index: 29} hasMember: {index: 30} interpretation: {index: 23} encounter: {index: 16} method: {index: 26} specimen: {index: 27} value: choices: [] index: 22 component: array: true min: 1 max: 2 index: 31 slicing: rules: open description: Slice based on the component.code pattern discriminator: - {path: code, type: pattern} min: 1 max: 2 slices: job: match: code: coding: - {code: '160922003', system: 'http://snomed.info/sct', display: Job details} schema: mustSupport: true _required: true index: 32 elements: code: pattern: type: CodeableConcept value: coding: - {code: '160922003', system: 'http://snomed.info/sct', display: Job details} index: 33 value: short: Tööamet. choices: [valueCodeableConcept] index: 35 valueCodeableConcept: {type: CodeableConcept, short: Tööamet., choiceOf: value, index: 36} rate: match: code: coding: - {code: '224374003', system: 'http://snomed.info/sct', display: Regularity of work} schema: short: Lepinguline töökoormus. index: 37 elements: code: pattern: type: CodeableConcept value: coding: - {code: '224374003', system: 'http://snomed.info/sct', display: Regularity of work} index: 38 value: short: Töökoormus (0..1]. pattern: type: Quantity value: {code: /1, unit: per work rate, system: 'http://unitsofmeasure.org'} choices: [valueQuantity] index: 40 valueQuantity: type: Quantity short: Töökoormus (0..1]. pattern: type: Quantity value: {code: /1, unit: per work rate, system: 'http://unitsofmeasure.org'} choiceOf: value index: 41 status: pattern: {type: Code, value: final} index: 2 effective: choices: [effectivePeriod] index: 18 code: elements: coding: array: true min: 2 max: 2 index: 6 slicing: rules: open discriminator: - {path: code, type: value} min: 2 max: 2 slices: loinc: match: {code: 11341-5} schema: mustSupport: true _required: true index: 7 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 8 code: pattern: {type: Code, value: 11341-5} index: 9 display: pattern: {type: String, value: History of occupation} index: 10 required: [system, code] snomed: match: {code: '184104002'} schema: mustSupport: true _required: true index: 11 elements: system: pattern: {type: Uri, value: 'http://snomed.info/sct'} index: 12 code: pattern: {type: Code, value: '184104002'} index: 13 display: pattern: {type: String, value: Patient occupation} index: 14 required: [system, code] bodySite: {index: 24} device: {index: 28} basedOn: {index: 0} partOf: {index: 1} bodyStructure: {index: 25} subject: type: Reference refers: ['https://fhir.ee/base/StructureDefinition/ee-patient'] index: 15 performer: type: Reference short: Tööandja asutus. refers: ['https://fhir.ee/base/StructureDefinition/ee-organization'] index: 20 effectivePeriod: {type: Period, choiceOf: effective, index: 19} package_version: 1.2.0 class: profile kind: resource url: https://fhir.ee/mpi/StructureDefinition/ee-mpi-socialhistory-occupation base: https://fhir.ee/base/StructureDefinition/ee-observation version: 1.2.0 required: [effectivePeriod, component, subject, category, effective]