@prefix fhir: . @prefix owl: . @prefix rdfs: . @prefix xsd: . # - resource ------------------------------------------------------------------- a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:id [ fhir:v "athena-schedule-profile"] ; # fhir:text [ fhir:status [ fhir:v "extensions" ] ; fhir:div "

Generated Narrative: StructureDefinition athena-schedule-profile

\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
NameFlagsCard.TypeDescription & Constraints\"doco\"
\".\"\".\" Schedule 0..*ScheduleA container for slots of time that may be available for booking appointments
\".\"\".\"\".\" id 1..1idLogical id of this artifact
\".\"\".\"\".\" meta 1..1MetaMetadata about the resource
\".\"\".\"\".\"\".\" Slices for profile 1..*canonical()Profiles this resource claims to conform to
Slice: Unordered, Open by value:uri
\".\"\".\"\".\"\".\"\".\" profile:athena-schedule-profile 1..1canonical()Profiles this resource claims to conform to
Fixed Value: https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-schedule-profile
\".\"\".\"\".\" identifier 0..*IdentifierExternal Ids for this item
\".\"\".\"\".\" active 0..1booleanWhether this schedule is in active use
\".\"\".\"\".\" serviceType 0..*CodeableConceptSpecific service
\".\"\".\"\".\" actor 1..1Reference(Practitioner)Resource(s) that availability information is being provided for
\".\"\".\"\".\" planningHorizon 0..1PeriodPeriod of time covered by schedule
\".\"\".\"\".\" comment 0..1stringComments on availability

