1"use strict";(self.webpackChunk_medplum_docs=self.webpackChunk_medplum_docs||[]).push([["16086"],{5667(e,r,c){c.r(r),c.d(r,{metadata:()=>n,default:()=>p,frontMatter:()=>i,contentTitle:()=>o,toc:()=>l,assets:()=>a});var n=JSON.parse('{"id":"sdk/core.servicetypereferenceuri","title":"core.servicetypereferenceuri","description":"Home > @medplum/core > ServiceTypeReferenceURI","source":"@site/docs/sdk/core.servicetypereferenceuri.mdx","sourceDirName":"sdk","slug":"/sdk/core.servicetypereferenceuri","permalink":"/docs/sdk/core.servicetypereferenceuri","draft":false,"unlisted":false,"editUrl":"https://github.com/medplum/medplum/blob/main/packages/docs/docs/sdk/core.servicetypereferenceuri.mdx","tags":[],"version":"current","lastUpdatedAt":null,"frontMatter":{}}'),t=c(31085),s=c(71184);let i={},o,a={},l=[{value:"ServiceTypeReferenceURI variable",id:"servicetypereferenceuri-variable",level:2}];function d(e){let r={a:"a",code:"code",h2:"h2",p:"p",pre:"pre",strong:"strong",...(0,s.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.p,{children:[(0,t.jsx)(r.a,{href:"./",children:"Home"})," > ",(0,t.jsx)(r.a,{href:"./core",children:"@medplum/core"})," > ",(0,t.jsx)(r.a,{href:"./core.servicetypereferenceuri",children:"ServiceTypeReferenceURI"})]}),"\n",(0,t.jsx)(r.h2,{id:"servicetypereferenceuri-variable",children:"ServiceTypeReferenceURI variable"}),"\n",(0,t.jsxs)(r.p,{children:["Extension URI holding a ",(0,t.jsx)(r.code,{children:"Reference<HealthcareService>"})," on a ",(0,t.jsx)(r.code,{children:"serviceType"})," CodeableConcept."]}),"\n",(0,t.jsxs)(r.p,{children:["In R5/R6, ",(0,t.jsx)(r.code,{children:"serviceType"})," attributes change from ",(0,t.jsx)(r.code,{children:"CodeableConcept[]"})," to",(0,t.jsx)(r.code,{children:"CodeableReference<HealthcareService>"}),". We approximate that in R4 with this extension."]}),"\n",(0,t.jsx)(r.p,{children:"Example: a Schedule whose serviceType refers to a HealthcareService:"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-json",children:'{\r\n "resourceType": "Schedule",\r\n "actor": [{ "reference": "Practitioner/abc" }],\r\n "serviceType": [\r\n {\r\n "extension": [\r\n {\r\n "url": "https://medplum.com/fhir/service-type-reference",\r\n "valueReference": { "reference": "HealthcareService/123" }\r\n }\r\n ]\r\n }\r\n ]\r\n}\n'})}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.strong,{children:"Signature:"})}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-typescript",children:'ServiceTypeReferenceURI = "https://medplum.com/fhir/service-type-reference"\n'})})]})}function p(e={}){let{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},71184(e,r,c){c.d(r,{R:()=>i,x:()=>o});var n=c(14041);let t={},s=n.createContext(t);function i(e){let r=n.useContext(s);return n.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),n.createElement(s.Provider,{value:r},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.