LOINC – IVD Test Code (LIVD) Mapping
0.3.0 - ballot

This page is part of the Loinc/IVD Mapping FHIR IG (v0.3.0: STU 1 (FHIR R4) Ballot 2) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Resource Profile: LIVD ValueSet

Defining URL:http://hl7.org/fhir/uv/livd/StructureDefinition/valueset-uv-livd
Version:0.3.0
Name:LIVDValueSet
Status:Draft as of 2020-12-15
Definition:

LIVD value set profile.

Publisher:HL7 International - Orders and Observations Work Group
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://hl7.org/fhir/uv/livd/StructureDefinition/valueset-uv-livd

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from ValueSet

Summary

Mandatory: 7 elements
Must-Support: 11 elements
Prohibited: 15 elements

This structure is derived from ValueSet

NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet 0..*ValueSetLIVDValueSet
... url S1..1uriCanonical identifier for this value set, represented as a URI (globally unique)
... identifier 0..0
... version S1..1stringBusiness version of the value set
... status S1..1codedraft | active | retired | unknown
... experimental 0..0
... publisher 0..0
... contact 0..0
... useContext 0..0
... immutable 0..0
... purpose 0..0
... copyright 0..0
... compose S1..1BackboneElementContent logical definition of the value set (CLD)
.... lockedDate 0..0
.... inactive 0..0
.... include S1..*BackboneElementInclude one or more codes from a code system or other value set(s)
..... system S1..1uriThe system the codes come from
..... version S0..1stringSpecific version of the code system referred to
..... concept S1..*BackboneElementA concept defined in the system
...... code S1..1codeCode or expression from system
...... display S1..1stringText to display for this code for this value set in this valueset
...... designation 0..0
..... filter 0..0
..... valueSet 0..0
.... exclude 0..0
... expansion 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet I0..*ValueSetLIVDValueSet
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url SΣ1..1uriCanonical identifier for this value set, represented as a URI (globally unique)
... version SΣ1..1stringBusiness version of the value set
... name SΣI1..1stringName for this value set (computer friendly)
... title Σ0..1stringName for this value set (human friendly)
... status ?!SΣ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.

