RuleSet: ImposeProfile ( profile, index ) * ^extension[http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile][{index}].valueCanonical = {profile} RuleSet: ExtensionContext(path) // copied by mCode * ^context[+].type = #element * ^context[=].expression = "{path}" RuleSet: SetFmmAndStatusRule ( fmm, status ) * ^extension[http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm].valueInteger = {fmm} * ^extension[http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status].valueCode = #{status} RuleSet: SetFmmAndStatusRuleInstance ( fmm, status ) // Rule to be used for Instances * extension[http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm].valueInteger = {fmm} * extension[http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status].valueCode = #{status} RuleSet: SectionComRules (short, def, code) // * insert (Health Concern Section, test, http://loinc.org#75310-3) * ^extension[0].url = "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name" * ^extension[0].valueString = "Section" * ^short = "{short}" * ^definition = "{def}" * title 1.. * code 1.. * code only http://hl7.org/fhir/uv/ips/StructureDefinition/CodeableConcept-uv-ips * code = {code} // * text 1.. * text only Narrative // * section.section ..0 /* * emptyReason ..0 * emptyReason ^mustSupport = false */ RuleSet: SectionSliceComRules (short, def) // Slicing rules for section based on code value * section ^slicing.discriminator[0].type = #value * section ^slicing.discriminator[0].path = "code" * section ^slicing.ordered = false * section ^slicing.rules = #open * section ^short = "{short}" * section ^definition = "{def}" RuleSet: OpenReferenceSlicePerTypeRules (short, def) * ^slicing.discriminator[0].type = #type * ^slicing.discriminator[0].path = "resolve()" * ^slicing.ordered = false * ^slicing.rules = #open * ^short = "{short}" * ^definition = "{def}" RuleSet: OpenReferenceSlicePerProfileRules (short, def) * ^slicing.discriminator[0].type = #profile * ^slicing.discriminator[0].path = "resolve()" * ^slicing.ordered = false * ^slicing.rules = #open * ^short = "{short}" * ^definition = "{def}" RuleSet: SectionEntrySliceComRules (short, def) * entry ^slicing.discriminator[0].type = #type * entry ^slicing.discriminator[0].path = "resolve()" * entry ^slicing.ordered = false * entry ^slicing.rules = #open * entry ^short = "{short}" * entry ^definition = "{def}" RuleSet: SectionEntrySliceDefRules (name, card, short, def, profiles) // SectionEntrySliceDefRules (flags, 0.., "Care Team", "Care Team", CareTeamEu) * entry contains {name} 0..* * entry[{name}] {card} * entry[{name}] ^short = "{short}" * entry[{name}] ^definition = "{def}" * entry[{name}] only Reference({profiles}) //-------------------------------------------- RuleSet: NoSubSectionsRules * section ..0 * section ^mustSupport = false RuleSet: SectionElementsRules * code from LabStudyTypesEuVs (preferred) * text ^short = "Text summary of the section, for human interpretation." * entry only Reference (ObservationResultsLaboratoryEu ) // * entry only Reference (ObservationResultsLaboratoryEu or DiagnosticReport) // * entry ^comment = "The DiagnosticReport referred in the entry SHALL NOT be that representing the whole Laboratory Report" * entry 1.. * section ..0 RuleSet: SectionCommonRules * section.title 1.. * section.code 1.. * section.code only $CodeableConcept-uv-ips RuleSet: SNOMEDCopyrightForVS * ^copyright = "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement" * ^experimental = false RuleSet: LOINCCopyrightForVS * ^copyright = "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc" * ^experimental = false RuleSet: NPUCopyrightForVS * ^copyright = "This material contains content from NPU Terminology (http://npu-terminology.org). NPU is copyright International Federation of Clinical Chemistry (IFCC) and International Union of Pure and Applied Chemistry (IUPAC) and is available at no cost under the license at https://www.labterm.dk/." * ^experimental = false /* RuleSet: JCTLMCopyrightForVS * ^copyright = "This material contains content from JCTLM Database (https://www.jctlmdb.org). The JCTLM Database is copyright Joint Committee for Traceability in Laboratory Medicine (JCTLM)." * ^experimental = false */ RuleSet: NIBSCCopyrightForVS * ^copyright = "This material contains content from the NIBSC Product list (https://nibsc.org/NIBSC%20Product%20List%20-%20Feb%2024.pdf). The National Institute for Biological Standards and Control part of the UK Medicines and Healthcare products Regulatory Agency (MHRA)." * ^experimental = true RuleSet: ObligationActorAndCode(actor, code) * ^extension[$obligation][+].extension[code].valueCode = {code} * ^extension[$obligation][=].extension[actor].valueCanonical = {actor} RuleSet: ObligationElement(element) // Used for profile level obligations. Insert after obligation code and actor * ^extension[$obligation][=].extension[elementId].valueString = {element} RuleSet: SetObligation( code, actor, source, documentation ) * ^extension[http://hl7.org/fhir/StructureDefinition/obligation][+].extension[code].valueCode = {code} * ^extension[http://hl7.org/fhir/StructureDefinition/obligation][=].extension[actor].valueCanonical = Canonical({actor}) * ^extension[http://hl7.org/fhir/StructureDefinition/obligation][=].extension[documentation].valueMarkdown = "Source: {source}, {documentation}" RuleSet: SetObligationWithPath( path, code, actor, source, documentation ) * {path} * ^extension[http://hl7.org/fhir/StructureDefinition/obligation][+].extension[code].valueCode = {code} * ^extension[http://hl7.org/fhir/StructureDefinition/obligation][=].extension[actor].valueCanonical = Canonical({actor}) * ^extension[http://hl7.org/fhir/StructureDefinition/obligation][=].extension[documentation].valueMarkdown = "{documentation}" * ^extension[http://hl7.org/fhir/StructureDefinition/obligation][=].extension[documentation].valueMarkdown = "Source: {source}, {documentation}" RuleSet: ElementMapping( code, display, targetCode, targetDisplay, relationship ) * element[+] * code = {code} * display = {display} * target * code = {targetCode} * display = {targetDisplay} * relationship = {relationship} RuleSet: SliceElement( type, path ) * ^slicing.discriminator.type = {type} * ^slicing.discriminator.path = "{path}" * ^slicing.rules = #open * ^slicing.ordered = false RuleSet: SliceElementWithDescription( type, path, description ) * ^slicing.discriminator.type = {type} * ^slicing.discriminator.path = "{path}" * ^slicing.rules = #open * ^slicing.description = "{description}" * ^slicing.ordered = false