This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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
Vocabulary Work Group | Maturity Level: N/A | Standards Status: Informative |
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 "extensions" ] ]; fhir:DomainResource.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ]; fhir:Extension.value [ fhir:value "0" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ]; fhir:Extension.value [ fhir:value "trial-use" ] ]; fhir:OperationDefinition.url [ fhir:value "http://hl7.org/fhir/OperationDefinition/CodeSystem-find-matches"]; fhir:OperationDefinition.version [ fhir:value "4.3.0"]; fhir:OperationDefinition.name [ fhir:value "FindMatches"]; fhir:OperationDefinition.title [ fhir:value "Finding codes based on supplied properties"]; fhir:OperationDefinition.status [ fhir:value "draft"]; fhir:OperationDefinition.kind [ fhir:value "operation"]; fhir:OperationDefinition.experimental [ fhir:value "false"]; fhir:OperationDefinition.date [ fhir:value "2022-05-28T12:47:40+10:00"]; fhir:OperationDefinition.publisher [ fhir:value "HL7 (FHIR Project)"]; fhir:OperationDefinition.contact [ fhir:index 0; fhir:ContactDetail.telecom [ fhir:index 0; fhir:ContactPoint.system [ fhir:value "url" ]; fhir:ContactPoint.value [ fhir:value "http://hl7.org/fhir" ] ], [ fhir:index 1; 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.affectsState [ fhir:value "false"]; fhir:OperationDefinition.code [ fhir:value "find-matches"]; fhir:OperationDefinition.resource [ fhir:value "CodeSystem"; fhir:index 0 ]; fhir:OperationDefinition.system [ fhir:value "false"]; fhir:OperationDefinition.type [ fhir:value "true"]; fhir:OperationDefinition.instance [ fhir:value "true"]; fhir:OperationDefinition.parameter [ fhir:index 0; fhir:OperationDefinition.name [ fhir:value "system" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.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:OperationDefinition.type [ fhir:value "uri" ] ], [ fhir:index 1; fhir:OperationDefinition.name [ fhir:value "version" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "The version of the system for the inferencing to be performed" ]; fhir:OperationDefinition.type [ fhir:value "string" ] ], [ fhir:index 2; fhir:OperationDefinition.name [ fhir:value "property" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "*" ]; fhir:OperationDefinition.documentation [ fhir:value "One or more properties that contain information to be composed into the code" ]; fhir:OperationDefinition.part [ fhir:index 0; fhir:OperationDefinition.name [ fhir:value "code" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "Identifies the property provided" ]; fhir:OperationDefinition.type [ fhir:value "code" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "code" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "Coding" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "string" ] ], [ fhir:index 3; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "integer" ] ], [ fhir:index 4; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "boolean" ] ], [ fhir:index 5; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "dateTime" ] ]; fhir:OperationDefinition.name [ fhir:value "value" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "The value of the property provided" ]; fhir:OperationDefinition.type [ fhir:value "Element" ] ], [ fhir:index 2; fhir:OperationDefinition.name [ fhir:value "subproperty" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "*" ]; fhir:OperationDefinition.documentation [ fhir:value "Nested Properties (mainly used for SNOMED CT composition, for relationship Groups)" ]; fhir:OperationDefinition.part [ fhir:index 0; fhir:OperationDefinition.name [ fhir:value "code" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "Identifies the sub-property provided" ]; fhir:OperationDefinition.type [ fhir:value "code" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "code" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "Coding" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "string" ] ], [ fhir:index 3; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "integer" ] ], [ fhir:index 4; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "boolean" ] ], [ fhir:index 5; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "dateTime" ] ]; fhir:OperationDefinition.name [ fhir:value "value" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "The value of the sub-property provided" ]; fhir:OperationDefinition.type [ fhir:value "Element" ] ] ] ], [ fhir:index 3; fhir:OperationDefinition.name [ fhir:value "exact" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.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:OperationDefinition.type [ fhir:value "boolean" ] ], [ fhir:index 4; fhir:OperationDefinition.name [ fhir:value "compositional" ]; fhir:OperationDefinition.use [ fhir:value "in" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "Post-coordinated expressions are allowed to be returned in the matching codes (mainly for SNOMED CT). Default = false" ]; fhir:OperationDefinition.type [ fhir:value "boolean" ] ], [ fhir:index 5; fhir:OperationDefinition.name [ fhir:value "match" ]; fhir:OperationDefinition.use [ fhir:value "out" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "*" ]; fhir:OperationDefinition.documentation [ fhir:value "Concepts returned by the server as a result of the inferencing operation" ]; fhir:OperationDefinition.part [ fhir:index 0; fhir:OperationDefinition.name [ fhir:value "code" ]; fhir:OperationDefinition.use [ fhir:value "out" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "A code that matches the properties provided" ]; fhir:OperationDefinition.type [ fhir:value "Coding" ] ], [ fhir:index 1; fhir:OperationDefinition.name [ fhir:value "unmatched" ]; fhir:OperationDefinition.use [ fhir:value "out" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "*" ]; fhir:OperationDefinition.documentation [ fhir:value "One or more properties that contain properties that could not be matched into the code" ]; fhir:OperationDefinition.part [ fhir:index 0; fhir:OperationDefinition.name [ fhir:value "code" ]; fhir:OperationDefinition.use [ fhir:value "out" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "Identifies the property provided" ]; fhir:OperationDefinition.type [ fhir:value "code" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "code" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "Coding" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "string" ] ], [ fhir:index 3; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "integer" ] ], [ fhir:index 4; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "boolean" ] ], [ fhir:index 5; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "dateTime" ] ]; fhir:OperationDefinition.name [ fhir:value "value" ]; fhir:OperationDefinition.use [ fhir:value "out" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "The value of the property provided" ]; fhir:OperationDefinition.type [ fhir:value "Element" ] ], [ fhir:index 2; fhir:OperationDefinition.name [ fhir:value "property" ]; fhir:OperationDefinition.use [ fhir:value "out" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "*" ]; fhir:OperationDefinition.documentation [ fhir:value "Nested Properties (mainly used for SNOMED CT composition, for relationship Groups)" ]; fhir:OperationDefinition.part [ fhir:index 0; fhir:OperationDefinition.name [ fhir:value "code" ]; fhir:OperationDefinition.use [ fhir:value "out" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "Identifies the sub-property provided" ]; fhir:OperationDefinition.type [ fhir:value "code" ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "code" ] ], [ fhir:index 1; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "Coding" ] ], [ fhir:index 2; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "string" ] ], [ fhir:index 3; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "integer" ] ], [ fhir:index 4; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "boolean" ] ], [ fhir:index 5; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type" ]; fhir:Extension.value [ fhir:value "dateTime" ] ]; fhir:OperationDefinition.name [ fhir:value "value" ]; fhir:OperationDefinition.use [ fhir:value "out" ]; fhir:OperationDefinition.min [ fhir:value "1" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "The value of the sub-property provided" ]; fhir:OperationDefinition.type [ fhir:value "Element" ] ] ] ], [ fhir:index 2; fhir:OperationDefinition.name [ fhir:value "comment" ]; fhir:OperationDefinition.use [ fhir:value "out" ]; fhir:OperationDefinition.min [ fhir:value "0" ]; fhir:OperationDefinition.max [ fhir:value "1" ]; fhir:OperationDefinition.documentation [ fhir:value "Information about the quality of the match, if operation is for a human" ]; fhir:OperationDefinition.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.