phenopacket_mapper.utils.parsing.get_codesystem_by_namespace_prefix module

phenopacket_mapper.utils.parsing.get_codesystem_by_namespace_prefix.get_codesystem_by_namespace_prefx(namespace_prefix_str: str, resources: List[CodeSystem]) CodeSystem | None[source]

Returns the CodeSystem object that matches the namespace prefix string. If no match is found, returns None.

Parameters:
  • namespace_prefix_str – The namespace prefix string to match

  • resources – The list of CodeSystem objects to search through

Returns:

The CodeSystem object that matches the namespace prefix string, or None if no match is found