... date Σ0..1dateTimeDate last changed
... description 0..1markdownNatural language description of the value set
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for value set (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use.


... compose S1..1BackboneElementContent logical definition of the value set (CLD)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... include SΣI1..*BackboneElementInclude one or more codes from a code system or other value set(s)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... system SΣI1..1uriThe system the codes come from
..... version SΣ0..1stringSpecific version of the code system referred to
..... concept SI1..*BackboneElementA concept defined in the system
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... code S1..1codeCode or expression from system
...... display S1..1stringText to display for this code for this value set in this valueset

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet I0..*ValueSetLIVDValueSet
... url Σ1..1uriCanonical identifier for this value set, represented as a URI (globally unique)
... version Σ1..1stringBusiness version of the value set
... name ΣI1..1stringName for this value set (computer friendly)
... compose 1..1BackboneElementContent logical definition of the value set (CLD)
.... include ΣI1..*BackboneElementInclude one or more codes from a code system or other value set(s)
..... system ΣI1..1uriThe system the codes come from
..... version Σ0..1stringSpecific version of the code system referred to
..... concept I1..*BackboneElementA concept defined in the system
...... code 1..1codeCode or expression from system
...... display 1..1stringText to display for this code for this value set in this valueset

doco Documentation for this format

This structure is derived from ValueSet

Summary

Mandatory: 7 elements
Must-Support: 11 elements
Prohibited: 15 elements

Differential View

This structure is derived from ValueSet

NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet 0..*ValueSetLIVDValueSet
... url S1..1uriCanonical identifier for this value set, represented as a URI (globally unique)
... identifier 0..0
... version S1..1stringBusiness version of the value set
... status S1..1codedraft | active | retired | unknown
... experimental 0..0
... publisher 0..0
... contact 0..0
... useContext 0..0
... immutable 0..0
... purpose 0..0
... copyright 0..0
... compose S1..1BackboneElementContent logical definition of the value set (CLD)
.... lockedDate 0..0
.... inactive 0..0
.... include S1..*BackboneElementInclude one or more codes from a code system or other value set(s)
..... system S1..1uriThe system the codes come from
..... version S0..1stringSpecific version of the code system referred to
..... concept S1..*BackboneElementA concept defined in the system
...... code S1..1codeCode or expression from system
...... display S1..1stringText to display for this code for this value set in this valueset
...... designation 0..0
..... filter 0..0
..... valueSet 0..0
.... exclude 0..0
... expansion 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ValueSet I0..*ValueSetLIVDValueSet
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url SΣ1..1uriCanonical identifier for this value set, represented as a URI (globally unique)
... version SΣ1..1stringBusiness version of the value set
... name SΣI1..1stringName for this value set (computer friendly)
... title Σ0..1stringName for this value set (human friendly)
... status ?!SΣ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.

... date Σ0..1dateTimeDate last changed
... description 0..1markdownNatural language description of the value set
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for value set (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use.


... compose S1..1BackboneElementContent logical definition of the value set (CLD)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... include SΣI1..*BackboneElementInclude one or more codes from a code system or other value set(s)
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... system SΣI1..1uriThe system the codes come from
..... version SΣ0..1stringSpecific version of the code system referred to
..... concept SI1..*BackboneElementA concept defined in the system
...... id 0..1stringUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
...... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
...... code S1..1codeCode or expression from system
...... display S1..1stringText to display for this code for this value set in this valueset

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet
ValueSet.languagepreferredCommonLanguages
Max Binding: AllLanguages
ValueSet.statusrequiredPublicationStatus
ValueSet.jurisdictionextensibleJurisdiction ValueSet
ValueSet.compose.include.concept.designation.languagepreferredCommonLanguages
Max Binding: AllLanguages
ValueSet.compose.include.concept.designation.useextensibleDesignationUse
ValueSet.compose.include.filter.oprequiredFilterOperator

Constraints

IdPathDetailsRequirements
dom-2ValueSetIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3ValueSetIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4ValueSetIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5ValueSetIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6ValueSetA resource should have narrative for robust management
: text.`div`.exists()
vsd-0ValueSetName should be usable as an identifier for the module by machine processing applications such as code generation
: name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
ele-1ValueSet.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.urlAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.versionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.titleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.dateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.jurisdictionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.composeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.compose.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.compose.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.includeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
vsd-1ValueSet.compose.includeA value set include/exclude SHALL have a value set or a system
: valueSet.exists() or system.exists()
vsd-2ValueSet.compose.includeA value set with concepts or filters SHALL include a system
: (concept.exists() or filter.exists()) implies system.exists()
vsd-3ValueSet.compose.includeCannot have both concept and filter
: concept.empty() or filter.empty()
ele-1ValueSet.compose.include.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.compose.include.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.include.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.compose.include.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.include.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.include.versionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.include.conceptAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.include.concept.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.compose.include.concept.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.include.concept.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.compose.include.concept.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.include.concept.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.include.concept.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.include.concept.designation.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.compose.include.concept.designation.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.include.concept.designation.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.compose.include.concept.designation.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.include.concept.designation.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.include.concept.designation.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.include.concept.designation.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.include.filter.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.compose.include.filter.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.include.filter.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.compose.include.filter.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.compose.include.filter.propertyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.include.filter.opAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.compose.include.filter.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.expansion.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.expansion.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.expansion.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.expansion.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.timestampAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.totalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.offsetAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.parameterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.parameter.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.expansion.parameter.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.expansion.parameter.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.expansion.parameter.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.expansion.parameter.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.parameter.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.containsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
vsd-6ValueSet.expansion.containsSHALL have a code or a display
: code.exists() or display.exists()
vsd-9ValueSet.expansion.containsMust have a code if not abstract
: code.exists() or abstract = true
vsd-10ValueSet.expansion.containsMust have a system if a code is present
: code.empty() or system.exists()
ele-1ValueSet.expansion.contains.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.expansion.contains.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.expansion.contains.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1ValueSet.expansion.contains.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1ValueSet.expansion.contains.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.contains.abstractAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.contains.inactiveAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.contains.versionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.contains.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.contains.displayAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.contains.designationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1ValueSet.expansion.contains.containsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())