ResMed Core Implementation Guide
0.37.0 - ci-build International flag

ResMed Core Implementation Guide - Local Development build (v0.37.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Validate a resource - TTL Representation

Draft as of 2024-01-11

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Resource-validate"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>URL: [base]/Resource/$validate</p><p>URL: [base]/Resource/[id]/$validate</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>resource</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a></td><td/><td><div><p>Must be present for validation.</p>\n</div></td></tr><tr><td>IN</td><td>mode</td><td/><td>0..0</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td><a href=\"http://hl7.org/fhir/R4/valueset-resource-validation-mode.html\">ResourceValidationMode</a> (Required)</td><td><div><p>Default is 'no action'; (e.g. general validation)</p>\n</div></td></tr><tr><td>IN</td><td>profile</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td/><td><div><p>If a profile name is provided, then the resource is validated against this specific profile, overriding any profile specified in the resource parameter. This can be omitted if a profile has been specified in the resource itself. If the server cannot validate against profile, i.e. it is not a known profile, it SHALL return an error.</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/operationoutcome.html\">OperationOutcome</a></td><td/><td><div><p>If the operation outcome does not list any errors, then this is an indication that either a create or update operation on the resource instance specified would be expected to succeed.</p>\n</div></td></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "http://resmed.com/fhir/core/OperationDefinition/Resource-validate"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.37.0"] ; # 
  fhir:name [ fhir:v "Validate"] ; # 
  fhir:title [ fhir:v "Validate a resource"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:kind [ fhir:v "operation"] ; # 
  fhir:date [ fhir:v "2024-01-11T18:32:48+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "ResMed Corp"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "ResMed Corp" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.resmed.com" ]     ] [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "atomteam-halifax@resmed.com" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The validate operation checks whether the attached content would be acceptable. The return from this operation is an [OperationOutcome](http://hl7.org/fhir/operationoutcome.html)\n\nNote that this operation is not the only way to validate resources - see [Validating Resources](http://hl7.org/fhir/validation.html) for further information."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "001" ]     ] )
  ] ) ; # 
  fhir:code [ fhir:v "validate"] ; # 
  fhir:resource ( [ fhir:v "Resource"] ) ; # 
  fhir:system [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:instance [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "resource" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Must be present for validation." ] ;
fhir:type [ fhir:v "Resource" ]
  ] [
fhir:name [ fhir:v "mode" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "0" ] ;
fhir:documentation [ fhir:v "Default is 'no action'; (e.g. general validation)" ] ;
fhir:type [ fhir:v "code" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/fhir/ValueSet/resource-validation-mode"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/ValueSet/resource-validation-mode>       ]     ]
  ] [
fhir:name [ fhir:v "profile" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "If a profile name is provided, then the resource is validated against this specific profile, overriding any profile specified in the resource parameter. This can be omitted if a profile has been specified in the resource itself. If the server cannot validate against profile, i.e. it is not a known profile, it SHALL return an error." ] ;
fhir:type [ fhir:v "uri" ]
  ] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "If the operation outcome does not list any errors, then this is an indication that either a create or update operation on the resource instance specified would be expected to succeed." ] ;
fhir:type [ fhir:v "OperationOutcome" ]
  ] ) . #