@prefix fhir: . @prefix owl: . @prefix rdfs: . @prefix xsd: . # - resource ------------------------------------------------------------------- a fhir:OperationDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "EpisodeOfCare-i-is-context-allowed"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "

URL: [base]/EpisodeOfCare/[id]/$is-context-allowed

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INpatient0..1Reference
INcareTeam0..1Reference
OUTreturn0..1Parameters
" ] ; # fhir:url [ fhir:v "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/EpisodeOfCare-i-is-context-allowed"^^xsd:anyURI] ; # fhir:version [ fhir:v "3.0.0"] ; # fhir:name [ fhir:v "is-context-allowed"] ; # fhir:title [ fhir:v "Is context allowed"] ; # fhir:status [ fhir:v "active"] ; # fhir:kind [ fhir:v "operation"] ; # fhir:date [ fhir:v "2024-05-16T07:12:56+00:00"^^xsd:dateTime] ; # fhir:publisher [ fhir:v "Den telemedicinske infrastruktur (eHealth Infrastructure)"] ; # fhir:contact ( [ fhir:name [ fhir:v "Den telemedicinske infrastruktur (eHealth Infrastructure)" ] ; fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://ehealth.sundhed.dk" ] ] ) ] ) ; # fhir:description [ fhir:v "Checks that it is allowed to set an EpisodeOfCare as context.\r\nIf the user requesting context is a patient, then the patient input parameter should be specified.\r\nIf the user requesting context is a practitioner, then the careTeam input parameter should be specified.\r\nThrows an exception if it is not allowed to select the Episode Of Care context.\r\n## Output\r\nFor valid Episode of Care is returned references that cause the Episode of Care to be valid context. \r\nFor a practitioner, two output parameters will be returned on success:\r\n- CareTeam: The Careteam that gave access\r\n- EpisodeOfCare/CarePlan: The EpisodeOfCare or CarePlan that referenced the CareTeam"] ; # fhir:affectsState [ fhir:v "false"^^xsd:boolean] ; # fhir:code [ fhir:v "is-context-allowed"] ; # fhir:resource ( [ fhir:v "EpisodeOfCare"] ) ; # fhir:system [ fhir:v "false"^^xsd:boolean] ; # fhir:type [ fhir:v "false"^^xsd:boolean] ; # fhir:instance [ fhir:v "true"^^xsd:boolean] ; # fhir:parameter ( [ fhir:name [ fhir:v "patient" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Reference" ] ] [ fhir:name [ fhir:v "careTeam" ] ; fhir:use [ fhir:v "in" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Reference" ] ] [ fhir:name [ fhir:v "return" ] ; fhir:use [ fhir:v "out" ] ; fhir:min [ fhir:v "0"^^xsd:integer ] ; fhir:max [ fhir:v "1" ] ; fhir:type [ fhir:v "Parameters" ] ] ) . # # -------------------------------------------------------------------------------------