\"doco\" Documentation for this format
" ] ; # fhir:url [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-schedule-profile"^^xsd:anyURI] ; # fhir:version [ fhir:v "23.1.0"] ; # fhir:name [ fhir:v "AthenaSchedule"] ; # fhir:status [ fhir:v "active"] ; # fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # fhir:date [ fhir:v "2022-03-01"^^xsd:date] ; # fhir:publisher [ fhir:v "athenahealth"] ; # fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://athenahealth.com" ] ] ) ] ) ; # fhir:description [ fhir:v "Athena Schedule Profile"] ; # fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ] ) ] ) ; # fhir:fhirVersion [ fhir:v "4.0.1"] ; # fhir:mapping ( [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:uri [ fhir:v "http://unknown.org/athenaPractice"^^xsd:anyURI ] ; fhir:name [ fhir:v "athenaPractice" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:uri [ fhir:v "http://ietf.org/rfc/2445"^^xsd:anyURI ] ; fhir:name [ fhir:v "iCalendar" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ; fhir:name [ fhir:v "RIM Mapping" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:uri [ fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ] ; fhir:name [ fhir:v "FiveWs Pattern Mapping" ] ] ) ; # fhir:kind [ fhir:v "resource"] ; # fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # fhir:type [ fhir:v "Schedule"^^xsd:anyURI] ; # fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/Schedule"^^xsd:anyURI ; fhir:link ] ; # fhir:derivation [ fhir:v "constraint"] ; # fhir:snapshot [ fhir:element ( [ fhir:id [ fhir:v "Schedule" ] ; fhir:path [ fhir:v "Schedule" ] ; fhir:short [ fhir:v "A container for slots of time that may be available for booking appointments" ] ; fhir:definition [ fhir:v "A container for slots of time that may be available for booking appointments." ] ; fhir:alias ( [ fhir:v "Availability" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Schedule" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:constraint ( [ fhir:key [ fhir:v "dom-2" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ; fhir:expression [ fhir:v "contained.contained.empty()" ] ; fhir:xpath [ fhir:v "not(parent::f:contained and f:contained)" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "dom-3" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ; fhir:expression [ fhir:v "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ; fhir:xpath [ fhir:v "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "dom-4" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ; fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ; fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "dom-5" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ; fhir:expression [ fhir:v "contained.meta.security.empty()" ] ; fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:security))" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"^^xsd:anyURI ] ; fhir:value [ fhir:v "true"^^xsd:boolean ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"^^xsd:anyURI ] ; fhir:value [ fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ] ] ) ; fhir:key [ fhir:v "dom-6" ] ; fhir:severity [ fhir:v "warning" ] ; fhir:human [ fhir:v "A resource should have narrative for robust management" ] ; fhir:expression [ fhir:v "text.`div`.exists()" ] ; fhir:xpath [ fhir:v "exists(f:text/h:div)" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Entity. Role, or Act" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "BEGIN:VFREEBUSY ??? END:VFREEBUSY (If your fhir server provides this information via calDAV, then you may want to include addressing information in a URL section, and with the search, a DTSTART and DTEND component can be included to indicate the range of time that has been covered in the collection of slots, where these overlap the resources period values. For all slots that reference this resource, include a FREEBUSY row for each slot)" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "FHIRR4_SCHEDULEVIEW" ] ] ) ] [ fhir:id [ fhir:v "Schedule.id" ] ; fhir:path [ fhir:v "Schedule.id" ] ; fhir:short [ fhir:v "Logical id of this artifact" ] ; fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ; fhir:comment [ fhir:v "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeId(%SCHEDULEID%)" ] ] ) ] [ fhir:id [ fhir:v "Schedule.meta" ] ; fhir:path [ fhir:v "Schedule.meta" ] ; fhir:short [ fhir:v "Metadata about the resource" ] ; fhir:definition [ fhir:v "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.meta" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Meta"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Schedule.meta.id" ] ; fhir:path [ fhir:v "Schedule.meta.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ; fhir:value [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Schedule.meta.extension" ] ; fhir:path [ fhir:v "Schedule.meta.extension" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "url" ] ] ) ; fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Schedule.meta.versionId" ] ; fhir:path [ fhir:v "Schedule.meta.versionId" ] ; fhir:short [ fhir:v "Version specific identifier" ] ; fhir:definition [ fhir:v "The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted." ] ; fhir:comment [ fhir:v "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.versionId" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Schedule.meta.lastUpdated" ] ; fhir:path [ fhir:v "Schedule.meta.lastUpdated" ] ; fhir:short [ fhir:v "When the resource version last changed" ] ; fhir:definition [ fhir:v "When the resource last changed - e.g. when the version changed." ] ; fhir:comment [ fhir:v "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http://hl7.org/fhir/R4/http.html#read) interaction." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.lastUpdated" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "instant"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Schedule.meta.source" ] ; fhir:path [ fhir:v "Schedule.meta.source" ] ; fhir:short [ fhir:v "Identifies where the resource comes from" ] ; fhir:definition [ fhir:v "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc." ] ; fhir:comment [ fhir:v "In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. \n\nThis element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.source" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Schedule.meta.profile" ] ; fhir:path [ fhir:v "Schedule.meta.profile" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "uri" ] ] ) ; fhir:rules [ fhir:v "open" ] ] ; fhir:short [ fhir:v "Profiles this resource claims to conform to" ] ; fhir:definition [ fhir:v "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url)." ] ; fhir:comment [ fhir:v "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Meta.profile" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Schedule.meta.profile:athena-schedule-profile" ] ; fhir:path [ fhir:v "Schedule.meta.profile" ] ; fhir:sliceName [ fhir:v "athena-schedule-profile" ] ; fhir:short [ fhir:v "Profiles this resource claims to conform to" ] ; fhir:definition [ fhir:v "A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url)." ] ; fhir:comment [ fhir:v "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Meta.profile" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-schedule-profile"^^xsd:anyURI ; fhir:link ] ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Schedule.meta.security" ] ; fhir:path [ fhir:v "Schedule.meta.security" ] ; fhir:short [ fhir:v "Security Labels applied to this resource" ] ; fhir:definition [ fhir:v "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure." ] ; fhir:comment [ fhir:v "The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Meta.security" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "SecurityLabels" ] ] ) ; fhir:strength [ fhir:v "extensible" ] ; fhir:description [ fhir:v "Security Labels from the Healthcare Privacy and Security Classification System." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/security-labels"^^xsd:anyURI ; fhir:link ] ] ] [ fhir:id [ fhir:v "Schedule.meta.tag" ] ; fhir:path [ fhir:v "Schedule.meta.tag" ] ; fhir:short [ fhir:v "Tags applied to this resource" ] ; fhir:definition [ fhir:v "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource." ] ; fhir:comment [ fhir:v "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Meta.tag" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "Tags" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\"." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/common-tags"^^xsd:anyURI ; fhir:link ] ] ] [ fhir:id [ fhir:v "Schedule.implicitRules" ] ; fhir:path [ fhir:v "Schedule.implicitRules" ] ; fhir:short [ fhir:v "A set of rules under which this content was created" ] ; fhir:definition [ fhir:v "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ; fhir:comment [ fhir:v "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.implicitRules" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Schedule.language" ] ; fhir:path [ fhir:v "Schedule.language" ] ; fhir:short [ fhir:v "Language of the resource content" ] ; fhir:definition [ fhir:v "The base language in which the resource is written." ] ; fhir:comment [ fhir:v "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.language" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "code"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"^^xsd:anyURI ] ; fhir:value [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages"^^xsd:anyURI ; fhir:link ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "Language" ] ] ) ; fhir:strength [ fhir:v "preferred" ] ; fhir:description [ fhir:v "A human language." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages"^^xsd:anyURI ; fhir:link ] ] ] [ fhir:id [ fhir:v "Schedule.text" ] ; fhir:path [ fhir:v "Schedule.text" ] ; fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ; fhir:definition [ fhir:v "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ; fhir:comment [ fhir:v "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ; fhir:alias ( [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.text" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Narrative"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act.text?" ] ] ) ] [ fhir:id [ fhir:v "Schedule.contained" ] ; fhir:path [ fhir:v "Schedule.contained" ] ; fhir:short [ fhir:v "Contained, inline Resources" ] ; fhir:definition [ fhir:v "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ] ; fhir:comment [ fhir:v "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ] ; fhir:alias ( [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.contained" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Resource"^^xsd:anyURI ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Schedule.extension" ] ; fhir:path [ fhir:v "Schedule.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.extension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Schedule.modifierExtension" ] ; fhir:path [ fhir:v "Schedule.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored" ] ; fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:comment [ fhir:v "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:requirements [ fhir:v "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.modifierExtension" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "Schedule.identifier" ] ; fhir:path [ fhir:v "Schedule.identifier" ] ; fhir:short [ fhir:v "External Ids for this item" ] ; fhir:definition [ fhir:v "External Ids for this item." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Schedule.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.identifier" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "UID" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeIdentifier(\"U\",getSiteSystem(\"ScheduleId\"),%SCHEDULEID%)" ] ] ) ] [ fhir:id [ fhir:v "Schedule.active" ] ; fhir:path [ fhir:v "Schedule.active" ] ; fhir:short [ fhir:v "Whether this schedule is in active use" ] ; fhir:definition [ fhir:v "Whether this schedule record is in active use or should not be used (such as was entered in error)." ] ; fhir:comment [ fhir:v "This element is labeled as a modifier because it may be used to mark that the resource was created in error." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Schedule.active" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; fhir:meaningWhenMissing [ fhir:v "This resource is generally assumed to be active if no value is provided for the active element" ] ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ; fhir:isModifierReason [ fhir:v "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid" ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.status" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "Equals(\"0\",%INACTIVE%)" ] ] ) ] [ fhir:id [ fhir:v "Schedule.serviceCategory" ] ; fhir:path [ fhir:v "Schedule.serviceCategory" ] ; fhir:short [ fhir:v "High-level category" ] ; fhir:definition [ fhir:v "A broad categorization of the service that is to be performed during this appointment." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Schedule.serviceCategory" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "service-category" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-category"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.class" ] ] ) ] [ fhir:id [ fhir:v "Schedule.serviceType" ] ; fhir:path [ fhir:v "Schedule.serviceType" ] ; fhir:short [ fhir:v "Specific service" ] ; fhir:definition [ fhir:v "The specific service that is to be performed during this appointment." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Schedule.serviceType" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "service-type" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/service-type"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.class" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "n/a" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MapConcept(%SERVICETYPE%,\"SERVICETYPE\")" ] ] ) ] [ fhir:id [ fhir:v "Schedule.specialty" ] ; fhir:path [ fhir:v "Schedule.specialty" ] ; fhir:short [ fhir:v "Type of specialty needed" ] ; fhir:definition [ fhir:v "The specialty of a practitioner that would be required to perform the service requested in this appointment." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Schedule.specialty" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ; fhir:value [ fhir:v "specialty" ] ] ) ; fhir:strength [ fhir:v "preferred" ] ; fhir:description [ fhir:v "Additional details about where the content was created (e.g. clinical specialty)." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/c80-practice-codes"^^xsd:anyURI ; fhir:link ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.class" ] ] ) ] [ fhir:id [ fhir:v "Schedule.actor" ] ; fhir:path [ fhir:v "Schedule.actor" ] ; fhir:short [ fhir:v "Resource(s) that availability information is being provided for" ] ; fhir:definition [ fhir:v "Slots that reference this schedule resource provide the availability details to these referenced resource(s)." ] ; fhir:comment [ fhir:v "The capacity to support multiple referenced resource types should be used in cases where the specific resources themselves cannot be scheduled without the other, and thus only make sense to the system exposing them as a group. Common examples of this are where the combination of a practitioner and a room (Location) are always required by a system." ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Schedule.actor" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.subject[x]" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "ATTENDEE:MAILTO:john_public@host2.com This can be populated with a value from the referenced resource" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.subject" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeReference(\"PRACTITIONER\",%PVID%,\"Practitioner\")" ] ] ) ] [ fhir:id [ fhir:v "Schedule.planningHorizon" ] ; fhir:path [ fhir:v "Schedule.planningHorizon" ] ; fhir:short [ fhir:v "Period of time covered by schedule" ] ; fhir:definition [ fhir:v "The period of time that the slots that reference this Schedule resource cover (even if none exist). These cover the amount of time that an organization's planning horizon; the interval for which they are currently accepting appointments. This does not define a \"template\" for planning outside these dates." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Schedule.planningHorizon" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.planned" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "DTSTART:20131201T003000Z DTEND:2014030101T003000Z" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakePeriod(%STARTTIME%,%STOPTIME%)" ] ] ) ] [ fhir:id [ fhir:v "Schedule.comment" ] ; fhir:path [ fhir:v "Schedule.comment" ] ; fhir:short [ fhir:v "Comments on availability" ] ; fhir:definition [ fhir:v "Comments on the availability to describe any extended information. Such as custom constraints on the slots that may be associated." ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Schedule.comment" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:xpath [ fhir:v "@value|f:*|h:div" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ; fhir:link ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ; fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "COMMENT:(comment) If there is no comment, then the line can be excluded from the iCalendar entry" ] ] [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%TYPE%" ] ] ) ] ) ] ; # fhir:differential [ fhir:element ( [ fhir:id [ fhir:v "Schedule" ] ; fhir:path [ fhir:v "Schedule" ] ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "FHIRR4_SCHEDULEVIEW" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "BEGIN:VFREEBUSY ??? END:VFREEBUSY (If your fhir server provides this information via calDAV, then you may want to include addressing information in a URL section, and with the search, a DTSTART and DTEND component can be included to indicate the range of time that has been covered in the collection of slots, where these overlap the resources period values. For all slots that reference this resource, include a FREEBUSY row for each slot)" ] ] ) ] [ fhir:id [ fhir:v "Schedule.id" ] ; fhir:path [ fhir:v "Schedule.id" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "id"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeId(%SCHEDULEID%)" ] ] ) ] [ fhir:id [ fhir:v "Schedule.meta" ] ; fhir:path [ fhir:v "Schedule.meta" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Meta"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Schedule.meta.profile" ] ; fhir:path [ fhir:v "Schedule.meta.profile" ] ; fhir:slicing [ fhir:discriminator ( [ fhir:type [ fhir:v "value" ] ; fhir:path [ fhir:v "uri" ] ] ) ; fhir:rules [ fhir:v "open" ] ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Schedule.meta.profile:athena-schedule-profile" ] ; fhir:path [ fhir:v "Schedule.meta.profile" ] ; fhir:sliceName [ fhir:v "athena-schedule-profile" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ] ) ; fhir:fixed [ fhir:v "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-schedule-profile"^^xsd:anyURI ; fhir:link ] ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ] [ fhir:id [ fhir:v "Schedule.identifier" ] ; fhir:path [ fhir:v "Schedule.identifier" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "Identifier"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeIdentifier(\"U\",getSiteSystem(\"ScheduleId\"),%SCHEDULEID%)" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "UID" ] ] ) ] [ fhir:id [ fhir:v "Schedule.active" ] ; fhir:path [ fhir:v "Schedule.active" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "Equals(\"0\",%INACTIVE%)" ] ] ) ] [ fhir:id [ fhir:v "Schedule.serviceType" ] ; fhir:path [ fhir:v "Schedule.serviceType" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MapConcept(%SERVICETYPE%,\"SERVICETYPE\")" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "Schedule.actor" ] ; fhir:path [ fhir:v "Schedule.actor" ] ; fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner"^^xsd:anyURI ; fhir:link ] ) ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakeReference(\"PRACTITIONER\",%PVID%,\"Practitioner\")" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "ATTENDEE:MAILTO:john_public@host2.com This can be populated with a value from the referenced resource" ] ] ) ] [ fhir:id [ fhir:v "Schedule.planningHorizon" ] ; fhir:path [ fhir:v "Schedule.planningHorizon" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Period"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "MakePeriod(%STARTTIME%,%STOPTIME%)" ] ] [ fhir:identity [ fhir:v "ical" ] ; fhir:map [ fhir:v "DTSTART:20131201T003000Z DTEND:2014030101T003000Z" ] ] ) ] [ fhir:id [ fhir:v "Schedule.comment" ] ; fhir:path [ fhir:v "Schedule.comment" ] ; fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "string"^^xsd:anyURI ] ] ) ; fhir:mustSupport [ fhir:v "false"^^xsd:boolean ] ; fhir:mapping ( [ fhir:identity [ fhir:v "athenapractice" ] ; fhir:map [ fhir:v "%TYPE%" ] ] ) ] ) ] . # # -------------------------------------------------------------------------------------