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
| FHIR Infrastructure 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 "Resource-graphql"];
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 "1" ]
], [
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/Resource-graphql"];
fhir:OperationDefinition.version [ fhir:value "4.3.0"];
fhir:OperationDefinition.name [ fhir:value "Graphql"];
fhir:OperationDefinition.title [ fhir:value "Execute a graphql statement"];
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 "Execute a graphql statement on a since resource or against the entire system. See the [Using GraphQL with FHIR](graphql.html) page for further details.\n\nFor the purposes of graphQL compatibility, this operation can also be invoked using a POST with the graphQL as the body, or a JSON body (see [graphQL spec](http://graphql.org/) for details)"];
fhir:OperationDefinition.affectsState [ fhir:value "false"];
fhir:OperationDefinition.code [ fhir:value "graphql"];
fhir:OperationDefinition.resource [
fhir:value "Resource";
fhir:index 0
];
fhir:OperationDefinition.system [ fhir:value "true"];
fhir:OperationDefinition.type [ fhir:value "false"];
fhir:OperationDefinition.instance [ fhir:value "true"];
fhir:OperationDefinition.parameter [
fhir:index 0;
fhir:OperationDefinition.name [ fhir:value "query" ];
fhir:OperationDefinition.use [ fhir:value "in" ];
fhir:OperationDefinition.min [ fhir:value "1" ];
fhir:OperationDefinition.max [ fhir:value "1" ];
fhir:OperationDefinition.type [ fhir:value "string" ]
], [
fhir:index 1;
fhir:OperationDefinition.name [ fhir:value "result" ];
fhir:OperationDefinition.use [ fhir:value "out" ];
fhir:OperationDefinition.min [ fhir:value "1" ];
fhir:OperationDefinition.max [ fhir:value "1" ];
fhir:OperationDefinition.documentation [ fhir:value "The content is always returned as application/json; this SHOULD be specified in the Accept header" ];
fhir:OperationDefinition.type [ fhir:value "Binary" ]
] .
# -------------------------------------------------------------------------------------
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.