Fetch Preferred id
$preferred-idoperationThis operation returns the preferred identifiers for identifiers, and terminologies. The operation takes 2 parameters: * a system identifier - either a URI, an OID, or a v2 table 0396 (other) code * a code for what kind of identifier is desired (URI, OID, v2 table 0396 identifier) and returns either the requested identifier, or an HTTP errors response with an OperationOutcome because either the provided identifier was not recognized, or the requested identiifer type is not known. The principle use of this operation is when converting between v2, CDA and FHIR Identifier/CX/II and CodeableConcepts/C(N/W)E/CD but the operation may also find use when converting metadata such as profiles.
Implementation Notes
Servers handle this request by finding the provided identifier in their known naming systems, and returning the requested identifier type ([NamingSystem.uniqueId.type](namingsystem-definitions.html#NamingSystem.uniqueId.type)). If there is more than one identifier of the specified type (for the specified date), then the 'preferred' identifier will be returned. If there is only one identifier, that identifier will be returned even if it is not preferred. If there are multiple preferred identifiers or multiple identifiers with none marked as preferred, the system MAY return an error or may list all identifiers applicable for that date and period. If the server wishes, it can also look through all code systems and value sets it knows about when attempting to find the requested identifier.
Metadata
- ID
- NamingSystem-preferred-id
- Applies to Resources
- NamingSystem