Release 5 Preview #2

This page is part of the FHIR Specification (v4.4.0: R5 Preview #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4

Operation-codesystem-find-matches.ttl

Vocabulary Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Operation Definition

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:OperationDefinition;
  fhir:Resource.id [ fhir:value "CodeSystem-find-matches"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "0" ]
  ], [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ];
     fhir:Extension.value [ fhir:value "trial-use" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/OperationDefinition/CodeSystem-find-matches"];
  fhir:CanonicalResource.version [ fhir:value "4.4.0"];
  fhir:CanonicalResource.name [ fhir:value "Finding codes based on supplied properties"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.date [ fhir:value "2020-05-03T08:43:35+10:00"];
  fhir:CanonicalResource.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:CanonicalResource.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:CanonicalResource.description [ fhir:value "Given a set of properties (and text), return one or more possible matching codes\n\nThis operation takes a set of properties, and examines the code system looking for codes in the code system that match a set of known properties. \n\nWhen looking for matches, there are 3 possible types of match:\n* a complete match - a code that represents all the provided properties correctly\n* a partial match - a code that represents some of the provided properties correctly, and not others \n* a possible match - a code that may represent the provided properties closely, but may capture less or more precise information for some of the properties\n\nThe $find-matches operation can be called in one of 2 modes:\n* By a human, looking for the best match for a set of properties. In this mode, the server returns a list of complete, possible or partial matches (possibly with comments), so that the user can choose (or not) the most appropriate code\n* By a machine (typically in a system interface performing a transformation). In this mode, the server returns only a list of complete and partial matches, but no possible matches. The machine can choose a code from the list (or not) based on what properties are not coded\n\nThese modes are differentiated by the 'exact' parameter, so the client can indicate whether it only wants exact matches (including partial matches) or whether potential matches based on text matching are desired\n \nThe find-matches operation is still preliminary. The interface can be expected to change as more experience is gained from implementations."];
  fhir:OperationDefinition.url [ fhir:value "http://hl7.org/fhir/OperationDefinition/CodeSystem-find-matches"];
  fhir:OperationDefinition.version [ fhir:value "4.4.0"];
  fhir:OperationDefinition.name [ fhir:value "Finding codes based on supplied properties"];
  fhir:OperationDefinition.status [ fhir:value "draft"];
  fhir:OperationDefinition.kind [ fhir:value "operation"];
  fhir:OperationDefinition.date [ fhir:value "2020-05-03T08:43:35+10:00"];
  fhir:OperationDefinition.publisher [ fhir:value "HL7 (FHIR Project)"];
  fhir:OperationDefinition.contact [
     fhir:ContactDetail.telecom [
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ]
     ], [
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "fhir@lists.hl7.org" ]
     ]
  ];
  fhir:OperationDefinition.description [ fhir:value "Given a set of properties (and text), return one or more possible matching codes\n\nThis operation takes a set of properties, and examines the code system looking for codes in the code system that match a set of known properties. \n\nWhen looking for matches, there are 3 possible types of match:\n* a complete match - a code that represents all the provided properties correctly\n* a partial match - a code that represents some of the provided properties correctly, and not others \n* a possible match - a code that may represent the provided properties closely, but may capture less or more precise information for some of the properties\n\nThe $find-matches operation can be called in one of 2 modes:\n* By a human, looking for the best match for a set of properties. In this mode, the server returns a list of complete, possible or partial matches (possibly with comments), so that the user can choose (or not) the most appropriate code\n* By a machine (typically in a system interface performing a transformation). In this mode, the server returns only a list of complete and partial matches, but no possible matches. The machine can choose a code from the list (or not) based on what properties are not coded\n\nThese modes are differentiated by the 'exact' parameter, so the client can indicate whether it only wants exact matches (including partial matches) or whether potential matches based on text matching are desired\n \nThe find-matches operation is still preliminary. The interface can be expected to change as more experience is gained from implementations."];
  fhir:OperationDefinition.code [ fhir:value "find-matches"];
  fhir:OperationDefinition.resource [ fhir:value "CodeSystem"];
  fhir:OperationDefinition.system [ fhir:value "false"];
  fhir:OperationDefinition.type [ fhir:value "true"];
  fhir:OperationDefinition.instance [ fhir:value "true"];
  fhir:OperationDefinition.parameter [
     fhir:OperationDefinitionParameterComponent.name [ fhir:value "system" ];
     fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ];
     fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ];
     fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
     fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "The system in which composition is to be performed. This must be provided unless the operation is invoked on a code system instance" ];
     fhir:OperationDefinitionParameterComponent.type [ fhir:value "uri" ]
  ], [
     fhir:OperationDefinitionParameterComponent.name [ fhir:value "version" ];
     fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ];
     fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ];
     fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
     fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "The version of the system for the inferencing to be performed" ];
     fhir:OperationDefinitionParameterComponent.type [ fhir:value "string" ]
  ], [
     fhir:OperationDefinitionParameterComponent.name [ fhir:value "property" ];
     fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ];
     fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ];
     fhir:OperationDefinitionParameterComponent.max [ fhir:value "*" ];
     fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "One or more properties that contain information to be composed into the code" ];
     fhir:OperationDefinitionParameterComponent.part [
       fhir:OperationDefinitionParameterComponent.name [ fhir:value "code" ];
       fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ];
       fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ];
       fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
       fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "Identifies the property provided" ];
       fhir:OperationDefinitionParameterComponent.type [ fhir:value "code" ]
     ], [
       fhir:Element.extension [
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
         fhir:Extension.value [ fhir:value "code" ]
       ], [
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
         fhir:Extension.value [ fhir:value "Coding" ]
       ], [
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
         fhir:Extension.value [ fhir:value "string" ]
       ], [
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
         fhir:Extension.value [ fhir:value "integer" ]
       ], [
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
         fhir:Extension.value [ fhir:value "boolean" ]
       ], [
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
         fhir:Extension.value [ fhir:value "dateTime" ]
       ];
       fhir:OperationDefinitionParameterComponent.name [ fhir:value "value" ];
       fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ];
       fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ];
       fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
       fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "The value of the property provided" ];
       fhir:OperationDefinitionParameterComponent.type [ fhir:value "Element" ]
     ], [
       fhir:OperationDefinitionParameterComponent.name [ fhir:value "subproperty" ];
       fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ];
       fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ];
       fhir:OperationDefinitionParameterComponent.max [ fhir:value "*" ];
       fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "Nested Properties (mainly used for SNOMED CT composition, for relationship Groups)" ];
       fhir:OperationDefinitionParameterComponent.part [
         fhir:OperationDefinitionParameterComponent.name [ fhir:value "code" ];
         fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ];
         fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ];
         fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
         fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "Identifies the sub-property provided" ];
         fhir:OperationDefinitionParameterComponent.type [ fhir:value "code" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "code" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "Coding" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "integer" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "boolean" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "dateTime" ]
         ];
         fhir:OperationDefinitionParameterComponent.name [ fhir:value "value" ];
         fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ];
         fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ];
         fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
         fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "The value of the sub-property provided" ];
         fhir:OperationDefinitionParameterComponent.type [ fhir:value "Element" ]
       ]
     ]
  ], [
     fhir:OperationDefinitionParameterComponent.name [ fhir:value "exact" ];
     fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ];
     fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ];
     fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
     fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "Whether the operation is being used by a human ('false'), or a machine ('true'). If the operation is being used by a human, the terminology server can return a list of possible matches, with commentary. For a machine, the server returns complete or partial matches, not possible matches. The default value is 'false'" ];
     fhir:OperationDefinitionParameterComponent.type [ fhir:value "boolean" ]
  ], [
     fhir:OperationDefinitionParameterComponent.name [ fhir:value "compositional" ];
     fhir:OperationDefinitionParameterComponent.use [ fhir:value "in" ];
     fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ];
     fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
     fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "Post-coordinated expressions are allowed to be returned in the matching codes (mainly for SNOMED CT). Default = false" ];
     fhir:OperationDefinitionParameterComponent.type [ fhir:value "boolean" ]
  ], [
     fhir:OperationDefinitionParameterComponent.name [ fhir:value "match" ];
     fhir:OperationDefinitionParameterComponent.use [ fhir:value "out" ];
     fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ];
     fhir:OperationDefinitionParameterComponent.max [ fhir:value "*" ];
     fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "Concepts returned by the server as a result of the inferencing operation" ];
     fhir:OperationDefinitionParameterComponent.part [
       fhir:OperationDefinitionParameterComponent.name [ fhir:value "code" ];
       fhir:OperationDefinitionParameterComponent.use [ fhir:value "out" ];
       fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ];
       fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
       fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "A code that matches the properties provided" ];
       fhir:OperationDefinitionParameterComponent.type [ fhir:value "Coding" ]
     ], [
       fhir:OperationDefinitionParameterComponent.name [ fhir:value "unmatched" ];
       fhir:OperationDefinitionParameterComponent.use [ fhir:value "out" ];
       fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ];
       fhir:OperationDefinitionParameterComponent.max [ fhir:value "*" ];
       fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "One or more properties that contain properties that could not be matched into the code" ];
       fhir:OperationDefinitionParameterComponent.part [
         fhir:OperationDefinitionParameterComponent.name [ fhir:value "code" ];
         fhir:OperationDefinitionParameterComponent.use [ fhir:value "out" ];
         fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ];
         fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
         fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "Identifies the property provided" ];
         fhir:OperationDefinitionParameterComponent.type [ fhir:value "code" ]
       ], [
         fhir:Element.extension [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "code" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "Coding" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "string" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "integer" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "boolean" ]
         ], [
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
           fhir:Extension.value [ fhir:value "dateTime" ]
         ];
         fhir:OperationDefinitionParameterComponent.name [ fhir:value "value" ];
         fhir:OperationDefinitionParameterComponent.use [ fhir:value "out" ];
         fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ];
         fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
         fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "The value of the property provided" ];
         fhir:OperationDefinitionParameterComponent.type [ fhir:value "Element" ]
       ], [
         fhir:OperationDefinitionParameterComponent.name [ fhir:value "property" ];
         fhir:OperationDefinitionParameterComponent.use [ fhir:value "out" ];
         fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ];
         fhir:OperationDefinitionParameterComponent.max [ fhir:value "*" ];
         fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "Nested Properties (mainly used for SNOMED CT composition, for relationship Groups)" ];
         fhir:OperationDefinitionParameterComponent.part [
           fhir:OperationDefinitionParameterComponent.name [ fhir:value "code" ];
           fhir:OperationDefinitionParameterComponent.use [ fhir:value "out" ];
           fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ];
           fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
           fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "Identifies the sub-property provided" ];
           fhir:OperationDefinitionParameterComponent.type [ fhir:value "code" ]
         ], [
           fhir:Element.extension [
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
             fhir:Extension.value [ fhir:value "code" ]
           ], [
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
             fhir:Extension.value [ fhir:value "Coding" ]
           ], [
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
             fhir:Extension.value [ fhir:value "string" ]
           ], [
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
             fhir:Extension.value [ fhir:value "integer" ]
           ], [
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
             fhir:Extension.value [ fhir:value "boolean" ]
           ], [
             fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ];
             fhir:Extension.value [ fhir:value "dateTime" ]
           ];
           fhir:OperationDefinitionParameterComponent.name [ fhir:value "value" ];
           fhir:OperationDefinitionParameterComponent.use [ fhir:value "out" ];
           fhir:OperationDefinitionParameterComponent.min [ fhir:value "1" ];
           fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
           fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "The value of the sub-property provided" ];
           fhir:OperationDefinitionParameterComponent.type [ fhir:value "Element" ]
         ]
       ]
     ], [
       fhir:OperationDefinitionParameterComponent.name [ fhir:value "comment" ];
       fhir:OperationDefinitionParameterComponent.use [ fhir:value "out" ];
       fhir:OperationDefinitionParameterComponent.min [ fhir:value "0" ];
       fhir:OperationDefinitionParameterComponent.max [ fhir:value "1" ];
       fhir:OperationDefinitionParameterComponent.documentation [ fhir:value "Information about the quality of the match, if operation is for a human" ];
       fhir:OperationDefinitionParameterComponent.type [ fhir:value "string" ]
     ]
  ] .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.