description: This profile represents a single blood glucose self measurement based on the seven-point scale (SMBG). package_name: nictiz.fhir.nl.stu3.zib2017 derivation: constraint name: Vital Signs BloodGlucose type: Observation elements: extension: type: Extension mustSupport: true url: h index: 0 slicing: slices: eventTiming: match: {} schema: {type: Extension, mustSupport: true, url: h, index: 0} max: 1 code: constraint: bg-1: {human: Observation.code SHALL have at least one coding based on LOINC, severity: error, expression: 'coding.where(system = ''http://loinc.org'').exists()'} bg-2: {human: Observation.code MAY have a maximum of one coding based on NHG Table 45, severity: error, expression: 'coding.where(system = ''https://referentiemodel.nhg.org/tabellen/nhg-tabel-45-diagnostische-bepalingen'').count() <= 1'} index: 1 elements: coding: index: 2 slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: LOINC: match: {system: 'http://loinc.org'} schema: index: 3 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 4 NHGTable45: match: {system: 'https://referentiemodel.nhg.org/tabellen/nhg-tabel-45-diagnostische-bepalingen'} schema: index: 5 elements: system: pattern: {type: Uri, value: 'https://referentiemodel.nhg.org/tabellen/nhg-tabel-45-diagnostische-bepalingen'} index: 6 required: [coding] value: choices: [valueQuantity] index: 8 valueQuantity: {type: Quantity, choiceOf: value, index: 9} package_version: 2.3.1 extensions: eventTiming: {url: h, max: 1, type: Extension, mustSupport: true, index: 0} class: profile kind: resource url: http://nictiz.nl/fhir/StructureDefinition/vitalsign-bloodglucose base: http://nictiz.nl/fhir/StructureDefinition/zib-LaboratoryTestResult-Observation version: 1.0.6