This page is part of the Using CQL with FHIR Implementation Guide (v3.0.0-ballot: STU 3 Ballot) based on FHIR (HL7® FHIR® Standard) R4. This version is a pre-release. The current official version is 2.0.0. For a full list of available versions, see the Directory of published versions
| Official URL: http://hl7.org/fhir/uv/cql/OperationDefinition/cql-resolve-namespace | Version: 3.0.0-ballot | ||||
| Standards status: Trial-use | Maturity Level: 1 | Computable Name: CQLResolveNamespace | |||
| Other Identifiers: OID:2.16.840.1.113883.4.642.40.37.33.4 | |||||
Resolves the given namespace name to a namespace uri. For libraries published in FHIR NPM packages, the namespace name corresponds to the FHIR NPM packageId (and the packageId element of the ImplementationGuide resource), and the uri corresponds to the base canonical for the FHIR NPM package. For example, the namespace name for the Using CQL With FHIR implementation guide (this IG) is hl7.fhir.uv.cql, and the namespace uri is http://hl7.org/fhir/uv/cql.
A package feed is one way to populate this mapping of namespace names to namespace URIs, but it is not the only way. A repository could potentially provide other ways to create this mapping.
Language: en
URL: [base]/$resolve-namespace
| Use | Name | Scope | Cardinality | Type | Binding | Documentation |
| IN | name | 1..1 | string | The name of the namespace as used in CQL declarations (e.g. hl7.fhir.uv.cql). For libraries published in FHIR NPM packages, this corresponds to the FHIR NPM packageId (and the | ||
| OUT | return | 1..1 | uri | The uri of the namespace with the given name (e.g. http://hl7.org/fhir/uv/cql). For libraries published in FHIR NPM packages, this corresponds to the baseCanonical of the FHIR NPM package. |